Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
LowKeyFloki.swapBack() (#777-818) sends eth to arbitrary user
Dangerous calls:
- address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#805)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in LowKeyFloki._transferFrom(address,address,uint256) (#712-738):
External calls:
- swapBack() (#721)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#788-794)
- distributor.deposit{value: amountBNBReflection}() (#804)
- address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#805)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#808-815)
- triggerAutoBuyback() (#722)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#852-857)
External calls sending eth:
- swapBack() (#721)
- distributor.deposit{value: amountBNBReflection}() (#804)
- address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#805)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#808-815)
- triggerAutoBuyback() (#722)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#852-857)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#726)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#729)
- amountReceived = takeFee(sender,recipient,amount) (#728)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#764)
- triggerAutoBuyback() (#722)
- inSwap = true (#654)
- inSwap = false (#654)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.distributeDividend(address) (#550-561) ignores return value by TOKEN.transfer(shareholder,amount) (#556)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
DividendDistributor.changeToken(address) (#450-476) uses a dangerous strict equality:
- require(bool,string)(totalDividends == 0 || previousAmount > 0,Requires at least some of initial token to calculate convertion rate.) (#452)
Don't use strict equality to determine if an account has enough Ether or tokens.
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.
Not a direct threat, but may indicate unreliable intentions of developer. Widespread names (e.g. Elon, King, Moon, Doge) are common among meme-tokens and scams. The allow to gain free hype and attract unexperienced investors.
Not a direct threat, but may indicate unreliable intentions of developer. Both name and ticker of current token are widespread, i.e. common across multiple tokens. This is slightly suspicious
Reentrancy in DividendDistributor.setShare(address,uint256) (#483-497):
External calls:
- distributeDividend(shareholder) (#485)
- TOKEN.transfer(shareholder,amount) (#556)
State variables written after the call(s):
- shares[shareholder].amount = amount (#495)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#496)
Apply the check-effects-interactions pattern.
Additional information: link
LowKeyFloki.swapBack() (#777-818) ignores return value by address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#805)
Ensure that the return value of a low-level call is checked or logged.
Additional information: link
LowKeyFloki.swapBack() (#777-818) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#808-815)
Ensure that all the return values of the function calls are used.
Additional information: link
LowKeyFloki.setTargetLiquidity(uint256,uint256) (#937-940) should emit an event for:
- targetLiquidity = _target (#938)
- targetLiquidityDenominator = _denominator (#939)
Emit an event for critical parameter changes.
Additional information: link
LowKeyFloki.setFeeReceivers(address,address)._marketingFeeReceiver (#926) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#928)
Check that the address is not zero.
Additional information: link
Reentrancy in LowKeyFloki.triggerManualBuyback(uint256,bool) (#828-834):
External calls:
- buyTokens(amount,DEAD) (#829)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#852-857)
State variables written after the call(s):
- buybackMultiplierTriggeredAt = block.timestamp (#831)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in LowKeyFloki.triggerManualBuyback(uint256,bool) (#828-834):
External calls:
- buyTokens(amount,DEAD) (#829)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#852-857)
Event emitted after the call(s):
- BuybackMultiplierActive(buybackMultiplierLength) (#832)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.shouldDistribute(address) (#545-548) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#546-547)
Avoid relying on block.timestamp.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#128-149) uses assembly
- INLINE ASM (#141-144)
Do not use evm assembly.
Additional information: link
DividendDistributor.process(uint256) (#519-543) has costly operations inside a loop:
- currentIndex ++ (#540)
Use a local variable to hold the loop computation result.
Additional information: link
Context._msgData() (#157-160) is never used and should be removed
Remove unused functions.
Additional information: link
LowKeyFloki.swapThreshold (#652) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 2000
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.7.4 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 LowKeyFloki.swapBack() (#777-818):
- address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#805)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable LowKeyFloki._sellMultiplierDenominator (#625) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#158)" inContext (#152-161)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#351) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#352)
Prevent variables from having similar names.
Additional information: link
LowKeyFloki.slitherConstructorVariables() (#594-967) uses literals with too many digits:
- distributorGas = 500000 (#649)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
LowKeyFloki.currentlyServing (#601) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#333-337)
Use the external attribute for functions never called from the contract.
Additional information: link
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
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.
Unable to find website, listings and other project-related information
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Unable to find Telegram and Twitter accounts