CodyInu Token Logo

CI [CodyInu] Token

ALERT: honeypot scam

About CI

Listings

Not Found
Token 2 years

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 2 March 2022

report
Token seems to be a scam (type: honeypot scam).


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

CodyInu.swapBack() (#613-662) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#644)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#645)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in CodyInu._transferFrom(address,address,uint256) (#548-589):
External calls:
- swapBack() (#558)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#623-629)
- dividendDistributor.deposit{value: amountBNBReflection}() (#639)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#644)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#645)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#652-659)
External calls sending eth:
- swapBack() (#558)
- dividendDistributor.deposit{value: amountBNBReflection}() (#639)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#644)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#645)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#652-659)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#566)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#574)
- finalAmount = takeFee(sender,recipient,amount) (#573)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#603)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.distributeDividend(address) (#237-249) ignores return value by RewardToken.transfer(shareholder,amount) (#243)
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.

CodyInu.swapBack().tmpSuccess (#644) is written in both
(tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#644)
tmpSuccess = false (#648)
CodyInu.swapBack().tmpSuccess1 (#645) is written in both
(tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#645)
tmpSuccess1 = false (#649)
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.

Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#70) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#71)
Prevent variables from having similar names.

Additional information: link

CodyInu.DEAD (#350) should be constant
CodyInu.RewardToken (#353) should be constant
CodyInu.ZERO (#351) should be constant
CodyInu._totalSupply (#355) should be constant
CodyInu.routerAddress (#352) should be constant
DividendDistributor.dividendsPerShareAccuracyFactor (#143) should be constant
DividendDistributor.routerAddress (#131) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

CodyInu.slitherConstructorVariables() (#342-667) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#350)
CodyInu.slitherConstructorVariables() (#342-667) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#351)
CodyInu.slitherConstructorVariables() (#342-667) uses literals with too many digits:
- _totalSupply = 100000000000000 * (10 ** _decimals) (#355)
CodyInu.slitherConstructorVariables() (#342-667) uses literals with too many digits:
- distributorGas = 300000 (#387)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

CodyInu.RewardToken (#353) is never used in CodyInu (#342-667)
Remove unused state variables.

Additional information: link

Reentrancy in DividendDistributor.distributeDividend(address) (#237-249):
External calls:
- RewardToken.transfer(shareholder,amount) (#243)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#245)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#246)
Reentrancy in DividendDistributor.process(uint256) (#208-230):
External calls:
- distributeDividend(shareholders[currentIndex]) (#222)
- RewardToken.transfer(shareholder,amount) (#243)
State variables written after the call(s):
- currentIndex ++ (#227)
Reentrancy in DividendDistributor.setShare(address,uint256) (#171-186):
External calls:
- distributeDividend(shareholder) (#174)
- RewardToken.transfer(shareholder,amount) (#243)
State variables written after the call(s):
- shares[shareholder].amount = amount (#184)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#185)
Apply the check-effects-interactions pattern.

Additional information: link

CodyInu.swapBack() (#613-662) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#652-659)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendDistributor.setDistributionCriteria(uint256,uint256) (#166-169) should emit an event for:
- minPeriod = newMinPeriod (#167)
- minDistribution = newMinDistribution (#168)
CodyInu.changeFees(uint256,uint256,uint256,uint256) (#505-513) should emit an event for:
- liquidityFee = newLiqFee (#506)
- rewardsFee = newRewardFee (#507)
- totalFee = liquidityFee.add(marketingFee).add(rewardsFee) (#511)
- totalFeeIfSelling = totalFee.add(extraFeeOnSell) (#512)
Emit an event for critical parameter changes.

Additional information: link

Auth.transferOwnership(address).adr (#333) lacks a zero-check on :
- owner = adr (#334)
CodyInu.changeFeeReceivers(address,address,address).newLiquidityReceiver (#515) lacks a zero-check on :
- autoLiquidityReceiver = newLiquidityReceiver (#516)
CodyInu.changeFeeReceivers(address,address,address).newMarketingWallet (#515) lacks a zero-check on :
- marketingWallet = newMarketingWallet (#517)
CodyInu.changeFeeReceivers(address,address,address).newanothermarketingWallet (#515) lacks a zero-check on :
- anothermarketingWallet = newanothermarketingWallet (#518)
Check that the address is not zero.

Additional information: link

DividendDistributor.distributeDividend(address) (#237-249) has external calls inside a loop: RewardToken.transfer(shareholder,amount) (#243)
Favor pull over push strategy for external calls.

Additional information: link

Reentrancy in CodyInu._transferFrom(address,address,uint256) (#548-589):
External calls:
- swapBack() (#558)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#623-629)
- dividendDistributor.deposit{value: amountBNBReflection}() (#639)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#644)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#645)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#652-659)
External calls sending eth:
- swapBack() (#558)
- dividendDistributor.deposit{value: amountBNBReflection}() (#639)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#644)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#645)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#652-659)
State variables written after the call(s):
- launch() (#562)
- launchedAt = block.number (#471)
Reentrancy in CodyInu.constructor() (#401-433):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#404)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = uint256(- 1) (#405)
- _balances[msg.sender] = _totalSupply (#431)
- anothermarketingWallet = 0xe89a9B78999b4CC5E173058b44919Fc8ff846885 (#426)
- autoLiquidityReceiver = msg.sender (#424)
- dividendDistributor = new DividendDistributor(address(router)) (#407)
- isDividendExempt[pair] = true (#417)
- isDividendExempt[address(this)] = true (#419)
- isDividendExempt[DEAD] = true (#420)
- isDividendExempt[ZERO] = true (#421)
- isFeeExempt[msg.sender] = true (#409)
- isFeeExempt[address(this)] = true (#410)
- isFeeExempt[anothermarketingWallet] = true (#411)
- isTxLimitExempt[msg.sender] = true (#413)
- isTxLimitExempt[pair] = true (#414)
- isTxLimitExempt[DEAD] = true (#415)
- marketingWallet = msg.sender (#425)
- totalFee = liquidityFee.add(marketingFee).add(rewardsFee) (#428)
- totalFeeIfSelling = totalFee.add(extraFeeOnSell) (#429)
Reentrancy in DividendDistributor.deposit() (#188-206):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#196-201)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#205)
- totalDividends = totalDividends.add(amount) (#204)
Reentrancy in DividendDistributor.distributeDividend(address) (#237-249):
External calls:
- RewardToken.transfer(shareholder,amount) (#243)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#244)
Reentrancy in DividendDistributor.setShare(address,uint256) (#171-186):
External calls:
- distributeDividend(shareholder) (#174)
- RewardToken.transfer(shareholder,amount) (#243)
State variables written after the call(s):
- addShareholder(shareholder) (#178)
- shareholderIndexes[shareholder] = shareholders.length (#267)
- removeShareholder(shareholder) (#180)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#273)
- addShareholder(shareholder) (#178)
- shareholders.push(shareholder) (#268)
- removeShareholder(shareholder) (#180)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#272)
- shareholders.pop() (#274)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#183)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in CodyInu._transferFrom(address,address,uint256) (#548-589):
External calls:
- swapBack() (#558)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#623-629)
- dividendDistributor.deposit{value: amountBNBReflection}() (#639)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#644)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#645)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#652-659)
- dividendDistributor.setShare(sender,_balances[sender]) (#578)
- dividendDistributor.setShare(recipient,_balances[recipient]) (#582)
- dividendDistributor.process(distributorGas) (#585)
External calls sending eth:
- swapBack() (#558)
- dividendDistributor.deposit{value: amountBNBReflection}() (#639)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#644)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#645)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#652-659)
Event emitted after the call(s):
- Transfer(sender,recipient,finalAmount) (#587)
Reentrancy in CodyInu._transferFrom(address,address,uint256) (#548-589):
External calls:
- swapBack() (#558)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#623-629)
- dividendDistributor.deposit{value: amountBNBReflection}() (#639)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#644)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#645)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#652-659)
External calls sending eth:
- swapBack() (#558)
- dividendDistributor.deposit{value: amountBNBReflection}() (#639)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#644)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#645)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#652-659)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#604)
- finalAmount = takeFee(sender,recipient,amount) (#573)
Reentrancy in CodyInu.constructor() (#401-433):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#404)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#432)
Reentrancy in CodyInu.swapBack() (#613-662):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#623-629)
- dividendDistributor.deposit{value: amountBNBReflection}() (#639)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#644)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#645)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#652-659)
External calls sending eth:
- dividendDistributor.deposit{value: amountBNBReflection}() (#639)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#644)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#645)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#652-659)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#660)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.shouldDistribute(address) (#232-235) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#233-234)
Avoid relying on block.timestamp.

Additional information: link

DividendDistributor.process(uint256) (#208-230) has costly operations inside a loop:
- currentIndex = 0 (#219)
DividendDistributor.distributeDividend(address) (#237-249) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#242)
DividendDistributor.process(uint256) (#208-230) has costly operations inside a loop:
- currentIndex ++ (#227)
Use a local variable to hold the loop computation result.

Additional information: link

CodyInu._maxTxAmount (#356) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 100 / 100
CodyInu._walletMax (#357) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 53 / 100
CodyInu.swapThreshold (#393) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 6 / 2000
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 (#6) allows old versions
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 CodyInu.swapBack() (#613-662):
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#644)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#645)
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() (#65) is not in mixedCase
Variable DividendDistributor._token (#122) is not in mixedCase
Variable DividendDistributor.RewardToken (#132) is not in mixedCase
Constant CodyInu._name (#346) is not in UPPER_CASE_WITH_UNDERSCORES
Constant CodyInu._symbol (#347) is not in UPPER_CASE_WITH_UNDERSCORES
Constant CodyInu._decimals (#348) is not in UPPER_CASE_WITH_UNDERSCORES
Variable CodyInu.DEAD (#350) is not in mixedCase
Variable CodyInu.ZERO (#351) is not in mixedCase
Variable CodyInu.RewardToken (#353) is not in mixedCase
Variable CodyInu._totalSupply (#355) is not in mixedCase
Variable CodyInu._maxTxAmount (#356) is not in mixedCase
Variable CodyInu._walletMax (#357) is not in mixedCase
Variable CodyInu._balances (#361) is not in mixedCase
Variable CodyInu._allowances (#362) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

authorize(address) should be declared external:
- Auth.authorize(address) (#308-310)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#315-317)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#333-337)
getCirculatingSupply() should be declared external:
- CodyInu.getCirculatingSupply() (#443-445)
claim() should be declared external:
- CodyInu.claim() (#461-464)
tradingStatus(bool) should be declared external:
- CodyInu.tradingStatus(bool) (#609-611)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:

Contract has 5% buy tax and 94% 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. Ignore for presale.


Token is deployed only at one blockchain


Token has only one trading pair


Unable to find Telegram and Twitter accounts


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

Price for CI