CatMamaCoin Token Logo

CatMama [CatMamaCoin] Token

ALERT: honeypot scam

About CatMama

Listings

Not Found
Token 3 months

Website

Not Found

If you have
Telegram
, you can contact
@catmamacoin
right away.

Social

Laser Scorebeta Last Audit: 20 February 2022

report
Code:


Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)

catMamaCoin.swapBack() (#428-470) sends eth to arbitrary user
Dangerous calls:
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#453)
- (success2) = address(giveawayReceiver).call{gas: 30000,value: amountBNBGiveaway}() (#454)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in catMamaCoin._transferFrom(address,address,uint256) (#372-390):
External calls:
- swapBack() (#381)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#439-445)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#453)
- (success2) = address(giveawayReceiver).call{gas: 30000,value: amountBNBGiveaway}() (#454)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#458-465)
External calls sending eth:
- swapBack() (#381)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#453)
- (success2) = address(giveawayReceiver).call{gas: 30000,value: amountBNBGiveaway}() (#454)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#458-465)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#383)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#386)
- amountReceived = takeFee(sender,recipient,amount) (#385)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#414)
Reentrancy in catMamaCoin.swapBack() (#428-470):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#439-445)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#453)
- (success2) = address(giveawayReceiver).call{gas: 30000,value: amountBNBGiveaway}() (#454)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#458-465)
External calls sending eth:
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#453)
- (success2) = address(giveawayReceiver).call{gas: 30000,value: amountBNBGiveaway}() (#454)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#458-465)
State variables written after the call(s):
- swapThreshold = largeSwapThreshold (#469)
- swapThreshold = smallSwapThreshold (#469)
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.

catMamaCoin.setSwapBackSettings(bool,uint256) (#473-476) should emit an event for:
- swapThreshold = _amount (#475)
catMamaCoin.setTargetLiquidity(uint256,uint256) (#478-481) should emit an event for:
- targetLiquidity = _target (#479)
- targetLiquidityDenominator = _denominator (#480)
catMamaCoin.changeTsxnCap(uint256,uint256) (#510-513) should emit an event for:
- _tsxnCap = _totalSupply.mul(percent).div(denominator) (#512)
catMamaCoin.adjustFees(uint256,uint256,uint256,uint256) (#528-535) should emit an event for:
- liquidityFee = _liquidityFee (#529)
- giveawayFee = _giveawayFee (#530)
- marketingFee = _marketingFee (#531)
- totalFee = _liquidityFee.add(_giveawayFee).add(_marketingFee) (#532)
- feeDenominator = _feeDenominator (#533)
Emit an event for critical parameter changes.

Additional information: link

catMamaCoin.constructor().deployer (#322) lacks a zero-check on :
- marketingFeeReceiver = deployer (#328)
- giveawayReceiver = deployer (#329)
catMamaCoin.setFeeReceivers(address,address,address)._autoLiquidityReceiver (#567) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#568)
catMamaCoin.setFeeReceivers(address,address,address)._marketingFeeReceiver (#567) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#569)
catMamaCoin.setFeeReceivers(address,address,address)._giveawayReceiver (#567) lacks a zero-check on :
- giveawayReceiver = _giveawayReceiver (#570)
Check that the address is not zero.

Additional information: link

catMamaCoin.swapBack() (#428-470) has external calls inside a loop: router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#439-445)
catMamaCoin.swapBack() (#428-470) has external calls inside a loop: (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#453)
catMamaCoin.swapBack() (#428-470) has external calls inside a loop: (success2) = address(giveawayReceiver).call{gas: 30000,value: amountBNBGiveaway}() (#454)
catMamaCoin.swapBack() (#428-470) has external calls inside a loop: router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#458-465)
Favor pull over push strategy for external calls.

Additional information: link

Reentrancy in catMamaCoin.constructor() (#316-335):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#318)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = type()(uint256).max (#319)
- _balances[deployer] = _totalSupply (#333)
- _maxWalletSize = _totalSupply / 400 (#320)
- autoLiquidityReceiver = DEAD (#330)
- activateAntiSnipe() (#331)
- feeDenominator = 1000 (#542)
- activateAntiSnipe() (#331)
- giveawayFee = 0 (#539)
- giveawayReceiver = deployer (#329)
- isFeeExempt[address(this)] = true (#323)
- isFeeExempt[deployer] = true (#324)
- isTxLimitExempt[address(this)] = true (#325)
- isTxLimitExempt[address(router)] = true (#326)
- isTxLimitExempt[deployer] = true (#327)
- activateAntiSnipe() (#331)
- liquidityFee = 0 (#538)
- activateAntiSnipe() (#331)
- marketingFee = 999 (#540)
- marketingFeeReceiver = deployer (#328)
- activateAntiSnipe() (#331)
- totalFee = 999 (#541)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in catMamaCoin._transferFrom(address,address,uint256) (#372-390):
External calls:
- swapBack() (#381)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#439-445)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#453)
- (success2) = address(giveawayReceiver).call{gas: 30000,value: amountBNBGiveaway}() (#454)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#458-465)
External calls sending eth:
- swapBack() (#381)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#453)
- (success2) = address(giveawayReceiver).call{gas: 30000,value: amountBNBGiveaway}() (#454)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#458-465)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#415)
- amountReceived = takeFee(sender,recipient,amount) (#385)
- Transfer(sender,recipient,amountReceived) (#388)
Reentrancy in catMamaCoin.constructor() (#316-335):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#318)
Event emitted after the call(s):
- Transfer(address(0),deployer,_totalSupply) (#334)
Reentrancy in catMamaCoin.swapBack() (#428-470):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#439-445)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#453)
- (success2) = address(giveawayReceiver).call{gas: 30000,value: amountBNBGiveaway}() (#454)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#458-465)
External calls sending eth:
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#453)
- (success2) = address(giveawayReceiver).call{gas: 30000,value: amountBNBGiveaway}() (#454)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#458-465)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#466)
Apply the check-effects-interactions pattern.

Additional information: link

catMamaCoin.swapping() (#314) has costly operations inside a loop:
- inSwap = true (#314)
catMamaCoin.swapping() (#314) has costly operations inside a loop:
- inSwap = false (#314)
catMamaCoin.swapBack() (#428-470) has costly operations inside a loop:
- swapThreshold = largeSwapThreshold (#469)
catMamaCoin.swapBack() (#428-470) has costly operations inside a loop:
- swapThreshold = smallSwapThreshold (#469)
Use a local variable to hold the loop computation result.

Additional information: link

Context._msgData() (#47-50) is never used and should be removed
Remove unused functions.

Additional information: link

catMamaCoin._tsxnCap (#281) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 10) / 1000
catMamaCoin._maxWalletSize (#282) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 20) / 1000
catMamaCoin.smallSwapThreshold (#309) is set pre-construction with a non-constant function or state variable:
- _totalSupply.mul(237061517).div(100000000000)
catMamaCoin.largeSwapThreshold (#310) is set pre-construction with a non-constant function or state variable:
- _totalSupply.mul(381170306).div(100000000000)
catMamaCoin.swapThreshold (#312) 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 (#40) 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 catMamaCoin.swapBack() (#428-470):
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#453)
- (success2) = address(giveawayReceiver).call{gas: 30000,value: amountBNBGiveaway}() (#454)
Low level call in catMamaCoin.clearBalance() (#573-576):
- (success) = address(autoLiquidityReceiver).call{gas: 30000,value: address(this).balance}() (#574)
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() (#222) is not in mixedCase
Contract catMamaCoin (#268-580) is not in CapWords
Parameter catMamaCoin.setSwapBackSettings(bool,uint256)._enabled (#473) is not in mixedCase
Parameter catMamaCoin.setSwapBackSettings(bool,uint256)._amount (#473) is not in mixedCase
Parameter catMamaCoin.setTargetLiquidity(uint256,uint256)._target (#478) is not in mixedCase
Parameter catMamaCoin.setTargetLiquidity(uint256,uint256)._denominator (#478) is not in mixedCase
Parameter catMamaCoin.adjustFees(uint256,uint256,uint256,uint256)._liquidityFee (#528) is not in mixedCase
Parameter catMamaCoin.adjustFees(uint256,uint256,uint256,uint256)._giveawayFee (#528) is not in mixedCase
Parameter catMamaCoin.adjustFees(uint256,uint256,uint256,uint256)._marketingFee (#528) is not in mixedCase
Parameter catMamaCoin.adjustFees(uint256,uint256,uint256,uint256)._feeDenominator (#528) is not in mixedCase
Parameter catMamaCoin.setFeeReceivers(address,address,address)._autoLiquidityReceiver (#567) is not in mixedCase
Parameter catMamaCoin.setFeeReceivers(address,address,address)._marketingFeeReceiver (#567) is not in mixedCase
Parameter catMamaCoin.setFeeReceivers(address,address,address)._giveawayReceiver (#567) is not in mixedCase
Constant catMamaCoin.mainnetRouter (#271) is not in UPPER_CASE_WITH_UNDERSCORES
Variable catMamaCoin._name (#276) is not in mixedCase
Variable catMamaCoin._symbol (#277) is not in mixedCase
Constant catMamaCoin._decimals (#278) is not in UPPER_CASE_WITH_UNDERSCORES
Variable catMamaCoin._totalSupply (#280) is not in mixedCase
Variable catMamaCoin._tsxnCap (#281) is not in mixedCase
Variable catMamaCoin._maxWalletSize (#282) is not in mixedCase
Variable catMamaCoin._balances (#284) is not in mixedCase
Variable catMamaCoin._allowances (#285) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#48)" inContext (#42-51)
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 (#227) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#228)
Prevent variables from having similar names.

Additional information: link

catMamaCoin.slitherConstructorVariables() (#268-580) uses literals with too many digits:
- _totalSupply = 100000000000 * (10 ** _decimals) (#280)
catMamaCoin.slitherConstructorVariables() (#268-580) uses literals with too many digits:
- smallSwapThreshold = _totalSupply.mul(237061517).div(100000000000) (#309)
catMamaCoin.slitherConstructorVariables() (#268-580) uses literals with too many digits:
- largeSwapThreshold = _totalSupply.mul(381170306).div(100000000000) (#310)
catMamaCoin.slitherConstructorConstantVariables() (#268-580) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#273)
catMamaCoin.slitherConstructorConstantVariables() (#268-580) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#274)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

catMamaCoin._name (#276) should be constant
catMamaCoin._symbol (#277) should be constant
catMamaCoin._totalSupply (#280) should be constant
catMamaCoin.charityFee (#293) should be constant
catMamaCoin.devFee (#294) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#199-202)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#208-212)
Use the external attribute for functions never called from the contract.

Additional information: link

catMamaCoin.swapBack() (#428-470) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#458-465)
Ensure that all the return values of the function calls are used.

Additional information: link

Holders:

Contract has 9% buy tax and 99% 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.


Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive.


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


Telegram account link seems to be invalid


Unable to find Twitter account


Unable to find Blog account (Reddit or Medium)


Unable to find Youtube account


Unable to find Discord account

Search:


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 scam / price dump / death


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank

Anti-Scam Checks

Price for CatMama