ShBabe Token Logo

SBabe [ShBabe] Token

About SBabe

Listings

Not Found
Token 10 months

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 30 November 2021

report
Token seems to be anonymous. As long as we are unable to find website score is limited.


Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)

ShibaBabe.swapBack() (#606-652) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#635)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#636)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in ShibaBabe._transferFrom(address,address,uint256) (#490-538):
External calls:
- swapBack() (#517)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#617-623)
- distributor.deposit{value: amountBNBReflection}() (#634)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#635)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#636)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#642-649)
External calls sending eth:
- swapBack() (#517)
- distributor.deposit{value: amountBNBReflection}() (#634)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#635)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#636)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#642-649)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#520)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#523)
- amountReceived = takeFee(sender,amount,(recipient == pair)) (#522)
- _balances[address(this)] = _balances[address(this)].add(contractTokens) (#563)
- _balances[burnFeeReceiver] = _balances[burnFeeReceiver].add(burnTokens) (#564)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.distributeDividend(address) (#312-323) ignores return value by RWRD.transfer(shareholder,amount) (#318)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

Additional information: link


Too many vulnerabilities (Unchecked transfer, Reentrancy vulnerability, etc.). High risk of a scam. DYOR & manual audit are advised.

ShibaBabe.swapBack().tmpSuccess (#635) is written in both
(tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#636)
tmpSuccess = false (#639)
Fix or remove the writes.

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.

ShibaBabe.takeFee(address,uint256,bool) (#555-572) performs a multiplication on the result of a division:
-feeAmount = amount.mul(totalFee).mul(multiplier).div(feeDenominator * 100) (#558)
-burnTokens = feeAmount.mul(burnFee).div(totalFee) (#560)
Consider ordering multiplication before division.

Additional information: link

Reentrancy in DividendDistributor.setShare(address,uint256) (#245-259):
External calls:
- distributeDividend(shareholder) (#247)
- RWRD.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

ShibaBabe.manage_blacklist(address[],bool).i (#670) is a local variable never initialized
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.

Additional information: link

ShibaBabe.swapBack() (#606-652) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#642-649)
Ensure that all the return values of the function calls are used.

Additional information: link

ShibaBabe.setTargetLiquidity(uint256,uint256) (#711-714) should emit an event for:
- targetLiquidity = _target (#712)
- targetLiquidityDenominator = _denominator (#713)
Emit an event for critical parameter changes.

Additional information: link

ShibaBabe.setFeeReceivers(address,address,address,address)._burnFeeReceiver (#699) lacks a zero-check on :
- burnFeeReceiver = _burnFeeReceiver (#703)
Check that the address is not zero.

Additional information: link

ShibaBabe.multiTransfer_fixed(address,address[],uint256) (#766-785) has external calls inside a loop: distributor.setShare(addresses[i],_balances[addresses[i]]) (#777)
Favor pull over push strategy for external calls.

Additional information: link

Reentrancy in DividendDistributor.setShare(address,uint256) (#245-259):
External calls:
- distributeDividend(shareholder) (#247)
- RWRD.transfer(shareholder,amount) (#318)
State variables written after the call(s):
- addShareholder(shareholder) (#251)
- shareholderIndexes[shareholder] = shareholders.length (#345)
- removeShareholder(shareholder) (#253)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#351)
- addShareholder(shareholder) (#251)
- shareholders.push(shareholder) (#346)
- removeShareholder(shareholder) (#253)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#350)
- shareholders.pop() (#352)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#256)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in ShibaBabe.swapBack() (#606-652):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#617-623)
- distributor.deposit{value: amountBNBReflection}() (#634)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#635)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#636)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#642-649)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#634)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#635)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#636)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#642-649)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#650)
Apply the check-effects-interactions pattern.

Additional information: link

ShibaBabe._transferFrom(address,address,uint256) (#490-538) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(cooldownTimer[recipient] < block.timestamp,Please wait for 1min between two buys) (#510)
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

ShibaBabe.swapThreshold (#415) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 10 / 10000
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

Pragma version^0.7.4 (#32) allows old versions
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 ShibaBabe.swapBack() (#606-652):
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#635)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#636)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Variable ShibaBabe._allowances (#373) 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

ShibaBabe.slitherConstructorVariables() (#356-789) uses literals with too many digits:
- distributorGas = 500000 (#408)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

ShibaBabe._totalSupply (#367) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

manage_blacklist(address[],bool) should be declared external:
- ShibaBabe.manage_blacklist(address[],bool) (#669-673)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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 Telegram and Twitter accounts


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

Price for SBabe