Jujutsu Inu is a community meme token, ownership will be removed. The project will be developed in the direction of NFT and adventure games to give Jujutsu Kaisen fans an experience of the journey across the ocean.
JujutsuInu.swapBack() (#561-599) sends eth to arbitrary user
Dangerous calls:
- (success) = address(teamFeeReceiver).call{gas: 30000,value: amountBNBTeam}() (#585)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#589-596)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in JujutsuInu._transferFrom(address,address,uint256) (#502-518):
External calls:
- swapBack() (#507)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#572-578)
- (success) = address(teamFeeReceiver).call{gas: 30000,value: amountBNBTeam}() (#585)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#589-596)
External calls sending eth:
- swapBack() (#507)
- (success) = address(teamFeeReceiver).call{gas: 30000,value: amountBNBTeam}() (#585)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#589-596)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#511)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#514)
- amountReceived = takeFee(sender,recipient,amount) (#513)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#548)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
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.
JujutsuInu.swapBack() (#561-599) performs a multiplication on the result of a division:
-amountToLiquify = swapThreshold.mul(dynamicLiquidityFee.div(2)).div(totalFeeShare) (#564)
JujutsuInu.swapBack() (#561-599) performs a multiplication on the result of a division:
-amountBNBLiquidity = amountBNB.mul(dynamicLiquidityFee.div(2)).div(totalFeeShare.sub(dynamicLiquidityFee.div(2))) (#580-582)
Consider ordering multiplication before division.
Additional information: link
JujutsuInu.swapBack() (#561-599) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#589-596)
Ensure that all the return values of the function calls are used.
Additional information: link
JujutsuInu.setTxLimit(uint256) (#609-612) should emit an event for:
- maxTxAmount = amount (#611)
JujutsuInu.setFees(uint256,uint256,uint256) (#631-636) should emit an event for:
- buyFee = _buyFee (#633)
- sellFee = _sellFee (#634)
- feeDenominator = _feeDenominator (#635)
JujutsuInu.setFeeShares(uint256,uint256) (#637-641) should emit an event for:
- liquidityFeeShare = _liquidityFeeShare (#639)
- totalFeeShare = teamFeeShare.add(liquidityFeeShare) (#640)
JujutsuInu.setSwapBackSettings(bool,uint256) (#643-646) should emit an event for:
- swapThreshold = _amount (#645)
JujutsuInu.setTargetLiquidity(uint256,uint256) (#648-651) should emit an event for:
- targetLiquidity = _target (#649)
- targetLiquidityDenominator = _denominator (#650)
Emit an event for critical parameter changes.
Additional information: link
Auth.transferOwnership(address).adr (#389) lacks a zero-check on :
- owner = adr (#390)
JujutsuInu.setFeeReceivers(address,address)._autoLiquidityReceiver (#626) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#627)
JujutsuInu.setFeeReceivers(address,address)._teamFeeReceiver (#626) lacks a zero-check on :
- teamFeeReceiver = _teamFeeReceiver (#628)
Check that the address is not zero.
Additional information: link
Reentrancy in JujutsuInu._transferFrom(address,address,uint256) (#502-518):
External calls:
- swapBack() (#507)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#572-578)
- (success) = address(teamFeeReceiver).call{gas: 30000,value: amountBNBTeam}() (#585)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#589-596)
External calls sending eth:
- swapBack() (#507)
- (success) = address(teamFeeReceiver).call{gas: 30000,value: amountBNBTeam}() (#585)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#589-596)
State variables written after the call(s):
- launch() (#509)
- launchedAt = block.number (#606)
Reentrancy in JujutsuInu.constructor(address) (#454-468):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#458)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = type()(uint256).max (#459)
- _balances[_presaler] = _totalSupply (#466)
- isFeeExempt[_presaler] = true (#463)
- isTxLimitExempt[_presaler] = true (#464)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in JujutsuInu._transferFrom(address,address,uint256) (#502-518):
External calls:
- swapBack() (#507)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#572-578)
- (success) = address(teamFeeReceiver).call{gas: 30000,value: amountBNBTeam}() (#585)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#589-596)
External calls sending eth:
- swapBack() (#507)
- (success) = address(teamFeeReceiver).call{gas: 30000,value: amountBNBTeam}() (#585)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#589-596)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#549)
- amountReceived = takeFee(sender,recipient,amount) (#513)
- Transfer(sender,recipient,amountReceived) (#516)
Reentrancy in JujutsuInu.constructor(address) (#454-468):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#458)
Event emitted after the call(s):
- Transfer(address(0),_presaler,_totalSupply) (#467)
Reentrancy in JujutsuInu.swapBack() (#561-599):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#572-578)
- (success) = address(teamFeeReceiver).call{gas: 30000,value: amountBNBTeam}() (#585)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#589-596)
External calls sending eth:
- (success) = address(teamFeeReceiver).call{gas: 30000,value: amountBNBTeam}() (#585)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#589-596)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#597)
Apply the check-effects-interactions pattern.
Additional information: link
JujutsuInu.checkTxLimit(address,uint256) (#527-529) compares to a boolean constant:
-require(bool,string)(txLimitEnable == false || (amount <= maxTxAmount || isTxLimitExempt[sender]),TX Limit Exceeded) (#528)
Remove the equality to the boolean constant.
Additional information: link
Different versions of Solidity is used:
- Version used: ['^0.8.0', '^0.8.5']
- ^0.8.0 (#8)
- ^0.8.5 (#237)
- ^0.8.5 (#259)
- ^0.8.5 (#270)
- ^0.8.5 (#325)
- ^0.8.5 (#402)
Use one Solidity version.
Additional information: link
JujutsuInu.isSelling(address) (#541-543) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#195-204) is never used and should be removed
SafeMath.mod(uint256,uint256) (#155-157) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#221-230) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#26-32) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#68-73) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#80-85) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#51-61) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#39-44) is never used and should be removed
Remove unused functions.
Additional information: link
JujutsuInu.maxTxAmount (#420) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 100
JujutsuInu.swapThreshold (#450) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 5000
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.0 (#8) 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 JujutsuInu.swapBack() (#561-599):
- (success) = address(teamFeeReceiver).call{gas: 30000,value: amountBNBTeam}() (#585)
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() (#275) is not in mixedCase
Parameter JujutsuInu.setFeeReceivers(address,address)._autoLiquidityReceiver (#626) is not in mixedCase
Parameter JujutsuInu.setFeeReceivers(address,address)._teamFeeReceiver (#626) is not in mixedCase
Parameter JujutsuInu.setFees(uint256,uint256,uint256)._buyFee (#631) is not in mixedCase
Parameter JujutsuInu.setFees(uint256,uint256,uint256)._sellFee (#631) is not in mixedCase
Parameter JujutsuInu.setFees(uint256,uint256,uint256)._feeDenominator (#631) is not in mixedCase
Parameter JujutsuInu.setFeeShares(uint256,uint256)._teamFeeShare (#637) is not in mixedCase
Parameter JujutsuInu.setFeeShares(uint256,uint256)._liquidityFeeShare (#637) is not in mixedCase
Parameter JujutsuInu.setSwapBackSettings(bool,uint256)._enabled (#643) is not in mixedCase
Parameter JujutsuInu.setSwapBackSettings(bool,uint256)._amount (#643) is not in mixedCase
Parameter JujutsuInu.setTargetLiquidity(uint256,uint256)._target (#648) is not in mixedCase
Parameter JujutsuInu.setTargetLiquidity(uint256,uint256)._denominator (#648) is not in mixedCase
Variable JujutsuInu.WBNB (#411) is not in mixedCase
Variable JujutsuInu.DEAD (#412) is not in mixedCase
Variable JujutsuInu.ZERO (#413) is not in mixedCase
Constant JujutsuInu._name (#415) is not in UPPER_CASE_WITH_UNDERSCORES
Constant JujutsuInu._symbol (#416) is not in UPPER_CASE_WITH_UNDERSCORES
Constant JujutsuInu._decimals (#417) is not in UPPER_CASE_WITH_UNDERSCORES
Variable JujutsuInu._totalSupply (#419) is not in mixedCase
Variable JujutsuInu._balances (#422) is not in mixedCase
Variable JujutsuInu._allowances (#423) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#280) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#281)
Prevent variables from having similar names.
Additional information: link
JujutsuInu.slitherConstructorVariables() (#408-672) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#412)
JujutsuInu.slitherConstructorVariables() (#408-672) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#413)
JujutsuInu.slitherConstructorVariables() (#408-672) uses literals with too many digits:
- _totalSupply = 1000000000 * (10 ** _decimals) (#419)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
JujutsuInu.DEAD (#412) should be constant
JujutsuInu.ZERO (#413) should be constant
JujutsuInu._totalSupply (#419) 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) (#357-359)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#364-366)
selfUnauthorize() should be declared external:
- Auth.selfUnauthorize() (#368-370)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#389-393)
Use the external attribute for functions never called from the contract.
Additional information: link
Contract has 3% buy tax and 3% sell tax.
Taxes are low but contract ownership is not renounced. Token has a high risk of becoming a honeypot.
Average 30d PancakeSwap liquidity is low.
Number of Binance Smart Chain (BSC) token holders is low.
Token is deployed only at one blockchain
Token has only one trading pair
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinMarketCap
Unable to verify that token and website are owned by the same team (no listings + unable to find contract on website)
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account