BabyShark Token Logo

SHARK [BabyShark] Token

About SHARK

Listings

Token 13 months
CoinMarketCap 13 months
white paper

BabyShark is a token designed to help clean the ocean by using decentralized fundraising. With it's unique tokenomics, BabyShark aims to be the first charity token with zero selling pressure from donations.

Social

Laser Scorebeta Last Audit: 30 November 2021

report
Token is either risky or in presale. For presale 30+ is a fine score.

Anti-Scam

Links


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

BabyShark.collectCharity() (#1077-1082) sends eth to arbitrary user
Dangerous calls:
- charity().transfer(address(this).balance) (#1081)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in BabyShark._transfer(address,address,uint256) (#1029-1075):
External calls:
- swapAndLiquify(contractTokenBalance) (#1062)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,lockedLiquidity(),block.timestamp) (#1147-1154)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1133-1139)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1062)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,lockedLiquidity(),block.timestamp) (#1147-1154)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1074)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#973)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1183)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1192)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1203)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1184)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#903)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1194)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1204)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#905)
- _tokenTransfer(from,to,amount,takeFee) (#1074)
- _rTotal = _rTotal.sub(rFee) (#928)
- _tokenTransfer(from,to,amount,takeFee) (#1074)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#975)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#902)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1202)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1193)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#904)
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.

BabyShark.addLiquidity(uint256,uint256) (#1142-1155) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,lockedLiquidity(),block.timestamp) (#1147-1154)
Ensure that all the return values of the function calls are used.

Additional information: link

BabyShark._approve(address,address,uint256).owner (#1021) shadows:
- Ownable.owner() (#423-425) (function)
Rename the local variables that shadow another component.

Additional information: link

Ownable.setCharityAddress(address) (#468-472) should emit an event for:
- _charity = charityAddress (#471)
Emit an event for critical parameter changes.

Additional information: link

Ownable.setLockedLiquidityAddress(address).liquidityAddress (#474) lacks a zero-check on :
- _lockedLiquidity = liquidityAddress (#477)
Check that the address is not zero.

Additional information: link

Reentrancy in BabyShark.transferFrom(address,address,uint256) (#808-812):
External calls:
- _transfer(sender,recipient,amount) (#809)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,lockedLiquidity(),block.timestamp) (#1147-1154)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1133-1139)
External calls sending eth:
- _transfer(sender,recipient,amount) (#809)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,lockedLiquidity(),block.timestamp) (#1147-1154)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#810)
- _allowances[owner][spender] = amount (#1025)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in BabyShark.transferFrom(address,address,uint256) (#808-812):
External calls:
- _transfer(sender,recipient,amount) (#809)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,lockedLiquidity(),block.timestamp) (#1147-1154)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1133-1139)
External calls sending eth:
- _transfer(sender,recipient,amount) (#809)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,lockedLiquidity(),block.timestamp) (#1147-1154)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1026)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#810)
Apply the check-effects-interactions pattern.

Additional information: link

Address._functionCallWithValue(address,bytes,uint256,string) (#367-388) uses assembly
- INLINE ASM (#380-383)
Do not use evm assembly.

Additional information: link

SafeMath.mod(uint256,uint256,string) (#235-238) is never used and should be removed
Remove unused functions.

Additional information: link

BabyShark._previousLiquidityFee (#724) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
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) (#367-388):
- (success,returndata) = target.call{value: weiValue}(data) (#371)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Variable BabyShark._maxTxAmount (#734) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#247)" inContext (#241-250)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Variable BabyShark._getValues(uint256).rTransferAmount (#934) is too similar to BabyShark._getValues(uint256).tTransferAmount (#933)
Prevent variables from having similar names.

Additional information: link

BabyShark.slitherConstructorVariables() (#696-1210) uses literals with too many digits:
- numTokensSellToAddToLiquidity = 500000 * 10 ** 6 * 10 ** 9 (#735)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

Ownable._burnAddress (#406) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

collectCharity() should be declared external:
- BabyShark.collectCharity() (#1077-1082)
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.


Token is deployed only at one blockchain


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.


Twitter account link seems to be invalid


Unable to find Youtube account


Unable to crawl data from the website


BscScan page for the token does not contain additional info: website, socials, description, etc.

Additional information: link


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 token on CoinHunt

Additional information: link


Unable to find code repository for the project


Token has a considerable age, but we're still unable to find its website


Young tokens have high risks of scam / price dump / death


Token has a considerable age, but social accounts / website are missing or have few users


Token has a considerable age, but average PancakeSwap 30d trading volume is low


Young tokens have high risks of price dump / death


Token has relatively low CoinGecko rank


Token has relatively low CoinMarketCap rank

Price for SHARK