Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
BigCat.swapBack() (#309-352) sends eth to arbitrary user
Dangerous calls:
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#344)
- (buybackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#346)
- (devSuccess) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#348)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in BigCat._transferFrom(address,address,uint256) (#230-263):
External calls:
- swapBack() (#254)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,autoLiquidityReceiver,block.timestamp) (#356-363)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#327-333)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#344)
- (buybackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#346)
- (devSuccess) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#348)
External calls sending eth:
- swapBack() (#254)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,autoLiquidityReceiver,block.timestamp) (#356-363)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#344)
- (buybackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#346)
- (devSuccess) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#348)
State variables written after the call(s):
- _balances[sender] = _balances[sender] - amount (#256)
- _balances[recipient] = _balances[recipient] + amountReceived (#259)
- amountReceived = takeFee(recipient,amount) (#258)
- _balances[address(this)] = _balances[address(this)] + (feeAmount) (#296)
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.
BigCat.DEAD (#133) should be constant
BigCat.WBNB (#132) should be constant
BigCat.ZERO (#134) should be constant
BigCat._totalSupply (#139) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
BigCat.takeFee(address,uint256) (#293-300) performs a multiplication on the result of a division:
-feeAmount = amount / 100 * (totalFee) (#294)
BigCat.swapBack() (#309-352) performs a multiplication on the result of a division:
-amountToLiquify = tokensToSell / (totalFee) * (liquidityFee) / (2) (#318)
BigCat.setSwapBackSettings(bool,uint256,uint256) (#413-417) performs a multiplication on the result of a division:
-swapThreshold = _totalSupply / (10000) * (_percentage_min_base10000) (#415)
BigCat.setSwapBackSettings(bool,uint256,uint256) (#413-417) performs a multiplication on the result of a division:
-maxSwapSize = _totalSupply / (10000) * (_percentage_max_base10000) (#416)
BigCat.setMaxWalletPercent_base1000(uint256) (#427-429) performs a multiplication on the result of a division:
-_maxWalletToken = _totalSupply / (1000) * (maxWallPercent_base1000) (#428)
BigCat.setMaxBuyTxPercent_base1000(uint256) (#431-433) performs a multiplication on the result of a division:
-_maxBuyTxAmount = _totalSupply / (1000) * (maxBuyTXPercentage_base1000) (#432)
BigCat.setMaxSellTxPercent_base1000(uint256) (#435-437) performs a multiplication on the result of a division:
-_maxSellTxAmount = _totalSupply / (1000) * (maxSellTXPercentage_base1000) (#436)
BigCat.slitherConstructorVariables() (#130-452) performs a multiplication on the result of a division:
-_maxBuyTxAmount = _totalSupply / (100) * (1) (#166)
BigCat.slitherConstructorVariables() (#130-452) performs a multiplication on the result of a division:
-_maxSellTxAmount = _totalSupply / (100) * (1) (#167)
BigCat.slitherConstructorVariables() (#130-452) performs a multiplication on the result of a division:
-_maxWalletToken = _totalSupply / (100) * (1) (#168)
BigCat.slitherConstructorVariables() (#130-452) performs a multiplication on the result of a division:
-swapThreshold = _totalSupply / 1000 * 1 (#180)
BigCat.slitherConstructorVariables() (#130-452) performs a multiplication on the result of a division:
-maxSwapSize = _totalSupply / 100 * 1 (#181)
Consider ordering multiplication before division.
Additional information: link
BigCat.addLiquidity(uint256,uint256) (#354-366) ignores return value by router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,autoLiquidityReceiver,block.timestamp) (#356-363)
Ensure that all the return values of the function calls are used.
Additional information: link
BigCat.setBuyFees(uint256,uint256,uint256,uint256) (#390-396) should emit an event for:
- BuyliquidityFee = _liquidityFee (#391)
- BuybuybackFee = _buybackFee (#392)
- BuymarketingFee = _marketingFee (#393)
- BuydevFee = _devFee (#394)
- BuytotalFee = _liquidityFee + (_buybackFee) + (_marketingFee) + (_devFee) (#395)
BigCat.setSellFees(uint256,uint256,uint256,uint256) (#398-404) should emit an event for:
- SellliquidityFee = _liquidityFee (#399)
- SellbuybackFee = _buybackFee (#400)
- SellmarketingFee = _marketingFee (#401)
- SelldevFee = _devFee (#402)
- SelltotalFee = _liquidityFee + (_buybackFee) + (_marketingFee) + (_devFee) (#403)
BigCat.setSwapBackSettings(bool,uint256,uint256) (#413-417) should emit an event for:
- swapThreshold = _totalSupply / (10000) * (_percentage_min_base10000) (#415)
- maxSwapSize = _totalSupply / (10000) * (_percentage_max_base10000) (#416)
BigCat.setMaxWalletPercent_base1000(uint256) (#427-429) should emit an event for:
- _maxWalletToken = _totalSupply / (1000) * (maxWallPercent_base1000) (#428)
BigCat.setMaxBuyTxPercent_base1000(uint256) (#431-433) should emit an event for:
- _maxBuyTxAmount = _totalSupply / (1000) * (maxBuyTXPercentage_base1000) (#432)
BigCat.setMaxSellTxPercent_base1000(uint256) (#435-437) should emit an event for:
- _maxSellTxAmount = _totalSupply / (1000) * (maxSellTXPercentage_base1000) (#436)
Emit an event for critical parameter changes.
Additional information: link
BigCat.setFeeReceivers(address,address,address,address)._autoLiquidityReceiver (#406) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#407)
BigCat.setFeeReceivers(address,address,address,address)._marketingFeeReceiver (#406) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#408)
BigCat.setFeeReceivers(address,address,address,address)._buybackFeeReceiver (#406) lacks a zero-check on :
- buybackFeeReceiver = _buybackFeeReceiver (#409)
BigCat.setFeeReceivers(address,address,address,address)._devFeeReceiver (#406) lacks a zero-check on :
- devFeeReceiver = _devFeeReceiver (#410)
Check that the address is not zero.
Additional information: link
Reentrancy in BigCat.constructor() (#187-197):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#189)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = type()(uint256).max (#190)
- _balances[msg.sender] = _totalSupply (#195)
- isFeeExempt[msg.sender] = true (#192)
- isTxLimitExempt[msg.sender] = true (#193)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in BigCat._transferFrom(address,address,uint256) (#230-263):
External calls:
- swapBack() (#254)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,autoLiquidityReceiver,block.timestamp) (#356-363)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#327-333)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#344)
- (buybackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#346)
- (devSuccess) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#348)
External calls sending eth:
- swapBack() (#254)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,autoLiquidityReceiver,block.timestamp) (#356-363)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#344)
- (buybackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#346)
- (devSuccess) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#348)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#297)
- amountReceived = takeFee(recipient,amount) (#258)
- Transfer(sender,recipient,amountReceived) (#261)
Reentrancy in BigCat.addLiquidity(uint256,uint256) (#354-366):
External calls:
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,autoLiquidityReceiver,block.timestamp) (#356-363)
Event emitted after the call(s):
- AutoLiquify(bnbAmount,tokenAmount) (#364)
Reentrancy in BigCat.constructor() (#187-197):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#189)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#196)
Reentrancy in BigCat.swapBack() (#309-352):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#327-333)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#344)
- (buybackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#346)
- (devSuccess) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#348)
- addLiquidity(amountToLiquify,amountBNBLiquidity) (#351)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,autoLiquidityReceiver,block.timestamp) (#356-363)
External calls sending eth:
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#344)
- (buybackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#346)
- (devSuccess) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#348)
- addLiquidity(amountToLiquify,amountBNBLiquidity) (#351)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,autoLiquidityReceiver,block.timestamp) (#356-363)
Event emitted after the call(s):
- AutoLiquify(bnbAmount,tokenAmount) (#364)
- addLiquidity(amountToLiquify,amountBNBLiquidity) (#351)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.Ownershipunlock() (#62-67) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked) (#64)
Avoid relying on block.timestamp.
Additional information: link
BigCat.BuytotalFee (#157) is set pre-construction with a non-constant function or state variable:
- BuyliquidityFee + BuydevFee + BuymarketingFee + BuybuybackFee
BigCat.SelltotalFee (#163) is set pre-construction with a non-constant function or state variable:
- SellliquidityFee + SelldevFee + SellmarketingFee + SellbuybackFee
BigCat._maxBuyTxAmount (#166) is set pre-construction with a non-constant function or state variable:
- _totalSupply / (100) * (1)
BigCat._maxSellTxAmount (#167) is set pre-construction with a non-constant function or state variable:
- _totalSupply / (100) * (1)
BigCat._maxWalletToken (#168) is set pre-construction with a non-constant function or state variable:
- _totalSupply / (100) * (1)
BigCat.swapThreshold (#180) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 1000 * 1
BigCat.maxSwapSize (#181) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 100 * 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
Low level call in BigCat.swapBack() (#309-352):
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#344)
- (buybackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#346)
- (devSuccess) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#348)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function Ownable.Ownershiplock(uint256) (#55-60) is not in mixedCase
Function Ownable.Ownershipunlock() (#62-67) is not in mixedCase
Function IDEXRouter.WETH() (#80) is not in mixedCase
Parameter BigCat.setBuyFees(uint256,uint256,uint256,uint256)._liquidityFee (#390) is not in mixedCase
Parameter BigCat.setBuyFees(uint256,uint256,uint256,uint256)._buybackFee (#390) is not in mixedCase
Parameter BigCat.setBuyFees(uint256,uint256,uint256,uint256)._marketingFee (#390) is not in mixedCase
Parameter BigCat.setBuyFees(uint256,uint256,uint256,uint256)._devFee (#390) is not in mixedCase
Parameter BigCat.setSellFees(uint256,uint256,uint256,uint256)._liquidityFee (#398) is not in mixedCase
Parameter BigCat.setSellFees(uint256,uint256,uint256,uint256)._buybackFee (#398) is not in mixedCase
Parameter BigCat.setSellFees(uint256,uint256,uint256,uint256)._marketingFee (#398) is not in mixedCase
Parameter BigCat.setSellFees(uint256,uint256,uint256,uint256)._devFee (#398) is not in mixedCase
Parameter BigCat.setFeeReceivers(address,address,address,address)._autoLiquidityReceiver (#406) is not in mixedCase
Parameter BigCat.setFeeReceivers(address,address,address,address)._marketingFeeReceiver (#406) is not in mixedCase
Parameter BigCat.setFeeReceivers(address,address,address,address)._buybackFeeReceiver (#406) is not in mixedCase
Parameter BigCat.setFeeReceivers(address,address,address,address)._devFeeReceiver (#406) is not in mixedCase
Parameter BigCat.setSwapBackSettings(bool,uint256,uint256)._enabled (#413) is not in mixedCase
Parameter BigCat.setSwapBackSettings(bool,uint256,uint256)._percentage_min_base10000 (#413) is not in mixedCase
Parameter BigCat.setSwapBackSettings(bool,uint256,uint256)._percentage_max_base10000 (#413) is not in mixedCase
Function BigCat.setMaxWalletPercent_base1000(uint256) (#427-429) is not in mixedCase
Parameter BigCat.setMaxWalletPercent_base1000(uint256).maxWallPercent_base1000 (#427) is not in mixedCase
Function BigCat.setMaxBuyTxPercent_base1000(uint256) (#431-433) is not in mixedCase
Parameter BigCat.setMaxBuyTxPercent_base1000(uint256).maxBuyTXPercentage_base1000 (#431) is not in mixedCase
Function BigCat.setMaxSellTxPercent_base1000(uint256) (#435-437) is not in mixedCase
Parameter BigCat.setMaxSellTxPercent_base1000(uint256).maxSellTXPercentage_base1000 (#435) is not in mixedCase
Variable BigCat.WBNB (#132) is not in mixedCase
Variable BigCat.DEAD (#133) is not in mixedCase
Variable BigCat.ZERO (#134) is not in mixedCase
Constant BigCat._name (#136) is not in UPPER_CASE_WITH_UNDERSCORES
Constant BigCat._symbol (#137) is not in UPPER_CASE_WITH_UNDERSCORES
Constant BigCat._decimals (#138) is not in UPPER_CASE_WITH_UNDERSCORES
Variable BigCat._totalSupply (#139) is not in mixedCase
Variable BigCat._balances (#141) is not in mixedCase
Variable BigCat._allowances (#142) is not in mixedCase
Variable BigCat.BuyliquidityFee (#153) is not in mixedCase
Variable BigCat.BuydevFee (#154) is not in mixedCase
Variable BigCat.BuymarketingFee (#155) is not in mixedCase
Variable BigCat.BuybuybackFee (#156) is not in mixedCase
Variable BigCat.BuytotalFee (#157) is not in mixedCase
Variable BigCat.SellliquidityFee (#159) is not in mixedCase
Variable BigCat.SelldevFee (#160) is not in mixedCase
Variable BigCat.SellmarketingFee (#161) is not in mixedCase
Variable BigCat.SellbuybackFee (#162) is not in mixedCase
Variable BigCat.SelltotalFee (#163) is not in mixedCase
Variable BigCat._maxBuyTxAmount (#166) is not in mixedCase
Variable BigCat._maxSellTxAmount (#167) is not in mixedCase
Variable BigCat._maxWalletToken (#168) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#85) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#86)
Variable BigCat.setSwapBackSettings(bool,uint256,uint256)._percentage_max_base10000 (#413) is too similar to BigCat.setSwapBackSettings(bool,uint256,uint256)._percentage_min_base10000 (#413)
Prevent variables from having similar names.
Additional information: link
BigCat.slitherConstructorVariables() (#130-452) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#133)
BigCat.slitherConstructorVariables() (#130-452) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#134)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
BigCat.ZERO (#134) is never used in BigCat (#130-452)
Remove unused state variables.
Additional information: link
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#45-49)
getUnlockTime() should be declared external:
- Ownable.getUnlockTime() (#51-53)
Ownershiplock(uint256) should be declared external:
- Ownable.Ownershiplock(uint256) (#55-60)
Ownershipunlock() should be declared external:
- Ownable.Ownershipunlock() (#62-67)
rescueToken(address,uint256) should be declared external:
- BigCat.rescueToken(address,uint256) (#440-442)
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.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Contract has 10% buy tax and 17% sell tax.
Taxes are high (over 10%) but contract ownership is renounced.
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
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