Son of Shiba Inu, Mini Shiba was the runt of the litter and has been lost, fending for himself against the perilous dangers of the world. What he lacks in size he makes up for in fearlessness and heart. Help him reunite with father SHIB.
MiniShiba is built by a strong team of crypto experts that aim to build a sustainable token for the long run. Join MiniShiba now and become part of this revolution.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
MiniShibaToken.addLiquidity(uint256,uint256) (#851-864) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#856-863)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
MiniShibaToken._transfer(address,address,uint256) (#677-794) uses a weak PRNG: "_bBSLimit = _bBSLimitMin + uint256(keccak256(bytes)(abi.encodePacked(block.timestamp,block.difficulty))) % (_bBSLimitMax - _bBSLimitMin + 1) (#738)"
Do not use block.timestamp, now or blockhash as a source of randomness
Additional information: link
Reentrancy in MiniShibaToken._transfer(address,address,uint256) (#677-794):
External calls:
- swapTokens(contractTokenBalance) (#706)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#823-829)
- buyBackTokens(_bBSLimit) (#741)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#841-846)
External calls sending eth:
- swapTokens(contractTokenBalance) (#706)
- recipient.transfer(amount) (#1161)
- buyBackTokens(_bBSLimit) (#741)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#841-846)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#793)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#970)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#886)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#895)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#887)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#906)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#916)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#897)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#907)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#918)
- _tokenTransfer(from,to,amount,takeFee) (#793)
- _rTotal = _rTotal.sub(rFee) (#925)
- _tokenTransfer(from,to,amount,takeFee) (#793)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#972)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#905)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#915)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#896)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#917)
- buyBackTokens(_bBSLimit) (#741)
- inSwapAndLiquify = true (#501)
- inSwapAndLiquify = false (#503)
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.
MiniShibaToken._transfer(address,address,uint256).sellHistory (#693) 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
MiniShibaToken.addLiquidity(uint256,uint256) (#851-864) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#856-863)
Ensure that all the return values of the function calls are used.
Additional information: link
MiniShibaToken._approve(address,address,uint256).owner (#669) shadows:
- Ownable.owner() (#153-155) (function)
Rename the local variables that shadow another component.
Additional information: link
MiniShibaToken.setNumTokensSellToAddToBuyBack(uint256) (#1137-1139) should emit an event for:
- numTokensSellToAddToLiquidity = amountForSwap (#1138)
Emit an event for critical parameter changes.
Additional information: link
MiniShibaToken.setMarketingAddress(address)._marketingAddress (#1141) lacks a zero-check on :
- marketingAddress = address(_marketingAddress) (#1142)
Check that the address is not zero.
Additional information: link
Reentrancy in MiniShibaToken.transferFrom(address,address,uint256) (#566-570):
External calls:
- _transfer(sender,recipient,amount) (#567)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#841-846)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#823-829)
External calls sending eth:
- _transfer(sender,recipient,amount) (#567)
- recipient.transfer(amount) (#1161)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#841-846)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#568)
- _allowances[owner][spender] = amount (#673)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in MiniShibaToken.transferFrom(address,address,uint256) (#566-570):
External calls:
- _transfer(sender,recipient,amount) (#567)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#841-846)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#823-829)
External calls sending eth:
- _transfer(sender,recipient,amount) (#567)
- recipient.transfer(amount) (#1161)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#841-846)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#674)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#568)
Apply the check-effects-interactions pattern.
Additional information: link
MiniShibaToken._removeOldSellHistories() (#1042-1064) uses timestamp for comparisons
Dangerous comparisons:
- _sellHistories[j].time >= maxStartTimeForHistories (#1048)
Avoid relying on block.timestamp.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#122-139) uses assembly
- INLINE ASM (#131-134)
Do not use evm assembly.
Additional information: link
SafeMath.mod(uint256,uint256,string) (#77-80) is never used and should be removed
Remove unused functions.
Additional information: link
MiniShibaToken.numTokensSellToAddToLiquidity (#460) is set pre-construction with a non-constant function or state variable:
- (_tTotal * 5) / 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
solc-0.8.4 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._functionCallWithValue(address,bytes,uint256,string) (#122-139):
- (success,returndata) = target.call{value: weiValue}(data) (#125)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable MiniShibaToken._isEnabledBuyBackAndBurn (#478) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#11)" inContext (#5-14)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in MiniShibaToken.transferFrom(address,address,uint256) (#566-570):
External calls:
- _transfer(sender,recipient,amount) (#567)
- recipient.transfer(amount) (#1161)
External calls sending eth:
- _transfer(sender,recipient,amount) (#567)
- recipient.transfer(amount) (#1161)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#841-846)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#568)
- _allowances[owner][spender] = amount (#673)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#674)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#568)
Apply the check-effects-interactions pattern.
Additional information: link
Variable MiniShibaToken._getValues(uint256).rTransferAmount (#931) is too similar to MiniShibaToken._transferStandard(address,address,uint256).tTransferAmount (#885)
Prevent variables from having similar names.
Additional information: link
MiniShibaToken.slitherConstructorVariables() (#384-1200) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#389)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
MiniShibaToken._previousMaxWalletAmount (#457) is never used in MiniShibaToken (#384-1200)
Remove unused state variables.
Additional information: link
MiniShibaToken.maxWalletPercent (#454) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
changeRouterVersion(address) should be declared external:
- MiniShibaToken.changeRouterVersion(address) (#1164-1177)
Use the external attribute for functions never called from the contract.
Additional information: link
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.
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Token was delisted from CoinGecko
Additional information: link
Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap
Additional information: link
Unable to find token contract audit
Unable to find audit link on the website
Unable to find code repository for the project
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Twitter account link seems to be invalid
Unable to find Youtube account
Unable to find Discord account