BabyFloki Token Logo

BABYFLOKI Token

ALERT: rug pull scam

About BABYFLOKI

Listings

Not Found
Token 3 years

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 6 December 2021

report
Token seems to be a scam (type: rug pull scam).


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

BabyFloki.addLiquidity(uint256,uint256) (#1133-1143) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1135-1142)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in BabyFloki._transfer(address,address,uint256) (#991-1081):
External calls:
- swapBack() (#1044)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1135-1142)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1124-1130)
- (success) = address(teamAddress).call{value: bnbForTeam}() (#1107)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1108)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1115)
External calls sending eth:
- swapBack() (#1044)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1135-1142)
- (success) = address(teamAddress).call{value: bnbForTeam}() (#1107)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1108)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1115)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1079)
- _liquidityTokensToSwap += tLiquidity * _buyLiquidityFee / _liquidityFee (#1346)
- _liquidityTokensToSwap += tLiquidity * _sellLiquidityFee / _liquidityFee (#1350)
- _tokenTransfer(from,to,amount,takeFee) (#1079)
- _marketingTokensToSwap += tLiquidity * _buyMarketingFee / _liquidityFee (#1348)
- _marketingTokensToSwap += tLiquidity * _sellMarketingFee / _liquidityFee (#1352)
- _tokenTransfer(from,to,amount,takeFee) (#1079)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1199)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1179)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1242)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1180)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1221)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1222)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1201)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1244)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1356)
- _tokenTransfer(from,to,amount,takeFee) (#1079)
- _rTotal = _rTotal.sub(rFee) (#1251)
- _tokenTransfer(from,to,amount,takeFee) (#1079)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1220)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1241)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1200)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1243)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1358)
- _tokenTransfer(from,to,amount,takeFee) (#1079)
- _teamTokensToSwap += tLiquidity * _buyTeamFee / _liquidityFee (#1347)
- _teamTokensToSwap += tLiquidity * _sellTeamFee / _liquidityFee (#1351)
Apply the check-effects-interactions pattern.

Additional information: link

Ownable._lockTime (#209) is never initialized. It is used in:
- Ownable.getUnlockTime() (#245-247)
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

BabyFloki._transfer(address,address,uint256) (#991-1081) uses a dangerous strict equality:
- from != owner() && to != uniswapV2Pair && block.number == tradingActiveBlock (#1013)
Don't use strict equality to determine if an account has enough Ether or tokens.

Additional information: link

BabyFloki.swapBack().success (#1107) is written in both
(success) = address(teamAddress).call{value: bnbForTeam}() (#1107)
(success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1108)
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.

Reentrancy in BabyFloki.swapBack() (#1083-1117):
External calls:
- swapTokensForBNB(amountToSwapForBNB) (#1094)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1124-1130)
State variables written after the call(s):
- _liquidityTokensToSwap = 0 (#1103)
- _marketingTokensToSwap = 0 (#1104)
- _teamTokensToSwap = 0 (#1105)
Apply the check-effects-interactions pattern.

Additional information: link

BabyFloki.addLiquidity(uint256,uint256) (#1133-1143) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1135-1142)
Ensure that all the return values of the function calls are used.

Additional information: link

BabyFloki._approve(address,address,uint256).owner (#980) shadows:
- Ownable.owner() (#222-224) (function)
Rename the local variables that shadow another component.

Additional information: link

BabyFloki.setGasPriceLimit(uint256) (#907-910) should emit an event for:
- gasPriceLimit = gas * 1000000000 (#909)
Emit an event for critical parameter changes.

Additional information: link

Reentrancy in BabyFloki.transferFrom(address,address,uint256) (#810-825):
External calls:
- _transfer(sender,recipient,amount) (#815)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1135-1142)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1124-1130)
- (success) = address(teamAddress).call{value: bnbForTeam}() (#1107)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1108)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1115)
External calls sending eth:
- _transfer(sender,recipient,amount) (#815)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1135-1142)
- (success) = address(teamAddress).call{value: bnbForTeam}() (#1107)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1108)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1115)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#816-823)
- _allowances[owner][spender] = amount (#987)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in BabyFloki.transferFrom(address,address,uint256) (#810-825):
External calls:
- _transfer(sender,recipient,amount) (#815)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1135-1142)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1124-1130)
- (success) = address(teamAddress).call{value: bnbForTeam}() (#1107)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1108)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1115)
External calls sending eth:
- _transfer(sender,recipient,amount) (#815)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1135-1142)
- (success) = address(teamAddress).call{value: bnbForTeam}() (#1107)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1108)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1115)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#988)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#816-823)
Apply the check-effects-interactions pattern.

Additional information: link

BabyFloki._transfer(address,address,uint256) (#991-1081) uses timestamp for comparisons
Dangerous comparisons:
- boughtEarly[from] && earlyBuyPenaltyEnd <= block.number (#1068)
Avoid relying on block.timestamp.

Additional information: link

Address._functionCallWithValue(address,bytes,uint256,string) (#180-203) uses assembly
- INLINE ASM (#195-198)
Do not use evm assembly.

Additional information: link

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

Additional information: link

BabyFloki._previousLiquidityFee (#645) 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 BabyFloki.swapBack() (#1083-1117):
- (success) = address(teamAddress).call{value: bnbForTeam}() (#1107)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1108)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1115)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Variable BabyFloki._isExcludedMaxTransactionAmount (#670) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#11)" inContext (#5-14)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Variable BabyFloki._transferFromExcluded(address,address,uint256).rTransferAmount (#1214) is too similar to BabyFloki._transferStandard(address,address,uint256).tTransferAmount (#1175)
Prevent variables from having similar names.

Additional information: link

BabyFloki.slitherConstructorVariables() (#598-1507) uses literals with too many digits:
- gasMaxLimit = 50000000 (#667)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

Ownable._previousOwner (#208) is never used in BabyFloki (#598-1507)
Remove unused state variables.

Additional information: link

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

Additional information: link

setSwapAndLiquifyEnabled(bool) should be declared external:
- BabyFloki.setSwapAndLiquifyEnabled(bool) (#1452-1455)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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 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 BABYFLOKI