SafeBabyDoge Token Logo

SafeBabyDoge Token

About SafeBabyDoge

Listings

Not Found
Token 18 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...)

SafeBabyDoge.addLiquidity(uint256,uint256) (#1074-1087) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1079-1086)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in SafeBabyDoge._transfer(address,address,uint256) (#987-1031):
External calls:
- swapAndLiquify(contractTokenBalance) (#1018)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1079-1086)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1065-1071)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1018)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1079-1086)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1030)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#943)
- _rOwned[poolAddr] = _rOwned[poolAddr].add(rPool) (#952)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1182)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1192)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1204)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1183)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1171)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1205)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1194)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1173)
- _tokenTransfer(from,to,amount,takeFee) (#1030)
- _rTotal = _rTotal.sub(rFee) (#936)
- _tokenTransfer(from,to,amount,takeFee) (#1030)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#945)
- _tOwned[poolAddr] = _tOwned[poolAddr].add(tPool) (#954)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1203)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1170)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1193)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1172)
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.


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.

SafeBabyDoge.addLiquidity(uint256,uint256) (#1074-1087) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1079-1086)
Ensure that all the return values of the function calls are used.

Additional information: link

SafeBabyDoge._approve(address,address,uint256).owner (#979) shadows:
- Ownable.owner() (#349-351) (function)
Rename the local variables that shadow another component.

Additional information: link

SafeBabyDoge.setNumTokensSellToAddToLiquidity(uint256) (#1251-1253) should emit an event for:
- numTokensSellToAddToLiquidity = _amount (#1252)
Emit an event for critical parameter changes.

Additional information: link

SafeBabyDoge.constructor(address,address)._poolAddr (#808) lacks a zero-check on :
- poolAddr = _poolAddr (#809)
Check that the address is not zero.

Additional information: link

Reentrancy in SafeBabyDoge.transferFrom(address,address,uint256) (#864-868):
External calls:
- _transfer(sender,recipient,amount) (#865)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1079-1086)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1065-1071)
External calls sending eth:
- _transfer(sender,recipient,amount) (#865)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1079-1086)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#866)
- _allowances[owner][spender] = amount (#983)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in SafeBabyDoge.transferFrom(address,address,uint256) (#864-868):
External calls:
- _transfer(sender,recipient,amount) (#865)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1079-1086)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1065-1071)
External calls sending eth:
- _transfer(sender,recipient,amount) (#865)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1079-1086)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#984)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#866)
Apply the check-effects-interactions pattern.

Additional information: link

Address._verifyCallResult(bool,bytes,string) (#555-572) uses assembly
- INLINE ASM (#564-567)
Do not use evm assembly.

Additional information: link

SafeMath.trySub(uint256,uint256) (#108-111) is never used and should be removed
Remove unused functions.

Additional information: link

SafeBabyDoge._previousPoolFee (#783) is set pre-construction with a non-constant function or state variable:
- _poolFee
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.functionDelegateCall(address,bytes,string) (#547-553):
- (success,returndata) = target.delegatecall(data) (#551)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Variable SafeBabyDoge._maxTxAmount (#791) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#310)" inContext (#304-313)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Variable SafeBabyDoge._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (#1126) is too similar to SafeBabyDoge._transferStandard(address,address,uint256).tTransferAmount (#1181)
Prevent variables from having similar names.

Additional information: link

SafeBabyDoge.slitherConstructorVariables() (#750-1261) uses literals with too many digits:
- numTokensSellToAddToLiquidity = 210000000 * 10 ** 6 * 10 ** 9 (#792)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

SafeBabyDoge._tTotal (#764) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

setPoolAddr(address) should be declared external:
- SafeBabyDoge.setPoolAddr(address) (#1255-1259)
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


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


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


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank


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

Price for SafeBabyDoge