Cat Mutt Girl, a community driven token on bsc based of Mutt Girl + The Cat Hype!
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
CatMuttGirl.clearBalance() (#506-509) sends eth to arbitrary user
Dangerous calls:
- (success) = address(autoLiquidityReceiver).call{gas: 30000,value: address(this).balance}() (#507)
CatMuttGirl.swapBack() (#522-569) sends eth to arbitrary user
Dangerous calls:
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing.add(amountBNBGiveaway)}() (#548)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#551)
- (success2) = address(giveawayFeeReceiver).call{gas: 30000,value: amountBNBGiveaway}() (#552)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in CatMuttGirl._transferFrom(address,address,uint256) (#447-465):
External calls:
- swapBack() (#456)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#533-539)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing.add(amountBNBGiveaway)}() (#548)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#551)
- (success2) = address(giveawayFeeReceiver).call{gas: 30000,value: amountBNBGiveaway}() (#552)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#557-564)
External calls sending eth:
- swapBack() (#456)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing.add(amountBNBGiveaway)}() (#548)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#551)
- (success2) = address(giveawayFeeReceiver).call{gas: 30000,value: amountBNBGiveaway}() (#552)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#557-564)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#458)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#461)
- amountReceived = takeFee(sender,recipient,amount) (#460)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#485)
Reentrancy in CatMuttGirl.swapBack() (#522-569):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#533-539)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing.add(amountBNBGiveaway)}() (#548)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#551)
- (success2) = address(giveawayFeeReceiver).call{gas: 30000,value: amountBNBGiveaway}() (#552)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#557-564)
External calls sending eth:
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing.add(amountBNBGiveaway)}() (#548)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#551)
- (success2) = address(giveawayFeeReceiver).call{gas: 30000,value: amountBNBGiveaway}() (#552)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#557-564)
State variables written after the call(s):
- swapThreshold = swapThreshold (#568)
- swapThreshold = largeSwapThreshold (#568)
- swapThreshold = smallSwapThreshold (#568)
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 ownership is not renounced (belongs to a wallet)
CatMuttGirl.addToBlackList(address[]).i (#411) is a local variable never initialized
CatMuttGirl.swapBack().success_scope_0 (#551) 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
CatMuttGirl.swapBack() (#522-569) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#557-564)
Ensure that all the return values of the function calls are used.
Additional information: link
CatMuttGirl.setTargetLiquidity(uint256,uint256) (#491-494) should emit an event for:
- targetLiquidity = _target (#492)
- targetLiquidityDenominator = _denominator (#493)
CatMuttGirl.setSwapBackSettings(bool,uint256,uint256,bool) (#579-584) should emit an event for:
- smallSwapThreshold = _amountS (#582)
- largeSwapThreshold = _amountL (#583)
CatMuttGirl.changeTransferLimit(uint256,uint256) (#604-607) should emit an event for:
- _transferLimit = _totalSupply.mul(percent).div(denominator) (#606)
Emit an event for critical parameter changes.
Additional information: link
CatMuttGirl.constructor().deployer (#380) lacks a zero-check on :
- autoLiquidityReceiver = deployer (#389)
- giveawayFeeReceiver = deployer (#390)
- marketingFeeReceiver = deployer (#391)
CatMuttGirl.setFeeReceivers(address,address,address)._autoLiquidityReceiver (#621) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#622)
CatMuttGirl.setFeeReceivers(address,address,address)._giveawayFeeReceiver (#621) lacks a zero-check on :
- giveawayFeeReceiver = _giveawayFeeReceiver (#623)
CatMuttGirl.setFeeReceivers(address,address,address)._marketingFeeReceiver (#621) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#624)
Check that the address is not zero.
Additional information: link
CatMuttGirl.swapBack() (#522-569) has external calls inside a loop: router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#533-539)
CatMuttGirl.swapBack() (#522-569) has external calls inside a loop: (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing.add(amountBNBGiveaway)}() (#548)
CatMuttGirl.swapBack() (#522-569) has external calls inside a loop: router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#557-564)
CatMuttGirl.swapBack() (#522-569) has external calls inside a loop: (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#551)
CatMuttGirl.swapBack() (#522-569) has external calls inside a loop: (success2) = address(giveawayFeeReceiver).call{gas: 30000,value: amountBNBGiveaway}() (#552)
Favor pull over push strategy for external calls.
Additional information: link
Variable 'CatMuttGirl.swapBack().success (#548)' in CatMuttGirl.swapBack() (#522-569) potentially used before declaration: (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#551)
Move all variable declarations prior to any usage of the variable, and ensure that reaching a variable declaration does not depend on some conditional if it is used unconditionally.
Additional information: link
Reentrancy in CatMuttGirl.constructor() (#379-395):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#382)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = type()(uint256).max (#383)
- _balances[deployer] = _totalSupply (#393)
- _maxWalletSize = _totalSupply / 100 (#384)
- autoLiquidityReceiver = deployer (#389)
- giveawayFeeReceiver = deployer (#390)
- isFeeExempt[deployer] = true (#388)
- isTxLimitExempt[address(router)] = true (#386)
- isTxLimitExempt[deployer] = true (#387)
- marketingFeeReceiver = deployer (#391)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in CatMuttGirl._transferFrom(address,address,uint256) (#447-465):
External calls:
- swapBack() (#456)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#533-539)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing.add(amountBNBGiveaway)}() (#548)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#551)
- (success2) = address(giveawayFeeReceiver).call{gas: 30000,value: amountBNBGiveaway}() (#552)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#557-564)
External calls sending eth:
- swapBack() (#456)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing.add(amountBNBGiveaway)}() (#548)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#551)
- (success2) = address(giveawayFeeReceiver).call{gas: 30000,value: amountBNBGiveaway}() (#552)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#557-564)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#486)
- amountReceived = takeFee(sender,recipient,amount) (#460)
- Transfer(sender,recipient,amountReceived) (#463)
Reentrancy in CatMuttGirl.constructor() (#379-395):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#382)
Event emitted after the call(s):
- Transfer(address(0),deployer,_totalSupply) (#394)
Reentrancy in CatMuttGirl.swapBack() (#522-569):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#533-539)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing.add(amountBNBGiveaway)}() (#548)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#551)
- (success2) = address(giveawayFeeReceiver).call{gas: 30000,value: amountBNBGiveaway}() (#552)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#557-564)
External calls sending eth:
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing.add(amountBNBGiveaway)}() (#548)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#551)
- (success2) = address(giveawayFeeReceiver).call{gas: 30000,value: amountBNBGiveaway}() (#552)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#557-564)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#565)
Apply the check-effects-interactions pattern.
Additional information: link
CatMuttGirl.swapping() (#377) has costly operations inside a loop:
- inSwap = true (#377)
CatMuttGirl.swapping() (#377) has costly operations inside a loop:
- inSwap = false (#377)
CatMuttGirl.swapBack() (#522-569) has costly operations inside a loop:
- swapThreshold = swapThreshold (#568)
CatMuttGirl.swapBack() (#522-569) has costly operations inside a loop:
- swapThreshold = largeSwapThreshold (#568)
CatMuttGirl.swapBack() (#522-569) has costly operations inside a loop:
- swapThreshold = smallSwapThreshold (#568)
Use a local variable to hold the loop computation result.
Additional information: link
Context._msgData() (#213-216) is never used and should be removed
Remove unused functions.
Additional information: link
CatMuttGirl._transferLimit (#341) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 10) / 1000
CatMuttGirl._maxWalletSize (#342) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 10) / 1000
CatMuttGirl.smallSwapThreshold (#372) is set pre-construction with a non-constant function or state variable:
- _totalSupply.mul(312493726).div(100000000000)
CatMuttGirl.largeSwapThreshold (#373) is set pre-construction with a non-constant function or state variable:
- _totalSupply.mul(637445130).div(100000000000)
CatMuttGirl.swapThreshold (#375) is set pre-construction with a non-constant function or state variable:
- smallSwapThreshold
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 (#96) 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 CatMuttGirl.clearBalance() (#506-509):
- (success) = address(autoLiquidityReceiver).call{gas: 30000,value: address(this).balance}() (#507)
Low level call in CatMuttGirl.swapBack() (#522-569):
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing.add(amountBNBGiveaway)}() (#548)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#551)
- (success2) = address(giveawayFeeReceiver).call{gas: 30000,value: amountBNBGiveaway}() (#552)
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() (#230) is not in mixedCase
Parameter CatMuttGirl.setTargetLiquidity(uint256,uint256)._target (#491) is not in mixedCase
Parameter CatMuttGirl.setTargetLiquidity(uint256,uint256)._denominator (#491) is not in mixedCase
Parameter CatMuttGirl.setSwapBackSettings(bool,uint256,uint256,bool)._enabled (#579) is not in mixedCase
Parameter CatMuttGirl.setSwapBackSettings(bool,uint256,uint256,bool)._amountS (#579) is not in mixedCase
Parameter CatMuttGirl.setSwapBackSettings(bool,uint256,uint256,bool)._amountL (#579) is not in mixedCase
Parameter CatMuttGirl.setSwapBackSettings(bool,uint256,uint256,bool)._alternate (#579) is not in mixedCase
Parameter CatMuttGirl.setFeeReceivers(address,address,address)._autoLiquidityReceiver (#621) is not in mixedCase
Parameter CatMuttGirl.setFeeReceivers(address,address,address)._marketingFeeReceiver (#621) is not in mixedCase
Parameter CatMuttGirl.setFeeReceivers(address,address,address)._giveawayFeeReceiver (#621) is not in mixedCase
Constant CatMuttGirl.mainnetRouter (#331) is not in UPPER_CASE_WITH_UNDERSCORES
Constant CatMuttGirl._name (#336) is not in UPPER_CASE_WITH_UNDERSCORES
Constant CatMuttGirl._symbol (#337) is not in UPPER_CASE_WITH_UNDERSCORES
Constant CatMuttGirl._decimals (#338) is not in UPPER_CASE_WITH_UNDERSCORES
Variable CatMuttGirl._totalSupply (#340) is not in mixedCase
Variable CatMuttGirl._transferLimit (#341) is not in mixedCase
Variable CatMuttGirl._maxWalletSize (#342) is not in mixedCase
Variable CatMuttGirl._balances (#344) is not in mixedCase
Variable CatMuttGirl._allowances (#345) is not in mixedCase
Variable CatMuttGirl._isBlacklisted (#350) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#214)" inContext (#208-217)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#235) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#236)
Prevent variables from having similar names.
Additional information: link
CatMuttGirl.slitherConstructorVariables() (#328-629) uses literals with too many digits:
- _totalSupply = 100000000 * (10 ** _decimals) (#340)
CatMuttGirl.slitherConstructorVariables() (#328-629) uses literals with too many digits:
- smallSwapThreshold = _totalSupply.mul(312493726).div(100000000000) (#372)
CatMuttGirl.slitherConstructorVariables() (#328-629) uses literals with too many digits:
- largeSwapThreshold = _totalSupply.mul(637445130).div(100000000000) (#373)
CatMuttGirl.slitherConstructorConstantVariables() (#328-629) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#333)
CatMuttGirl.slitherConstructorConstantVariables() (#328-629) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#334)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
CatMuttGirl._totalSupply (#340) should be constant
CatMuttGirl.charityFee (#355) should be constant
CatMuttGirl.devFee (#356) should be constant
CatMuttGirl.feeDenominator (#358) should be constant
CatMuttGirl.giveawayFee (#354) should be constant
CatMuttGirl.liquidityFee (#353) should be constant
CatMuttGirl.marketingFee (#352) should be constant
CatMuttGirl.totalFee (#357) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#312-315)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#321-325)
transferLiquidity(address,uint256) should be declared external:
- CatMuttGirl.transferLiquidity(address,uint256) (#441-445)
Use the external attribute for functions never called from the contract.
Additional information: link
Contract has 14% buy tax and 82% sell tax.
Taxes are extremely high (over 30%)
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.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Number of Binance Smart Chain (BSC) token holders is low.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find website, listings and other project-related information
Token is marked as scam (rug pull, honeypot, phishing, etc.)
Additional information: link
Young tokens have high risks of price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Telegram account link seems to be invalid
Twitter account link seems to be invalid
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account