MicroSHIBA is a community driven DeFi token powered by the Binance Smart Chain. Join the family on our journey to the moon and beyond!
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Microshiba.addLiquidity(uint256,uint256) (#883-896) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#888-895)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in Microshiba._transfer(address,address,uint256) (#749-813):
External calls:
- swapAndLiquify(minimumTokensBeforeSwap) (#792)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#888-895)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#871-877)
- distributor.deposit{value: distributorBalance}() (#855)
External calls sending eth:
- swapAndLiquify(minimumTokensBeforeSwap) (#792)
- recipient.transfer(amount) (#1190)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#888-895)
- distributor.deposit{value: distributorBalance}() (#855)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#805)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1028)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#944)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#953)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#964)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#974)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#945)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#955)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#965)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#976)
- _tokenTransfer(from,to,amount,takeFee) (#805)
- _rTotal = _rTotal.sub(rFee) (#983)
- _tokenTransfer(from,to,amount,takeFee) (#805)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1030)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#973)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#963)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#954)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#975)
- _tokenTransfer(from,to,amount,takeFee) (#805)
- _tradingEnabled = true (#1140)
- lastPairBalance = balanceOf(uniswapV2Pair) (#793)
- _tokenTransfer(from,to,amount,takeFee) (#805)
- launchedAt = block.number (#1141)
Apply the check-effects-interactions pattern.
Additional information: link
Microshiba.buybackAddress1 (#569) is written in both
buybackAddress1 = address(_buybackAddress1) (#1160)
buybackAddress1 = address(_buybackAddress2) (#1161)
Fix or remove the writes.
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.
Microshiba.swapAndLiquify(uint256) (#817-859) performs a multiplication on the result of a division:
-marketingBalance = transferredBalance.mul(2).div(3) (#843)
-bal1 = marketingBalance.mul(buybackDivisor).div(100) (#847)
Consider ordering multiplication before division.
Additional information: link
Microshiba.manualGetUnpaidShares(address) (#1227-1229) ignores return value by distributor.getUnpaidEarnings(_shareholder) (#1228)
Ensure that all the return values of the function calls are used.
Additional information: link
Microshiba._approve(address,address,uint256).owner (#741) shadows:
- Ownable.owner() (#97-99) (function)
Rename the local variables that shadow another component.
Additional information: link
Microshiba.setDistributorSettings(uint256) (#1218-1221) should emit an event for:
- distributorGas = gas (#1220)
Emit an event for critical parameter changes.
Additional information: link
Microshiba.setCurrentLiqPair(address)._pair (#1197) lacks a zero-check on :
- currentLiqPair = _pair (#1198)
Check that the address is not zero.
Additional information: link
Reentrancy in Microshiba.transferFrom(address,address,uint256) (#662-666):
External calls:
- _transfer(sender,recipient,amount) (#663)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#888-895)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#871-877)
- distributor.deposit{value: distributorBalance}() (#855)
- distributor.setShare(from,balanceOf(from)) (#808)
- distributor.setShare(to,balanceOf(to)) (#809)
- distributor.process(distributorGas) (#810)
External calls sending eth:
- _transfer(sender,recipient,amount) (#663)
- recipient.transfer(amount) (#1190)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#888-895)
- distributor.deposit{value: distributorBalance}() (#855)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#664)
- _allowances[owner][spender] = amount (#745)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Microshiba.transferFrom(address,address,uint256) (#662-666):
External calls:
- _transfer(sender,recipient,amount) (#663)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#888-895)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#871-877)
- distributor.deposit{value: distributorBalance}() (#855)
- distributor.setShare(from,balanceOf(from)) (#808)
- distributor.setShare(to,balanceOf(to)) (#809)
- distributor.process(distributorGas) (#810)
External calls sending eth:
- _transfer(sender,recipient,amount) (#663)
- recipient.transfer(amount) (#1190)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#888-895)
- distributor.deposit{value: distributorBalance}() (#855)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#746)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#664)
Apply the check-effects-interactions pattern.
Additional information: link
Microshiba._transfer(address,address,uint256) (#749-813) uses timestamp for comparisons
Dangerous comparisons:
- uptrendEstablished && overMinimumSwapTokenBalance && _startTimeForSwap + _intervalSecondsForSwap <= block.timestamp (#789)
Avoid relying on block.timestamp.
Additional information: link
DividendDistributor.process(uint256) (#417-441) has costly operations inside a loop:
- currentIndex ++ (#438)
Use a local variable to hold the loop computation result.
Additional information: link
SafeMath.mod(uint256,uint256,string) (#78-81) is never used and should be removed
Remove unused functions.
Additional information: link
Microshiba._previousLiquidityFee (#543) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
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
Variable Microshiba._tradingEnabled (#566) 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 Microshiba.transferFrom(address,address,uint256) (#662-666):
External calls:
- _transfer(sender,recipient,amount) (#663)
- recipient.transfer(amount) (#1190)
External calls sending eth:
- _transfer(sender,recipient,amount) (#663)
- recipient.transfer(amount) (#1190)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#888-895)
- distributor.deposit{value: distributorBalance}() (#855)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#664)
- _allowances[owner][spender] = amount (#745)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#746)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#664)
Apply the check-effects-interactions pattern.
Additional information: link
Variable Microshiba._transferFromExcluded(address,address,uint256).rTransferAmount (#962) is too similar to Microshiba._getTValues(uint256).tTransferAmount (#996)
Prevent variables from having similar names.
Additional information: link
Microshiba.slitherConstructorVariables() (#503-1287) uses literals with too many digits:
- distributorGas = 500000 (#573)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
DividendDistributor.WBNB (#359) is never used in DividendDistributor (#347-499)
Remove unused state variables.
Additional information: link
Microshiba.sniperProtection (#564) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
transferForeignToken(address,address) should be declared external:
- Microshiba.transferForeignToken(address,address) (#1274-1278)
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 (assigned to inactive / untracked listing) from CoinMarketCap
Additional information: link
Unable to find token contract audit
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find Telegram link on the website
Unable to find Twitter link on the website
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Twitter account link seems to be invalid
Unable to find Youtube account