SAFE Sniper Token Token Logo

SST [SAFE Sniper] Token

About SST

Listings

Not Found
Token 2 years

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 10 February 2022

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...)

Reentrancy in SafeSniperToken._transfer(address,address,uint256) (#604-654):
External calls:
- collectFees() (#634)
- IERC20(marketingWalletToken).transfer(marketingAddress,IERC20(marketingWalletToken).balanceOf(address(this))) (#689)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_deployer,block.timestamp) (#731-738)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#700-706)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#718-724)
External calls sending eth:
- collectFees() (#634)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_deployer,block.timestamp) (#731-738)
State variables written after the call(s):
- transferToken(from,address(this),feesToContract) (#648)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#745)
- _balances[recipient] = _balances[recipient].add(amount) (#746)
- transferToken(from,deadAddress,toBurnAmount) (#649)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#745)
- _balances[recipient] = _balances[recipient].add(amount) (#746)
- transferToken(from,to,amount) (#653)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#745)
- _balances[recipient] = _balances[recipient].add(amount) (#746)
Apply the check-effects-interactions pattern.

Additional information: link

SafeSniperToken.swapAndSendToFee(uint256) (#684-690) ignores return value by IERC20(marketingWalletToken).transfer(marketingAddress,IERC20(marketingWalletToken).balanceOf(address(this))) (#689)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

Additional information: link


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.

SafeSniperToken.addLiquidity(uint256,uint256) (#727-739) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_deployer,block.timestamp) (#731-738)
Ensure that all the return values of the function calls are used.

Additional information: link

SafeSniperToken.allowance(address,address).owner (#495) shadows:
- Ownable.owner() (#164-166) (function)
SafeSniperToken._approve(address,address,uint256).owner (#520) shadows:
- Ownable.owner() (#164-166) (function)
Rename the local variables that shadow another component.

Additional information: link

SafeSniperToken.setLiquifyThreshhold(uint256) (#554-556) should emit an event for:
- _liquifyThreshhold = newLiquifyThreshhold (#555)
SafeSniperToken.setMaxBal(uint256) (#562-566) should emit an event for:
- _maxBalance = newMaxBalance (#565)
Emit an event for critical parameter changes.

Additional information: link

SafeSniperToken.constructor(address,uint8,uint8,uint8).m (#439) lacks a zero-check on :
- marketingAddress = address(m) (#440)
SafeSniperToken.setMarketingAddr(address).newMarketingAddress (#528) lacks a zero-check on :
- marketingAddress = newMarketingAddress (#529)
SafeSniperToken.setMarketingWalletToken(address)._marketingWalletToken (#558) lacks a zero-check on :
- marketingWalletToken = _marketingWalletToken (#559)
Check that the address is not zero.

Additional information: link

Reentrancy in SafeSniperToken.collectFees() (#656-666):
External calls:
- swapAndLiquify(liquidityTokensToSell) (#662)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_deployer,block.timestamp) (#731-738)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#700-706)
- swapAndSendToFee(marketingTokensToSell) (#665)
- IERC20(marketingWalletToken).transfer(marketingAddress,IERC20(marketingWalletToken).balanceOf(address(this))) (#689)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#718-724)
External calls sending eth:
- swapAndLiquify(liquidityTokensToSell) (#662)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_deployer,block.timestamp) (#731-738)
State variables written after the call(s):
- swapAndSendToFee(marketingTokensToSell) (#665)
- _allowances[owner][spender] = amount (#524)
Reentrancy in SafeSniperToken.constructor(address,uint8,uint8,uint8) (#439-466):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#442-443)
State variables written after the call(s):
- _balances[_msgSender()] = _totalSupply (#464)
- _burnFee = bf (#457)
- _isExcludedFromFees[owner()] = true (#447)
- _isExcludedFromFees[address(this)] = true (#448)
- _isExcludedFromFees[marketingAddress] = true (#449)
- _isExcludedFromMaxBalance[owner()] = true (#451)
- _isExcludedFromMaxBalance[address(this)] = true (#452)
- _isExcludedFromMaxBalance[uniswapV2Pair] = true (#453)
- _liquidityFee = lf (#455)
- _liquifyThreshhold = _totalSupply / 1000 (#461)
- _marketingFee = mf (#456)
- _maxBalance = _totalSupply / 20 (#462)
- _totalFees = _liquidityFee.add(_marketingFee).add(_burnFee) (#458)
- _totalFeesToContract = _liquidityFee.add(_marketingFee) (#459)
- uniswapV2Router = _uniswapV2Router (#445)
Reentrancy in SafeSniperToken.swapAndLiquify(uint256) (#668-682):
External calls:
- swapTokensForEth(half) (#676)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#700-706)
- addLiquidity(otherHalf,newBalance) (#681)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_deployer,block.timestamp) (#731-738)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#681)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_deployer,block.timestamp) (#731-738)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#681)
- _allowances[owner][spender] = amount (#524)
Reentrancy in SafeSniperToken.transferFrom(address,address,uint256) (#504-508):
External calls:
- _transfer(sender,recipient,amount) (#505)
- IERC20(marketingWalletToken).transfer(marketingAddress,IERC20(marketingWalletToken).balanceOf(address(this))) (#689)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_deployer,block.timestamp) (#731-738)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#700-706)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#718-724)
External calls sending eth:
- _transfer(sender,recipient,amount) (#505)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_deployer,block.timestamp) (#731-738)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#506)
- _allowances[owner][spender] = amount (#524)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in SafeSniperToken._transfer(address,address,uint256) (#604-654):
External calls:
- collectFees() (#634)
- IERC20(marketingWalletToken).transfer(marketingAddress,IERC20(marketingWalletToken).balanceOf(address(this))) (#689)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_deployer,block.timestamp) (#731-738)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#700-706)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#718-724)
External calls sending eth:
- collectFees() (#634)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_deployer,block.timestamp) (#731-738)
Event emitted after the call(s):
- TokenBurn(from,toBurnAmount) (#650)
- Transfer(sender,recipient,amount) (#747)
- transferToken(from,deadAddress,toBurnAmount) (#649)
- Transfer(sender,recipient,amount) (#747)
- transferToken(from,address(this),feesToContract) (#648)
- Transfer(sender,recipient,amount) (#747)
- transferToken(from,to,amount) (#653)
Reentrancy in SafeSniperToken.collectFees() (#656-666):
External calls:
- swapAndLiquify(liquidityTokensToSell) (#662)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_deployer,block.timestamp) (#731-738)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#700-706)
- swapAndSendToFee(marketingTokensToSell) (#665)
- IERC20(marketingWalletToken).transfer(marketingAddress,IERC20(marketingWalletToken).balanceOf(address(this))) (#689)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#718-724)
External calls sending eth:
- swapAndLiquify(liquidityTokensToSell) (#662)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_deployer,block.timestamp) (#731-738)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#525)
- swapAndSendToFee(marketingTokensToSell) (#665)
Reentrancy in SafeSniperToken.constructor(address,uint8,uint8,uint8) (#439-466):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#442-443)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_totalSupply) (#465)
Reentrancy in SafeSniperToken.swapAndLiquify(uint256) (#668-682):
External calls:
- swapTokensForEth(half) (#676)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#700-706)
- addLiquidity(otherHalf,newBalance) (#681)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_deployer,block.timestamp) (#731-738)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#681)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_deployer,block.timestamp) (#731-738)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#525)
- addLiquidity(otherHalf,newBalance) (#681)
Reentrancy in SafeSniperToken.transferFrom(address,address,uint256) (#504-508):
External calls:
- _transfer(sender,recipient,amount) (#505)
- IERC20(marketingWalletToken).transfer(marketingAddress,IERC20(marketingWalletToken).balanceOf(address(this))) (#689)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_deployer,block.timestamp) (#731-738)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#700-706)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#718-724)
External calls sending eth:
- _transfer(sender,recipient,amount) (#505)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_deployer,block.timestamp) (#731-738)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#525)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#506)
Apply the check-effects-interactions pattern.

Additional information: link

Address.isContract(address) (#92-101) uses assembly
- INLINE ASM (#99)
Address._functionCallWithValue(address,bytes,uint256,string) (#129-146) uses assembly
- INLINE ASM (#138-141)
Do not use evm assembly.

Additional information: link

Address._functionCallWithValue(address,bytes,uint256,string) (#129-146) is never used and should be removed
Address.functionCall(address,bytes) (#112-114) is never used and should be removed
Address.functionCall(address,bytes,string) (#116-118) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#120-122) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#124-127) is never used and should be removed
Address.isContract(address) (#92-101) is never used and should be removed
Address.sendValue(address,uint256) (#103-109) is never used and should be removed
Context._msgData() (#15-18) is never used and should be removed
SafeMath.mod(uint256,uint256) (#80-82) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#84-87) is never used and should be removed
Remove unused functions.

Additional information: link

SafeSniperToken._totalSupply (#408) is set pre-construction with a non-constant function or state variable:
- 1000000 * 10 ** _decimals
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.8.11 (#8) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.11 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 Address.sendValue(address,uint256) (#103-109):
- (success) = recipient.call{value: amount}() (#107)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#129-146):
- (success,returndata) = target.call{value: weiValue}(data) (#132)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Variable Ownable._deployer (#151) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#221) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#222) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#238) is not in mixedCase
Function IUniswapV2Router01.WETH() (#259) is not in mixedCase
Parameter SafeSniperToken.setMarketingWalletToken(address)._marketingWalletToken (#558) is not in mixedCase
Constant SafeSniperToken.deadAddress (#412) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#16)" inContext (#10-19)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#264) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#265)
Prevent variables from having similar names.

Additional information: link

SafeSniperToken.slitherConstructorVariables() (#396-750) uses literals with too many digits:
- _totalSupply = 1000000 * 10 ** _decimals (#408)
SafeSniperToken.slitherConstructorConstantVariables() (#396-750) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#412)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

Ownable._previousOwner (#152) is never used in SafeSniperToken (#396-750)
Ownable._lockTime (#153) is never used in SafeSniperToken (#396-750)
Remove unused state variables.

Additional information: link

Ownable._lockTime (#153) should be constant
Ownable._previousOwner (#152) should be constant
SafeSniperToken._decimals (#407) should be constant
SafeSniperToken._name (#405) should be constant
SafeSniperToken._symbol (#406) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#173-176)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#178-182)
name() should be declared external:
- SafeSniperToken.name() (#470-472)
symbol() should be declared external:
- SafeSniperToken.symbol() (#474-476)
decimals() should be declared external:
- SafeSniperToken.decimals() (#478-480)
totalSupply() should be declared external:
- SafeSniperToken.totalSupply() (#482-484)
transfer(address,uint256) should be declared external:
- SafeSniperToken.transfer(address,uint256) (#490-493)
allowance(address,address) should be declared external:
- SafeSniperToken.allowance(address,address) (#495-497)
approve(address,uint256) should be declared external:
- SafeSniperToken.approve(address,uint256) (#499-502)
transferFrom(address,address,uint256) should be declared external:
- SafeSniperToken.transferFrom(address,address,uint256) (#504-508)
increaseAllowance(address,uint256) should be declared external:
- SafeSniperToken.increaseAllowance(address,uint256) (#510-513)
decreaseAllowance(address,uint256) should be declared external:
- SafeSniperToken.decreaseAllowance(address,uint256) (#515-518)
isExcludedFromFees(address) should be declared external:
- SafeSniperToken.isExcludedFromFees(address) (#568-570)
exceptFromFee(address) should be declared external:
- SafeSniperToken.exceptFromFee(address) (#572-574)
unexceptInFees(address) should be declared external:
- SafeSniperToken.unexceptInFees(address) (#576-578)
isExcludedFromMaxBalance(address) should be declared external:
- SafeSniperToken.isExcludedFromMaxBalance(address) (#580-582)
excludeFromMaxBalance(address) should be declared external:
- SafeSniperToken.excludeFromMaxBalance(address) (#584-586)
includeInMaxBalance(address) should be declared external:
- SafeSniperToken.includeInMaxBalance(address) (#588-590)
totalFees() should be declared external:
- SafeSniperToken.totalFees() (#592-594)
liquifyThreshhold() should be declared external:
- SafeSniperToken.liquifyThreshhold() (#596-598)
maxBalance() should be declared external:
- SafeSniperToken.maxBalance() (#600-602)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.


Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.


Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.


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.

Contract has 14% buy tax and 13% sell tax.
Taxes are high (over 10%) but contract ownership is renounced.


Token is deployed only at one blockchain


Token has only one trading pair


Unable to find Telegram and Twitter accounts


Unable to find website, listings and other project-related information


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


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank

Price for SST