INU INU Token Logo

INUINU [INU INU] Token

About INUINU

Listings

Not Found
Token 3 months

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 10 February 2022

report
Code:


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

Reentrancy in PurestPonzi._transferFrom(address,address,uint256) (#394-409):
External calls:
- swapBack() (#396)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#507-540)
- distributor.deposit{value: amountBNBReflection}() (#519)
- (marketSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#520)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#523-534)
External calls sending eth:
- swapBack() (#396)
- distributor.deposit{value: amountBNBReflection}() (#519)
- (marketSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#520)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#523-534)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#401)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#403)
- amountReceived = takeFee(sender,amount) (#402)
- _balances[address(this)] = _balances[address(this)].add(finalFee) (#433)
- _balances[DEAD] = _balances[DEAD].add(burnAmount) (#434)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.distributeDividend(address) (#245-255) ignores return value by BUSD.transfer(shareholder,amount) (#250)
DividendDistributor.clearStuckRewards(address) (#281-283) ignores return value by BUSD.transfer(_address,BUSD.balanceOf(address(this))) (#282)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

Additional information: link


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.

PurestPonzi.takeFee(address,uint256) (#429-438) performs a multiplication on the result of a division:
-feeAmount = amount.mul(getTotalFee()).div(feeDenominator) (#430)
-burnAmount = feeAmount.mul(burnFee).div(totalFee) (#431)
Consider ordering multiplication before division.

Additional information: link

Reentrancy in DividendDistributor.distributeDividend(address) (#245-255):
External calls:
- BUSD.transfer(shareholder,amount) (#250)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#252)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#253)
Reentrancy in DividendDistributor.process(uint256) (#216-234):
External calls:
- distributeDividend(shareholders[currentIndex]) (#227)
- BUSD.transfer(shareholder,amount) (#250)
State variables written after the call(s):
- currentIndex ++ (#231)
Reentrancy in DividendDistributor.setShare(address,uint256) (#187-199):
External calls:
- distributeDividend(shareholder) (#189)
- BUSD.transfer(shareholder,amount) (#250)
State variables written after the call(s):
- shares[shareholder].amount = amount (#197)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#198)
Apply the check-effects-interactions pattern.

Additional information: link

PurestPonzi.swapBack().e (#536) is a local variable never initialized
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.

Additional information: link

PurestPonzi.swapBack() (#499-541) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#523-534)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendDistributor.setDistributionCriteria(uint256,uint256) (#183-186) should emit an event for:
- minPeriod = _minPeriod (#184)
- minDistribution = _minDistribution (#185)
PurestPonzi.setLaunchedAt(uint256) (#485-487) should emit an event for:
- launchedAt = launched_ (#486)
Emit an event for critical parameter changes.

Additional information: link

Ownable.transferOwnership(address).adr (#124) lacks a zero-check on :
- owner = adr (#126)
PurestPonzi.transferDebugger(address).newDebugger (#371) lacks a zero-check on :
- debugger = newDebugger (#373)
Check that the address is not zero.

Additional information: link

DividendDistributor.distributeDividend(address) (#245-255) has external calls inside a loop: BUSD.transfer(shareholder,amount) (#250)
Favor pull over push strategy for external calls.

Additional information: link

Variable 'PurestPonzi.swapBack().e (#536)' in PurestPonzi.swapBack() (#499-541) potentially used before declaration: SwapBackFailed(string(abi.encodePacked(SwapBack failed with error ,e))) (#537)
Move all variable declarations prior to any usage of the variable, and ensure that reaching a variable declaration does not depend on some conditional if it is used unconditionally.

Additional information: link

Reentrancy in PurestPonzi._transferFrom(address,address,uint256) (#394-409):
External calls:
- swapBack() (#396)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#507-540)
- distributor.deposit{value: amountBNBReflection}() (#519)
- (marketSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#520)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#523-534)
External calls sending eth:
- swapBack() (#396)
- distributor.deposit{value: amountBNBReflection}() (#519)
- (marketSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#520)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#523-534)
State variables written after the call(s):
- launch() (#397)
- launchedAt = block.number (#449)
Reentrancy in PurestPonzi.constructor() (#327-346):
External calls:
- pancakeV2BNBPair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#329)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = ~ uint256(0) (#331)
- _balances[msg.sender] = _totalSupply (#344)
- autoLiquidityReceiver = DEAD (#330)
- debugger = msg.sender (#343)
- distributor = new DividendDistributor(address(router)) (#333)
- isDividendExempt[DEAD] = true (#334)
- isDividendExempt[pancakeV2BNBPair] = true (#335)
- isDividendExempt[address(this)] = true (#336)
- isFeeExempt[address(this)] = true (#341)
- isFeeExempt[msg.sender] = true (#342)
- isMaxHoldExempt[DEAD] = true (#337)
- isMaxHoldExempt[pancakeV2BNBPair] = true (#338)
- isMaxHoldExempt[address(this)] = true (#339)
- isMaxHoldExempt[msg.sender] = true (#340)
- pairs.push(pancakeV2BNBPair) (#332)
Reentrancy in DividendDistributor.deposit() (#200-214):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#205-210)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#213)
- totalDividends = totalDividends.add(amount) (#212)
Reentrancy in DividendDistributor.distributeDividend(address) (#245-255):
External calls:
- BUSD.transfer(shareholder,amount) (#250)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#251)
Reentrancy in DividendDistributor.setShare(address,uint256) (#187-199):
External calls:
- distributeDividend(shareholder) (#189)
- BUSD.transfer(shareholder,amount) (#250)
State variables written after the call(s):
- addShareholder(shareholder) (#192)
- shareholderIndexes[shareholder] = shareholders.length (#276)
- removeShareholder(shareholder) (#194)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#263)
- addShareholder(shareholder) (#192)
- shareholders.push(shareholder) (#277)
- removeShareholder(shareholder) (#194)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#262)
- shareholders.pop() (#264)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#196)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in PurestPonzi._transferFrom(address,address,uint256) (#394-409):
External calls:
- swapBack() (#396)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#507-540)
- distributor.deposit{value: amountBNBReflection}() (#519)
- (marketSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#520)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#523-534)
External calls sending eth:
- swapBack() (#396)
- distributor.deposit{value: amountBNBReflection}() (#519)
- (marketSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#520)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#523-534)
Event emitted after the call(s):
- Launched(block.number,block.timestamp) (#450)
- launch() (#397)
- Transfer(sender,DEAD,burnAmount) (#435)
- amountReceived = takeFee(sender,amount) (#402)
- Transfer(sender,address(this),finalFee) (#436)
- amountReceived = takeFee(sender,amount) (#402)
Reentrancy in PurestPonzi._transferFrom(address,address,uint256) (#394-409):
External calls:
- swapBack() (#396)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#507-540)
- distributor.deposit{value: amountBNBReflection}() (#519)
- (marketSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#520)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#523-534)
- distributor.setShare(sender,_balances[sender]) (#404)
- distributor.setShare(recipient,_balances[recipient]) (#405)
- distributor.process(distributorGas) (#406)
External calls sending eth:
- swapBack() (#396)
- distributor.deposit{value: amountBNBReflection}() (#519)
- (marketSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#520)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#523-534)
Event emitted after the call(s):
- Transfer(sender,recipient,amountReceived) (#407)
Reentrancy in PurestPonzi.constructor() (#327-346):
External calls:
- pancakeV2BNBPair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#329)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#345)
Reentrancy in PurestPonzi.swapBack() (#499-541):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#507-540)
- distributor.deposit{value: amountBNBReflection}() (#519)
- (marketSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#520)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#519)
- (marketSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#520)
Event emitted after the call(s):
- MarketTransfer(marketSuccess) (#521)
Reentrancy in PurestPonzi.swapBack() (#499-541):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#507-540)
- distributor.deposit{value: amountBNBReflection}() (#519)
- (marketSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#520)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#523-534)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#519)
- (marketSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#520)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#523-534)
Event emitted after the call(s):
- AutoLiquify(amountToLiquify,amountBNBLiquidity) (#531)
- AutoLiquify(0,0) (#533)
Reentrancy in PurestPonzi.swapBack() (#499-541):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#507-540)
Event emitted after the call(s):
- SwapBackFailed(string(abi.encodePacked(SwapBack failed with error ,e))) (#537)
- SwapBackFailed(SwapBack failed without an error message from pancakeSwap) (#539)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.shouldDistribute(address) (#236-239) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#237-238)
Avoid relying on block.timestamp.

Additional information: link

DividendDistributor.process(uint256) (#216-234) has costly operations inside a loop:
- currentIndex = 0 (#224)
DividendDistributor.distributeDividend(address) (#245-255) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#249)
DividendDistributor.process(uint256) (#216-234) has costly operations inside a loop:
- currentIndex ++ (#231)
Use a local variable to hold the loop computation result.

Additional information: link

PurestPonzi.totalFee (#298) is set pre-construction with a non-constant function or state variable:
- liquidityFee + reflectionFee + marketingFee + burnFee
PurestPonzi._maxHold (#299) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 100
PurestPonzi.swapThreshold (#320) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 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.8.11 (#17) 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 PurestPonzi.swapBack() (#499-541):
- (marketSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#520)
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() (#71) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minPeriod (#183) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minDistribution (#183) is not in mixedCase
Parameter DividendDistributor.clearStuckRewards(address)._address (#281) is not in mixedCase
Variable DividendDistributor._token (#146) is not in mixedCase
Variable DividendDistributor.BUSD (#148) is not in mixedCase
Variable DividendDistributor.WBNB (#149) is not in mixedCase
Parameter PurestPonzi.setDistributionCriteria(uint256,uint256)._minPeriod (#468) is not in mixedCase
Parameter PurestPonzi.setDistributionCriteria(uint256,uint256)._minDistribution (#468) is not in mixedCase
Parameter PurestPonzi.setSwapThresholdDiv(uint256)._div (#543) is not in mixedCase
Constant PurestPonzi._name (#289) is not in UPPER_CASE_WITH_UNDERSCORES
Constant PurestPonzi._symbol (#290) is not in UPPER_CASE_WITH_UNDERSCORES
Constant PurestPonzi._decimals (#291) is not in UPPER_CASE_WITH_UNDERSCORES
Variable PurestPonzi._totalSupply (#292) is not in mixedCase
Variable PurestPonzi._maxHold (#299) is not in mixedCase
Variable PurestPonzi.BUSD (#301) is not in mixedCase
Variable PurestPonzi.WBNB (#302) is not in mixedCase
Variable PurestPonzi.DEAD (#304) is not in mixedCase
Variable PurestPonzi.ZERO (#305) is not in mixedCase
Variable PurestPonzi._balances (#306) is not in mixedCase
Variable PurestPonzi._allowances (#307) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

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

Additional information: link

PurestPonzi.setDistributorSettings(uint256) (#472-475) uses literals with too many digits:
- require(bool)(gas <= 5000000) (#473)
PurestPonzi.slitherConstructorVariables() (#286-565) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#304)
PurestPonzi.slitherConstructorVariables() (#286-565) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#305)
PurestPonzi.slitherConstructorVariables() (#286-565) uses literals with too many digits:
- distributorGas = 600000 (#316)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

PurestPonzi.BUSD (#301) is never used in PurestPonzi (#286-565)
Remove unused state variables.

Additional information: link

DividendDistributor.WBNB (#149) should be constant
DividendDistributor.dividendsPerShareAccuracyFactor (#160) should be constant
PurestPonzi.BUSD (#301) should be constant
PurestPonzi.DEAD (#304) should be constant
PurestPonzi.WBNB (#302) should be constant
PurestPonzi.ZERO (#305) should be constant
PurestPonzi._totalSupply (#292) should be constant
PurestPonzi.burnFee (#294) should be constant
PurestPonzi.feeDenominator (#297) should be constant
PurestPonzi.liquidityFee (#295) should be constant
PurestPonzi.liquifyEnabled (#318) should be constant
PurestPonzi.marketingFee (#296) should be constant
PurestPonzi.marketingFeeReceiver (#300) should be constant
PurestPonzi.reflectionFee (#293) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#124-128)
renouceOwnership() should be declared external:
- Ownable.renouceOwnership() (#129-132)
transferDebugger(address) should be declared external:
- PurestPonzi.transferDebugger(address) (#371-375)
setIsMaxHoldExempt(address,bool) should be declared external:
- PurestPonzi.setIsMaxHoldExempt(address,bool) (#440-442)
setIsDividendExempt(address,bool) should be declared external:
- PurestPonzi.setIsDividendExempt(address,bool) (#453-462)
setIsFeeExempt(address,bool) should be declared external:
- PurestPonzi.setIsFeeExempt(address,bool) (#464-466)
setDistributionCriteria(uint256,uint256) should be declared external:
- PurestPonzi.setDistributionCriteria(uint256,uint256) (#468-470)
setDistributorSettings(uint256) should be declared external:
- PurestPonzi.setDistributorSettings(uint256) (#472-475)
getCirculatingSupply() should be declared external:
- PurestPonzi.getCirculatingSupply() (#477-479)
addPair(address) should be declared external:
- PurestPonzi.addPair(address) (#481-483)
setLaunchedAt(uint256) should be declared external:
- PurestPonzi.setLaunchedAt(uint256) (#485-487)
removeLastPair() should be declared external:
- PurestPonzi.removeLastPair() (#489-491)
setSwapThresholdDiv(uint256) should be declared external:
- PurestPonzi.setSwapThresholdDiv(uint256) (#543-545)
clearStuckBNB() should be declared external:
- PurestPonzi.clearStuckBNB() (#548-550)
clearStuckToken() should be declared external:
- PurestPonzi.clearStuckToken() (#553-557)
clearStuckDistributorRewards() should be declared external:
- PurestPonzi.clearStuckDistributorRewards() (#560-562)
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.


Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.

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


Swap operations require suspiciously high gas. Contract logic is complex and may disguise some form of scam.


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 Telegram and Twitter accounts

Search:


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

Anti-Scam Checks

Price for INUINU