Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
AkiInu.swapBack() (#324-353) sends eth to arbitrary user
Dangerous calls:
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#348)
- (BuyBackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#350)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in AkiInu._transferFrom(address,address,uint256) (#269-289):
External calls:
- swapBack() (#278)
- router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#357-364)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#335-341)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#348)
- (BuyBackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#350)
External calls sending eth:
- swapBack() (#278)
- router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#357-364)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#348)
- (BuyBackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#350)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#282)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#285)
- amountReceived = takeFee(sender,amount) (#284)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#311)
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.
Auth.transferOwnership(address).adr (#123) lacks a zero-check on :
- owner = adr (#124)
AkiInu.setFeeReceiver(address,address)._marketingFeeReceiver (#416) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#417)
AkiInu.setFeeReceiver(address,address)._buybackFeeReceiver (#416) lacks a zero-check on :
- buybackFeeReceiver = _buybackFeeReceiver (#418)
Check that the address is not zero.
Additional information: link
AkiInu.setTxLimit(uint256) (#390-393) should emit an event for:
- _maxTxAmount = amount (#392)
AkiInu.setFees(uint256,uint256,uint256,uint256) (#408-414) should emit an event for:
- liquidityFee = _liquidityFee (#409)
- buybackFee = _buybackFee (#410)
- totalFee = _liquidityFee.add(_buybackFee).add(_marketingFee) (#412)
- feeDenominator = _feeDenominator (#413)
Emit an event for critical parameter changes.
Additional information: link
AkiInu.slitherConstructorVariables() (#184-451) performs a multiplication on the result of a division:
-swapThreshold = _totalSupply / 1000 * 3 (#220)
Consider ordering multiplication before division.
Additional information: link
AkiInu.addLiquidity(uint256,uint256) (#355-367) ignores return value by router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#357-364)
Ensure that all the return values of the function calls are used.
Additional information: link
Reentrancy in AkiInu._transferFrom(address,address,uint256) (#269-289):
External calls:
- swapBack() (#278)
- router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#357-364)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#335-341)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#348)
- (BuyBackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#350)
External calls sending eth:
- swapBack() (#278)
- router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#357-364)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#348)
- (BuyBackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#350)
State variables written after the call(s):
- launch() (#280)
- launchedAt = block.number (#387)
Reentrancy in AkiInu.constructor() (#224-235):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#226)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = type()(uint256).max (#227)
- _balances[_owner] = _totalSupply (#233)
- isFeeExempt[_owner] = true (#230)
- isTxLimitExempt[_owner] = true (#231)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in AkiInu._transferFrom(address,address,uint256) (#269-289):
External calls:
- swapBack() (#278)
- router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#357-364)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#335-341)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#348)
- (BuyBackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#350)
External calls sending eth:
- swapBack() (#278)
- router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#357-364)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#348)
- (BuyBackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#350)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#312)
- amountReceived = takeFee(sender,amount) (#284)
- Transfer(sender,recipient,amountReceived) (#287)
Reentrancy in AkiInu.addLiquidity(uint256,uint256) (#355-367):
External calls:
- router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#357-364)
Event emitted after the call(s):
- AutoLiquify(BNBAmount,tokenAmount) (#365)
Reentrancy in AkiInu.constructor() (#224-235):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#226)
Event emitted after the call(s):
- Transfer(address(0),_owner,_totalSupply) (#234)
Reentrancy in AkiInu.swapBack() (#324-353):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#335-341)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#348)
- (BuyBackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#350)
- addLiquidity(amountToLiquify,amountBNBLiquidity) (#352)
- router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#357-364)
External calls sending eth:
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#348)
- (BuyBackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#350)
- addLiquidity(amountToLiquify,amountBNBLiquidity) (#352)
- router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#357-364)
Event emitted after the call(s):
- AutoLiquify(BNBAmount,tokenAmount) (#365)
- addLiquidity(amountToLiquify,amountBNBLiquidity) (#352)
Apply the check-effects-interactions pattern.
Additional information: link
AkiInu.buyTokens(uint256,address) (#369-380) is never used and should be removed
Remove unused functions.
Additional information: link
AkiInu._maxTxAmount (#196) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 2) / 100
AkiInu._maxWalletSize (#197) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 2) / 100
AkiInu.swapThreshold (#220) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 1000 * 3
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 AkiInu.swapBack() (#324-353):
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#348)
- (BuyBackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#350)
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() (#138) is not in mixedCase
Parameter AkiInu.addLiquidity(uint256,uint256).BNBAmount (#355) is not in mixedCase
Parameter AkiInu.setFees(uint256,uint256,uint256,uint256)._liquidityFee (#408) is not in mixedCase
Parameter AkiInu.setFees(uint256,uint256,uint256,uint256)._buybackFee (#408) is not in mixedCase
Parameter AkiInu.setFees(uint256,uint256,uint256,uint256)._marketingFee (#408) is not in mixedCase
Parameter AkiInu.setFees(uint256,uint256,uint256,uint256)._feeDenominator (#408) is not in mixedCase
Parameter AkiInu.setFeeReceiver(address,address)._marketingFeeReceiver (#416) is not in mixedCase
Parameter AkiInu.setFeeReceiver(address,address)._buybackFeeReceiver (#416) is not in mixedCase
Parameter AkiInu.setSwapBackSettings(bool,uint256)._enabled (#421) is not in mixedCase
Parameter AkiInu.setSwapBackSettings(bool,uint256)._amount (#421) is not in mixedCase
Parameter AkiInu.transferForeignToken(address)._token (#431) is not in mixedCase
Variable AkiInu.WBNB (#187) is not in mixedCase
Variable AkiInu.DEAD (#188) is not in mixedCase
Variable AkiInu.ZERO (#189) is not in mixedCase
Constant AkiInu._name (#191) is not in UPPER_CASE_WITH_UNDERSCORES
Constant AkiInu._symbol (#192) is not in UPPER_CASE_WITH_UNDERSCORES
Constant AkiInu._decimals (#193) is not in UPPER_CASE_WITH_UNDERSCORES
Variable AkiInu._totalSupply (#195) is not in mixedCase
Variable AkiInu._maxTxAmount (#196) is not in mixedCase
Variable AkiInu._maxWalletSize (#197) is not in mixedCase
Variable AkiInu._balances (#199) is not in mixedCase
Variable AkiInu._allowances (#200) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#143) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#144)
Prevent variables from having similar names.
Additional information: link
AkiInu.slitherConstructorVariables() (#184-451) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#188)
AkiInu.slitherConstructorVariables() (#184-451) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#189)
AkiInu.slitherConstructorVariables() (#184-451) uses literals with too many digits:
- _totalSupply = 100000000000 * (10 ** _decimals) (#195)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
AkiInu.DEAD (#188) should be constant
AkiInu.WBNB (#187) should be constant
AkiInu.ZERO (#189) should be constant
AkiInu._totalSupply (#195) 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) (#95-97)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#102-104)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#123-127)
transferForeignToken(address) should be declared external:
- AkiInu.transferForeignToken(address) (#431-435)
isOverLiquified(uint256,uint256) should be declared external:
- AkiInu.isOverLiquified(uint256,uint256) (#445-447)
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 scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts