Cubics is focused on developing a use-case for crypto through Metaverse applications built on top of an innovative layer-1 blockchain. Cubics enables users to create games and worlds with virtual economies, featuring object creation, scanning, registry & virtualization, NFTs, and P2E incentives.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Cubics.addLiquidity(uint256,uint256) (#313-316) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#315)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in Cubics._transfer(address,address,uint256) (#280-296):
External calls:
- swapAndLiquify(contractTokenBalance) (#290)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#315)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#311)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#290)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#315)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#295)
- _balances[address(this)] = _balances[address(this)] + tLiquidity (#269)
- _balances[sender] -= tAmount (#322)
- _balances[recipient] += tTransferAmount (#323)
Apply the check-effects-interactions pattern.
Additional information: link
Cubics.recover(address,uint256) (#206-209) ignores return value by IERC20(tokenAddress).transfer(owner(),tokenAmount) (#208)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Contract ownership is not renounced (belongs to a wallet)
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.
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 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.
Cubics._transfer(address,address,uint256) (#280-296) contains a tautology or contradiction:
- require(bool,string)(amount >= 0,Transfer amount must be greater or equal zero) (#283)
Fix the incorrect comparison by changing the value type or the comparison.
Additional information: link
Cubics.setRouterAndPair(address,address)._uniswapV2Pair (#254) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (#256)
Check that the address is not zero.
Additional information: link
Cubics.addLiquidity(uint256,uint256) (#313-316) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#315)
Ensure that all the return values of the function calls are used.
Additional information: link
Cubics.allowance(address,address).owner (#182) shadows:
- Ownable.owner() (#36-38) (function)
Cubics._approve(address,address,uint256).owner (#274) shadows:
- Ownable.owner() (#36-38) (function)
Rename the local variables that shadow another component.
Additional information: link
Cubics.setMaxTxAmount(uint256) (#229-231) should emit an event for:
- _maxTxAmount = amount (#230)
Cubics.setLiquifyAmount(uint256) (#226-228) should emit an event for:
- _liquifyAmount = amount (#227)
Cubics.setLiquidityFee(uint256) (#222-225) should emit an event for:
- _liquidityFee = fee (#224)
Emit an event for critical parameter changes.
Additional information: link
Cubics._maxLiquidityFee (#138) should be constant
Cubics._maxSupply (#133) should be constant
Cubics._decimals (#136) should be constant
Cubics._router (#131) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#100) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#100)
Prevent variables from having similar names.
Additional information: link
Reentrancy in Cubics._transfer(address,address,uint256) (#280-296):
External calls:
- swapAndLiquify(contractTokenBalance) (#290)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#315)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#311)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#290)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#315)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#325)
- _tokenTransfer(from,to,amount,takeFee) (#295)
Reentrancy in Cubics.transferFrom(address,address,uint256) (#189-193):
External calls:
- _transfer(sender,recipient,amount) (#190)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#315)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#311)
External calls sending eth:
- _transfer(sender,recipient,amount) (#190)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#315)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#278)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#191)
Reentrancy in Cubics.swapAndLiquify(uint256) (#297-305):
External calls:
- swapTokensForEth(half) (#301)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#311)
- addLiquidity(otherHalf,newBalance) (#303)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#315)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#303)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#315)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#278)
- addLiquidity(otherHalf,newBalance) (#303)
- SwapAndLiquify(half,newBalance,otherHalf) (#304)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Cubics.transferFrom(address,address,uint256) (#189-193):
External calls:
- _transfer(sender,recipient,amount) (#190)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#315)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#311)
External calls sending eth:
- _transfer(sender,recipient,amount) (#190)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#315)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#191)
- _allowances[owner][spender] = amount (#277)
Reentrancy in Cubics.swapAndLiquify(uint256) (#297-305):
External calls:
- swapTokensForEth(half) (#301)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#311)
- addLiquidity(otherHalf,newBalance) (#303)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#315)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#303)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#315)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#303)
- _allowances[owner][spender] = amount (#277)
Apply the check-effects-interactions pattern.
Additional information: link
Variable Cubics._liquifyAmount (#144) is not in mixedCase
Parameter Cubics.setRouterAndPair(address,address)._uniswapV2Pair (#254) is not in mixedCase
Parameter Cubics.setRouterAndPair(address,address)._uniswapV2Router (#254) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#74) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#81) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#73) is not in mixedCase
Variable Cubics._maxLiquidityFee (#138) is not in mixedCase
Variable Cubics._maxTxAmount (#143) is not in mixedCase
Function IUniswapV2Router01.WETH() (#99) is not in mixedCase
Variable Cubics._liquidityFee (#137) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.
Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.
Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Contract has 8% buy tax and 7% sell tax.
Taxes are low but contract ownership is not renounced. Token has a high risk of becoming a honeypot.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find website, listings and other project-related information
Token has a considerable age, but we're still unable to find its website
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Token has a considerable age, but average PancakeSwap 30d trading volume is low
Twitter account link seems to be invalid