StupidToken Token Logo

STUPID Token

ALERT: rug pull scam

About STUPID

Listings

Not Found
Token 2 years

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 4 February 2022

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


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

Contract.addLiquidity(uint256,uint256,address) (deploy/Contract.sol#455-462) sends eth to arbitrary user
Dangerous calls:
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,to,block.timestamp) (deploy/Contract.sol#461)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Contract.allowance(address,address).owner (deploy/Contract.sol#380) shadows:
- Ownable.owner() (deploy/Contract.sol#207-209) (function)
Contract._approve(address,address,uint256).owner (deploy/Contract.sol#395) shadows:
- Ownable.owner() (deploy/Contract.sol#207-209) (function)
Rename the local variables that shadow another component.

Additional information: link

Contract.addLiquidity(uint256,uint256,address) (deploy/Contract.sol#455-462) ignores return value by router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,to,block.timestamp) (deploy/Contract.sol#461)
Ensure that all the return values of the function calls are used.

Additional information: link

Reentrancy in Contract._transfer(address,address,uint256) (deploy/Contract.sol#419-453):
External calls:
- swapAndLiquify(amount) (deploy/Contract.sol#431)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokens,0,path,msg.sender,block.timestamp) (deploy/Contract.sol#469)
State variables written after the call(s):
- inSwapAndLiquify = false (deploy/Contract.sol#432)
Reentrancy in Contract.transferFrom(address,address,uint256) (deploy/Contract.sol#405-412):
External calls:
- _transfer(sender,recipient,amount) (deploy/Contract.sol#410)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokens,0,path,msg.sender,block.timestamp) (deploy/Contract.sol#469)
State variables written after the call(s):
- _approve(sender,msg.sender,_allowances[sender][msg.sender] - amount) (deploy/Contract.sol#411)
- _allowances[owner][spender] = amount (deploy/Contract.sol#400)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in Contract.constructor(string,string,address) (deploy/Contract.sol#346-362):
External calls:
- uniswapV2Pair = IUniswapV2Factory(router.factory()).createPair(address(this),router.WETH()) (deploy/Contract.sol#359)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_tTotal) (deploy/Contract.sol#361)
Reentrancy in Contract.transferFrom(address,address,uint256) (deploy/Contract.sol#405-412):
External calls:
- _transfer(sender,recipient,amount) (deploy/Contract.sol#410)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokens,0,path,msg.sender,block.timestamp) (deploy/Contract.sol#469)
Event emitted after the call(s):
- Approval(owner,spender,amount) (deploy/Contract.sol#401)
- _approve(sender,msg.sender,_allowances[sender][msg.sender] - amount) (deploy/Contract.sol#411)
Apply the check-effects-interactions pattern.

Additional information: link

Context._msgData() (deploy/Contract.sol#173-175) is never used and should be removed
Contract.addLiquidity(uint256,uint256,address) (deploy/Contract.sol#455-462) is never used and should be removed
Remove unused functions.

Additional information: link

Contract._tTotal (deploy/Contract.sol#331) is set pre-construction with a non-constant function or state variable:
- 1000000000000000 * 10 ** _decimals
Contract._tube (deploy/Contract.sol#332) is set pre-construction with a non-constant function or state variable:
- _tTotal
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 (deploy/Contract.sol#3) allows old versions
solc-0.8.9 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

Function IUniswapV2Router01.WETH() (deploy/Contract.sol#7) is not in mixedCase
Variable Contract._taxFee (deploy/Contract.sol#329) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (deploy/Contract.sol#12) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (deploy/Contract.sol#13)
Prevent variables from having similar names.

Additional information: link

Contract.slitherConstructorVariables() (deploy/Contract.sol#326-471) uses literals with too many digits:
- _tTotal = 1000000000000000 * 10 ** _decimals (deploy/Contract.sol#331)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

Contract._swapAndLiquifyEnabled (deploy/Contract.sol#335) is never used in Contract (deploy/Contract.sol#326-471)
Remove unused state variables.

Additional information: link

Contract._decimals (deploy/Contract.sol#330) should be constant
Contract._rTotal (deploy/Contract.sol#333) should be constant
Contract._swapAndLiquifyEnabled (deploy/Contract.sol#335) should be constant
Contract._taxFee (deploy/Contract.sol#329) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (deploy/Contract.sol#226-228)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (deploy/Contract.sol#234-237)
symbol() should be declared external:
- Contract.symbol() (deploy/Contract.sol#364-366)
name() should be declared external:
- Contract.name() (deploy/Contract.sol#368-370)
totalSupply() should be declared external:
- Contract.totalSupply() (deploy/Contract.sol#372-374)
decimals() should be declared external:
- Contract.decimals() (deploy/Contract.sol#376-378)
allowance(address,address) should be declared external:
- Contract.allowance(address,address) (deploy/Contract.sol#380-382)
balanceOf(address) should be declared external:
- Contract.balanceOf(address) (deploy/Contract.sol#384-386)
Use the external attribute for functions never called from the contract.

Additional information: link

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 STUPID