Lwazi.io crawls data from multiple different platforms and partners to bring real-time data and news from the crypto-market.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Lwazi.swapAndDistributeBNB(uint256) (#1592-1622) sends eth to arbitrary user
Dangerous calls:
- (success,None) = address(productWallet).call{value: forProduct}() (#1609)
- (success,None) = address(dividendTracker).call{value: forDividends}() (#1616)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in Lwazi.swapAndDistributeBNB(uint256) (#1592-1622):
External calls:
- swapTokensForEth(tokens) (#1593)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1582-1588)
- (success) = address(marketingWallet).call{value: forMarketing}() (#1602)
- (success,None) = address(productWallet).call{value: forProduct}() (#1609)
- (success,None) = address(dividendTracker).call{value: forDividends}() (#1616)
External calls sending eth:
- (success) = address(marketingWallet).call{value: forMarketing}() (#1602)
- (success,None) = address(productWallet).call{value: forProduct}() (#1609)
- (success,None) = address(dividendTracker).call{value: forDividends}() (#1616)
State variables written after the call(s):
- accDividendFee = 1 (#1620)
Apply the check-effects-interactions pattern.
Additional information: link
Lwazi.withdrawStuckTokens(address,uint256) (#1624-1626) ignores return value by IERC20(_token).transfer(msg.sender,_amount) (#1625)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Combination 1: Reentrancy vulnerabilities + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Combination 2: Unchecked transfer + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Contract name (Lwazi.io) contains non-alphanumeric characters.
Not a direct threat, but may indicate unreliable intentions of developer. Non-alphanumeric chars (,.;!#*&") are extremely rare among low risk tokens.
Reentrancy in Lwazi.updatePancakeRouter(address) (#1314-1326):
External calls:
- _pancakePair = IPancakeFactory(pancakeRouter.factory()).createPair(address(this),pancakeRouter.WETH()) (#1318-1319)
- dividendTracker.excludeFromDividends(address(pancakeRouter)) (#1322)
- dividendTracker.excludeFromDividends(pancakePair) (#1323)
State variables written after the call(s):
- excludeFromAllLimits(newAddress,true) (#1325)
- _isExcludedFromFees[account] = status (#1332)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Lwazi.updateDividendTracker(address) (#1377-1391):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1384)
- newDividendTracker.excludeFromDividends(address(this)) (#1385)
- newDividendTracker.excludeFromDividends(address(pancakeRouter)) (#1386)
State variables written after the call(s):
- dividendTracker = newDividendTracker (#1390)
Apply the check-effects-interactions pattern.
Additional information: link
Lwazi._transfer(address,address,uint256).lastProcessedIndex (#1563) is a local variable never initialized
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.
Additional information: link
Lwazi._transfer(address,address,uint256) (#1496-1570) ignores return value by dividendTracker.process(gas) (#1563-1568)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string)._symbol (#815) shadows:
- ERC20._symbol (#132) (state variable)
Rename the local variables that shadow another component.
Additional information: link
Lwazi.updatePancakeRouter(address)._pancakePair (#1318-1319) lacks a zero-check on :
- pancakePair = _pancakePair (#1320)
Check that the address is not zero.
Additional information: link
Variable 'Lwazi._transfer(address,address,uint256).lastProcessedIndex (#1563)' in Lwazi._transfer(address,address,uint256) (#1496-1570) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1564)
Move all variable declarations prior to any usage of the variable, and ensure that reaching a variable declaration does not depend on some conditional if it is used unconditionally.
Additional information: link
Reentrancy in Lwazi.updateDividendTracker(address) (#1377-1391):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1384)
- newDividendTracker.excludeFromDividends(address(this)) (#1385)
- newDividendTracker.excludeFromDividends(address(pancakeRouter)) (#1386)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (#1388)
Apply the check-effects-interactions pattern.
Additional information: link
LwaziDividendTracker.canAutoClaim(uint256) (#1753-1759) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#1754)
- block.timestamp.sub(lastClaimTime) >= claimWait (#1758)
Avoid relying on block.timestamp.
Additional information: link
SafeMathInt.mul(int256,int256) (#457-465) is never used and should be removed
Remove unused functions.
Additional information: link
Lwazi.swapTokensAtAmount (#1227) is set pre-construction with a non-constant function or state variable:
- 50 * (10 ** decimals())
Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.
Additional information: link
solc-0.8.0 is not recommended for deployment
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.
Additional information: link
Low level call in Lwazi.swapAndDistributeBNB(uint256) (#1592-1622):
- (success) = address(marketingWallet).call{value: forMarketing}() (#1602)
- (success,None) = address(productWallet).call{value: forProduct}() (#1609)
- (success,None) = address(dividendTracker).call{value: forDividends}() (#1616)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Parameter LwaziDividendTracker.getAccount(address)._account (#1691) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#861) is too similar to LwaziDividendTracker.getAccount(address).withdrawableDividends (#1695)
Prevent variables from having similar names.
Additional information: link
LwaziDividendTracker.getAccountAtIndex(uint256) (#1734-1751) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#1745)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Ownable._previousOwner (#962) is never used in LwaziDividendTracker (#1629-1839)
Remove unused state variables.
Additional information: link
Ownable._previousOwner (#962) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
process(uint256) should be declared external:
- LwaziDividendTracker.process(uint256) (#1780-1825)
Use the external attribute for functions never called from the contract.
Additional information: link
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute volume.
Unable to find PancakeSwap trading pair to compute number of swaps.
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap
Additional information: link
Unable to find token contract audit
Unable to find audit link on the website
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Twitter account link seems to be invalid
Telegram account has relatively few subscribers
Unable to find Youtube account