Nami Inu Token Logo

Nami Inu Token

ALERT: unclassified scam

About Nami Inu

Listings

Not Found
Token 19 months

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 4 May 2022

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

Nami.addLiquidity(uint256,uint256) (#718-731) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,teamWalletAddress,block.timestamp) (#723-730)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in Nami._transfer(address,address,uint256) (#628-665):
External calls:
- swapAndLiquify(contractTokenBalance) (#649)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,teamWalletAddress,block.timestamp) (#723-730)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#707-713)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#649)
- recipient.transfer(amount) (#591)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,teamWalletAddress,block.timestamp) (#723-730)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#652)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#660)
- finalAmount = takeFee(sender,recipient,amount) (#654-655)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#751)
Apply the check-effects-interactions pattern.

Additional information: link


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

Nami.takeFee(address,address,uint256) (#733-756) uses a dangerous strict equality:
- launchAt.add(3) >= block.number || launchAt == 0 (#739)
Don't use strict equality to determine if an account has enough Ether or tokens.

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.

Nami.addLiquidity(uint256,uint256) (#718-731) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,teamWalletAddress,block.timestamp) (#723-730)
Ensure that all the return values of the function calls are used.

Additional information: link

Nami.allowance(address,address).owner (#506) shadows:
- Ownable.owner() (#152-154) (function)
Nami._approve(address,address,uint256).owner (#529) shadows:
- Ownable.owner() (#152-154) (function)
Rename the local variables that shadow another component.

Additional information: link

Nami.setDistributionSettings(uint256,uint256,uint256) (#549-555) should emit an event for:
- _liquidityShare = newLiquidityShare (#550)
- _teamShare = newTeamShare (#552)
- _totalDistributionShares = _liquidityShare.add(_marketingShare).add(_teamShare) (#554)
Nami.setNumTokensBeforeSwap(uint256) (#565-567) should emit an event for:
- minimumTokensBeforeSwap = newLimit (#566)
Emit an event for critical parameter changes.

Additional information: link

Nami.setMarketingWalletAddress(address).newAddress (#569) lacks a zero-check on :
- marketingWalletAddress = address(newAddress) (#570)
Nami.setTeamWalletAddress(address).newAddress (#573) lacks a zero-check on :
- teamWalletAddress = address(newAddress) (#574)
Check that the address is not zero.

Additional information: link

Reentrancy in Nami._transfer(address,address,uint256) (#628-665):
External calls:
- swapAndLiquify(contractTokenBalance) (#649)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,teamWalletAddress,block.timestamp) (#723-730)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#707-713)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#649)
- recipient.transfer(amount) (#591)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,teamWalletAddress,block.timestamp) (#723-730)
State variables written after the call(s):
- finalAmount = takeFee(sender,recipient,amount) (#654-655)
- launchAt = block.number (#746)
- finalAmount = takeFee(sender,recipient,amount) (#654-655)
- liq1 = liq1.add(1) (#745)
Reentrancy in Nami.changeRouterVersion(address) (#594-611):
External calls:
- newPairAddress = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#602-603)
State variables written after the call(s):
- isMarketPair[address(uniswapPair)] = true (#610)
- isWalletLimitExempt[address(uniswapPair)] = true (#609)
- uniswapPair = newPairAddress (#606)
- uniswapV2Router = _uniswapV2Router (#607)
Reentrancy in Nami.constructor() (#441-468):
External calls:
- uniswapPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#444-445)
State variables written after the call(s):
- _allowances[address(this)][address(uniswapV2Router)] = _totalSupply (#448)
- _balances[_msgSender()] = _totalSupply (#466)
- _totalDistributionShares = _liquidityShare.add(_marketingShare).add(_teamShare) (#455)
- _totalTaxIfBuying = _buyLiquidityFee.add(_buyMarketingFee).add(_buyTeamFee) (#453)
- _totalTaxIfSelling = _sellLiquidityFee.add(_sellMarketingFee).add(_sellTeamFee) (#454)
- isExcludedFromFee[owner()] = true (#450)
- isExcludedFromFee[address(this)] = true (#451)
- isMarketPair[address(uniswapPair)] = true (#464)
- isTxLimitExempt[owner()] = true (#461)
- isTxLimitExempt[address(this)] = true (#462)
- isWalletLimitExempt[owner()] = true (#457)
- isWalletLimitExempt[address(uniswapPair)] = true (#458)
- isWalletLimitExempt[address(this)] = true (#459)
- uniswapV2Router = _uniswapV2Router (#447)
Reentrancy in Nami.swapAndLiquify(uint256) (#674-696):
External calls:
- swapTokensForEth(tokensForSwap) (#679)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#707-713)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#695)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,teamWalletAddress,block.timestamp) (#723-730)
External calls sending eth:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#689)
- recipient.transfer(amount) (#591)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#692)
- recipient.transfer(amount) (#591)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#695)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,teamWalletAddress,block.timestamp) (#723-730)
State variables written after the call(s):
- addLiquidity(tokensForLP,amountBNBLiquidity) (#695)
- _allowances[owner][spender] = amount (#533)
Reentrancy in Nami.transferFrom(address,address,uint256) (#621-625):
External calls:
- _transfer(sender,recipient,amount) (#622)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,teamWalletAddress,block.timestamp) (#723-730)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#707-713)
External calls sending eth:
- _transfer(sender,recipient,amount) (#622)
- recipient.transfer(amount) (#591)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,teamWalletAddress,block.timestamp) (#723-730)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#623)
- _allowances[owner][spender] = amount (#533)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in Nami._transfer(address,address,uint256) (#628-665):
External calls:
- swapAndLiquify(contractTokenBalance) (#649)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,teamWalletAddress,block.timestamp) (#723-730)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#707-713)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#649)
- recipient.transfer(amount) (#591)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,teamWalletAddress,block.timestamp) (#723-730)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#752)
- finalAmount = takeFee(sender,recipient,amount) (#654-655)
- Transfer(sender,recipient,finalAmount) (#662)
Reentrancy in Nami.constructor() (#441-468):
External calls:
- uniswapPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#444-445)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_totalSupply) (#467)
Reentrancy in Nami.swapAndLiquify(uint256) (#674-696):
External calls:
- swapTokensForEth(tokensForSwap) (#679)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#707-713)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#695)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,teamWalletAddress,block.timestamp) (#723-730)
External calls sending eth:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#689)
- recipient.transfer(amount) (#591)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#692)
- recipient.transfer(amount) (#591)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#695)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,teamWalletAddress,block.timestamp) (#723-730)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#534)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#695)
Reentrancy in Nami.swapTokensForEth(uint256) (#698-716):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#707-713)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (#715)
Reentrancy in Nami.transferFrom(address,address,uint256) (#621-625):
External calls:
- _transfer(sender,recipient,amount) (#622)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,teamWalletAddress,block.timestamp) (#723-730)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#707-713)
External calls sending eth:
- _transfer(sender,recipient,amount) (#622)
- recipient.transfer(amount) (#591)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,teamWalletAddress,block.timestamp) (#723-730)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#534)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#623)
Apply the check-effects-interactions pattern.

Additional information: link

Address.isContract(address) (#83-92) uses assembly
- INLINE ASM (#90)
Address._functionCallWithValue(address,bytes,uint256,string) (#119-136) uses assembly
- INLINE ASM (#128-131)
Do not use evm assembly.

Additional information: link

Address._functionCallWithValue(address,bytes,uint256,string) (#119-136) is never used and should be removed
Address.functionCall(address,bytes) (#102-104) is never used and should be removed
Address.functionCall(address,bytes,string) (#106-108) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#110-112) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#114-117) is never used and should be removed
Address.isContract(address) (#83-92) is never used and should be removed
Address.sendValue(address,uint256) (#94-100) is never used and should be removed
Context._msgData() (#10-13) is never used and should be removed
SafeMath.mod(uint256,uint256) (#71-73) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#75-78) is never used and should be removed
Remove unused functions.

Additional information: link

Nami._totalSupply (#423) is set pre-construction with a non-constant function or state variable:
- 100000000000 * 10 ** _decimals
Nami._maxTxAmount (#424) is set pre-construction with a non-constant function or state variable:
- 100000000000 * 10 ** _decimals
Nami._walletMax (#425) is set pre-construction with a non-constant function or state variable:
- 100000000000 * 10 ** _decimals
Nami.minimumTokensBeforeSwap (#426) is set pre-construction with a non-constant function or state variable:
- 1 * 10 ** _decimals
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

Low level call in Address.sendValue(address,uint256) (#94-100):
- (success) = recipient.call{value: amount}() (#98)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#119-136):
- (success,returndata) = target.call{value: weiValue}(data) (#122)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#209) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#210) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#226) is not in mixedCase
Function IUniswapV2Router01.WETH() (#245) is not in mixedCase
Parameter Nami.setSwapAndLiquifyEnabled(bool)._enabled (#577) is not in mixedCase
Variable Nami._balances (#411) is not in mixedCase
Variable Nami._maxTxAmount (#424) is not in mixedCase
Variable Nami._walletMax (#425) is not in mixedCase
Variable Nami._buyLiquidityFee (#470) is not in mixedCase
Variable Nami._buyMarketingFee (#471) is not in mixedCase
Variable Nami._buyTeamFee (#472) is not in mixedCase
Variable Nami._sellLiquidityFee (#474) is not in mixedCase
Variable Nami._sellMarketingFee (#475) is not in mixedCase
Variable Nami._sellTeamFee (#476) is not in mixedCase
Variable Nami._liquidityShare (#478) is not in mixedCase
Variable Nami._marketingShare (#479) is not in mixedCase
Variable Nami._teamShare (#480) is not in mixedCase
Variable Nami._totalTaxIfBuying (#482) is not in mixedCase
Variable Nami._totalTaxIfSelling (#483) is not in mixedCase
Variable Nami._totalDistributionShares (#484) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#11)" inContext (#4-14)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Reentrancy in Nami._transfer(address,address,uint256) (#628-665):
External calls:
- swapAndLiquify(contractTokenBalance) (#649)
- recipient.transfer(amount) (#591)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#649)
- recipient.transfer(amount) (#591)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,teamWalletAddress,block.timestamp) (#723-730)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#652)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#660)
- finalAmount = takeFee(sender,recipient,amount) (#654-655)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#751)
- finalAmount = takeFee(sender,recipient,amount) (#654-655)
- launchAt = block.number (#746)
- finalAmount = takeFee(sender,recipient,amount) (#654-655)
- liq1 = liq1.add(1) (#745)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#752)
- finalAmount = takeFee(sender,recipient,amount) (#654-655)
- Transfer(sender,recipient,finalAmount) (#662)
Reentrancy in Nami.swapAndLiquify(uint256) (#674-696):
External calls:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#689)
- recipient.transfer(amount) (#591)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#692)
- recipient.transfer(amount) (#591)
External calls sending eth:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#689)
- recipient.transfer(amount) (#591)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#692)
- recipient.transfer(amount) (#591)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#695)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,teamWalletAddress,block.timestamp) (#723-730)
State variables written after the call(s):
- addLiquidity(tokensForLP,amountBNBLiquidity) (#695)
- _allowances[owner][spender] = amount (#533)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#534)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#695)
Reentrancy in Nami.transferFrom(address,address,uint256) (#621-625):
External calls:
- _transfer(sender,recipient,amount) (#622)
- recipient.transfer(amount) (#591)
External calls sending eth:
- _transfer(sender,recipient,amount) (#622)
- recipient.transfer(amount) (#591)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,teamWalletAddress,block.timestamp) (#723-730)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#623)
- _allowances[owner][spender] = amount (#533)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#534)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#623)
Apply the check-effects-interactions pattern.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#250) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#251)
Prevent variables from having similar names.

Additional information: link

Ownable.waiveOwnership() (#161-164) uses literals with too many digits:
- OwnershipTransferred(_owner,address(0x000000000000000000000000000000000000dEaD)) (#162)
Ownable.waiveOwnership() (#161-164) uses literals with too many digits:
- _owner = address(0x000000000000000000000000000000000000dEaD) (#163)
Nami.slitherConstructorVariables() (#378-759) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#409)
Nami.slitherConstructorVariables() (#378-759) uses literals with too many digits:
- _totalSupply = 100000000000 * 10 ** _decimals (#423)
Nami.slitherConstructorVariables() (#378-759) uses literals with too many digits:
- _maxTxAmount = 100000000000 * 10 ** _decimals (#424)
Nami.slitherConstructorVariables() (#378-759) uses literals with too many digits:
- _walletMax = 100000000000 * 10 ** _decimals (#425)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

Ownable.asdasd (#141) is never used in Nami (#378-759)
Ownable._lockTime (#142) is never used in Nami (#378-759)
Remove unused state variables.

Additional information: link

Nami._buyLiquidityFee (#470) should be constant
Nami._buyMarketingFee (#471) should be constant
Nami._buyTeamFee (#472) should be constant
Nami._decimals (#422) should be constant
Nami._name (#437) should be constant
Nami._sellLiquidityFee (#474) should be constant
Nami._sellMarketingFee (#475) should be constant
Nami._sellTeamFee (#476) should be constant
Nami._symbol (#438) should be constant
Ownable._lockTime (#142) should be constant
Ownable.asdasd (#141) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

waiveOwnership() should be declared external:
- Ownable.waiveOwnership() (#161-164)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#166-170)
getTime() should be declared external:
- Ownable.getTime() (#172-174)
name() should be declared external:
- Nami.name() (#486-488)
symbol() should be declared external:
- Nami.symbol() (#490-492)
decimals() should be declared external:
- Nami.decimals() (#494-496)
totalSupply() should be declared external:
- Nami.totalSupply() (#498-500)
allowance(address,address) should be declared external:
- Nami.allowance(address,address) (#506-508)
increaseAllowance(address,uint256) should be declared external:
- Nami.increaseAllowance(address,uint256) (#510-513)
decreaseAllowance(address,uint256) should be declared external:
- Nami.decreaseAllowance(address,uint256) (#515-518)
minimumTokensBeforeSwapAmount() should be declared external:
- Nami.minimumTokensBeforeSwapAmount() (#520-522)
approve(address,uint256) should be declared external:
- Nami.approve(address,uint256) (#524-527)
setMarketPairStatus(address,bool) should be declared external:
- Nami.setMarketPairStatus(address,bool) (#537-539)
setIsExcludedFromFee(address,bool) should be declared external:
- Nami.setIsExcludedFromFee(address,bool) (#545-547)
setSwapAndLiquifyEnabled(bool) should be declared external:
- Nami.setSwapAndLiquifyEnabled(bool) (#577-580)
setSwapAndLiquifyByLimitOnly(bool) should be declared external:
- Nami.setSwapAndLiquifyByLimitOnly(bool) (#582-584)
getCirculatingSupply() should be declared external:
- Nami.getCirculatingSupply() (#586-588)
changeRouterVersion(address) should be declared external:
- Nami.changeRouterVersion(address) (#594-611)
transfer(address,uint256) should be declared external:
- Nami.transfer(address,uint256) (#616-619)
transferFrom(address,address,uint256) should be declared external:
- Nami.transferFrom(address,address,uint256) (#621-625)
Use the external attribute for functions never called from the contract.

Additional information: link

Contract ticker (Nami Inu) contains non-alphanumeric characters.
Not a direct threat, but may indicate unreliable intentions of developer. Non-alphanumeric chars (,.;!#*&") are extremely rare among low risk tokens.

Holders:


Token seems to be untradeable: there is no PancakeSwap trading pair and no trading volumes. Ignore for presale.


Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.


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 Nami Inu