Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Catwoman.tokenSwap() (#429-473) sends eth to arbitrary user
Dangerous calls:
- address(marketingWallet).transfer(amountBNBMarketing.sub(devFee)) (#459)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in Catwoman._transferFrom(address,address,uint256) (#494-532):
External calls:
- tokenSwap() (#521)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#440-446)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,liquidityWallet,block.timestamp) (#462-469)
External calls sending eth:
- tokenSwap() (#521)
- address(devWallet).transfer(devFee) (#458)
- address(marketingWallet).transfer(amountBNBMarketing.sub(devFee)) (#459)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,liquidityWallet,block.timestamp) (#462-469)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#523)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#527)
- amountReceived = takeFee(sender,recipient,amount) (#524)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#361)
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.
Catwoman.tokenSwap() (#429-473) performs a multiplication on the result of a division:
-amountBNBMarketing = amountBNB.mul(marketingFee).div(totalBNBFee) (#455)
-devFee = amountBNBMarketing.mul(10).div(30) (#457)
Consider ordering multiplication before division.
Additional information: link
Catwoman.manualSwap(uint256) (#384-427) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,liquidityWallet,block.timestamp) (#416-423)
Catwoman.tokenSwap() (#429-473) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,liquidityWallet,block.timestamp) (#462-469)
Ensure that all the return values of the function calls are used.
Additional information: link
Catwoman.seFees(uint256,uint256,uint256) (#297-302) should emit an event for:
- marketingFee = _marketingFee (#298)
- liquidityFee = _liquidityFee (#299)
- sellMulti = _sellMulti (#300)
- totalFee = _marketingFee.add(_liquidityFee) (#301)
Catwoman.setTokenSwapSettings(bool,uint256) (#304-307) should emit an event for:
- swapThreshold = _amount * (10 ** _decimals) (#306)
Catwoman.setTxLimit(uint256) (#335-337) should emit an event for:
- _maxTxAmount = amount (#336)
Emit an event for critical parameter changes.
Additional information: link
Auth.transferOwnership(address).adr (#110) lacks a zero-check on :
- owner = adr (#111)
Catwoman.setWallets(address,address)._marketingWallet (#280) lacks a zero-check on :
- marketingWallet = _marketingWallet (#281)
Catwoman.setWallets(address,address)._liquidityWallet (#280) lacks a zero-check on :
- liquidityWallet = _liquidityWallet (#282)
Check that the address is not zero.
Additional information: link
Reentrancy in Catwoman._transferFrom(address,address,uint256) (#494-532):
External calls:
- tokenSwap() (#521)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#440-446)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,liquidityWallet,block.timestamp) (#462-469)
External calls sending eth:
- tokenSwap() (#521)
- address(devWallet).transfer(devFee) (#458)
- address(marketingWallet).transfer(amountBNBMarketing.sub(devFee)) (#459)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,liquidityWallet,block.timestamp) (#462-469)
State variables written after the call(s):
- amountReceived = takeFee(sender,recipient,amount) (#524)
- nope[recipient] = true (#377)
Reentrancy in Catwoman.constructor() (#232-246):
External calls:
- pair = IDEXFactory(router.factory()).createPair(0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c,address(this)) (#234)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = _totalSupply (#235)
- _balances[msg.sender] = _totalSupply (#244)
- devWallet = 0xA20b94Eb71dAD9D16DC5A279fC5Ad552c549FDcE (#242)
- isFeeExempt[msg.sender] = true (#237)
- isTxLimitExempt[msg.sender] = true (#238)
- liquidityWallet = 0x901396d48F078D9c18eaB0F376705C46F7581d29 (#241)
- marketingWallet = 0xc027f70FD77BD880173c95a7703F3104485A1a0A (#240)
Reentrancy in Catwoman.tokenSwap() (#429-473):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#440-446)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,liquidityWallet,block.timestamp) (#462-469)
External calls sending eth:
- address(devWallet).transfer(devFee) (#458)
- address(marketingWallet).transfer(amountBNBMarketing.sub(devFee)) (#459)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,liquidityWallet,block.timestamp) (#462-469)
State variables written after the call(s):
- lastSellTime = block.timestamp (#472)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Catwoman._transferFrom(address,address,uint256) (#494-532):
External calls:
- tokenSwap() (#521)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#440-446)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,liquidityWallet,block.timestamp) (#462-469)
External calls sending eth:
- tokenSwap() (#521)
- address(devWallet).transfer(devFee) (#458)
- address(marketingWallet).transfer(amountBNBMarketing.sub(devFee)) (#459)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,liquidityWallet,block.timestamp) (#462-469)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#362)
- amountReceived = takeFee(sender,recipient,amount) (#524)
- Transfer(sender,recipient,amountReceived) (#530)
Reentrancy in Catwoman.constructor() (#232-246):
External calls:
- pair = IDEXFactory(router.factory()).createPair(0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c,address(this)) (#234)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#245)
Reentrancy in Catwoman.manualSwap(uint256) (#384-427):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#396-402)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,liquidityWallet,block.timestamp) (#416-423)
External calls sending eth:
- address(devWallet).transfer(devFee) (#412)
- address(marketingWallet).transfer(amountBNBMarketing.sub(devFee)) (#413)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,liquidityWallet,block.timestamp) (#416-423)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#424)
Reentrancy in Catwoman.tokenSwap() (#429-473):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#440-446)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,liquidityWallet,block.timestamp) (#462-469)
External calls sending eth:
- address(devWallet).transfer(devFee) (#458)
- address(marketingWallet).transfer(amountBNBMarketing.sub(devFee)) (#459)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,liquidityWallet,block.timestamp) (#462-469)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#470)
Apply the check-effects-interactions pattern.
Additional information: link
Catwoman.shouldTokenSwap() (#343-352) uses timestamp for comparisons
Dangerous comparisons:
- timeToSell = lastSellTime.add(cooldownSeconds) < block.timestamp (#345)
- msg.sender != pair && timeToSell && ! inSwap && swapEnabled && _balances[address(this)] >= swapThreshold (#347-351)
Catwoman.checkFee(address) (#368-380) uses timestamp for comparisons
Dangerous comparisons:
- block.timestamp > launchTime + botTime * 1 (#373)
Catwoman._transferFrom(address,address,uint256) (#494-532) uses timestamp for comparisons
Dangerous comparisons:
- ! authorizations[sender] && ! authorizations[recipient] && block.timestamp > launchTime + activBotTime * 1 && getRekt == false && sender == pair (#516-517)
Avoid relying on block.timestamp.
Additional information: link
Catwoman.setLockTilStartEnabled(bool) (#314-324) compares to a boolean constant:
-lockUsed == false (#315)
Catwoman._transferFrom(address,address,uint256) (#494-532) compares to a boolean constant:
-require(bool,string)(lockTilStart != true,Trading not open yet) (#506)
Catwoman._transferFrom(address,address,uint256) (#494-532) compares to a boolean constant:
-! authorizations[sender] && ! authorizations[recipient] && block.timestamp > launchTime + activBotTime * 1 && getRekt == false && sender == pair (#516-517)
Remove the equality to the boolean constant.
Additional information: link
Catwoman._maxTxAmount (#184) is set pre-construction with a non-constant function or state variable:
- _totalSupply.mul(2).div(100)
Catwoman._maxWalletToken (#185) is set pre-construction with a non-constant function or state variable:
- _totalSupply.mul(2).div(100)
Catwoman.totalFee (#199) is set pre-construction with a non-constant function or state variable:
- marketingFee.add(liquidityFee)
Catwoman.swapThreshold (#227) is set pre-construction with a non-constant function or state variable:
- _totalSupply.mul(10).div(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
Pragma version^0.8.9 (#19) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.12 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
Function IDEXRouter.WETH() (#125) is not in mixedCase
Parameter Catwoman.setWallets(address,address)._marketingWallet (#280) is not in mixedCase
Parameter Catwoman.setWallets(address,address)._liquidityWallet (#280) is not in mixedCase
Parameter Catwoman.seFees(uint256,uint256,uint256)._marketingFee (#297) is not in mixedCase
Parameter Catwoman.seFees(uint256,uint256,uint256)._liquidityFee (#297) is not in mixedCase
Parameter Catwoman.seFees(uint256,uint256,uint256)._sellMulti (#297) is not in mixedCase
Parameter Catwoman.setTokenSwapSettings(bool,uint256)._enabled (#304) is not in mixedCase
Parameter Catwoman.setTokenSwapSettings(bool,uint256)._amount (#304) is not in mixedCase
Parameter Catwoman.setContractCooldown(uint256)._cooldownSeconds (#309) is not in mixedCase
Parameter Catwoman.setLockTilStartEnabled(bool)._enabled (#314) is not in mixedCase
Parameter Catwoman.manualSwap(uint256)._amount (#384) is not in mixedCase
Variable Catwoman.DEAD (#174) is not in mixedCase
Variable Catwoman.ZERO (#175) is not in mixedCase
Constant Catwoman._name (#177) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Catwoman._symbol (#178) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Catwoman._decimals (#179) is not in UPPER_CASE_WITH_UNDERSCORES
Variable Catwoman._totalSupply (#181) is not in mixedCase
Variable Catwoman._maxTxAmount (#184) is not in mixedCase
Variable Catwoman._maxWalletToken (#185) is not in mixedCase
Variable Catwoman._balances (#187) is not in mixedCase
Variable Catwoman._allowances (#188) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Reentrancy in Catwoman._transferFrom(address,address,uint256) (#494-532):
External calls:
- tokenSwap() (#521)
- address(devWallet).transfer(devFee) (#458)
- address(marketingWallet).transfer(amountBNBMarketing.sub(devFee)) (#459)
External calls sending eth:
- tokenSwap() (#521)
- address(devWallet).transfer(devFee) (#458)
- address(marketingWallet).transfer(amountBNBMarketing.sub(devFee)) (#459)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,liquidityWallet,block.timestamp) (#462-469)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#523)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#527)
- amountReceived = takeFee(sender,recipient,amount) (#524)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#361)
- amountReceived = takeFee(sender,recipient,amount) (#524)
- nope[recipient] = true (#377)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#362)
- amountReceived = takeFee(sender,recipient,amount) (#524)
- Transfer(sender,recipient,amountReceived) (#530)
Reentrancy in Catwoman.manualSwap(uint256) (#384-427):
External calls:
- address(devWallet).transfer(devFee) (#412)
- address(marketingWallet).transfer(amountBNBMarketing.sub(devFee)) (#413)
External calls sending eth:
- address(devWallet).transfer(devFee) (#412)
- address(marketingWallet).transfer(amountBNBMarketing.sub(devFee)) (#413)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,liquidityWallet,block.timestamp) (#416-423)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#424)
Reentrancy in Catwoman.tokenSwap() (#429-473):
External calls:
- address(devWallet).transfer(devFee) (#458)
- address(marketingWallet).transfer(amountBNBMarketing.sub(devFee)) (#459)
External calls sending eth:
- address(devWallet).transfer(devFee) (#458)
- address(marketingWallet).transfer(amountBNBMarketing.sub(devFee)) (#459)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,liquidityWallet,block.timestamp) (#462-469)
State variables written after the call(s):
- lastSellTime = block.timestamp (#472)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#470)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#130) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#131)
Prevent variables from having similar names.
Additional information: link
Catwoman.slitherConstructorVariables() (#171-536) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#174)
Catwoman.slitherConstructorVariables() (#171-536) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#175)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Catwoman.ZERO (#175) is never used in Catwoman (#171-536)
Remove unused state variables.
Additional information: link
Catwoman.DEAD (#174) should be constant
Catwoman.ZERO (#175) should be constant
Catwoman._totalSupply (#181) should be constant
Catwoman.activBotTime (#217) should be constant
Catwoman.botFee (#216) should be constant
Catwoman.botTime (#215) 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) (#94-96)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#98-100)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#110-114)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.
Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.
Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.
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
Contract has 3% buy tax and 6% sell tax.
Taxes are low and contract ownership is renounced.
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