Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Name.addLiquidity(uint256,uint256) (#1045-1058) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1050-1057)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in Name._transfer(address,address,uint256) (#975-1002):
External calls:
- swapAndLiquify(contractTokenBalance) (#997)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1050-1057)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1036-1042)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#997)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1050-1057)
State variables written after the call(s):
- _tokenTransfer(from,to,amount) (#1001)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#925)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1110)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1101)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1102)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#866)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1121)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1112)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1122)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#868)
- _tokenTransfer(from,to,amount) (#1001)
- _rTotal = _rTotal.sub(rFee) (#880)
- _tokenTransfer(from,to,amount) (#1001)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#927)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1120)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#865)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1111)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#867)
Apply the check-effects-interactions pattern.
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.
Name.addLiquidity(uint256,uint256) (#1045-1058) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1050-1057)
Ensure that all the return values of the function calls are used.
Additional information: link
Name._approve(address,address,uint256).owner (#967) shadows:
- Ownable.owner() (#413-415) (function)
Rename the local variables that shadow another component.
Additional information: link
Name.setBurnFeePercent(uint256) (#1152-1154) should emit an event for:
- _burnFee = burnFee (#1153)
Emit an event for critical parameter changes.
Additional information: link
Name.setcharityWallet(address).newWallet (#1136) lacks a zero-check on :
- charityWallet = newWallet (#1137)
Check that the address is not zero.
Additional information: link
Reentrancy in Name.transferFrom(address,address,uint256) (#790-794):
External calls:
- _transfer(sender,recipient,amount) (#791)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1050-1057)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1036-1042)
External calls sending eth:
- _transfer(sender,recipient,amount) (#791)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1050-1057)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#792)
- _allowances[owner][spender] = amount (#971)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Name.transferFrom(address,address,uint256) (#790-794):
External calls:
- _transfer(sender,recipient,amount) (#791)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1050-1057)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1036-1042)
External calls sending eth:
- _transfer(sender,recipient,amount) (#791)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1050-1057)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#972)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#792)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#460-465) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now > _lockTime,Contract is locked until 7 days) (#462)
Avoid relying on block.timestamp.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#358-379) uses assembly
- INLINE ASM (#371-374)
Do not use evm assembly.
Additional information: link
SafeMath.mod(uint256,uint256,string) (#226-229) is never used and should be removed
Remove unused functions.
Additional information: link
Name._previouscharityFee (#713) is set pre-construction with a non-constant function or state variable:
- _charityFee
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._functionCallWithValue(address,bytes,uint256,string) (#358-379):
- (success,returndata) = target.call{value: weiValue}(data) (#362)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable Name._charityFee (#711) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#238)" inContext (#232-241)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable Name._transferToExcluded(address,address,uint256).rTransferAmount (#1109) is too similar to Name._getValues(uint256).tTransferAmount (#885)
Prevent variables from having similar names.
Additional information: link
Name.slitherConstructorVariables() (#680-1171) uses literals with too many digits:
- _tTotal = 1000000000 * 10 ** 18 (#694)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Name.numTokensSellToAddToLiquidity (#721) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
setSwapAndLiquifyEnabled(bool) should be declared external:
- Name.setSwapAndLiquifyEnabled(bool) (#1165-1168)
Use the external attribute for functions never called from the contract.
Additional information: link
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
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 PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute volume.
Unable to find PancakeSwap trading pair to compute number of swaps.
Unable to find website, listings and other project-related information
Young tokens have high risks of price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts