CyborgElon.addLiquidity(uint256,uint256) (#1474-1489) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1480-1487)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in CyborgElon.addFirstLiquidity(uint256) (#1491-1515):
External calls:
- _transfer(msg.sender,address(this),tokenAmount) (#1499)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1480-1487)
- ERC20(BUSD).transfer(_buyBackWalletAddress,newBalance) (#1400)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1445-1451)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1465-1471)
- uniswapV2Router.addLiquidityETH{value: msg.value}(address(this),_toAdd,0,0,owner(),block.timestamp.add(600)) (#1504-1511)
External calls sending eth:
- _transfer(msg.sender,address(this),tokenAmount) (#1499)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1480-1487)
- address(_marketingWalletAddress).transfer(newBalance) (#1409)
- uniswapV2Router.addLiquidityETH{value: msg.value}(address(this),_toAdd,0,0,owner(),block.timestamp.add(600)) (#1504-1511)
State variables written after the call(s):
- firstLiquidityAdded = true (#1514)
- openedBlock = block.number.add(1) (#1513)
Apply the check-effects-interactions pattern.
Additional information: link
CyborgElon.swapAndSendToBBFee(uint256) (#1394-1401) ignores return value by ERC20(BUSD).transfer(_buyBackWalletAddress,newBalance) (#1400)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
CyborgElon.setMaxWalletPermille(uint8) (#1289-1294) contains a tautology or contradiction:
- require(bool,string)(maxWalletPermille >= 5 && maxWalletPermille <= 1000,ZomZilla: The max wallet percentage must be between 0.5% (5) and 100% (1000)) (#1290)
Fix the incorrect comparison by changing the value type or the comparison.
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.
CyborgElon.addFirstLiquidity(uint256) (#1491-1515) ignores return value by uniswapV2Router.addLiquidityETH{value: msg.value}(address(this),_toAdd,0,0,owner(),block.timestamp.add(600)) (#1504-1511)
Ensure that all the return values of the function calls are used.
Additional information: link
CyborgElon.sendContractBalance(address).to (#1296) lacks a zero-check on :
- to.transfer(address(this).balance) (#1298)
Check that the address is not zero.
Additional information: link
Reentrancy in CyborgElon.updateUniswapV2Router(address) (#1227-1234):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#1231-1232)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#1233)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in CyborgElon.swapAndLiquify(uint256) (#1412-1433):
External calls:
- swapTokensForEth(half) (#1424)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1445-1451)
- addLiquidity(otherHalf,newBalance) (#1430)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1480-1487)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1430)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1480-1487)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1101)
- addLiquidity(otherHalf,newBalance) (#1430)
- SwapAndLiquify(half,newBalance,otherHalf) (#1432)
Apply the check-effects-interactions pattern.
Additional information: link
SafeMathUint.toInt256Safe(uint256) (#18-22) is never used and should be removed
Remove unused functions.
Additional information: link
solc-0.6.2 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 CyborgElon._marketingWalletAddress (#1153) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#289)" inContext (#283-292)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in CyborgElon.addFirstLiquidity(uint256) (#1491-1515):
External calls:
- _transfer(msg.sender,address(this),tokenAmount) (#1499)
- address(_marketingWalletAddress).transfer(newBalance) (#1409)
External calls sending eth:
- _transfer(msg.sender,address(this),tokenAmount) (#1499)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1480-1487)
- address(_marketingWalletAddress).transfer(newBalance) (#1409)
- uniswapV2Router.addLiquidityETH{value: msg.value}(address(this),_toAdd,0,0,owner(),block.timestamp.add(600)) (#1504-1511)
State variables written after the call(s):
- firstLiquidityAdded = true (#1514)
- openedBlock = block.number.add(1) (#1513)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#446) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#447)
Prevent variables from having similar names.
Additional information: link
CyborgElon.slitherConstructorVariables() (#1130-1525) uses literals with too many digits:
- swapTokensAtAmount = 1000000 * (10 ** 9) (#1143)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (#61) is never used in SafeMathInt (#59-117)
Remove unused state variables.
Additional information: link
CyborgElon.swapTokensAtAmount (#1143) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
unpause() should be declared external:
- CyborgElon.unpause() (#1521-1523)
Use the external attribute for functions never called from the contract.
Additional information: link
Contract ticker ($Cybon) contains non-alphanumeric characters.
Not a direct threat, but may indicate unreliable intentions of developer. Non-alphanumeric chars (,.;!#*&") are extremely rare among low risk tokens.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Number of Binance Smart Chain (BSC) token holders is low.
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