Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Squidoshi.selectSwapEvent() (#1641-1692) sends eth to arbitrary user
Dangerous calls:
- reflectorContract.deposit{value: swappedCurrency}() (#1650)
- lotteryContract.deposit{value: swappedCurrency_scope_2}() (#1664)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in Squidoshi.selectSwapEvent() (#1641-1692):
External calls:
- swapTokensForCurrency(toSwap_scope_6) (#1684)
- IBEP20(tokenAddress).approve(address(pancakeRouter),tokenAmount) (#1103)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,destination,block.timestamp) (#1109-1115)
- address(gamingWallet).call{value: swappedCurrency_scope_7}() (#1686)
External calls sending eth:
- address(gamingWallet).call{value: swappedCurrency_scope_7}() (#1686)
State variables written after the call(s):
- tokenTracker.gamingTokens = tokenTracker.gamingTokens.sub(toSwap_scope_6) (#1687)
Apply the check-effects-interactions pattern.
Additional information: link
SmartBuyback.dynamicBuyback(uint256,uint256) (#1241-1255) uses a dangerous strict equality:
- lastBuybackTime == 0 (#1242)
Don't use strict equality to determine if an account has enough Ether or tokens.
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.
SmartBuyback.dynamicBuyback(uint256,uint256) (#1241-1255) performs a multiplication on the result of a division:
-amount = sellAmount.mul(address(pancakePair).balance).div(poolTokens) (#1245)
-amount = amount.add(amount.mul(poolTokens).div(poolTokens.add(lastBuyPoolSize))) (#1247)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in Squidoshi.selectSwapEvent() (#1641-1692):
External calls:
- swapTokensForCurrency(toSwap_scope_0) (#1656)
- IBEP20(tokenAddress).approve(address(pancakeRouter),tokenAmount) (#1103)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,destination,block.timestamp) (#1109-1115)
State variables written after the call(s):
- tokenTracker.buyback = tokenTracker.buyback.sub(toSwap_scope_0) (#1657)
Apply the check-effects-interactions pattern.
Additional information: link
Squidoshi.selectSwapEvent() (#1641-1692) ignores return value by address(gamingWallet).call{value: swappedCurrency_scope_7}() (#1686)
Ensure that the return value of a low-level call is checked or logged.
Additional information: link
Squidoshi._transfer(address,address,uint256).tryBuyback (#1597) 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
Squidoshi.selectSwapEvent() (#1641-1692) ignores return value by lotteryContract.checkAndPayJackpot() (#1690)
Ensure that all the return values of the function calls are used.
Additional information: link
Squidoshi._approve(address,address,uint256).owner (#1582) shadows:
- Ownable.owner() (#431-433) (function)
Rename the local variables that shadow another component.
Additional information: link
Squidoshi.setGamingWallet(address)._gamingWallet (#1493) lacks a zero-check on :
- gamingWallet = address(_gamingWallet) (#1494)
Check that the address is not zero.
Additional information: link
Reentrancy in LPSwapSupport.updateRouterAndPair(address) (#1047-1055):
External calls:
- _pancakeswapV2Pair = IPancakeFactory(pancakeRouter.factory()).createPair(address(this),pancakeRouter.WETH()) (#1051)
State variables written after the call(s):
- updateLPPair(_pancakeswapV2Pair) (#1053)
- pancakePair = newAddress (#1060)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in LPSwapSupport.updateRouterAndPair(address) (#1047-1055):
External calls:
- _pancakeswapV2Pair = IPancakeFactory(pancakeRouter.factory()).createPair(address(this),pancakeRouter.WETH()) (#1051)
Event emitted after the call(s):
- UpdatePair(newAddress,pancakePair) (#1059)
- updateLPPair(_pancakeswapV2Pair) (#1053)
Apply the check-effects-interactions pattern.
Additional information: link
SmartBuyback.dynamicBuyback(uint256,uint256) (#1241-1255) uses timestamp for comparisons
Dangerous comparisons:
- lastBuybackTime == 0 (#1242)
Avoid relying on block.timestamp.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#684-710) uses assembly
- INLINE ASM (#702-705)
Do not use evm assembly.
Additional information: link
Different versions of Solidity is used:
- Version used: ['>=0.4.0', '>=0.5.0', '>=0.6.0', '>=0.6.2', '^0.6.0', '^0.6.2']
- >=0.6.0 (#4)
- >=0.6.2 (#13)
- >=0.6.2 (#111)
- >=0.5.0 (#157)
- >=0.5.0 (#177)
- >=0.4.0 (#234)
- ^0.6.0 (#334)
- ^0.6.0 (#349)
- ^0.6.0 (#358)
- >=0.4.0 (#372)
- >=0.6.0 (#416)
- ^0.6.0 (#491)
- ^0.6.0 (#513)
- ^0.6.2 (#553)
- ^0.6.0 (#716)
- ^0.6.0 (#755)
- >=0.6.0 (#778)
- >=0.4.0 (#798)
- >=0.6.0 (#989)
- ^0.6.0 (#1170)
- ^0.6.0 (#1289)
Use one Solidity version.
Additional information: link
SafeMath.sqrt(uint256) (#972-983) is never used and should be removed
Remove unused functions.
Additional information: link
SmartBuyback.buybackReceiver (#1185) is set pre-construction with a non-constant function or state variable:
- deadAddress
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.0 (#1289) 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
Low level call in Squidoshi.selectSwapEvent() (#1641-1692):
- address(marketingWallet).call{value: swappedCurrency_scope_5}() (#1678)
- address(gamingWallet).call{value: swappedCurrency_scope_7}() (#1686)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable Squidoshi._maxTxAmount (#1345) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#394)" inContext (#384-397)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable Squidoshi.selectSwapEvent().toSwap_scope_4 (#1675) is too similar to Squidoshi.selectSwapEvent().toSwap_scope_6 (#1683)
Prevent variables from having similar names.
Additional information: link
Squidoshi.slitherConstructorVariables() (#1299-1763) uses literals with too many digits:
- gasForProcessing = 400000 (#1348)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
LPSwapSupport.deadAddress (#1031) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
burn(uint256) should be declared external:
- Squidoshi.burn(uint256) (#1571-1575)
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
Young tokens have high risks of price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts