ShibSensei Token Logo

SS [ShibSensei] Token

About SS

Listings

Not Found
Token 3 months

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 11 February 2022

report
Code:


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

ShibSensei.transferEthOut(uint256,uint256) (#1005-1008) sends eth to arbitrary user
Dangerous calls:
- _marketingWallet.transfer(marketingBalance) (#1007)
ShibSensei.swapETHForTokens(uint256) (#1010-1025) sends eth to arbitrary user
Dangerous calls:
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1017-1022)
ShibSensei.addLiquidity(uint256,uint256) (#1045-1058) sends eth to arbitrary user
Dangerous calls:
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1050-1057)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in ShibSensei._transfer(address,address,uint256) (#908-959):
External calls:
- swapAndLiquify(contractTokenBalance) (#942)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1050-1057)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1036-1042)
- buyBackTokens(buyBackAmount) (#948)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1017-1022)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#942)
- _devWallet.transfer(devBalance) (#1006)
- _marketingWallet.transfer(marketingBalance) (#1007)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1050-1057)
- buyBackTokens(buyBackAmount) (#948)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1017-1022)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#958)
- _buyBackFee = _previousBuyBackFee (#1183)
- _buyBackFee = _boostedBuyBackFee (#1200)
- _buyBackFee = 0 (#1175)
- _tokenTransfer(from,to,amount,takeFee) (#958)
- _devFee = _previousDevFee (#1185)
- _devFee = _boostedDevFee (#1202)
- _devFee = 0 (#1177)
- _tokenTransfer(from,to,amount,takeFee) (#958)
- _liquidityFee = _previousLiquidityFee (#1182)
- _liquidityFee = _boostedLiquidityFee (#1199)
- _liquidityFee = 0 (#1174)
- _tokenTransfer(from,to,amount,takeFee) (#958)
- _marketingFee = _previousMarketingFee (#1184)
- _marketingFee = _boostedMarketingFee (#1201)
- _marketingFee = 0 (#1176)
- _tokenTransfer(from,to,amount,takeFee) (#958)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1145)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1078)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1079)
- _tokenTransfer(from,to,amount,takeFee) (#958)
- _rTotal = _rTotal.sub(rFee) (#1138)
- _tokenTransfer(from,to,amount,takeFee) (#958)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1147)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1082)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1084)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1086)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1087)
- buyBackTokens(buyBackAmount) (#948)
- inSwapAndLiquify = true (#664)
- inSwapAndLiquify = false (#666)
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.

ShibSensei.swapAndLiquify(uint256) (#967-1003) performs a multiplication on the result of a division:
-half = toLiquify.div(2) (#977)
-liquidityBalance = fromSwap.mul(half).div(toSwapForEth) (#992)
ShibSensei.swapAndLiquify(uint256) (#967-1003) performs a multiplication on the result of a division:
-toBuyBack = contractTokenBalance.mul(_buyBackFee).div(totalBNBFees) (#972)
-buyBackBalance = fromSwap.mul(toBuyBack).div(toSwapForEth) (#993)
ShibSensei.swapAndLiquify(uint256) (#967-1003) performs a multiplication on the result of a division:
-toDev = contractTokenBalance.mul(_devFee).div(totalBNBFees) (#973)
-devBalance = fromSwap.mul(toDev).div(toSwapForEth) (#994)
Consider ordering multiplication before division.

Additional information: link

ShibSensei.addLiquidity(uint256,uint256) (#1045-1058) ignores return value by dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1050-1057)
Ensure that all the return values of the function calls are used.

Additional information: link

ShibSensei._approve(address,address,uint256).owner (#900) shadows:
- Ownable.owner() (#532-534) (function)
Rename the local variables that shadow another component.

Additional information: link

ShibSensei.setTaxes(uint256,uint256,uint256,uint256,uint256) (#759-766) should emit an event for:
- _reflectFee = reflectFee (#761)
- _liquidityFee = liquidityFee (#762)
- _marketingFee = marketingFee (#763)
- _buyBackFee = buyBackFee (#764)
- _devFee = devFee (#765)
ShibSensei.setBoostedTaxes(uint256,uint256,uint256,uint256,uint256) (#768-775) should emit an event for:
- _boostedReflectFee = reflectFee (#770)
- _boostedLiquidityFee = liquidityFee (#771)
- _boostedMarketingFee = marketingFee (#772)
- _boostedBuyBackFee = buyBackFee (#773)
- _boostedDevFee = devFee (#774)
ShibSensei.setMaxTxPercent(uint256,uint256) (#777-781) should emit an event for:
- _maxTxAmount = _tTotal.mul(percent).div(divisor) (#779)
ShibSensei.setMaxWallet(uint256,uint256) (#783-787) should emit an event for:
- _maxWalletAmount = _tTotal.mul(percent).div(divisor) (#785)
ShibSensei.setPercentToSell(uint256) (#789-792) should emit an event for:
- percentToSell = percent (#790)
- numTokensSellToAddToLiquidity = (_tTotal * percentToSell) / 10000 (#791)
ShibSensei.setBuyBackSellLimit(uint256) (#809-811) should emit an event for:
- buyBackSellLimit = limit * 10 ** _decimalsMul (#810)
ShibSensei.setBuyBackAmount(uint256,uint256) (#813-815) should emit an event for:
- buyBackAmount = amount * 10 ** multiplier (#814)
Emit an event for critical parameter changes.

Additional information: link

Reentrancy in ShibSensei._transfer(address,address,uint256) (#908-959):
External calls:
- swapAndLiquify(contractTokenBalance) (#942)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1050-1057)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1036-1042)
- buyBackTokens(buyBackAmount) (#948)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1017-1022)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#942)
- _devWallet.transfer(devBalance) (#1006)
- _marketingWallet.transfer(marketingBalance) (#1007)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1050-1057)
- buyBackTokens(buyBackAmount) (#948)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1017-1022)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#958)
- _previousBuyBackFee = _buyBackFee (#1194)
- _previousBuyBackFee = _buyBackFee (#1169)
- _tokenTransfer(from,to,amount,takeFee) (#958)
- _previousDevFee = _devFee (#1196)
- _previousDevFee = _devFee (#1171)
- _tokenTransfer(from,to,amount,takeFee) (#958)
- _previousLiquidityFee = _liquidityFee (#1193)
- _previousLiquidityFee = _liquidityFee (#1168)
- _tokenTransfer(from,to,amount,takeFee) (#958)
- _previousMarketingFee = _marketingFee (#1195)
- _previousMarketingFee = _marketingFee (#1170)
- _tokenTransfer(from,to,amount,takeFee) (#958)
- _previousReflectFee = _reflectFee (#1192)
- _previousReflectFee = _reflectFee (#1167)
- _tokenTransfer(from,to,amount,takeFee) (#958)
- _reflectFee = _previousReflectFee (#1181)
- _reflectFee = _boostedReflectFee (#1198)
- _reflectFee = 0 (#1173)
- _tokenTransfer(from,to,amount,takeFee) (#958)
- _tFeeTotal = _tFeeTotal.add(tFee) (#1139)
- _tokenTransfer(from,to,amount,takeFee) (#958)
- boosted = true (#1065)
- boosted = false (#1188)
Reentrancy in ShibSensei.constructor() (#669-699):
External calls:
- lpPair = IUniswapV2Factory(_dexRouter.factory()).createPair(address(this),_dexRouter.WETH()) (#674-675)
State variables written after the call(s):
- _approve(_msgSender(),_routerAddress,_tTotal) (#696)
- _allowances[owner][spender] = amount (#904)
- _excluded.push(address(this)) (#683)
- _excluded.push(owner()) (#685)
- _excluded.push(burnAddress) (#687)
- _excluded.push(lpPair) (#689)
- _excluded.push(0x2D045410f002A95EFcEE67759A92518fA3FcE677) (#693)
- _isExcluded[address(this)] = true (#682)
- _isExcluded[owner()] = true (#684)
- _isExcluded[burnAddress] = true (#686)
- _isExcluded[lpPair] = true (#688)
- _isExcluded[0x2D045410f002A95EFcEE67759A92518fA3FcE677] = true (#692)
- _isExcludedFromFee[owner()] = true (#679)
- _isExcludedFromFee[address(this)] = true (#680)
- _isExcludedFromFee[0x2D045410f002A95EFcEE67759A92518fA3FcE677] = true (#691)
- _liquidityHolders[owner()] = true (#681)
- dexRouter = _dexRouter (#677)
Reentrancy in ShibSensei.setNewRouter(address) (#739-749):
External calls:
- lpPair = IUniswapV2Factory(_newRouter.factory()).createPair(address(this),_newRouter.WETH()) (#743)
State variables written after the call(s):
- dexRouter = _newRouter (#748)
Reentrancy in ShibSensei.swapAndLiquify(uint256) (#967-1003):
External calls:
- swapTokensForEth(toSwapForEth) (#988)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1036-1042)
- addLiquidity(otherHalf,liquidityBalance) (#998)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1050-1057)
External calls sending eth:
- addLiquidity(otherHalf,liquidityBalance) (#998)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1050-1057)
State variables written after the call(s):
- addLiquidity(otherHalf,liquidityBalance) (#998)
- _allowances[owner][spender] = amount (#904)
Reentrancy in ShibSensei.transferFrom(address,address,uint256) (#723-727):
External calls:
- _transfer(sender,recipient,amount) (#724)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1050-1057)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1017-1022)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1036-1042)
External calls sending eth:
- _transfer(sender,recipient,amount) (#724)
- _devWallet.transfer(devBalance) (#1006)
- _marketingWallet.transfer(marketingBalance) (#1007)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1050-1057)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1017-1022)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#725)
- _allowances[owner][spender] = amount (#904)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in ShibSensei._transfer(address,address,uint256) (#908-959):
External calls:
- swapAndLiquify(contractTokenBalance) (#942)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1050-1057)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1036-1042)
- buyBackTokens(buyBackAmount) (#948)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1017-1022)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#942)
- _devWallet.transfer(devBalance) (#1006)
- _marketingWallet.transfer(marketingBalance) (#1007)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1050-1057)
- buyBackTokens(buyBackAmount) (#948)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1017-1022)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#1024)
- buyBackTokens(buyBackAmount) (#948)
- Transfer(sender,address(this),tLiquidity) (#1148)
- _tokenTransfer(from,to,amount,takeFee) (#958)
- Transfer(sender,recipient,tTransferAmount) (#1095)
- _tokenTransfer(from,to,amount,takeFee) (#958)
Reentrancy in ShibSensei.constructor() (#669-699):
External calls:
- lpPair = IUniswapV2Factory(_dexRouter.factory()).createPair(address(this),_dexRouter.WETH()) (#674-675)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#905)
- _approve(_msgSender(),_routerAddress,_tTotal) (#696)
- Transfer(address(0),_msgSender(),_tTotal) (#698)
Reentrancy in ShibSensei.swapAndLiquify(uint256) (#967-1003):
External calls:
- swapTokensForEth(toSwapForEth) (#988)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1036-1042)
- addLiquidity(otherHalf,liquidityBalance) (#998)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1050-1057)
External calls sending eth:
- addLiquidity(otherHalf,liquidityBalance) (#998)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1050-1057)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#905)
- addLiquidity(otherHalf,liquidityBalance) (#998)
- SwapAndLiquify(half,liquidityBalance,otherHalf) (#1000)
Reentrancy in ShibSensei.swapETHForTokens(uint256) (#1010-1025):
External calls:
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1017-1022)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#1024)
Reentrancy in ShibSensei.transferFrom(address,address,uint256) (#723-727):
External calls:
- _transfer(sender,recipient,amount) (#724)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1050-1057)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1017-1022)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1036-1042)
External calls sending eth:
- _transfer(sender,recipient,amount) (#724)
- _devWallet.transfer(devBalance) (#1006)
- _marketingWallet.transfer(marketingBalance) (#1007)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1050-1057)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1017-1022)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#905)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#725)
Apply the check-effects-interactions pattern.

Additional information: link

Address.isContract(address) (#270-279) uses assembly
- INLINE ASM (#277)
Address._functionCallWithValue(address,bytes,uint256,string) (#307-328) uses assembly
- INLINE ASM (#320-323)
Do not use evm assembly.

Additional information: link

ShibSensei.restoreAllFee() (#1180-1189) compares to a boolean constant:
-boosted == true (#1187)
Remove the equality to the boolean constant.

Additional information: link

ShibSensei.includeInReward(address) (#884-895) has costly operations inside a loop:
- _excluded.pop() (#891)
Use a local variable to hold the loop computation result.

Additional information: link

Address._functionCallWithValue(address,bytes,uint256,string) (#307-328) is never used and should be removed
Address.functionCall(address,bytes) (#289-291) is never used and should be removed
Address.functionCall(address,bytes,string) (#293-295) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#298-300) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#302-305) is never used and should be removed
Address.isContract(address) (#270-279) is never used and should be removed
Address.sendValue(address,uint256) (#281-287) is never used and should be removed
Context._msgData() (#14-18) is never used and should be removed
SafeMath.mod(uint256,uint256) (#247-249) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#263-266) is never used and should be removed
Remove unused functions.

Additional information: link

ShibSensei._decimalsMul (#575) is set pre-construction with a non-constant function or state variable:
- _decimals
ShibSensei._tTotal (#576) is set pre-construction with a non-constant function or state variable:
- startingSupply * 10 ** _decimalsMul
ShibSensei._rTotal (#577) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
ShibSensei._previousReflectFee (#584) is set pre-construction with a non-constant function or state variable:
- _reflectFee
ShibSensei._previousLiquidityFee (#588) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
ShibSensei._previousMarketingFee (#592) is set pre-construction with a non-constant function or state variable:
- _marketingFee
ShibSensei._previousBuyBackFee (#596) is set pre-construction with a non-constant function or state variable:
- _buyBackFee
ShibSensei._previousDevFee (#600) is set pre-construction with a non-constant function or state variable:
- _devFee
ShibSensei.buyBackSellLimit (#620) is set pre-construction with a non-constant function or state variable:
- (_tTotal * 2) / 100
ShibSensei._maxTxAmount (#628) is set pre-construction with a non-constant function or state variable:
- (_tTotal * maxTxPercent) / maxTxDivisor
ShibSensei._previousMaxTxAmount (#629) is set pre-construction with a non-constant function or state variable:
- _maxTxAmount
ShibSensei.maxTxAmountUI (#630) is set pre-construction with a non-constant function or state variable:
- (startingSupply * maxTxPercent) / maxTxDivisor
ShibSensei._maxWalletAmount (#635) is set pre-construction with a non-constant function or state variable:
- (_tTotal * maxWalletPercent) / maxWalletDivisor
ShibSensei._previousMaxWalletAmount (#636) is set pre-construction with a non-constant function or state variable:
- _maxWalletAmount
ShibSensei.maxWalletAmountUI (#637) is set pre-construction with a non-constant function or state variable:
- (startingSupply * maxWalletPercent) / maxWalletDivisor
ShibSensei.numTokensSellToAddToLiquidity (#642) is set pre-construction with a non-constant function or state variable:
- (_tTotal * percentToSell) / 10000
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.0<0.9.0 (#7) is too complex
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) (#281-287):
- (success) = recipient.call{value: amount}() (#285)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#307-328):
- (success,returndata) = target.call{value: weiValue}(data) (#311)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#356) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#357) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#371) is not in mixedCase
Function IUniswapV2Router01.WETH() (#389) is not in mixedCase
Parameter ShibSensei.setSwapAndLiquifyEnabled(bool)._enabled (#799) is not in mixedCase
Parameter ShibSensei.setBuyBackEnabled(bool)._enabled (#804) is not in mixedCase
Parameter ShibSensei.calculateTaxFee(uint256)._amount (#1151) is not in mixedCase
Parameter ShibSensei.calculateLiquidityFee(uint256)._amount (#1155) is not in mixedCase
Variable ShibSensei._reflectFee (#583) is not in mixedCase
Variable ShibSensei._boostedReflectFee (#585) is not in mixedCase
Variable ShibSensei._liquidityFee (#587) is not in mixedCase
Variable ShibSensei._boostedLiquidityFee (#589) is not in mixedCase
Variable ShibSensei._marketingFee (#591) is not in mixedCase
Variable ShibSensei._boostedMarketingFee (#593) is not in mixedCase
Variable ShibSensei._buyBackFee (#595) is not in mixedCase
Variable ShibSensei._boostedBuyBackFee (#597) is not in mixedCase
Variable ShibSensei._devFee (#599) is not in mixedCase
Variable ShibSensei._boostedDevFee (#601) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

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

Additional information: link

Reentrancy in ShibSensei._transfer(address,address,uint256) (#908-959):
External calls:
- swapAndLiquify(contractTokenBalance) (#942)
- _devWallet.transfer(devBalance) (#1006)
- _marketingWallet.transfer(marketingBalance) (#1007)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#942)
- _devWallet.transfer(devBalance) (#1006)
- _marketingWallet.transfer(marketingBalance) (#1007)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1050-1057)
- buyBackTokens(buyBackAmount) (#948)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1017-1022)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#958)
- _buyBackFee = _previousBuyBackFee (#1183)
- _buyBackFee = _boostedBuyBackFee (#1200)
- _buyBackFee = 0 (#1175)
- _tokenTransfer(from,to,amount,takeFee) (#958)
- _devFee = _previousDevFee (#1185)
- _devFee = _boostedDevFee (#1202)
- _devFee = 0 (#1177)
- _tokenTransfer(from,to,amount,takeFee) (#958)
- _liquidityFee = _previousLiquidityFee (#1182)
- _liquidityFee = _boostedLiquidityFee (#1199)
- _liquidityFee = 0 (#1174)
- _tokenTransfer(from,to,amount,takeFee) (#958)
- _marketingFee = _previousMarketingFee (#1184)
- _marketingFee = _boostedMarketingFee (#1201)
- _marketingFee = 0 (#1176)
- _tokenTransfer(from,to,amount,takeFee) (#958)
- _previousBuyBackFee = _buyBackFee (#1194)
- _previousBuyBackFee = _buyBackFee (#1169)
- _tokenTransfer(from,to,amount,takeFee) (#958)
- _previousDevFee = _devFee (#1196)
- _previousDevFee = _devFee (#1171)
- _tokenTransfer(from,to,amount,takeFee) (#958)
- _previousLiquidityFee = _liquidityFee (#1193)
- _previousLiquidityFee = _liquidityFee (#1168)
- _tokenTransfer(from,to,amount,takeFee) (#958)
- _previousMarketingFee = _marketingFee (#1195)
- _previousMarketingFee = _marketingFee (#1170)
- _tokenTransfer(from,to,amount,takeFee) (#958)
- _previousReflectFee = _reflectFee (#1192)
- _previousReflectFee = _reflectFee (#1167)
- _tokenTransfer(from,to,amount,takeFee) (#958)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1145)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1078)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1079)
- _tokenTransfer(from,to,amount,takeFee) (#958)
- _rTotal = _rTotal.sub(rFee) (#1138)
- _tokenTransfer(from,to,amount,takeFee) (#958)
- _reflectFee = _previousReflectFee (#1181)
- _reflectFee = _boostedReflectFee (#1198)
- _reflectFee = 0 (#1173)
- _tokenTransfer(from,to,amount,takeFee) (#958)
- _tFeeTotal = _tFeeTotal.add(tFee) (#1139)
- _tokenTransfer(from,to,amount,takeFee) (#958)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1147)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1082)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1084)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1086)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1087)
- _tokenTransfer(from,to,amount,takeFee) (#958)
- boosted = true (#1065)
- boosted = false (#1188)
- buyBackTokens(buyBackAmount) (#948)
- inSwapAndLiquify = true (#664)
- inSwapAndLiquify = false (#666)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#1024)
- buyBackTokens(buyBackAmount) (#948)
- Transfer(sender,address(this),tLiquidity) (#1148)
- _tokenTransfer(from,to,amount,takeFee) (#958)
- Transfer(sender,recipient,tTransferAmount) (#1095)
- _tokenTransfer(from,to,amount,takeFee) (#958)
Reentrancy in ShibSensei.transferFrom(address,address,uint256) (#723-727):
External calls:
- _transfer(sender,recipient,amount) (#724)
- _devWallet.transfer(devBalance) (#1006)
- _marketingWallet.transfer(marketingBalance) (#1007)
External calls sending eth:
- _transfer(sender,recipient,amount) (#724)
- _devWallet.transfer(devBalance) (#1006)
- _marketingWallet.transfer(marketingBalance) (#1007)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1050-1057)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1017-1022)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#725)
- _allowances[owner][spender] = amount (#904)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#905)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#725)
Apply the check-effects-interactions pattern.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#393) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#394)
Variable ShibSensei._finalizeTransfer(address,address,uint256).rTransferAmount (#1076) is too similar to ShibSensei._getTValues(uint256).tTransferAmount (#1107)
Variable ShibSensei._getValues(uint256).rTransferAmount (#1100) is too similar to ShibSensei._getTValues(uint256).tTransferAmount (#1107)
Variable ShibSensei._finalizeTransfer(address,address,uint256).rTransferAmount (#1076) is too similar to ShibSensei._finalizeTransfer(address,address,uint256).tTransferAmount (#1076)
Variable ShibSensei._getValues(uint256).rTransferAmount (#1100) is too similar to ShibSensei._getValues(uint256).tTransferAmount (#1099)
Variable ShibSensei.reflectionFromToken(uint256,bool).rTransferAmount (#863) is too similar to ShibSensei._getValues(uint256).tTransferAmount (#1099)
Variable ShibSensei._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1115) is too similar to ShibSensei._getValues(uint256).tTransferAmount (#1099)
Variable ShibSensei._getValues(uint256).rTransferAmount (#1100) is too similar to ShibSensei._finalizeTransfer(address,address,uint256).tTransferAmount (#1076)
Variable ShibSensei._finalizeTransfer(address,address,uint256).rTransferAmount (#1076) is too similar to ShibSensei._getValues(uint256).tTransferAmount (#1099)
Variable ShibSensei.reflectionFromToken(uint256,bool).rTransferAmount (#863) is too similar to ShibSensei._getTValues(uint256).tTransferAmount (#1107)
Variable ShibSensei._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1115) is too similar to ShibSensei._getTValues(uint256).tTransferAmount (#1107)
Variable ShibSensei.reflectionFromToken(uint256,bool).rTransferAmount (#863) is too similar to ShibSensei._finalizeTransfer(address,address,uint256).tTransferAmount (#1076)
Variable ShibSensei._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1115) is too similar to ShibSensei._finalizeTransfer(address,address,uint256).tTransferAmount (#1076)
Prevent variables from having similar names.

Additional information: link

ShibSensei._previousMaxTxAmount (#629) is never used in ShibSensei (#556-1205)
ShibSensei._previousMaxWalletAmount (#636) is never used in ShibSensei (#556-1205)
Remove unused state variables.

Additional information: link

ShibSensei._decimals (#574) should be constant
ShibSensei._devWallet (#614) should be constant
ShibSensei._name (#580) should be constant
ShibSensei._routerAddress (#610) should be constant
ShibSensei._symbol (#581) should be constant
ShibSensei.burnAddress (#612) should be constant
ShibSensei.masterTaxDivisor (#603) should be constant
ShibSensei.maxTxDivisor (#627) should be constant
ShibSensei.maxTxPercent (#626) should be constant
ShibSensei.maxWalletDivisor (#634) should be constant
ShibSensei.maxWalletPercent (#633) should be constant
ShibSensei.maximumTaxesPercent (#604) should be constant
ShibSensei.startingSupply (#571) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#541-544)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#546-551)
transfer(address,uint256) should be declared external:
- ShibSensei.transfer(address,uint256) (#713-716)
approve(address,uint256) should be declared external:
- ShibSensei.approve(address,uint256) (#718-721)
transferFrom(address,address,uint256) should be declared external:
- ShibSensei.transferFrom(address,address,uint256) (#723-727)
increaseAllowance(address,uint256) should be declared external:
- ShibSensei.increaseAllowance(address,uint256) (#729-732)
decreaseAllowance(address,uint256) should be declared external:
- ShibSensei.decreaseAllowance(address,uint256) (#734-737)
setNewRouter(address) should be declared external:
- ShibSensei.setNewRouter(address) (#739-749)
isExcludedFromReward(address) should be declared external:
- ShibSensei.isExcludedFromReward(address) (#751-753)
isExcludedFromFee(address) should be declared external:
- ShibSensei.isExcludedFromFee(address) (#755-757)
setSwapAndLiquifyEnabled(bool) should be declared external:
- ShibSensei.setSwapAndLiquifyEnabled(bool) (#799-802)
setBuyBackEnabled(bool) should be declared external:
- ShibSensei.setBuyBackEnabled(bool) (#804-807)
excludeFromFee(address) should be declared external:
- ShibSensei.excludeFromFee(address) (#827-829)
totalFees() should be declared external:
- ShibSensei.totalFees() (#835-837)
deliver(uint256) should be declared external:
- ShibSensei.deliver(uint256) (#848-855)
reflectionFromToken(uint256,bool) should be declared external:
- ShibSensei.reflectionFromToken(uint256,bool) (#857-866)
excludeFromReward(address) should be declared external:
- ShibSensei.excludeFromReward(address) (#874-882)
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.


Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.

Contract has 10% 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

Search:


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

Anti-Scam Checks

Price for SS