Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
BabySharkGirl.addLiquidity(uint256,uint256) (#1138-1148) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1140-1147)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in BabySharkGirl._transfer(address,address,uint256) (#996-1086):
External calls:
- swapBack() (#1049)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1140-1147)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1129-1135)
- (success) = address(teamAddress).call{value: bnbForTeam}() (#1112)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1113)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1120)
External calls sending eth:
- swapBack() (#1049)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1140-1147)
- (success) = address(teamAddress).call{value: bnbForTeam}() (#1112)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1113)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1120)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1084)
- _liquidityTokensToSwap += tLiquidity * _buyLiquidityFee / _liquidityFee (#1351)
- _liquidityTokensToSwap += tLiquidity * _sellLiquidityFee / _liquidityFee (#1355)
- _tokenTransfer(from,to,amount,takeFee) (#1084)
- _marketingTokensToSwap += tLiquidity * _buyMarketingFee / _liquidityFee (#1353)
- _marketingTokensToSwap += tLiquidity * _sellMarketingFee / _liquidityFee (#1357)
- _tokenTransfer(from,to,amount,takeFee) (#1084)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1184)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1204)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1185)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1226)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1247)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1206)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1227)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1249)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1361)
- _tokenTransfer(from,to,amount,takeFee) (#1084)
- _rTotal = _rTotal.sub(rFee) (#1256)
- _tokenTransfer(from,to,amount,takeFee) (#1084)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1225)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1246)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1205)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1248)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1363)
- _tokenTransfer(from,to,amount,takeFee) (#1084)
- _teamTokensToSwap += tLiquidity * _buyTeamFee / _liquidityFee (#1352)
- _teamTokensToSwap += tLiquidity * _sellTeamFee / _liquidityFee (#1356)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable._lockTime (#218) is never initialized. It is used in:
- Ownable.getUnlockTime() (#254-256)
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
BabySharkGirl._transfer(address,address,uint256) (#996-1086) uses a dangerous strict equality:
- from != owner() && to != uniswapV2Pair && block.number == tradingActiveBlock (#1018)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
BabySharkGirl.swapBack().success (#1112) is written in both
(success) = address(teamAddress).call{value: bnbForTeam}() (#1112)
(success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1113)
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.
Not a direct threat, but may indicate unreliable intentions of developer. Widespread names (e.g. Elon, King, Moon, Doge) are common among meme-tokens and scams. The allow to gain free hype and attract unexperienced investors.
Not a direct threat, but may indicate unreliable intentions of developer. Both name and ticker of current token are widespread, i.e. common across multiple tokens. This is slightly suspicious
Redundant expression "this (#20)" inContext (#14-23)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in BabySharkGirl.swapBack() (#1088-1122):
External calls:
- swapTokensForBNB(amountToSwapForBNB) (#1099)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1129-1135)
State variables written after the call(s):
- _liquidityTokensToSwap = 0 (#1108)
- _marketingTokensToSwap = 0 (#1109)
- _teamTokensToSwap = 0 (#1110)
Apply the check-effects-interactions pattern.
Additional information: link
BabySharkGirl.addLiquidity(uint256,uint256) (#1138-1148) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1140-1147)
Ensure that all the return values of the function calls are used.
Additional information: link
BabySharkGirl._approve(address,address,uint256).owner (#985) shadows:
- Ownable.owner() (#231-233) (function)
Rename the local variables that shadow another component.
Additional information: link
BabySharkGirl.setGasPriceLimit(uint256) (#912-915) should emit an event for:
- gasPriceLimit = gas * 1000000000 (#914)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in BabySharkGirl.transferFrom(address,address,uint256) (#819-834):
External calls:
- _transfer(sender,recipient,amount) (#824)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1140-1147)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1129-1135)
- (success) = address(teamAddress).call{value: bnbForTeam}() (#1112)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1113)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1120)
External calls sending eth:
- _transfer(sender,recipient,amount) (#824)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1140-1147)
- (success) = address(teamAddress).call{value: bnbForTeam}() (#1112)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1113)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1120)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#825-832)
- _allowances[owner][spender] = amount (#992)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in BabySharkGirl.transferFrom(address,address,uint256) (#819-834):
External calls:
- _transfer(sender,recipient,amount) (#824)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1140-1147)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1129-1135)
- (success) = address(teamAddress).call{value: bnbForTeam}() (#1112)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1113)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1120)
External calls sending eth:
- _transfer(sender,recipient,amount) (#824)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1140-1147)
- (success) = address(teamAddress).call{value: bnbForTeam}() (#1112)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1113)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1120)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#993)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#825-832)
Apply the check-effects-interactions pattern.
Additional information: link
BabySharkGirl._transfer(address,address,uint256) (#996-1086) uses timestamp for comparisons
Dangerous comparisons:
- boughtEarly[from] && earlyBuyPenaltyEnd <= block.number (#1073)
Avoid relying on block.timestamp.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#189-212) uses assembly
- INLINE ASM (#204-207)
Do not use evm assembly.
Additional information: link
SafeMath.mod(uint256,uint256,string) (#109-116) is never used and should be removed
Remove unused functions.
Additional information: link
BabySharkGirl._previousLiquidityFee (#654) 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
solc-0.8.9 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 BabySharkGirl.swapBack() (#1088-1122):
- (success) = address(teamAddress).call{value: bnbForTeam}() (#1112)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1113)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1120)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable BabySharkGirl._isExcludedMaxTransactionAmount (#679) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable BabySharkGirl.reflectionFromToken(uint256,bool).rTransferAmount (#939) is too similar to BabySharkGirl._transferStandard(address,address,uint256).tTransferAmount (#1180)
Prevent variables from having similar names.
Additional information: link
BabySharkGirl.slitherConstructorVariables() (#607-1509) uses literals with too many digits:
- gasMaxLimit = 50000000 (#676)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Ownable._previousOwner (#217) is never used in BabySharkGirl (#607-1509)
Remove unused state variables.
Additional information: link
Ownable._previousOwner (#217) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
setSwapAndLiquifyEnabled(bool) should be declared external:
- BabySharkGirl.setSwapAndLiquifyEnabled(bool) (#1458-1461)
Use the external attribute for functions never called from the contract.
Additional information: link
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
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
Unable to find Telegram and Twitter accounts