Shiba water is a BEP-20 token on the Binance Smart Chain. The team at Shiba Water believes that water is an essential thing and all humans are entitled to water, this surely must be basic human rights. Therefore, the team has designed Shiba Water to give out BUSD rewards and allocated % of the transaction fee to a Charity Wallet which we hope to contribute to the fight for access to water resources for everyone and anyone.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
ShibaWater.swapBack() (#553-617) sends eth to arbitrary user
Dangerous calls:
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#609)
- (success,None) = address(charityFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#612)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in ShibaWater._transferFrom(address,address,uint256) (#480-507):
External calls:
- swapBack() (#488)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToLiquify,0,path,address(this),block.timestamp) (#564-570)
- router.addLiquidityETH{value: amountBNB}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#574-581)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path_scope_0,address(this),block.timestamp) (#593-599)
- distributor.deposit{value: amountBNBReflection}() (#607)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#609)
- (success,None) = address(charityFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#612)
- triggerAutoBuyback() (#489)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#652-657)
External calls sending eth:
- swapBack() (#488)
- router.addLiquidityETH{value: amountBNB}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#574-581)
- distributor.deposit{value: amountBNBReflection}() (#607)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#609)
- (success,None) = address(charityFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#612)
- triggerAutoBuyback() (#489)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#652-657)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#493)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#496)
- amountReceived = takeFee(sender,recipient,amount) (#495)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#536)
- triggerAutoBuyback() (#489)
- inSwap = true (#424)
- inSwap = false (#424)
- launch() (#491)
- launchedAt = block.number (#675)
- amountReceived = takeFee(sender,recipient,amount) (#495)
- liquidityFeeAccumulator = liquidityFeeAccumulator.add(feeAmount.mul(liquidityFee).div(totalFee.add(liquidityFee))) (#540)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.distributeDividend(address) (#306-319) ignores return value by BUSD.transfer(shareholder,amount) (#312)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
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.
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.
Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
balanceOf(address) should be declared external:
- ShibaWater.balanceOf(address) (#455)
Use the external attribute for functions never called from the contract.
Additional information: link
Contract ticker ($SWATER) 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.
ShibaWater.takeFee(address,address,uint256) (#533-544) performs a multiplication on the result of a division:
-feeAmount = amount.mul(getTotalFee(receiver == pair)).div(feeDenominator) (#534)
-liquidityFeeAccumulator = liquidityFeeAccumulator.add(feeAmount.mul(liquidityFee).div(totalFee.add(liquidityFee))) (#540)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in DividendDistributor.setShare(address,uint256) (#233-247):
External calls:
- distributeDividend(shareholder) (#234)
- BUSD.transfer(shareholder,amount) (#312)
State variables written after the call(s):
- shares[shareholder].amount = amount (#243)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#244)
Apply the check-effects-interactions pattern.
Additional information: link
ShibaWater.swapBack() (#553-617) ignores return value by router.addLiquidityETH{value: amountBNB}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#574-581)
Ensure that all the return values of the function calls are used.
Additional information: link
ShibaWater.setFeeReceivers(address,address,address)._charityFeeReceiver (#742) lacks a zero-check on :
- charityFeeReceiver = _charityFeeReceiver (#745)
Check that the address is not zero.
Additional information: link
Reentrancy in ShibaWater.triggerAutoBuyback() (#640-645):
External calls:
- buyTokens(autoBuybackAmount,DEAD) (#641)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#652-657)
State variables written after the call(s):
- autoBuybackAccumulator = autoBuybackAccumulator.add(autoBuybackAmount) (#643)
- autoBuybackBlockLast = block.number (#642)
- autoBuybackEnabled = false (#644)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in ShibaWater.swapBack() (#553-617):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path_scope_0,address(this),block.timestamp) (#593-599)
- distributor.deposit{value: amountBNBReflection}() (#607)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#609)
- (success,None) = address(charityFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#612)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#607)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#609)
- (success,None) = address(charityFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#612)
Event emitted after the call(s):
- SwapBack(amountToSwap,amountBNB_scope_2) (#615)
Apply the check-effects-interactions pattern.
Additional information: link
ShibaWater.setWalletBanStatus(address,bool) (#701-709) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(1626631691 + 315360000 > block.timestamp,User was put in a cage.) (#703)
Avoid relying on block.timestamp.
Additional information: link
ShibaWater._transferFrom(address,address,uint256) (#480-507) compares to a boolean constant:
-require(bool,string)(bannedUsers[recipient] == false,Recipient is banned) (#482)
Remove the equality to the boolean constant.
Additional information: link
DividendDistributor.process(uint256) (#271-299) has costly operations inside a loop:
- currentIndex ++ (#294)
Use a local variable to hold the loop computation result.
Additional information: link
ShibaWater.swapThreshold (#421) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 4000
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.7.4 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 ShibaWater.swapBack() (#553-617):
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#609)
- (success,None) = address(charityFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#612)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable ShibaWater._allowances (#377) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable ShibaWater.setFees(bool,uint256,uint256,uint256,uint256,uint256,uint256)._marketingFee (#721) is too similar to ShibaWater.marketingFees (#401)
Prevent variables from having similar names.
Additional information: link
ShibaWater.slitherConstructorVariables() (#362-829) uses literals with too many digits:
- distributorGas = 500000 (#418)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
ShibaWater.BUSD (#365) is never used in ShibaWater (#362-829)
Remove unused state variables.
Additional information: link
ShibaWater._totalSupply (#373) should be constant
Add the constant attributes to state variables that never change.
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.
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinMarketCap
Unable to find token contract audit
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find Telegram link on the website
Unable to find Twitter link on the website
Unable to find code repository for the project
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Twitter account link seems to be invalid
Telegram account has relatively few subscribers
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account