Mommy Shiba wants to feed everyone with $SHIB rewards every 60 minutes! Mommy Shiba has been taking care of SHIBA since
his early days and just wanted to let the world know she exists. Mommy Shiba is cared by dedicated SHIB holders wanting to give back
appreciation. Her baby is doing really well right now with the help of everyone. Now Mommy Shiba is getting old and she needs people
to take care of her too.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
MommyShiba.swapBack() (#539-578) sends eth to arbitrary user
Dangerous calls:
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#564)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in MommyShiba._transferFrom(address,address,uint256) (#472-494):
External calls:
- swapBack() (#477)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#550-556)
- distributor.deposit{value: amountBNBReflection}() (#563)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#564)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#568-575)
- triggerAutoBuyback() (#478)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#616-621)
External calls sending eth:
- swapBack() (#477)
- distributor.deposit{value: amountBNBReflection}() (#563)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#564)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#568-575)
- triggerAutoBuyback() (#478)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#616-621)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#482)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#485)
- amountReceived = takeFee(sender,recipient,amount) (#484)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#526)
- triggerAutoBuyback() (#478)
- inSwap = true (#417)
- inSwap = false (#417)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.distributeDividend(address) (#312-323) ignores return value by BETH.transfer(shareholder,amount) (#318)
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.
Reentrancy in DividendDistributor.setShare(address,uint256) (#245-259):
External calls:
- distributeDividend(shareholder) (#247)
- BETH.transfer(shareholder,amount) (#318)
State variables written after the call(s):
- shares[shareholder].amount = amount (#257)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#258)
Apply the check-effects-interactions pattern.
Additional information: link
MommyShiba.swapBack() (#539-578) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#568-575)
Ensure that all the return values of the function calls are used.
Additional information: link
MommyShiba.setTargetLiquidity(uint256,uint256) (#691-694) should emit an event for:
- targetLiquidity = _target (#692)
- targetLiquidityDenominator = _denominator (#693)
Emit an event for critical parameter changes.
Additional information: link
MommyShiba.setFeeReceivers(address,address)._marketingFeeReceiver (#681) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#683)
Check that the address is not zero.
Additional information: link
Reentrancy in MommyShiba.triggerManualBuyback(uint256,bool) (#588-594):
External calls:
- buyTokens(amount,DEAD) (#589)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#616-621)
State variables written after the call(s):
- buybackMultiplierTriggeredAt = block.timestamp (#591)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in MommyShiba.triggerManualBuyback(uint256,bool) (#588-594):
External calls:
- buyTokens(amount,DEAD) (#589)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#616-621)
Event emitted after the call(s):
- BuybackMultiplierActive(buybackMultiplierLength) (#592)
Apply the check-effects-interactions pattern.
Additional information: link
MommyShiba.isOverLiquified(uint256,uint256) (#726-728) uses timestamp for comparisons
Dangerous comparisons:
- getLiquidityBacking(accuracy) > target (#727)
Avoid relying on block.timestamp.
Additional information: link
DividendDistributor.process(uint256) (#281-305) has costly operations inside a loop:
- currentIndex ++ (#302)
Use a local variable to hold the loop computation result.
Additional information: link
MommyShiba.swapThreshold (#415) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 200
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.5 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 MommyShiba.swapBack() (#539-578):
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#564)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable MommyShiba._allowances (#374) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#142) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#143)
Prevent variables from having similar names.
Additional information: link
MommyShiba.slitherConstructorVariables() (#356-733) uses literals with too many digits:
- distributorGas = 500000 (#412)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
MommyShiba.BETH (#359) is never used in MommyShiba (#356-733)
Remove unused state variables.
Additional information: link
MommyShiba._totalSupply (#368) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
getUnpaidEarnings(address) should be declared external:
- MommyShiba.getUnpaidEarnings(address) (#709-711)
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
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