Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
ShibiBonk.swapBack() (#534-603) sends eth to arbitrary user
Dangerous calls:
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountETHMarketing}() (#578-581)
- (success,None) = address(buyBackFeeReceiver).call{gas: 30000,value: amountETHBuyBack}() (#582-585)
- (success,None) = address(ecosystemFeeReceiver).call{gas: 30000,value: amountETHEco}() (#586-589)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in ShibiBonk._transferFrom(address,address,uint256) (#469-507):
External calls:
- swapBack() (#489)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#556-562)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountETHMarketing}() (#578-581)
- (success,None) = address(buyBackFeeReceiver).call{gas: 30000,value: amountETHBuyBack}() (#582-585)
- (success,None) = address(ecosystemFeeReceiver).call{gas: 30000,value: amountETHEco}() (#586-589)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#594-601)
External calls sending eth:
- swapBack() (#489)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountETHMarketing}() (#578-581)
- (success,None) = address(buyBackFeeReceiver).call{gas: 30000,value: amountETHBuyBack}() (#582-585)
- (success,None) = address(ecosystemFeeReceiver).call{gas: 30000,value: amountETHEco}() (#586-589)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#594-601)
State variables written after the call(s):
- _gonBalances[sender] = _gonBalances[sender].sub(gonAmount) (#492)
- _gonBalances[recipient] = _gonBalances[recipient].add(gonAmountReceived) (#497-499)
- gonAmountReceived = takeFee(sender,gonAmount) (#494-496)
- _gonBalances[address(this)] = _gonBalances[address(this)].add(feeAmount) (#526-528)
Apply the check-effects-interactions pattern.
Additional information: link
ShibiBonk.swapBack().success (#578) is written in both
(success,None) = address(ecosystemFeeReceiver).call{gas: 30000,value: amountETHEco}() (#586-589)
success = false (#591)
Fix or remove the writes.
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.
Contract ticker ($SHIBIBONK) 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.
ShibiBonk.slitherConstructorVariables() (#274-811) performs a multiplication on the result of a division:
-gonMaxWallet = TOTAL_GONS.div(100).mul(5) (#313)
Consider ordering multiplication before division.
Additional information: link
ShibiBonk.swapBack() (#534-603) ignores return value by router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#594-601)
Ensure that all the return values of the function calls are used.
Additional information: link
ERC20Detailed.constructor(string,string,uint8).decimals (#107) shadows:
- ERC20Detailed.decimals() (#122-124) (function)
Rename the local variables that shadow another component.
Additional information: link
ShibiBonk.setMaster(address) (#417-419) should emit an event for:
- master = _master (#418)
Emit an event for critical parameter changes.
Additional information: link
ShibiBonk.setFees(uint256,uint256,uint256,uint256,uint256) (#726-740) should emit an event for:
- ecosystemFee = _ecosystemFee (#733)
- liquidityFee = _liquidityFee (#734)
- buyBackFee = _buyBackFee (#735)
- marketingFee = _marketingFee (#736)
- totalFee = ecosystemFee.add(liquidityFee).add(marketingFee).add(buyBackFee) (#737)
- feeDenominator = _feeDenominator (#738)
Emit an event for critical parameter changes.
Additional information: link
ShibiBonk.clearStuckBalance(uint256,address).adr (#762) lacks a zero-check on :
- address(adr).transfer((amountETH * amountPercentage) / 100) (#764-766)
Check that the address is not zero.
Additional information: link
Reentrancy in ShibiBonk.constructor() (#385-415):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#388-391)
State variables written after the call(s):
- _allowedFragments[address(this)][address(router)] = uint256(- 1) (#392)
- _gonBalances[msg.sender] = TOTAL_GONS (#396)
- _gonsPerFragment = TOTAL_GONS.div(_totalSupply) (#397)
- _isFeeExempt[msg.sender] = true (#400)
- _isFeeExempt[address(this)] = true (#401)
- _isMaxWalletExempt[pair] = true (#403)
- _isMaxWalletExempt[DEAD] = true (#404)
- _isMaxWalletExempt[address(this)] = true (#406)
- _isMaxWalletExempt[msg.sender] = true (#407)
- _totalSupply = INITIAL_FRAGMENTS_SUPPLY (#395)
- autoLiquidityReceiver = 0xed1d4d07ba5FED9202Bb0072BEc1B97793def32D (#409)
- buyBackFeeReceiver = 0xa48612AE3ff1ecD72DD84C92404bb12525C3B048 (#412)
- ecosystemFeeReceiver = 0x982B4E9Da93D7F73660e9390F78a7B8a092Bb853 (#411)
- initialDistributionFinished = false (#399)
- marketingFeeReceiver = 0x920Db13D229C0d8f180a6C3d483CC82eeDA09f08 (#410)
- pairContract = InterfaceLP(pair) (#393)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in ShibiBonk.rebase(uint256,int256) (#357-383):
External calls:
- pairContract.sync() (#379)
Event emitted after the call(s):
- LogRebase(epoch,_totalSupply) (#381)
Apply the check-effects-interactions pattern.
Additional information: link
ShibiBonk.transferToAddressETH(address,uint256) (#769-773) is never used and should be removed
Remove unused functions.
Additional information: link
ShibiBonk.totalFee (#319-320) is set pre-construction with a non-constant function or state variable:
- ecosystemFee.add(liquidityFee).add(marketingFee).add(buyBackFee)
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 ShibiBonk.swapBack() (#534-603):
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountETHMarketing}() (#578-581)
- (success,None) = address(buyBackFeeReceiver).call{gas: 30000,value: amountETHBuyBack}() (#582-585)
- (success,None) = address(ecosystemFeeReceiver).call{gas: 30000,value: amountETHEco}() (#586-589)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable ShibiBonk.ZERO (#324) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#220) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#221)
Prevent variables from having similar names.
Additional information: link
ShibiBonk.slitherConstructorVariables() (#274-811) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#324)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (#129) is never used in SafeMathInt (#127-161)
Remove unused state variables.
Additional information: link
ShibiBonk.ZERO (#324) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
rescueToken(address,uint256) should be declared external:
- ShibiBonk.rescueToken(address,uint256) (#754-760)
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
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