Meme coin with the goal to locate the infamous Satoshi nakamoto!!
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
SatoShiba.addLiquidity(address,address,uint256,uint256) (#1119-1133) sends eth to arbitrary user
Dangerous calls:
- markets[pair].addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner,block.timestamp + 360) (#1125-1132)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in SatoShiba._transfer(address,address,uint256) (#985-1015):
External calls:
- swapAndLiquify(to) (#1002)
- markets[pair].addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner,block.timestamp + 360) (#1125-1132)
- markets[pair].swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1110-1116)
- (sent,data) = marketingWallet.call{gas: gnosisGas,value: bnbToBeAddedToMarketing}() (#1095)
External calls sending eth:
- swapAndLiquify(to) (#1002)
- markets[pair].addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner,block.timestamp + 360) (#1125-1132)
- (sent,data) = marketingWallet.call{gas: gnosisGas,value: bnbToBeAddedToMarketing}() (#1095)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1010)
- _liquidityFee = _previousLiquidityFee (#952)
- _liquidityFee = 0 (#946)
- _tokenTransfer(from,to,amount,takeFee) (#1010)
- _rOwned[address(this)] += rLiquidity (#912)
- _rOwned[sender] -= rAmount (#1043)
- _rOwned[burnAddress] += rBurn (#917)
- _rOwned[recipient] += rTransferAmount (#1048)
- _tokenTransfer(from,to,amount,takeFee) (#1010)
- _rTotal = _rTotal - rFee (#810)
- _tokenTransfer(from,to,amount,takeFee) (#1010)
- _tOwned[address(this)] += tLiquidity (#914)
- _tOwned[sender] -= tAmount (#1045)
- _tOwned[recipient] += tTransferAmount (#1047)
- _tOwned[burnAddress] += tBurn (#919)
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.
SatoShiba._takeLiquidity(uint256) (#905-923) performs a multiplication on the result of a division:
-tBurn = (tLiquidity * totalFeesToBurn) / _liquidityFee (#908)
-rBurn = tBurn * currentRate (#909)
Consider ordering multiplication before division.
Additional information: link
SatoShiba.addLiquidity(address,address,uint256,uint256) (#1119-1133) ignores return value by markets[pair].addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner,block.timestamp + 360) (#1125-1132)
Ensure that all the return values of the function calls are used.
Additional information: link
SatoShiba.addLiquidity(address,address,uint256,uint256).owner (#1121) shadows:
- Ownable.owner() (#50-52) (function)
Rename the local variables that shadow another component.
Additional information: link
SatoShiba.updateGnosisGas(uint256) (#1067-1069) should emit an event for:
- gnosisGas = _amount (#1068)
Emit an event for critical parameter changes.
Additional information: link
SatoShiba.setLiquidityWallet(address)._newAddress (#767) lacks a zero-check on :
- liquidityWallet = _newAddress (#768)
Check that the address is not zero.
Additional information: link
Reentrancy in SatoShiba.transferFrom(address,address,uint256) (#684-696):
External calls:
- _transfer(sender,recipient,amount) (#689)
- markets[pair].addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner,block.timestamp + 360) (#1125-1132)
- markets[pair].swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1110-1116)
- (sent,data) = marketingWallet.call{gas: gnosisGas,value: bnbToBeAddedToMarketing}() (#1095)
- antisnipe.onPreTransferCheck(from,to,amount) (#1013)
External calls sending eth:
- _transfer(sender,recipient,amount) (#689)
- markets[pair].addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner,block.timestamp + 360) (#1125-1132)
- (sent,data) = marketingWallet.call{gas: gnosisGas,value: bnbToBeAddedToMarketing}() (#1095)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#690-694)
- _allowances[_owner][spender] = amount (#973)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in SatoShiba.transferFrom(address,address,uint256) (#684-696):
External calls:
- _transfer(sender,recipient,amount) (#689)
- markets[pair].addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner,block.timestamp + 360) (#1125-1132)
- markets[pair].swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1110-1116)
- (sent,data) = marketingWallet.call{gas: gnosisGas,value: bnbToBeAddedToMarketing}() (#1095)
- antisnipe.onPreTransferCheck(from,to,amount) (#1013)
External calls sending eth:
- _transfer(sender,recipient,amount) (#689)
- markets[pair].addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner,block.timestamp + 360) (#1125-1132)
- (sent,data) = marketingWallet.call{gas: gnosisGas,value: bnbToBeAddedToMarketing}() (#1095)
Event emitted after the call(s):
- Approval(_owner,spender,amount) (#974)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#690-694)
Apply the check-effects-interactions pattern.
Additional information: link
Address.verifyCallResult(bool,bytes,string) (#324-344) uses assembly
- INLINE ASM (#336-339)
Do not use evm assembly.
Additional information: link
Context._msgData() (#18-20) is never used and should be removed
Remove unused functions.
Additional information: link
SatoShiba.minTokenNumberToSell (#535) is set pre-construction with a non-constant function or state variable:
- _tTotal / 1000
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
solc-0.8.8 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
Low level call in SatoShiba.swapAndLiquify(address) (#1071-1100):
- (sent,data) = marketingWallet.call{gas: gnosisGas,value: bnbToBeAddedToMarketing}() (#1095)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable SatoShiba._liquidityFee (#532) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable SatoShiba._getValues(uint256,bool).rTransferAmount (#831) is too similar to SatoShiba._transferStandard(address,address,uint256).tTransferAmount (#1039)
Prevent variables from having similar names.
Additional information: link
SatoShiba.slitherConstructorVariables() (#492-1150) uses literals with too many digits:
- burnAddress = 0x000000000000000000000000000000000000dEaD (#517)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SatoShiba.protectedFrom (#540) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
isWhitelisted(address) should be declared external:
- SatoShiba.isWhitelisted(address) (#956-958)
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.
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
Telegram account link seems to be invalid
Twitter account link seems to be invalid
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account