Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
VenomKitten.swapBack() (#333-377) sends eth to arbitrary user
Dangerous calls:
- (Success1) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#359)
- (Success1,None) = address(teamFeeReceiver).call{gas: 30000,value: amountBNBdevelopment}() (#361)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in VenomKitten._transferFrom(address,address,uint256) (#274-294):
External calls:
- swapBack() (#283)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#344-350)
- (Success1) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#359)
- (Success1,None) = address(teamFeeReceiver).call{gas: 30000,value: amountBNBdevelopment}() (#361)
- (Success1,None) = address(routerGas).call{gas: 30000,value: amountBNBRoutergas}() (#363)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,teamFeeReceiver,block.timestamp) (#367-374)
External calls sending eth:
- swapBack() (#283)
- (Success1) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#359)
- (Success1,None) = address(teamFeeReceiver).call{gas: 30000,value: amountBNBdevelopment}() (#361)
- (Success1,None) = address(routerGas).call{gas: 30000,value: amountBNBRoutergas}() (#363)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,teamFeeReceiver,block.timestamp) (#367-374)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#287)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#290)
- amountReceived = takeFee(sender,recipient,amount) (#289)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#320)
Apply the check-effects-interactions pattern.
Additional information: link
VenomKitten.swapBack().Success1 (#359) is written in both
(Success1) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#359)
(Success1,None) = address(teamFeeReceiver).call{gas: 30000,value: amountBNBdevelopment}() (#361)
VenomKitten.swapBack().Success1 (#359) is written in both
(Success1,None) = address(teamFeeReceiver).call{gas: 30000,value: amountBNBdevelopment}() (#361)
(Success1,None) = address(routerGas).call{gas: 30000,value: amountBNBRoutergas}() (#363)
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.
Low level call in VenomKitten.swapBack() (#333-377):
- (Success1) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#359)
- (Success1,None) = address(teamFeeReceiver).call{gas: 30000,value: amountBNBdevelopment}() (#361)
- (Success1,None) = address(routerGas).call{gas: 30000,value: amountBNBRoutergas}() (#363)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Reentrancy in VenomKitten._transferFrom(address,address,uint256) (#274-294):
External calls:
- swapBack() (#283)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#344-350)
- (Success1) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#359)
- (Success1,None) = address(teamFeeReceiver).call{gas: 30000,value: amountBNBdevelopment}() (#361)
- (Success1,None) = address(routerGas).call{gas: 30000,value: amountBNBRoutergas}() (#363)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,teamFeeReceiver,block.timestamp) (#367-374)
External calls sending eth:
- swapBack() (#283)
- (Success1) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#359)
- (Success1,None) = address(teamFeeReceiver).call{gas: 30000,value: amountBNBdevelopment}() (#361)
- (Success1,None) = address(routerGas).call{gas: 30000,value: amountBNBRoutergas}() (#363)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,teamFeeReceiver,block.timestamp) (#367-374)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#321)
- amountReceived = takeFee(sender,recipient,amount) (#289)
- Transfer(sender,recipient,amountReceived) (#292)
Reentrancy in VenomKitten.constructor() (#227-240):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#230)
Event emitted after the call(s):
- Transfer(address(0),_owner,_totalSupply) (#239)
Reentrancy in VenomKitten.swapBack() (#333-377):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#344-350)
- (Success1) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#359)
- (Success1,None) = address(teamFeeReceiver).call{gas: 30000,value: amountBNBdevelopment}() (#361)
- (Success1,None) = address(routerGas).call{gas: 30000,value: amountBNBRoutergas}() (#363)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,teamFeeReceiver,block.timestamp) (#367-374)
External calls sending eth:
- (Success1) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#359)
- (Success1,None) = address(teamFeeReceiver).call{gas: 30000,value: amountBNBdevelopment}() (#361)
- (Success1,None) = address(routerGas).call{gas: 30000,value: amountBNBRoutergas}() (#363)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,teamFeeReceiver,block.timestamp) (#367-374)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#375)
Apply the check-effects-interactions pattern.
Additional information: link
VenomKitten.buyTokens(uint256,address) (#379-390) is never used and should be removed
Remove unused functions.
Additional information: link
VenomKitten.slitherConstructorVariables() (#186-466) performs a multiplication on the result of a division:
-swapThreshold = _totalSupply / 1000 * 3 (#223)
Consider ordering multiplication before division.
Additional information: link
VenomKitten.swapBack() (#333-377) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,teamFeeReceiver,block.timestamp) (#367-374)
Ensure that all the return values of the function calls are used.
Additional information: link
VenomKitten.setTxLimit(uint256) (#400-403) should emit an event for:
- _maxTxAmount = amount (#402)
VenomKitten.setFees(uint256,uint256,uint256,uint256) (#418-424) should emit an event for:
- liquidityFee = _liquidityFee (#419)
- teamFee = _teamFee (#420)
- marketingFee = _marketingFee (#421)
- totalFee = _liquidityFee.add(_teamFee).add(_marketingFee) (#422)
- feeDenominator = _feeDenominator (#423)
Emit an event for critical parameter changes.
Additional information: link
Auth.transferOwnership(address).adr (#125) lacks a zero-check on :
- owner = adr (#126)
VenomKitten.setFeeReceiver(address,address)._marketingFeeReceiver (#426) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#427)
VenomKitten.setFeeReceiver(address,address)._teamFeeReceiver (#426) lacks a zero-check on :
- teamFeeReceiver = _teamFeeReceiver (#428)
Check that the address is not zero.
Additional information: link
Reentrancy in VenomKitten._transferFrom(address,address,uint256) (#274-294):
External calls:
- swapBack() (#283)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#344-350)
- (Success1) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#359)
- (Success1,None) = address(teamFeeReceiver).call{gas: 30000,value: amountBNBdevelopment}() (#361)
- (Success1,None) = address(routerGas).call{gas: 30000,value: amountBNBRoutergas}() (#363)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,teamFeeReceiver,block.timestamp) (#367-374)
External calls sending eth:
- swapBack() (#283)
- (Success1) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#359)
- (Success1,None) = address(teamFeeReceiver).call{gas: 30000,value: amountBNBdevelopment}() (#361)
- (Success1,None) = address(routerGas).call{gas: 30000,value: amountBNBRoutergas}() (#363)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,teamFeeReceiver,block.timestamp) (#367-374)
State variables written after the call(s):
- launch() (#285)
- launchedAt = block.number (#397)
Reentrancy in VenomKitten.constructor() (#227-240):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#230)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = type()(uint256).max (#231)
- _balances[_owner] = _totalSupply (#238)
- isFeeExempt[_owner] = true (#234)
- isTxLimitExempt[_owner] = true (#235)
Apply the check-effects-interactions pattern.
Additional information: link
VenomKitten._maxTxAmount (#198) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 1) / 100
VenomKitten._maxWalletSize (#199) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 2) / 100
VenomKitten.swapThreshold (#223) 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
Function IDEXRouter.WETH() (#140) is not in mixedCase
Parameter VenomKitten.setFees(uint256,uint256,uint256,uint256)._liquidityFee (#418) is not in mixedCase
Parameter VenomKitten.setFees(uint256,uint256,uint256,uint256)._teamFee (#418) is not in mixedCase
Parameter VenomKitten.setFees(uint256,uint256,uint256,uint256)._marketingFee (#418) is not in mixedCase
Parameter VenomKitten.setFees(uint256,uint256,uint256,uint256)._feeDenominator (#418) is not in mixedCase
Parameter VenomKitten.setFeeReceiver(address,address)._marketingFeeReceiver (#426) is not in mixedCase
Parameter VenomKitten.setFeeReceiver(address,address)._teamFeeReceiver (#426) is not in mixedCase
Parameter VenomKitten.setSwapBackSettings(bool,uint256)._enabled (#431) is not in mixedCase
Parameter VenomKitten.setSwapBackSettings(bool,uint256)._amount (#431) is not in mixedCase
Parameter VenomKitten.transferForeignToken(address)._token (#441) is not in mixedCase
Variable VenomKitten.WBNB (#189) is not in mixedCase
Variable VenomKitten.DEAD (#190) is not in mixedCase
Variable VenomKitten.ZERO (#191) is not in mixedCase
Constant VenomKitten._name (#193) is not in UPPER_CASE_WITH_UNDERSCORES
Constant VenomKitten._symbol (#194) is not in UPPER_CASE_WITH_UNDERSCORES
Constant VenomKitten._decimals (#195) is not in UPPER_CASE_WITH_UNDERSCORES
Variable VenomKitten._totalSupply (#197) is not in mixedCase
Variable VenomKitten._maxTxAmount (#198) is not in mixedCase
Variable VenomKitten._maxWalletSize (#199) is not in mixedCase
Variable VenomKitten._balances (#201) is not in mixedCase
Variable VenomKitten._allowances (#202) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#145) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#146)
Prevent variables from having similar names.
Additional information: link
VenomKitten.slitherConstructorVariables() (#186-466) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#190)
VenomKitten.slitherConstructorVariables() (#186-466) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#191)
VenomKitten.slitherConstructorVariables() (#186-466) uses literals with too many digits:
- _totalSupply = 1000000000 * (10 ** _decimals) (#197)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
VenomKitten.DEAD (#190) should be constant
VenomKitten.WBNB (#189) should be constant
VenomKitten.ZERO (#191) should be constant
VenomKitten._totalSupply (#197) 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) (#97-99)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#104-106)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#125-129)
transferForeignToken(address) should be declared external:
- VenomKitten.transferForeignToken(address) (#441-445)
isOverLiquified(uint256,uint256) should be declared external:
- VenomKitten.isOverLiquified(uint256,uint256) (#460-462)
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