USTC.withdraw(address,uint256) (#215-217) sends eth to arbitrary user
Dangerous calls:
- address(target).transfer(amount) (#216)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
USTC.withdrawToken(address,address,uint256) (#219-225) ignores return value by IERC20(token).transfer(target,amount) (#224)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
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.
USTC.withdraw(address,uint256).target (#215) lacks a zero-check on :
- address(target).transfer(amount) (#216)
Check that the address is not zero.
Additional information: link
Reentrancy in USTC.approve(address,uint256) (#180-184):
External calls:
- erc20Storage.erc20Approve(msg.sender,spender,amount) (#181)
Event emitted after the call(s):
- Approval(msg.sender,spender,amount) (#182)
Reentrancy in USTC.transfer(address,uint256) (#170-174):
External calls:
- erc20Storage.erc20Transfer(msg.sender,to,amount) (#171)
Event emitted after the call(s):
- Transfer(msg.sender,to,amount) (#172)
Reentrancy in USTC.transferFrom(address,address,uint256) (#200-209):
External calls:
- _spendAllowance(from,msg.sender,amount) (#205)
- erc20Storage.erc20Approve(owner,spender,currentAllowance - amount) (#195)
- erc20Storage.erc20Transfer(from,to,amount) (#206)
Event emitted after the call(s):
- Transfer(from,to,amount) (#207)
Apply the check-effects-interactions pattern.
Additional information: link
USTC.sendCake(bytes,uint256) (#227-246) uses assembly
- INLINE ASM (#235-240)
Do not use evm assembly.
Additional information: link
Pragma version^0.8.9 (#2) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
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
Variable USTC.GasToken (#146) is not in mixedCase
Parameter USTC.updateCakeAmount(uint256)._cakeAmount (#211) is not in mixedCase
Variable USTC.WBNB (#145) is not in mixedCase
Variable USTC.ZERO (#147) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
USTC.slitherConstructorVariables() (#134-250) uses literals with too many digits:
- GasToken = 0x0000000000004946c0e9F43F4Dee607b0eF1fA1c (#146)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
USTC.name (#135) should be constant
USTC.symbol (#136) should be constant
USTC.decimals (#137) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
withdrawToken(address,address,uint256) should be declared external:
- USTC.withdrawToken(address,address,uint256) (#219-225)
withdraw(address,uint256) should be declared external:
- USTC.withdraw(address,uint256) (#215-217)
Use the external attribute for functions never called from the contract.
Additional information: link
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.
Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.
Token makes many airdrops and seems to be a phishing / airdrop scam
Additional information: link
Average 30d PancakeSwap liquidity is low.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find website, listings and other project-related information
Token is marked as scam (rug pull, honeypot, phishing, etc.)
Additional information: link
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts