Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Cheebs.swapBack() (#600-644) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#628)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in Cheebs._transferFrom(address,address,uint256) (#500-548):
External calls:
- swapBack() (#527)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#611-617)
- distributor.deposit{value: amountBNBReflection}() (#627)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#628)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#634-641)
External calls sending eth:
- swapBack() (#527)
- distributor.deposit{value: amountBNBReflection}() (#627)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#628)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#634-641)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#530)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#533)
- amountReceived = takeFee(sender,amount) (#532)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#568)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.distributeDividend(address) (#329-340) ignores return value by CINU.transfer(shareholder,amount) (#335)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Too many vulnerabilities (Unchecked transfer, Reentrancy vulnerability, etc.). High risk of a scam. DYOR & manual audit are advised.
Cheebs.swapBack().tmpSuccess (#628) is written in both
(tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#628)
tmpSuccess = false (#631)
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.
Combination 2: Unchecked transfer + 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.
Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Reentrancy in DividendDistributor.distributeDividend(address) (#329-340):
External calls:
- CINU.transfer(shareholder,amount) (#335)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#337)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#338)
Reentrancy in DividendDistributor.process(uint256) (#298-322):
External calls:
- distributeDividend(shareholders[currentIndex]) (#314)
- CINU.transfer(shareholder,amount) (#335)
State variables written after the call(s):
- currentIndex ++ (#319)
Reentrancy in DividendDistributor.setShare(address,uint256) (#262-276):
External calls:
- distributeDividend(shareholder) (#264)
- CINU.transfer(shareholder,amount) (#335)
State variables written after the call(s):
- shares[shareholder].amount = amount (#274)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#275)
Apply the check-effects-interactions pattern.
Additional information: link
Cheebs.swapBack() (#600-644) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#634-641)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendDistributor.setDistributionCriteria(uint256,uint256) (#257-260) should emit an event for:
- minPeriod = _minPeriod (#258)
- minDistribution = _minDistribution (#259)
Cheebs.setTxLimit(uint256) (#647-649) should emit an event for:
- _maxTxAmount = amount (#648)
Cheebs.setFees(uint256,uint256,uint256,uint256) (#673-680) should emit an event for:
- liquidityFee = _liquidityFee (#674)
- reflectionFee = _reflectionFee (#675)
- marketingFee = _marketingFee (#676)
- totalFee = _liquidityFee.add(_reflectionFee).add(_marketingFee) (#677)
- feeDenominator = _feeDenominator (#678)
Cheebs.setTargetLiquidity(uint256,uint256) (#692-695) should emit an event for:
- targetLiquidity = _target (#693)
- targetLiquidityDenominator = _denominator (#694)
Emit an event for critical parameter changes.
Additional information: link
Auth.transferOwnership(address).adr (#138) lacks a zero-check on :
- owner = adr (#139)
Cheebs.setFeeReceivers(address,address)._autoLiquidityReceiver (#682) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#683)
Cheebs.setFeeReceivers(address,address)._marketingFeeReceiver (#682) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#684)
Check that the address is not zero.
Additional information: link
DividendDistributor.distributeDividend(address) (#329-340) has external calls inside a loop: CINU.transfer(shareholder,amount) (#335)
Cheebs.airdrop(address,address[],uint256[]) (#723-746) has external calls inside a loop: distributor.setShare(addresses[i_scope_0],_balances[addresses[i_scope_0]]) (#738)
Favor pull over push strategy for external calls.
Additional information: link
Reentrancy in Cheebs.constructor() (#430-461):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#432)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = uint256(- 1) (#433)
- _balances[msg.sender] = _totalSupply (#459)
- autoLiquidityReceiver = DEAD (#456)
- distributor = new DividendDistributor(address(router)) (#435)
- isDividendExempt[pair] = true (#451)
- isDividendExempt[address(this)] = true (#452)
- isDividendExempt[DEAD] = true (#453)
- isFeeExempt[msg.sender] = true (#437)
- isTimelockExempt[msg.sender] = true (#442)
- isTimelockExempt[DEAD] = true (#443)
- isTimelockExempt[address(this)] = true (#444)
- isTxLimitExempt[msg.sender] = true (#438)
- isTxLimitExempt[DEAD] = true (#439)
- marketingFeeReceiver = msg.sender (#457)
Reentrancy in DividendDistributor.deposit() (#278-296):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#285-290)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#295)
- totalDividends = totalDividends.add(amount) (#294)
Reentrancy in DividendDistributor.distributeDividend(address) (#329-340):
External calls:
- CINU.transfer(shareholder,amount) (#335)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#336)
Reentrancy in DividendDistributor.setShare(address,uint256) (#262-276):
External calls:
- distributeDividend(shareholder) (#264)
- CINU.transfer(shareholder,amount) (#335)
State variables written after the call(s):
- addShareholder(shareholder) (#268)
- shareholderIndexes[shareholder] = shareholders.length (#362)
- removeShareholder(shareholder) (#270)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#368)
- addShareholder(shareholder) (#268)
- shareholders.push(shareholder) (#363)
- removeShareholder(shareholder) (#270)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#367)
- shareholders.pop() (#369)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#273)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Cheebs._transferFrom(address,address,uint256) (#500-548):
External calls:
- swapBack() (#527)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#611-617)
- distributor.deposit{value: amountBNBReflection}() (#627)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#628)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#634-641)
- distributor.setShare(sender,_balances[sender]) (#537)
- distributor.setShare(recipient,_balances[recipient]) (#541)
- distributor.process(distributorGas) (#544)
External calls sending eth:
- swapBack() (#527)
- distributor.deposit{value: amountBNBReflection}() (#627)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#628)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#634-641)
Event emitted after the call(s):
- Transfer(sender,recipient,amountReceived) (#546)
Reentrancy in Cheebs._transferFrom(address,address,uint256) (#500-548):
External calls:
- swapBack() (#527)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#611-617)
- distributor.deposit{value: amountBNBReflection}() (#627)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#628)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#634-641)
External calls sending eth:
- swapBack() (#527)
- distributor.deposit{value: amountBNBReflection}() (#627)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#628)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#634-641)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#569)
- amountReceived = takeFee(sender,amount) (#532)
Reentrancy in Cheebs.constructor() (#430-461):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#432)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#460)
Reentrancy in Cheebs.swapBack() (#600-644):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#611-617)
- distributor.deposit{value: amountBNBReflection}() (#627)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#628)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#634-641)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#627)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#628)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#634-641)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#642)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.shouldDistribute(address) (#324-327) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#325-326)
Cheebs._transferFrom(address,address,uint256) (#500-548) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(cooldownTimer[recipient] < block.timestamp,Please wait for cooldown between buys) (#518)
Avoid relying on block.timestamp.
Additional information: link
DividendDistributor.process(uint256) (#298-322) has costly operations inside a loop:
- currentIndex = 0 (#310)
DividendDistributor.distributeDividend(address) (#329-340) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#334)
DividendDistributor.process(uint256) (#298-322) has costly operations inside a loop:
- currentIndex ++ (#319)
Use a local variable to hold the loop computation result.
Additional information: link
Cheebs._maxTxAmount (#386) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 2) / 100
Cheebs._maxWalletToken (#389) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 4) / 100
Cheebs.swapThreshold (#426) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 10 / 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.7.4 (#21) allows old versions
solc-0.7.4 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 Cheebs.swapBack() (#600-644):
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#628)
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() (#153) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minPeriod (#257) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minDistribution (#257) is not in mixedCase
Variable DividendDistributor._token (#209) is not in mixedCase
Variable DividendDistributor.CINU (#217) is not in mixedCase
Variable DividendDistributor.WBNB (#218) is not in mixedCase
Parameter Cheebs.tradingStatus(bool)._status (#588) is not in mixedCase
Parameter Cheebs.cooldownEnabled(bool,uint8)._status (#593) is not in mixedCase
Parameter Cheebs.cooldownEnabled(bool,uint8)._interval (#593) is not in mixedCase
Parameter Cheebs.setFees(uint256,uint256,uint256,uint256)._liquidityFee (#673) is not in mixedCase
Parameter Cheebs.setFees(uint256,uint256,uint256,uint256)._reflectionFee (#673) is not in mixedCase
Parameter Cheebs.setFees(uint256,uint256,uint256,uint256)._marketingFee (#673) is not in mixedCase
Parameter Cheebs.setFees(uint256,uint256,uint256,uint256)._feeDenominator (#673) is not in mixedCase
Parameter Cheebs.setFeeReceivers(address,address)._autoLiquidityReceiver (#682) is not in mixedCase
Parameter Cheebs.setFeeReceivers(address,address)._marketingFeeReceiver (#682) is not in mixedCase
Parameter Cheebs.setSwapBackSettings(bool,uint256)._enabled (#687) is not in mixedCase
Parameter Cheebs.setSwapBackSettings(bool,uint256)._amount (#687) is not in mixedCase
Parameter Cheebs.setTargetLiquidity(uint256,uint256)._target (#692) is not in mixedCase
Parameter Cheebs.setTargetLiquidity(uint256,uint256)._denominator (#692) is not in mixedCase
Parameter Cheebs.setDistributionCriteria(uint256,uint256)._minPeriod (#697) is not in mixedCase
Parameter Cheebs.setDistributionCriteria(uint256,uint256)._minDistribution (#697) is not in mixedCase
Variable Cheebs.CINU (#376) is not in mixedCase
Variable Cheebs.WBNB (#377) is not in mixedCase
Variable Cheebs.DEAD (#378) is not in mixedCase
Variable Cheebs.ZERO (#379) is not in mixedCase
Constant Cheebs._name (#381) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Cheebs._symbol (#382) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Cheebs._decimals (#383) is not in UPPER_CASE_WITH_UNDERSCORES
Variable Cheebs._totalSupply (#385) is not in mixedCase
Variable Cheebs._maxTxAmount (#386) is not in mixedCase
Variable Cheebs._maxWalletToken (#389) is not in mixedCase
Variable Cheebs._balances (#391) is not in mixedCase
Variable Cheebs._allowances (#392) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#158) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#159)
Prevent variables from having similar names.
Additional information: link
Cheebs.slitherConstructorVariables() (#373-751) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#378)
Cheebs.slitherConstructorVariables() (#373-751) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#379)
Cheebs.slitherConstructorVariables() (#373-751) uses literals with too many digits:
- distributorGas = 500000 (#418)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Cheebs.CINU (#376) is never used in Cheebs (#373-751)
Remove unused state variables.
Additional information: link
Cheebs.CINU (#376) should be constant
Cheebs.DEAD (#378) should be constant
Cheebs.WBNB (#377) should be constant
Cheebs.ZERO (#379) should be constant
Cheebs._totalSupply (#385) should be constant
Cheebs.launchedAt (#414) should be constant
DividendDistributor.WBNB (#218) should be constant
DividendDistributor.dividendsPerShareAccuracyFactor (#231) 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) (#110-112)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#117-119)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#138-142)
tradingStatus(bool) should be declared external:
- Cheebs.tradingStatus(bool) (#588-590)
cooldownEnabled(bool,uint8) should be declared external:
- Cheebs.cooldownEnabled(bool,uint8) (#593-596)
Use the external attribute for functions never called from the contract.
Additional information: link
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 PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute volume.
Unable to find PancakeSwap trading pair to compute number of swaps.
Unable to find website, listings and other project-related information
Young tokens have high risks of price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts