Captain Shiba Token Logo

CASH [Captain Shiba] Token

About CASH

Listings

Token 2 years

Captain Shiba is a fearsome pirate ready to rule the seas of decentralized finance & NFTs

Captain SHIBA socials:
►Website: https://captainshiba.co
►Twitter: https://twitter.com/CaptainshibaBSC
►Telegram: https://t.me/CaptainShibaOfficial

Social

Laser Scorebeta Last Audit: 30 November 2021

report
Token has too many issues. Scam probability is high.

Anti-Scam

Links


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

CaptainShiba.addLiquidity(uint256,uint256) (CaptShib.sol#451-466) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (CaptShib.sol#457-464)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in CaptainShiba._transfer(address,address,uint256) (CaptShib.sol#305-376):
External calls:
- swapAndSendToFee(marketingTokens) (CaptShib.sol#332)
- IERC20(SHIB).transfer(_marketingWalletAddress,newBalance) (CaptShib.sol#384)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (CaptShib.sol#442-448)
- swapAndLiquify(swapTokens) (CaptShib.sol#335)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (CaptShib.sol#457-464)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (CaptShib.sol#422-428)
- swapAndSendDividends(sellTokens) (CaptShib.sol#338)
- success = IERC20(SHIB).transfer(address(dividendTracker),dividends) (CaptShib.sol#471)
- dividendTracker.distributeSHIBDividends(dividends) (CaptShib.sol#474)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (CaptShib.sol#442-448)
External calls sending eth:
- swapAndLiquify(swapTokens) (CaptShib.sol#335)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (CaptShib.sol#457-464)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (CaptShib.sol#358)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#222)
- super._transfer(from,to,amount) (CaptShib.sol#361)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#222)
- swapping = false (CaptShib.sol#340)
Apply the check-effects-interactions pattern.

Additional information: link

CaptainShiba.swapAndSendToFee(uint256) (CaptShib.sol#378-385) ignores return value by IERC20(SHIB).transfer(_marketingWalletAddress,newBalance) (CaptShib.sol#384)
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.

Reentrancy in CaptainShiba.updateDividendTracker(address) (CaptShib.sol#137-152):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (CaptShib.sol#144)
- newDividendTracker.excludeFromDividends(address(this)) (CaptShib.sol#145)
- newDividendTracker.excludeFromDividends(owner()) (CaptShib.sol#146)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (CaptShib.sol#147)
State variables written after the call(s):
- dividendTracker = newDividendTracker (CaptShib.sol#151)
Apply the check-effects-interactions pattern.

Additional information: link

CaptainShiba._transfer(address,address,uint256).lastProcessedIndex (CaptShib.sol#369) is a local variable never initialized
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

CaptainShiba.addLiquidity(uint256,uint256) (CaptShib.sol#451-466) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (CaptShib.sol#457-464)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#122) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
Rename the local variables that shadow another component.

Additional information: link

CaptainShiba.setMarketingFee(uint256) (CaptShib.sol#196-200) should emit an event for:
- marketingFee = value (CaptShib.sol#197)
- totalFees = SHIBRewardsFee.add(liquidityFee).add(marketingFee) (CaptShib.sol#198)
Emit an event for critical parameter changes.

Additional information: link

CaptainShiba.setMarketingWallet(address).wallet (CaptShib.sol#182) lacks a zero-check on :
- _marketingWalletAddress = wallet (CaptShib.sol#183)
Check that the address is not zero.

Additional information: link

Variable 'CaptainShiba._transfer(address,address,uint256).iterations (CaptShib.sol#369)' in CaptainShiba._transfer(address,address,uint256) (CaptShib.sol#305-376) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (CaptShib.sol#370)
Move all variable declarations prior to any usage of the variable, and ensure that reaching a variable declaration does not depend on some conditional if it is used unconditionally.

Additional information: link

Reentrancy in CaptainShiba.updateUniswapV2Router(address) (CaptShib.sol#154-161):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (CaptShib.sol#158-159)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (CaptShib.sol#160)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in CaptainShiba.updateDividendTracker(address) (CaptShib.sol#137-152):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (CaptShib.sol#144)
- newDividendTracker.excludeFromDividends(address(this)) (CaptShib.sol#145)
- newDividendTracker.excludeFromDividends(owner()) (CaptShib.sol#146)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (CaptShib.sol#147)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (CaptShib.sol#149)
Apply the check-effects-interactions pattern.

Additional information: link

CaptainShibaDividendTracker.canAutoClaim(uint256) (CaptShib.sol#605-611) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (CaptShib.sol#606)
- block.timestamp.sub(lastClaimTime) >= claimWait (CaptShib.sol#610)
Avoid relying on block.timestamp.

Additional information: link

SafeMathInt.mul(int256,int256) (SafeMathInt.sol#41-48) is never used and should be removed
Remove unused functions.

Additional information: link

CaptainShiba.totalFees (CaptShib.sol#48) is set pre-construction with a non-constant function or state variable:
- SHIBRewardsFee.add(liquidityFee).add(marketingFee)
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.6.2 (SafeMathUint.sol#3) allows old versions
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

Function IUniswapV2Router01.WETH() (IUniswapV2Router.sol#7) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (Context.sol#21)" inContext (Context.sol#15-24)
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 (IUniswapV2Router.sol#12) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (IUniswapV2Router.sol#13)
Prevent variables from having similar names.

Additional information: link

CaptainShibaDividendTracker.slitherConstructorVariables() (CaptShib.sol#480-689) uses literals with too many digits:
- _maxWalletToken = 10000000000000 * (10 ** 18) (CaptShib.sol#494)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

SafeMathInt.MAX_INT256 (SafeMathInt.sol#36) is never used in SafeMathInt (SafeMathInt.sol#34-92)
Remove unused state variables.

Additional information: link

DividendPayingToken.SHIB (DividendPayingToken.sol#24) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (Ownable.sol#52-56)
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.


Telegram account link seems to be invalid


Twitter account link seems to be invalid


Unable to find Blog account (Reddit or Medium)


Unable to find Youtube account


Unable to find Discord account


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 CASH