SHIBACAT Token Logo

SC [SHIBACAT] Token

About SC

Listings

Not Found
Token 2 years

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 17 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...)

SHIBACAT.addLiquidity(uint256,uint256) (#577-590) sends eth to arbitrary user
Dangerous calls:
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#582-589)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in SHIBACAT._transfer(address,address,uint256) (#473-520):
External calls:
- swapAndLiquify(swapTokensAtAmount,selltax) (#511)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#582-589)
- (success) = recipient.call{value: amount}() (#107)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#601-607)
- address(marketingWallet).sendValue(marketingAmt) (#569)
- address(ecosystemWallet).sendValue(ecosystemAmt) (#573)
- swapAndLiquify(swapTokensAtAmount,taxes) (#512)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#582-589)
- (success) = recipient.call{value: amount}() (#107)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#601-607)
- address(marketingWallet).sendValue(marketingAmt) (#569)
- address(ecosystemWallet).sendValue(ecosystemAmt) (#573)
External calls sending eth:
- swapAndLiquify(swapTokensAtAmount,selltax) (#511)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#582-589)
- (success) = recipient.call{value: amount}() (#107)
- swapAndLiquify(swapTokensAtAmount,taxes) (#512)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#582-589)
- (success) = recipient.call{value: amount}() (#107)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee,isSell) (#519)
- _rOwned[address(this)] += recosystem (#394)
- _rOwned[address(this)] += rMarketing (#384)
- _rOwned[address(this)] += rLiquidity (#374)
- _rOwned[sender] = _rOwned[sender] - s.rAmount (#535)
- _rOwned[recipient] = _rOwned[recipient] + s.rTransferAmount (#536)
- _tokenTransfer(from,to,amount,takeFee,isSell) (#519)
- _rTotal -= rRfi (#363)
- _tokenTransfer(from,to,amount,takeFee,isSell) (#519)
- _tOwned[address(this)] += tMarketing (#382)
- _tOwned[address(this)] += tLiquidity (#372)
- _tOwned[sender] = _tOwned[sender] - tAmount (#529)
- _tOwned[address(this)] += tecosystem (#392)
- _tOwned[recipient] = _tOwned[recipient] + s.tTransferAmount (#532)
Apply the check-effects-interactions pattern.

Additional information: link

SHIBACAT.rescueAnyBEP20Tokens(address,address,uint256) (#681-683) ignores return value by IERC20(_tokenAddr).transfer(_to,_amount) (#682)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

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.


Combination 2: Unchecked transfer + 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.


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.

SHIBACAT.swapAndLiquify(uint256,SHIBACAT.Taxes) (#549-575) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - temp.liquidity) (#559)
-bnbToAddLiquidityWith = unitBalance * temp.liquidity (#560)
SHIBACAT.swapAndLiquify(uint256,SHIBACAT.Taxes) (#549-575) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - temp.liquidity) (#559)
-marketingAmt = unitBalance * 2 * temp.marketing (#567)
SHIBACAT.swapAndLiquify(uint256,SHIBACAT.Taxes) (#549-575) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - temp.liquidity) (#559)
-ecosystemAmt = unitBalance * 2 * temp.ecosystem (#571)
Consider ordering multiplication before division.

Additional information: link

SHIBACAT.addLiquidity(uint256,uint256) (#577-590) ignores return value by router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#582-589)
Ensure that all the return values of the function calls are used.

Additional information: link

SHIBACAT.allowance(address,address).owner (#253) shadows:
- Ownable.owner() (#54-56) (function)
SHIBACAT._approve(address,address,uint256).owner (#466) shadows:
- Ownable.owner() (#54-56) (function)
Rename the local variables that shadow another component.

Additional information: link

SHIBACAT.updateCooldown(bool,uint256) (#632-635) should emit an event for:
- coolDownTime = time * 1 (#633)
SHIBACAT.updateSwapTokensAtAmount(uint256) (#637-639) should emit an event for:
- swapTokensAtAmount = amount * 10 ** _decimals (#638)
SHIBACAT.updateMaxTxLimit(uint256,uint256) (#660-663) should emit an event for:
- maxBuyLimit = maxBuy * 10 ** decimals() (#661)
- maxSellLimit = maxSell * 10 ** decimals() (#662)
SHIBACAT.updateMaxWalletlimit(uint256) (#665-667) should emit an event for:
- maxWalletLimit = amount * 10 ** decimals() (#666)
Emit an event for critical parameter changes.

Additional information: link

SHIBACAT.constructor(address)._pair (#209-210) lacks a zero-check on :
- pair = _pair (#213)
SHIBACAT.updateMarketingWallet(address).newWallet (#623) lacks a zero-check on :
- marketingWallet = newWallet (#624)
SHIBACAT.updateecosystemWallet(address).newWallet (#627) lacks a zero-check on :
- ecosystemWallet = newWallet (#628)
SHIBACAT.updateRouterAndPair(address,address).newPair (#669) lacks a zero-check on :
- pair = newPair (#671)
Check that the address is not zero.

Additional information: link

Reentrancy in SHIBACAT._transfer(address,address,uint256) (#473-520):
External calls:
- swapAndLiquify(swapTokensAtAmount,selltax) (#511)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#582-589)
- (success) = recipient.call{value: amount}() (#107)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#601-607)
- address(marketingWallet).sendValue(marketingAmt) (#569)
- address(ecosystemWallet).sendValue(ecosystemAmt) (#573)
- swapAndLiquify(swapTokensAtAmount,taxes) (#512)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#582-589)
- (success) = recipient.call{value: amount}() (#107)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#601-607)
- address(marketingWallet).sendValue(marketingAmt) (#569)
- address(ecosystemWallet).sendValue(ecosystemAmt) (#573)
External calls sending eth:
- swapAndLiquify(swapTokensAtAmount,selltax) (#511)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#582-589)
- (success) = recipient.call{value: amount}() (#107)
- swapAndLiquify(swapTokensAtAmount,taxes) (#512)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#582-589)
- (success) = recipient.call{value: amount}() (#107)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee,isSell) (#519)
- totFeesPaid.liquidity += tLiquidity (#368)
- totFeesPaid.ecosystem += tecosystem (#388)
- totFeesPaid.marketing += tMarketing (#378)
- totFeesPaid.rfi += tRfi (#364)
Reentrancy in SHIBACAT.constructor(address) (#207-230):
External calls:
- _pair = IFactory(_router.factory()).createPair(address(this),_router.WETH()) (#209-210)
State variables written after the call(s):
- excludeFromReward(pair) (#215)
- _excluded.push(account) (#324)
- excludeFromReward(pair) (#215)
- _isExcluded[account] = true (#323)
- _isExcludedFromFee[address(this)] = true (#218)
- _isExcludedFromFee[owner()] = true (#219)
- _isExcludedFromFee[marketingWallet] = true (#220)
- _isExcludedFromFee[ecosystemWallet] = true (#221)
- _rOwned[owner()] = _rTotal (#217)
- excludeFromReward(pair) (#215)
- _tOwned[account] = tokenFromReflection(_rOwned[account]) (#321)
- allowedTransfer[address(this)] = true (#223)
- allowedTransfer[owner()] = true (#224)
- allowedTransfer[pair] = true (#225)
- allowedTransfer[marketingWallet] = true (#226)
- allowedTransfer[ecosystemWallet] = true (#227)
- pair = _pair (#213)
- router = _router (#212)
Reentrancy in SHIBACAT.swapAndLiquify(uint256,SHIBACAT.Taxes) (#549-575):
External calls:
- swapTokensForBNB(toSwap) (#556)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#601-607)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#564)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#582-589)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#564)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#582-589)
State variables written after the call(s):
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#564)
- _allowances[owner][spender] = amount (#469)
Reentrancy in SHIBACAT.transferFrom(address,address,uint256) (#262-270):
External calls:
- _transfer(sender,recipient,amount) (#263)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#582-589)
- (success) = recipient.call{value: amount}() (#107)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#601-607)
- address(marketingWallet).sendValue(marketingAmt) (#569)
- address(ecosystemWallet).sendValue(ecosystemAmt) (#573)
External calls sending eth:
- _transfer(sender,recipient,amount) (#263)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#582-589)
- (success) = recipient.call{value: amount}() (#107)
State variables written after the call(s):
- _approve(sender,_msgSender(),currentAllowance - amount) (#267)
- _allowances[owner][spender] = amount (#469)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in SHIBACAT._transfer(address,address,uint256) (#473-520):
External calls:
- swapAndLiquify(swapTokensAtAmount,selltax) (#511)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#582-589)
- (success) = recipient.call{value: amount}() (#107)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#601-607)
- address(marketingWallet).sendValue(marketingAmt) (#569)
- address(ecosystemWallet).sendValue(ecosystemAmt) (#573)
- swapAndLiquify(swapTokensAtAmount,taxes) (#512)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#582-589)
- (success) = recipient.call{value: amount}() (#107)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#601-607)
- address(marketingWallet).sendValue(marketingAmt) (#569)
- address(ecosystemWallet).sendValue(ecosystemAmt) (#573)
External calls sending eth:
- swapAndLiquify(swapTokensAtAmount,selltax) (#511)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#582-589)
- (success) = recipient.call{value: amount}() (#107)
- swapAndLiquify(swapTokensAtAmount,taxes) (#512)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#582-589)
- (success) = recipient.call{value: amount}() (#107)
Event emitted after the call(s):
- Transfer(sender,address(this),s.tLiquidity + s.tMarketing + s.tecosystem) (#541)
- _tokenTransfer(from,to,amount,takeFee,isSell) (#519)
- Transfer(sender,recipient,s.tTransferAmount) (#545)
- _tokenTransfer(from,to,amount,takeFee,isSell) (#519)
Reentrancy in SHIBACAT.constructor(address) (#207-230):
External calls:
- _pair = IFactory(_router.factory()).createPair(address(this),_router.WETH()) (#209-210)
Event emitted after the call(s):
- Transfer(address(0),owner(),_tTotal) (#229)
Reentrancy in SHIBACAT.swapAndLiquify(uint256,SHIBACAT.Taxes) (#549-575):
External calls:
- swapTokensForBNB(toSwap) (#556)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#601-607)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#564)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#582-589)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#564)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#582-589)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#470)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#564)
Reentrancy in SHIBACAT.transferFrom(address,address,uint256) (#262-270):
External calls:
- _transfer(sender,recipient,amount) (#263)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#582-589)
- (success) = recipient.call{value: amount}() (#107)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#601-607)
- address(marketingWallet).sendValue(marketingAmt) (#569)
- address(ecosystemWallet).sendValue(ecosystemAmt) (#573)
External calls sending eth:
- _transfer(sender,recipient,amount) (#263)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#582-589)
- (success) = recipient.call{value: amount}() (#107)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#470)
- _approve(sender,_msgSender(),currentAllowance - amount) (#267)
Apply the check-effects-interactions pattern.

Additional information: link

SHIBACAT._transfer(address,address,uint256) (#473-520) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(timePassed >= coolDownTime,Cooldown enabled) (#500)
Avoid relying on block.timestamp.

Additional information: link

SHIBACAT.setTradingStatus(bool) (#306-310) compares to a boolean constant:
-state == true && genesis_block == 0 (#309)
Remove the equality to the boolean constant.

Additional information: link

SHIBACAT.includeInReward(address) (#327-338) has costly operations inside a loop:
- _excluded.pop() (#334)
SHIBACAT._reflectRfi(uint256,uint256) (#362-365) has costly operations inside a loop:
- _rTotal -= rRfi (#363)
Use a local variable to hold the loop computation result.

Additional information: link

Context._msgData() (#39-42) is never used and should be removed
Remove unused functions.

Additional information: link

SHIBACAT._tTotal (#149) is set pre-construction with a non-constant function or state variable:
- initialsupply * 10 ** _decimals
SHIBACAT._rTotal (#150) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
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 Address.sendValue(address,uint256) (#104-109):
- (success) = recipient.call{value: amount}() (#107)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Function IRouter.WETH() (#85) is not in mixedCase
Struct SHIBACAT.valuesFromGetValues (#184-196) is not in CapWords
Parameter SHIBACAT.setTaxes(uint256,uint256,uint256,uint256)._rfi (#352) is not in mixedCase
Parameter SHIBACAT.setTaxes(uint256,uint256,uint256,uint256)._marketing (#352) is not in mixedCase
Parameter SHIBACAT.setTaxes(uint256,uint256,uint256,uint256)._liquidity (#352) is not in mixedCase
Parameter SHIBACAT.setTaxes(uint256,uint256,uint256,uint256)._ecosystem (#352) is not in mixedCase
Parameter SHIBACAT.setselltax(uint256,uint256,uint256,uint256)._rfi (#357) is not in mixedCase
Parameter SHIBACAT.setselltax(uint256,uint256,uint256,uint256)._marketing (#357) is not in mixedCase
Parameter SHIBACAT.setselltax(uint256,uint256,uint256,uint256)._liquidity (#357) is not in mixedCase
Parameter SHIBACAT.setselltax(uint256,uint256,uint256,uint256)._ecosystem (#357) is not in mixedCase
Parameter SHIBACAT.updateSwapEnabled(bool)._enabled (#641) is not in mixedCase
Parameter SHIBACAT.rescueAnyBEP20Tokens(address,address,uint256)._tokenAddr (#681) is not in mixedCase
Parameter SHIBACAT.rescueAnyBEP20Tokens(address,address,uint256)._to (#681) is not in mixedCase
Parameter SHIBACAT.rescueAnyBEP20Tokens(address,address,uint256)._amount (#681) is not in mixedCase
Constant SHIBACAT._decimals (#145) is not in UPPER_CASE_WITH_UNDERSCORES
Variable SHIBACAT.genesis_block (#157) is not in mixedCase
Constant SHIBACAT._name (#162) is not in UPPER_CASE_WITH_UNDERSCORES
Constant SHIBACAT._symbol (#163) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#40)" inContext (#34-43)
Remove redundant statements if they congest code but offer no value.

Additional information: link

SHIBACAT.initialsupply (#148) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#63-65)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#67-70)
name() should be declared external:
- SHIBACAT.name() (#233-235)
symbol() should be declared external:
- SHIBACAT.symbol() (#236-238)
totalSupply() should be declared external:
- SHIBACAT.totalSupply() (#244-246)
allowance(address,address) should be declared external:
- SHIBACAT.allowance(address,address) (#253-255)
approve(address,uint256) should be declared external:
- SHIBACAT.approve(address,uint256) (#257-260)
transferFrom(address,address,uint256) should be declared external:
- SHIBACAT.transferFrom(address,address,uint256) (#262-270)
increaseAllowance(address,uint256) should be declared external:
- SHIBACAT.increaseAllowance(address,uint256) (#272-275)
decreaseAllowance(address,uint256) should be declared external:
- SHIBACAT.decreaseAllowance(address,uint256) (#277-283)
transfer(address,uint256) should be declared external:
- SHIBACAT.transfer(address,uint256) (#285-289)
isExcludedFromReward(address) should be declared external:
- SHIBACAT.isExcludedFromReward(address) (#291-293)
reflectionFromToken(uint256,bool) should be declared external:
- SHIBACAT.reflectionFromToken(uint256,bool) (#295-304)
excludeFromFee(address) should be declared external:
- SHIBACAT.excludeFromFee(address) (#340-342)
includeInFee(address) should be declared external:
- SHIBACAT.includeInFee(address) (#344-346)
isExcludedFromFee(address) should be declared external:
- SHIBACAT.isExcludedFromFee(address) (#348-350)
setTaxes(uint256,uint256,uint256,uint256) should be declared external:
- SHIBACAT.setTaxes(uint256,uint256,uint256,uint256) (#352-355)
setselltax(uint256,uint256,uint256,uint256) should be declared external:
- SHIBACAT.setselltax(uint256,uint256,uint256,uint256) (#357-360)
rescueAnyBEP20Tokens(address,address,uint256) should be declared external:
- SHIBACAT.rescueAnyBEP20Tokens(address,address,uint256) (#681-683)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Token seems to be untradeable: there is no PancakeSwap trading pair and no trading volumes. Ignore for presale.


Number of Binance Smart Chain (BSC) token holders is low.


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 SC