Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in BabyKishuCake._transfer(address,address,uint256) (#650-688):
External calls:
- swapTokens(contractTokenBalance) (#668)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
- buyBackTokens(balance.div(100)) (#676)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#746-751)
External calls sending eth:
- swapTokens(contractTokenBalance) (#668)
- recipient.transfer(amount) (#972)
- buyBackTokens(balance.div(100)) (#676)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#746-751)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#687)
- _liquidityFee = _previousLiquidityFee (#904)
- _liquidityFee = 0 (#899)
- _tokenTransfer(from,to,amount,takeFee) (#687)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#875)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#791)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#800)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#811)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#821)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#792)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#802)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#812)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#823)
- _tokenTransfer(from,to,amount,takeFee) (#687)
- _rTotal = _rTotal.sub(rFee) (#830)
- _tokenTransfer(from,to,amount,takeFee) (#687)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#877)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#810)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#820)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#801)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#822)
- buyBackTokens(balance.div(100)) (#676)
- inSwapAndLiquify = true (#504)
- inSwapAndLiquify = false (#506)
Apply the check-effects-interactions pattern.
Additional information: link
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.
BabyKishuCake.swapTokens(uint256) (#701-710) performs a multiplication on the result of a division:
-transferToAddressETH(marketingAddress,transferredBalance.div(_liquidityFee).mul(marketingDivisor)) (#708)
Consider ordering multiplication before division.
Additional information: link
BabyKishuCake.addLiquidity(uint256,uint256) (#756-769) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#761-768)
Ensure that all the return values of the function calls are used.
Additional information: link
BabyKishuCake._approve(address,address,uint256).owner (#642) shadows:
- Ownable.owner() (#185-187) (function)
Rename the local variables that shadow another component.
Additional information: link
BabyKishuCake.setBuybackUpperLimit(uint256) (#939-941) should emit an event for:
- buyBackUpperLimit = buyBackLimit * 10 ** 18 (#940)
Emit an event for critical parameter changes.
Additional information: link
BabyKishuCake.setMarketingAddress(address)._marketingAddress (#943) lacks a zero-check on :
- marketingAddress = address(_marketingAddress) (#944)
Check that the address is not zero.
Additional information: link
Reentrancy in BabyKishuCake.transferFrom(address,address,uint256) (#560-564):
External calls:
- _transfer(sender,recipient,amount) (#561)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#746-751)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
External calls sending eth:
- _transfer(sender,recipient,amount) (#561)
- recipient.transfer(amount) (#972)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#746-751)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#562)
- _allowances[owner][spender] = amount (#646)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in BabyKishuCake.transferFrom(address,address,uint256) (#560-564):
External calls:
- _transfer(sender,recipient,amount) (#561)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#746-751)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
External calls sending eth:
- _transfer(sender,recipient,amount) (#561)
- recipient.transfer(amount) (#972)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#746-751)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#647)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#562)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#220-225) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked until 7 days) (#222)
Avoid relying on block.timestamp.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#152-169) uses assembly
- INLINE ASM (#161-164)
Do not use evm assembly.
Additional information: link
SafeMath.mod(uint256,uint256,string) (#107-110) is never used and should be removed
Remove unused functions.
Additional information: link
BabyKishuCake._previousLiquidityFee (#468) 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
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#152-169):
- (success,returndata) = target.call{value: weiValue}(data) (#155)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable BabyKishuCake._maxTxAmount (#472) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#39)" inContext (#33-42)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in BabyKishuCake.transferFrom(address,address,uint256) (#560-564):
External calls:
- _transfer(sender,recipient,amount) (#561)
- recipient.transfer(amount) (#972)
External calls sending eth:
- _transfer(sender,recipient,amount) (#561)
- recipient.transfer(amount) (#972)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#746-751)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#562)
- _allowances[owner][spender] = amount (#646)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#647)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#562)
Apply the check-effects-interactions pattern.
Additional information: link
Variable BabyKishuCake._transferFromExcluded(address,address,uint256).rTransferAmount (#809) is too similar to BabyKishuCake._transferFromExcluded(address,address,uint256).tTransferAmount (#809)
Prevent variables from having similar names.
Additional information: link
BabyKishuCake.slitherConstructorVariables() (#439-978) uses literals with too many digits:
- buyBackUpperLimit = 1000000000 * 10 ** 18 (#474)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
BabyKishuCake.deadAddress (#444) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
setBuyBackEnabled(bool) should be declared external:
- BabyKishuCake.setBuyBackEnabled(bool) (#952-955)
Use the external attribute for functions never called from the contract.
Additional information: link
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.
Unable to find website, listings and other project-related information
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Unable to find Telegram and Twitter accounts