UCHIHA.clearStuckBalance() (#427-429) sends eth to arbitrary user
Dangerous calls:
- address(devFeeReceiver).transfer(address(this).balance) (#428)
UCHIHA.swapBack() (#435-485) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(MarketingFeeReceiver).call{value: amountETHMarketing}() (#466)
- (tmpSuccess,None) = address(operationsFeeReceiver).call{value: amountETHOps}() (#467)
- (tmpSuccess,None) = address(devFeeReceiver).call{value: amountETHDev}() (#468)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
UCHIHA.latestSniperBlock (#215) is never initialized. It is used in:
- UCHIHA.takeBuyFee(address,address,uint256) (#362-383)
- UCHIHA.takeTransferFee(address,uint256) (#403-417)
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
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in UCHIHA._transferFrom(address,address,uint256) (#315-352):
External calls:
- swapBack() (#319)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#449-455)
- (tmpSuccess) = address(MarketingFeeReceiver).call{value: amountETHMarketing}() (#466)
- (tmpSuccess,None) = address(operationsFeeReceiver).call{value: amountETHOps}() (#467)
- (tmpSuccess,None) = address(devFeeReceiver).call{value: amountETHDev}() (#468)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#473-480)
External calls sending eth:
- swapBack() (#319)
- (tmpSuccess) = address(MarketingFeeReceiver).call{value: amountETHMarketing}() (#466)
- (tmpSuccess,None) = address(operationsFeeReceiver).call{value: amountETHOps}() (#467)
- (tmpSuccess,None) = address(devFeeReceiver).call{value: amountETHDev}() (#468)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#473-480)
State variables written after the call(s):
- amountReceived = takeBuyFee(sender,recipient,amount) (#328)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#374)
- _balances[BurnFeeReceiver] = _balances[BurnFeeReceiver].add(BurnFeeAmount) (#378)
- amountReceived = takeSellFee(sender,amount) (#334)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#391)
- _balances[BurnFeeReceiver] = _balances[BurnFeeReceiver].add(BurnFeeAmount) (#395)
- amountReceived = takeTransferFee(sender,amount) (#341)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#412)
- _balances[sender] = _balances[sender].sub(amount) (#346)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#347)
- amountReceived = takeBuyFee(sender,recipient,amount) (#328)
- isBot[recipient] = true (#366)
Apply the check-effects-interactions pattern.
Additional information: link
Contract ownership is not renounced (belongs to a wallet)
UCHIHA.swapBack().tmpSuccess (#466) is written in both
(tmpSuccess) = address(MarketingFeeReceiver).call{value: amountETHMarketing}() (#466)
(tmpSuccess,None) = address(operationsFeeReceiver).call{value: amountETHOps}() (#467)
UCHIHA.swapBack().tmpSuccess (#466) is written in both
(tmpSuccess,None) = address(operationsFeeReceiver).call{value: amountETHOps}() (#467)
(tmpSuccess,None) = address(devFeeReceiver).call{value: amountETHDev}() (#468)
UCHIHA.swapBack().tmpSuccess (#466) is written in both
(tmpSuccess,None) = address(devFeeReceiver).call{value: amountETHDev}() (#468)
tmpSuccess = false (#470)
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.
Auth.transferOwnership(address).adr (#97) lacks a zero-check on :
- owner = adr (#98)
Check that the address is not zero.
Additional information: link
UCHIHA.manage_bot(address[],bool).i (#505) 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
UCHIHA.swapBack() (#435-485) ignores return value by router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#473-480)
Ensure that all the return values of the function calls are used.
Additional information: link
Reentrancy in UCHIHA.constructor() (#259-281):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WETH,address(this)) (#262)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = type()(uint256).max (#266)
- _balances[msg.sender] = _totalSupply (#279)
- setAutomatedMarketMakerPair(pair,true) (#264)
- _markerPairs.push(_pair) (#601)
- _markerPairs[i] = _markerPairs[_markerPairs.length - 1] (#606)
- _markerPairs.pop() (#607)
- setAutomatedMarketMakerPair(pair,true) (#264)
- automatedMarketMakerPairs[_pair] = _value (#598)
- isFeeExempt[msg.sender] = true (#268)
- isFeeExempt[address(this)] = true (#272)
- isMaxWalletExempt[msg.sender] = true (#270)
- isMaxWalletExempt[address(this)] = true (#274)
- isMaxWalletExempt[pair] = true (#276)
- isTxLimitExempt[msg.sender] = true (#269)
- isTxLimitExempt[address(this)] = true (#273)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in UCHIHA._transferFrom(address,address,uint256) (#315-352):
External calls:
- swapBack() (#319)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#449-455)
- (tmpSuccess) = address(MarketingFeeReceiver).call{value: amountETHMarketing}() (#466)
- (tmpSuccess,None) = address(operationsFeeReceiver).call{value: amountETHOps}() (#467)
- (tmpSuccess,None) = address(devFeeReceiver).call{value: amountETHDev}() (#468)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#473-480)
External calls sending eth:
- swapBack() (#319)
- (tmpSuccess) = address(MarketingFeeReceiver).call{value: amountETHMarketing}() (#466)
- (tmpSuccess,None) = address(operationsFeeReceiver).call{value: amountETHOps}() (#467)
- (tmpSuccess,None) = address(devFeeReceiver).call{value: amountETHDev}() (#468)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#473-480)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#392)
- amountReceived = takeSellFee(sender,amount) (#334)
- Transfer(sender,BurnFeeReceiver,BurnFeeAmount) (#396)
- amountReceived = takeSellFee(sender,amount) (#334)
- Transfer(sender,address(this),feeAmount) (#413)
- amountReceived = takeTransferFee(sender,amount) (#341)
- Transfer(sender,address(this),feeAmount) (#375)
- amountReceived = takeBuyFee(sender,recipient,amount) (#328)
- Transfer(sender,BurnFeeReceiver,BurnFeeAmount) (#379)
- amountReceived = takeBuyFee(sender,recipient,amount) (#328)
- Transfer(sender,recipient,amountReceived) (#350)
Reentrancy in UCHIHA.constructor() (#259-281):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WETH,address(this)) (#262)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(_pair,_value) (#613)
- setAutomatedMarketMakerPair(pair,true) (#264)
- Transfer(address(0),msg.sender,_totalSupply) (#280)
Apply the check-effects-interactions pattern.
Additional information: link
UCHIHA.setAutomatedMarketMakerPair(address,bool) (#595-614) has costly operations inside a loop:
- _markerPairs.pop() (#607)
Use a local variable to hold the loop computation result.
Additional information: link
UCHIHA._maxTxAmount (#196) is set pre-construction with a non-constant function or state variable:
- _totalSupply
UCHIHA._maxWalletAmount (#197) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 1 / 100
UCHIHA.totalBuyFee (#238) is set pre-construction with a non-constant function or state variable:
- liquidityFee.add(MarketingFee).add(opsFee).add(devFee).add(BurnFee)
UCHIHA.totalSellFee (#239) is set pre-construction with a non-constant function or state variable:
- sellFeeLiquidity.add(sellFeeMarketing).add(sellFeeOps).add(sellFeeDev).add(sellFeeBurn)
UCHIHA.swapThreshold (#254) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 30 / 10000
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
Low level call in UCHIHA.swapBack() (#435-485):
- (tmpSuccess) = address(MarketingFeeReceiver).call{value: amountETHMarketing}() (#466)
- (tmpSuccess,None) = address(operationsFeeReceiver).call{value: amountETHOps}() (#467)
- (tmpSuccess,None) = address(devFeeReceiver).call{value: amountETHDev}() (#468)
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() (#112) is not in mixedCase
Function UCHIHA.manage_bot(address[],bool) (#503-510) is not in mixedCase
Parameter UCHIHA.setBL(address,bool)._address (#512) is not in mixedCase
Parameter UCHIHA.setBL(address,bool)._bool (#512) is not in mixedCase
Parameter UCHIHA.updateblock(uint256)._number (#518) is not in mixedCase
Parameter UCHIHA.setBuyFees(uint256,uint256,uint256,uint256,uint256,uint256)._liquidityFee (#543) is not in mixedCase
Parameter UCHIHA.setBuyFees(uint256,uint256,uint256,uint256,uint256,uint256)._MarketingFee (#543) is not in mixedCase
Parameter UCHIHA.setBuyFees(uint256,uint256,uint256,uint256,uint256,uint256)._opsFee (#543) is not in mixedCase
Parameter UCHIHA.setBuyFees(uint256,uint256,uint256,uint256,uint256,uint256)._devFee (#543) is not in mixedCase
Parameter UCHIHA.setBuyFees(uint256,uint256,uint256,uint256,uint256,uint256)._BurnFee (#543) is not in mixedCase
Parameter UCHIHA.setBuyFees(uint256,uint256,uint256,uint256,uint256,uint256)._feeDenominator (#543) is not in mixedCase
Parameter UCHIHA.setSellFees(uint256,uint256,uint256,uint256,uint256,uint256)._liquidityFee (#556) is not in mixedCase
Parameter UCHIHA.setSellFees(uint256,uint256,uint256,uint256,uint256,uint256)._MarketingFee (#556) is not in mixedCase
Parameter UCHIHA.setSellFees(uint256,uint256,uint256,uint256,uint256,uint256)._opsFee (#556) is not in mixedCase
Parameter UCHIHA.setSellFees(uint256,uint256,uint256,uint256,uint256,uint256)._devFee (#556) is not in mixedCase
Parameter UCHIHA.setSellFees(uint256,uint256,uint256,uint256,uint256,uint256)._BurnFee (#556) is not in mixedCase
Parameter UCHIHA.setSellFees(uint256,uint256,uint256,uint256,uint256,uint256)._feeDenominator (#556) is not in mixedCase
Parameter UCHIHA.setTransferFee(uint256)._transferFee (#569) is not in mixedCase
Parameter UCHIHA.setFeeReceivers(address,address,address,address,address)._autoLiquidityReceiver (#577) is not in mixedCase
Parameter UCHIHA.setFeeReceivers(address,address,address,address,address)._MarketingFeeReceiver (#577) is not in mixedCase
Parameter UCHIHA.setFeeReceivers(address,address,address,address,address)._operationsFeeReceiver (#577) is not in mixedCase
Parameter UCHIHA.setFeeReceivers(address,address,address,address,address)._devFeeReceiver (#577) is not in mixedCase
Parameter UCHIHA.setFeeReceivers(address,address,address,address,address)._BurnFeeReceiver (#577) is not in mixedCase
Parameter UCHIHA.setSwapBackSettings(bool,uint256)._enabled (#588) is not in mixedCase
Parameter UCHIHA.setSwapBackSettings(bool,uint256)._amount (#588) is not in mixedCase
Parameter UCHIHA.setAutomatedMarketMakerPair(address,bool)._pair (#595) is not in mixedCase
Parameter UCHIHA.setAutomatedMarketMakerPair(address,bool)._value (#595) is not in mixedCase
Variable UCHIHA.WETH (#186) is not in mixedCase
Variable UCHIHA.DEAD (#187) is not in mixedCase
Variable UCHIHA.ZERO (#188) is not in mixedCase
Constant UCHIHA._name (#190) is not in UPPER_CASE_WITH_UNDERSCORES
Constant UCHIHA._symbol (#191) is not in UPPER_CASE_WITH_UNDERSCORES
Constant UCHIHA._decimals (#192) is not in UPPER_CASE_WITH_UNDERSCORES
Variable UCHIHA._maxTxAmount (#196) is not in mixedCase
Variable UCHIHA._maxWalletAmount (#197) is not in mixedCase
Variable UCHIHA._markerPairs (#202) is not in mixedCase
Variable UCHIHA.MarketingFee (#221) is not in mixedCase
Variable UCHIHA.BurnFee (#224) is not in mixedCase
Variable UCHIHA.MarketingFeeReceiver (#244) is not in mixedCase
Variable UCHIHA.BurnFeeReceiver (#247) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#117) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#118)
Prevent variables from having similar names.
Additional information: link
UCHIHA.slitherConstructorVariables() (#162-626) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#187)
UCHIHA.slitherConstructorVariables() (#162-626) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#188)
UCHIHA.slitherConstructorVariables() (#162-626) uses literals with too many digits:
- _totalSupply = 1000000000 * 10 ** _decimals (#194)
UCHIHA.slitherConstructorVariables() (#162-626) uses literals with too many digits:
- BurnFeeReceiver = 0x000000000000000000000000000000000000dEaD (#247)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
UCHIHA.DEAD (#187) should be constant
UCHIHA.ZERO (#188) should be constant
UCHIHA._totalSupply (#194) should be constant
UCHIHA.latestSniperBlock (#215) should be constant
UCHIHA.launchBlock (#214) should be constant
UCHIHA.maxFee (#235) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
authorize(address) should be declared external:
- Auth.authorize(address) (#81-83)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#85-87)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#97-101)
getCirculatingSupply() should be declared external:
- UCHIHA.getCirculatingSupply() (#621-623)
Use the external attribute for functions never called from the contract.
Additional information: link
Contract has 10% buy tax and 9% sell tax.
Taxes are low but contract ownership is not renounced. Token has a high risk of becoming a honeypot.
Average 30d PancakeSwap liquidity is low.
Average 30d PancakeSwap volume is low.
Number of Binance Smart Chain (BSC) token holders is low.
Token is deployed only at one blockchain
Token has only one trading pair
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinMarketCap
Unable to find token contract audit
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find Twitter link on the website
Token is not listed at Mobula.Finance
Additional information: link
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 CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Token is marked as risky (blacklisted creator, fake name, dead project, etc.)
Additional information: link
Unable to find Twitter account
Telegram account has relatively few subscribers
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account