Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
BunnyRocketToken.swapBack() (#429-470) sends eth to arbitrary user
Dangerous calls:
- (txMarketingSuccess) = address(marketingReceiver).call{gas: 30000,value: amountBNBMarketing}() (#452-455)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in BunnyRocketToken._transferFrom(address,address,uint256) (#328-377):
External calls:
- buyBack() (#369)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amountBNB}(0,path,address(this),block.timestamp) (#483-488)
- swapBack() (#373)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#440-446)
- (txMarketingSuccess) = address(marketingReceiver).call{gas: 30000,value: amountBNBMarketing}() (#452-455)
- (txBuyBackSuccess) = address(this).call{gas: 30000,value: amountBNBBuyBack}() (#457)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#460-467)
External calls sending eth:
- buyBack() (#369)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amountBNB}(0,path,address(this),block.timestamp) (#483-488)
- swapBack() (#373)
- (txMarketingSuccess) = address(marketingReceiver).call{gas: 30000,value: amountBNBMarketing}() (#452-455)
- (txBuyBackSuccess) = address(this).call{gas: 30000,value: amountBNBBuyBack}() (#457)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#460-467)
State variables written after the call(s):
- swapBack() (#373)
- inSwap = true (#256)
- inSwap = false (#258)
Apply the check-effects-interactions pattern.
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.
BunnyRocketToken.swapBack() (#429-470) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#460-467)
Ensure that all the return values of the function calls are used.
Additional information: link
Reentrancy in BunnyRocketToken.swapBack() (#429-470):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#440-446)
- (txMarketingSuccess) = address(marketingReceiver).call{gas: 30000,value: amountBNBMarketing}() (#452-455)
- (txBuyBackSuccess) = address(this).call{gas: 30000,value: amountBNBBuyBack}() (#457)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#460-467)
External calls sending eth:
- (txMarketingSuccess) = address(marketingReceiver).call{gas: 30000,value: amountBNBMarketing}() (#452-455)
- (txBuyBackSuccess) = address(this).call{gas: 30000,value: amountBNBBuyBack}() (#457)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#460-467)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#468)
Apply the check-effects-interactions pattern.
Additional information: link
BunnyRocketToken._transferFrom(address,address,uint256) (#328-377) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(cooldownTimer[recipient] < block.timestamp,Please wait for cooldown between buys) (#357-360)
Avoid relying on block.timestamp.
Additional information: link
Low level call in BunnyRocketToken.swapBack() (#429-470):
- (txMarketingSuccess) = address(marketingReceiver).call{gas: 30000,value: amountBNBMarketing}() (#452-455)
- (txBuyBackSuccess) = address(this).call{gas: 30000,value: amountBNBBuyBack}() (#457)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IDEXRouter.WETH() (#128) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#132) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#133)
Prevent variables from having similar names.
Additional information: link
BunnyRocketToken.slitherConstructorConstantVariables() (#204-584) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#208)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Number of Binance Smart Chain (BSC) token holders is low.
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
Young tokens have high risks of price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts