Ashika Inu Token Logo

ANU [Ashika Inu] Token

ALERT: rug pull scam

About ANU

Listings

Not Found
Token 2 years

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 9 April 2022

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

ASHIKA.swapBack() (#616-665) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#647)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#648)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in ASHIKA._transferFrom(address,address,uint256) (#551-592):
External calls:
- swapBack() (#561)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#626-632)
- dividendDistributor.deposit{value: amountBNBReflection}() (#642)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#647)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#648)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#655-662)
External calls sending eth:
- swapBack() (#561)
- dividendDistributor.deposit{value: amountBNBReflection}() (#642)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#647)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#648)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#655-662)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#569)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#577)
- finalAmount = takeFee(sender,recipient,amount) (#576)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#606)
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.


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

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

ASHIKA.swapBack() (#616-665) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#655-662)
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)
ASHIKA.changeFees(uint256,uint256,uint256,uint256) (#508-516) should emit an event for:
- liquidityFee = newLiqFee (#509)
- rewardsFee = newRewardFee (#510)
- totalFee = liquidityFee.add(marketingFee).add(rewardsFee) (#514)
- totalFeeIfSelling = totalFee.add(extraFeeOnSell) (#515)
Emit an event for critical parameter changes.

Additional information: link

Auth.transferOwnership(address).adr (#336) lacks a zero-check on :
- owner = adr (#337)
ASHIKA.changeFeeReceivers(address,address,address).newLiquidityReceiver (#518) lacks a zero-check on :
- autoLiquidityReceiver = newLiquidityReceiver (#519)
ASHIKA.changeFeeReceivers(address,address,address).newMarketingWallet (#518) lacks a zero-check on :
- marketingWallet = newMarketingWallet (#520)
ASHIKA.changeFeeReceivers(address,address,address).newanothermarketingWallet (#518) lacks a zero-check on :
- anothermarketingWallet = newanothermarketingWallet (#521)
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 ASHIKA._transferFrom(address,address,uint256) (#551-592):
External calls:
- swapBack() (#561)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#626-632)
- dividendDistributor.deposit{value: amountBNBReflection}() (#642)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#647)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#648)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#655-662)
External calls sending eth:
- swapBack() (#561)
- dividendDistributor.deposit{value: amountBNBReflection}() (#642)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#647)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#648)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#655-662)
State variables written after the call(s):
- launch() (#565)
- launchedAt = block.number (#474)
Reentrancy in ASHIKA.constructor() (#404-436):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#407)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = uint256(- 1) (#408)
- _balances[msg.sender] = _totalSupply (#434)
- anothermarketingWallet = 0xBDBfE83354C7Efa9AeD796d7be87FB817317CB5e (#429)
- autoLiquidityReceiver = msg.sender (#427)
- dividendDistributor = new DividendDistributor(address(router)) (#410)
- isDividendExempt[pair] = true (#420)
- isDividendExempt[address(this)] = true (#422)
- isDividendExempt[DEAD] = true (#423)
- isDividendExempt[ZERO] = true (#424)
- isFeeExempt[msg.sender] = true (#412)
- isFeeExempt[address(this)] = true (#413)
- isFeeExempt[anothermarketingWallet] = true (#414)
- isTxLimitExempt[msg.sender] = true (#416)
- isTxLimitExempt[pair] = true (#417)
- isTxLimitExempt[DEAD] = true (#418)
- marketingWallet = msg.sender (#428)
- totalFee = liquidityFee.add(marketingFee).add(rewardsFee) (#431)
- totalFeeIfSelling = totalFee.add(extraFeeOnSell) (#432)
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 ASHIKA._transferFrom(address,address,uint256) (#551-592):
External calls:
- swapBack() (#561)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#626-632)
- dividendDistributor.deposit{value: amountBNBReflection}() (#642)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#647)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#648)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#655-662)
- dividendDistributor.setShare(sender,_balances[sender]) (#581)
- dividendDistributor.setShare(recipient,_balances[recipient]) (#585)
- dividendDistributor.process(distributorGas) (#588)
External calls sending eth:
- swapBack() (#561)
- dividendDistributor.deposit{value: amountBNBReflection}() (#642)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#647)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#648)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#655-662)
Event emitted after the call(s):
- Transfer(sender,recipient,finalAmount) (#590)
Reentrancy in ASHIKA._transferFrom(address,address,uint256) (#551-592):
External calls:
- swapBack() (#561)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#626-632)
- dividendDistributor.deposit{value: amountBNBReflection}() (#642)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#647)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#648)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#655-662)
External calls sending eth:
- swapBack() (#561)
- dividendDistributor.deposit{value: amountBNBReflection}() (#642)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#647)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#648)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#655-662)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#607)
- finalAmount = takeFee(sender,recipient,amount) (#576)
Reentrancy in ASHIKA.constructor() (#404-436):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#407)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#435)
Reentrancy in ASHIKA.swapBack() (#616-665):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#626-632)
- dividendDistributor.deposit{value: amountBNBReflection}() (#642)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#647)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#648)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#655-662)
External calls sending eth:
- dividendDistributor.deposit{value: amountBNBReflection}() (#642)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#647)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#648)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#655-662)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#663)
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

ASHIKA._maxTxAmount (#359) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 100000000 / 100
ASHIKA._walletMax (#360) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 20000 / 100
ASHIKA.swapThreshold (#396) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 5 / 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
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 ASHIKA.swapBack() (#616-665):
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#647)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#648)
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 ASHIKA._name (#349) is not in UPPER_CASE_WITH_UNDERSCORES
Constant ASHIKA._symbol (#350) is not in UPPER_CASE_WITH_UNDERSCORES
Constant ASHIKA._decimals (#351) is not in UPPER_CASE_WITH_UNDERSCORES
Variable ASHIKA.DEAD (#353) is not in mixedCase
Variable ASHIKA.ZERO (#354) is not in mixedCase
Variable ASHIKA.RewardToken (#356) is not in mixedCase
Variable ASHIKA._totalSupply (#358) is not in mixedCase
Variable ASHIKA._maxTxAmount (#359) is not in mixedCase
Variable ASHIKA._walletMax (#360) is not in mixedCase
Variable ASHIKA._balances (#364) is not in mixedCase
Variable ASHIKA._allowances (#365) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

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

DividendDistributor.slitherConstructorVariables() (#119-280) uses literals with too many digits:
- RewardToken = IBEP20(0x0000000000000000000000000000000000000000) (#132)
ASHIKA.slitherConstructorVariables() (#345-670) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#353)
ASHIKA.slitherConstructorVariables() (#345-670) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#354)
ASHIKA.slitherConstructorVariables() (#345-670) uses literals with too many digits:
- RewardToken = 0x0000000000000000000000000000000000000000 (#356)
ASHIKA.slitherConstructorVariables() (#345-670) uses literals with too many digits:
- _totalSupply = 1000000000 * (10 ** _decimals) (#358)
ASHIKA.slitherConstructorVariables() (#345-670) uses literals with too many digits:
- _maxTxAmount = _totalSupply * 100000000 / 100 (#359)
ASHIKA.slitherConstructorVariables() (#345-670) uses literals with too many digits:
- distributorGas = 300000 (#390)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

ASHIKA.RewardToken (#356) is never used in ASHIKA (#345-670)
Remove unused state variables.

Additional information: link

ASHIKA.DEAD (#353) should be constant
ASHIKA.RewardToken (#356) should be constant
ASHIKA.ZERO (#354) should be constant
ASHIKA._totalSupply (#358) should be constant
ASHIKA.routerAddress (#355) 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

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) (#336-340)
getCirculatingSupply() should be declared external:
- ASHIKA.getCirculatingSupply() (#446-448)
claim() should be declared external:
- ASHIKA.claim() (#464-467)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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.

Contract has 8% buy tax and 12% sell tax.
Taxes are high (over 10%) but contract ownership is renounced.


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


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 ANU