Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
MANEKINEKO.swapBack() (#376-417) sends eth to arbitrary user
Dangerous calls:
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#401)
- (devSuccess) = address(devFeeReceiver).call{gas: 30000,value: amountBNBdev}() (#403)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in MANEKINEKO._transferFrom(address,address,uint256) (#300-329):
External calls:
- swapBack() (#318)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#387-393)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#401)
- (devSuccess) = address(devFeeReceiver).call{gas: 30000,value: amountBNBdev}() (#403)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#407-414)
External calls sending eth:
- swapBack() (#318)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#401)
- (devSuccess) = address(devFeeReceiver).call{gas: 30000,value: amountBNBdev}() (#403)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#407-414)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#322)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#325)
- amountReceived = takeFee(sender,recipient,amount) (#324)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#355)
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.
Contract name (MANEKI-NEKO) 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.
MANEKINEKO.slitherConstructorVariables() (#196-513) performs a multiplication on the result of a division:
-swapThreshold = _totalSupply / 1000 * 1 (#237)
Consider ordering multiplication before division.
Additional information: link
MANEKINEKO.swapBack() (#376-417) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#407-414)
Ensure that all the return values of the function calls are used.
Additional information: link
MANEKINEKO.setFees(uint256,uint256,uint256,uint256) (#446-453) should emit an event for:
- liquidityFee = _liquidityFee (#447)
- marketingFee = _marketingFee (#448)
- devFee = _devFee (#449)
- totalFee = _liquidityFee.add(_marketingFee).add(_devFee) (#450)
- feeDenominator = _feeDenominator (#451)
MANEKINEKO.setSellMultiplier(uint256) (#468-470) should emit an event for:
- _sellMultiplier = multiplier (#469)
MANEKINEKO.setTxLimit(uint256) (#476-479) should emit an event for:
- _maxTxAmount = amountBuy (#477)
Emit an event for critical parameter changes.
Additional information: link
Auth.transferOwnership(address).adr (#135) lacks a zero-check on :
- owner = adr (#136)
MANEKINEKO.setFeeReceiver(address,address)._marketingFeeReceiver (#471) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#472)
MANEKINEKO.setFeeReceiver(address,address)._devFeeReceiver (#471) lacks a zero-check on :
- devFeeReceiver = _devFeeReceiver (#473)
Check that the address is not zero.
Additional information: link
Reentrancy in MANEKINEKO._transferFrom(address,address,uint256) (#300-329):
External calls:
- swapBack() (#318)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#387-393)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#401)
- (devSuccess) = address(devFeeReceiver).call{gas: 30000,value: amountBNBdev}() (#403)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#407-414)
External calls sending eth:
- swapBack() (#318)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#401)
- (devSuccess) = address(devFeeReceiver).call{gas: 30000,value: amountBNBdev}() (#403)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#407-414)
State variables written after the call(s):
- launch() (#320)
- launchedAt = block.number (#437)
Reentrancy in MANEKINEKO.constructor() (#246-266):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#248)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = type()(uint256).max (#249)
- _balances[_owner] = _totalSupply (#264)
- isFeeExempt[msg.sender] = true (#252)
- isTimelockExempt[msg.sender] = true (#259)
- isTimelockExempt[DEAD] = true (#260)
- isTimelockExempt[address(this)] = true (#261)
- isTxLimitExempt[msg.sender] = true (#254)
- isTxLimitExempt[address(this)] = true (#255)
- isTxLimitExempt[routerAddress] = true (#256)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in MANEKINEKO._transferFrom(address,address,uint256) (#300-329):
External calls:
- swapBack() (#318)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#387-393)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#401)
- (devSuccess) = address(devFeeReceiver).call{gas: 30000,value: amountBNBdev}() (#403)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#407-414)
External calls sending eth:
- swapBack() (#318)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#401)
- (devSuccess) = address(devFeeReceiver).call{gas: 30000,value: amountBNBdev}() (#403)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#407-414)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#356)
- amountReceived = takeFee(sender,recipient,amount) (#324)
- Transfer(sender,recipient,amountReceived) (#327)
Reentrancy in MANEKINEKO.constructor() (#246-266):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#248)
Event emitted after the call(s):
- Transfer(address(0),_owner,_totalSupply) (#265)
Reentrancy in MANEKINEKO.swapBack() (#376-417):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#387-393)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#401)
- (devSuccess) = address(devFeeReceiver).call{gas: 30000,value: amountBNBdev}() (#403)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#407-414)
External calls sending eth:
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#401)
- (devSuccess) = address(devFeeReceiver).call{gas: 30000,value: amountBNBdev}() (#403)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#407-414)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#415)
Apply the check-effects-interactions pattern.
Additional information: link
MANEKINEKO._transferFrom(address,address,uint256) (#300-329) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(cooldownTimer[recipient] < block.timestamp,Please wait for 1min between two operations) (#315)
Avoid relying on block.timestamp.
Additional information: link
MANEKINEKO.buyTokens(uint256,address) (#419-430) is never used and should be removed
Remove unused functions.
Additional information: link
MANEKINEKO._maxTxAmount (#209) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 1) / 100
MANEKINEKO._maxWalletSize (#210) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 1) / 100
MANEKINEKO.swapThreshold (#237) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 1000 * 1
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
Pragma version^0.8.11 (#17) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.11 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 MANEKINEKO.swapBack() (#376-417):
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#401)
- (devSuccess) = address(devFeeReceiver).call{gas: 30000,value: amountBNBdev}() (#403)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable Auth._intAddr (#82) is not in mixedCase
Function IDEXRouter.WETH() (#150) is not in mixedCase
Parameter MANEKINEKO.tradingStatus(bool)._status (#362) is not in mixedCase
Parameter MANEKINEKO.setFees(uint256,uint256,uint256,uint256)._liquidityFee (#446) is not in mixedCase
Parameter MANEKINEKO.setFees(uint256,uint256,uint256,uint256)._marketingFee (#446) is not in mixedCase
Parameter MANEKINEKO.setFees(uint256,uint256,uint256,uint256)._devFee (#446) is not in mixedCase
Parameter MANEKINEKO.setFees(uint256,uint256,uint256,uint256)._feeDenominator (#446) is not in mixedCase
Parameter MANEKINEKO.cooldownEnabled(bool,uint8)._status (#455) is not in mixedCase
Parameter MANEKINEKO.cooldownEnabled(bool,uint8)._interval (#455) is not in mixedCase
Parameter MANEKINEKO.setFeeReceiver(address,address)._marketingFeeReceiver (#471) is not in mixedCase
Parameter MANEKINEKO.setFeeReceiver(address,address)._devFeeReceiver (#471) is not in mixedCase
Parameter MANEKINEKO.setSwapBackSettings(bool,uint256)._enabled (#480) is not in mixedCase
Parameter MANEKINEKO.setSwapBackSettings(bool,uint256)._amount (#480) is not in mixedCase
Parameter MANEKINEKO.blacklistAddress(address,bool)._address (#485) is not in mixedCase
Parameter MANEKINEKO.blacklistAddress(address,bool)._value (#485) is not in mixedCase
Parameter MANEKINEKO.transferForeignToken(address)._token (#493) is not in mixedCase
Variable MANEKINEKO.WBNB (#199) is not in mixedCase
Variable MANEKINEKO.DEAD (#200) is not in mixedCase
Variable MANEKINEKO.ZERO (#201) is not in mixedCase
Constant MANEKINEKO._name (#204) is not in UPPER_CASE_WITH_UNDERSCORES
Constant MANEKINEKO._symbol (#205) is not in UPPER_CASE_WITH_UNDERSCORES
Constant MANEKINEKO._decimals (#206) is not in UPPER_CASE_WITH_UNDERSCORES
Variable MANEKINEKO._totalSupply (#208) is not in mixedCase
Variable MANEKINEKO._maxTxAmount (#209) is not in mixedCase
Variable MANEKINEKO._maxWalletSize (#210) is not in mixedCase
Variable MANEKINEKO._balances (#212) is not in mixedCase
Variable MANEKINEKO._allowances (#213) is not in mixedCase
Variable MANEKINEKO._sellMultiplier (#225) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#155) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#156)
Prevent variables from having similar names.
Additional information: link
MANEKINEKO.slitherConstructorVariables() (#196-513) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#200)
MANEKINEKO.slitherConstructorVariables() (#196-513) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#201)
MANEKINEKO.slitherConstructorVariables() (#196-513) uses literals with too many digits:
- _totalSupply = 10000000000 * (10 ** _decimals) (#208)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
MANEKINEKO.DEAD (#200) should be constant
MANEKINEKO.WBNB (#199) should be constant
MANEKINEKO.ZERO (#201) should be constant
MANEKINEKO._totalSupply (#208) should be constant
MANEKINEKO.routerAddress (#202) 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) (#106-108)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#114-116)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#135-139)
tradingStatus(bool) should be declared external:
- MANEKINEKO.tradingStatus(bool) (#362-367)
cooldownEnabled(bool,uint8) should be declared external:
- MANEKINEKO.cooldownEnabled(bool,uint8) (#455-458)
blacklistAddress(address,bool) should be declared external:
- MANEKINEKO.blacklistAddress(address,bool) (#485-487)
transferForeignToken(address) should be declared external:
- MANEKINEKO.transferForeignToken(address) (#493-497)
isOverLiquified(uint256,uint256) should be declared external:
- MANEKINEKO.isOverLiquified(uint256,uint256) (#507-509)
Use the external attribute for functions never called from the contract.
Additional information: link
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