GoCerberus is automatic liquidity acquisition yield farm running on Binance Smart Chain. GoCerberus tokenomics is a hybrid between yield farming and Safemoon.
Each transfer of CERBERUS must pay a 9% transfer tax. The 1% transfer tax gets added to the liquidity pool through the contract automatically to raise the price floor continuously. And the liquidity will be locked and inaccessible. And the rest 8% transfer tax will be burned immediately. The whole process is automatic.
CerberusToken.addLiquidity(uint256,uint256) (#1311-1324) sends eth to arbitrary user
Dangerous calls:
- cerberusSwapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,operator(),block.timestamp) (#1316-1323)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in CerberusToken._transfer(address,address,uint256) (#1225-1256):
External calls:
- swapAndLiquify() (#1235)
- cerberusSwapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,operator(),block.timestamp) (#1316-1323)
- cerberusSwapRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1301-1307)
External calls sending eth:
- swapAndLiquify() (#1235)
- cerberusSwapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,operator(),block.timestamp) (#1316-1323)
State variables written after the call(s):
- super._transfer(sender,recipient,amount) (#1239)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#1050)
- _balances[recipient] = _balances[recipient].add(amount) (#1051)
- super._transfer(sender,BURN_ADDRESS,burnAmount) (#1251)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#1050)
- _balances[recipient] = _balances[recipient].add(amount) (#1051)
- super._transfer(sender,address(this),liquidityAmount) (#1252)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#1050)
- _balances[recipient] = _balances[recipient].add(amount) (#1051)
- super._transfer(sender,recipient,sendAmount) (#1253)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#1050)
- _balances[recipient] = _balances[recipient].add(amount) (#1051)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
CerberusToken._writeCheckpoint(address,uint32,uint256,uint256) (#1626-1644) uses a dangerous strict equality:
- nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber (#1636)
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.
Redundant expression "this (#745)" inContext (#739-748)
Remove redundant statements if they congest code but offer no value.
Additional information: link
CerberusToken._transfer(address,address,uint256) (#1225-1256) performs a multiplication on the result of a division:
-taxAmount = amount.mul(transferTaxRate).div(10000) (#1242)
-burnAmount = taxAmount.mul(burnRate).div(100) (#1243)
Consider ordering multiplication before division.
Additional information: link
CerberusToken.addLiquidity(uint256,uint256) (#1311-1324) ignores return value by cerberusSwapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,operator(),block.timestamp) (#1316-1323)
Ensure that all the return values of the function calls are used.
Additional information: link
BEP20.constructor(string,string).name (#869) shadows:
- BEP20.name() (#885-887) (function)
- IBEP20.name() (#649) (function)
BEP20.constructor(string,string).symbol (#869) shadows:
- BEP20.symbol() (#899-901) (function)
- IBEP20.symbol() (#644) (function)
BEP20.allowance(address,address).owner (#933) shadows:
- Ownable.owner() (#783-785) (function)
BEP20._approve(address,address,uint256).owner (#1105) shadows:
- Ownable.owner() (#783-785) (function)
CerberusToken.swapAndLiquify().maxTransferAmount (#1261) shadows:
- CerberusToken.maxTransferAmount() (#1329-1331) (function)
Rename the local variables that shadow another component.
Additional information: link
Reentrancy in CerberusToken.swapAndLiquify() (#1259-1289):
External calls:
- swapTokensForEth(half) (#1279)
- cerberusSwapRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1301-1307)
- addLiquidity(otherHalf,newBalance) (#1285)
- cerberusSwapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,operator(),block.timestamp) (#1316-1323)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1285)
- cerberusSwapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,operator(),block.timestamp) (#1316-1323)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1285)
- _allowances[owner][spender] = amount (#1112)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#89) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#90)
Prevent variables from having similar names.
Additional information: link
Reentrancy in CerberusToken._transfer(address,address,uint256) (#1225-1256):
External calls:
- swapAndLiquify() (#1235)
- cerberusSwapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,operator(),block.timestamp) (#1316-1323)
- cerberusSwapRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1301-1307)
External calls sending eth:
- swapAndLiquify() (#1235)
- cerberusSwapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,operator(),block.timestamp) (#1316-1323)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#1052)
- super._transfer(sender,BURN_ADDRESS,burnAmount) (#1251)
- Transfer(sender,recipient,amount) (#1052)
- super._transfer(sender,address(this),liquidityAmount) (#1252)
- Transfer(sender,recipient,amount) (#1052)
- super._transfer(sender,recipient,sendAmount) (#1253)
- Transfer(sender,recipient,amount) (#1052)
- super._transfer(sender,recipient,amount) (#1239)
Reentrancy in CerberusToken.swapAndLiquify() (#1259-1289):
External calls:
- swapTokensForEth(half) (#1279)
- cerberusSwapRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1301-1307)
- addLiquidity(otherHalf,newBalance) (#1285)
- cerberusSwapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,operator(),block.timestamp) (#1316-1323)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1285)
- cerberusSwapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,operator(),block.timestamp) (#1316-1323)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1113)
- addLiquidity(otherHalf,newBalance) (#1285)
- SwapAndLiquify(half,newBalance,otherHalf) (#1287)
Apply the check-effects-interactions pattern.
Additional information: link
CerberusToken.delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32) (#1492-1533) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now <= expiry,CERBERUS::delegateBySig: signature expired) (#1531)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#246-255) uses assembly
- INLINE ASM (#253)
Address._verifyCallResult(bool,bytes,string) (#391-408) uses assembly
- INLINE ASM (#400-403)
CerberusToken.getChainId() (#1651-1655) uses assembly
- INLINE ASM (#1653)
Do not use evm assembly.
Additional information: link
CerberusToken._transfer(address,address,uint256) (#1225-1256) compares to a boolean constant:
-swapAndLiquifyEnabled == true && _inSwapAndLiquify == false && address(cerberusSwapRouter) != address(0) && cerberusSwapPair != address(0) && sender != cerberusSwapPair && sender != owner() (#1228-1233)
CerberusToken.antiWhale(address,address,uint256) (#1180-1190) compares to a boolean constant:
-_excludedFromAntiWhale[sender] == false && _excludedFromAntiWhale[recipient] == false (#1183-1184)
Remove the equality to the boolean constant.
Additional information: link
Different versions of Solidity is used:
- Version used: ['0.6.12', '>=0.4.0', '>=0.5.0', '>=0.6.0<0.8.0', '>=0.6.2', '>=0.6.2<0.8.0']
- >=0.5.0 (#5)
- >=0.5.0 (#25)
- >=0.6.2 (#80)
- >=0.6.2 (#178)
- >=0.6.2<0.8.0 (#223)
- >=0.6.0<0.8.0 (#413)
- >=0.4.0 (#628)
- >=0.6.0<0.8.0 (#727)
- >=0.6.0<0.8.0 (#752)
- >=0.4.0 (#820)
- 0.6.12 (#1134)
Use one Solidity version.
Additional information: link
Address._verifyCallResult(bool,bytes,string) (#391-408) is never used and should be removed
Address.functionCall(address,bytes) (#299-301) is never used and should be removed
Address.functionCall(address,bytes,string) (#309-311) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#324-326) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#334-341) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#373-375) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#383-389) is never used and should be removed
Address.functionStaticCall(address,bytes) (#349-351) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#359-365) is never used and should be removed
Address.isContract(address) (#246-255) is never used and should be removed
Address.sendValue(address,uint256) (#273-279) is never used and should be removed
BEP20._burn(address,uint256) (#1083-1089) is never used and should be removed
BEP20._burnFrom(address,uint256) (#1122-1129) is never used and should be removed
Context._msgData() (#744-747) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#600-603) is never used and should be removed
SafeMath.mod(uint256,uint256) (#562-565) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#620-623) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#434-438) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#470-473) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#480-483) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#455-463) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#445-448) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version>=0.5.0 (#5) allows old versions
Pragma version>=0.5.0 (#25) allows old versions
Pragma version>=0.6.2 (#80) allows old versions
Pragma version>=0.6.2 (#178) allows old versions
Pragma version>=0.6.2<0.8.0 (#223) is too complex
Pragma version>=0.6.0<0.8.0 (#413) is too complex
Pragma version>=0.4.0 (#628) allows old versions
Pragma version>=0.6.0<0.8.0 (#727) is too complex
Pragma version>=0.6.0<0.8.0 (#752) is too complex
Pragma version>=0.4.0 (#820) 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 Address.sendValue(address,uint256) (#273-279):
- (success) = recipient.call{value: amount}() (#277)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#334-341):
- (success,returndata) = target.call{value: value}(data) (#339)
Low level call in Address.functionStaticCall(address,bytes,string) (#359-365):
- (success,returndata) = target.staticcall(data) (#363)
Low level call in Address.functionDelegateCall(address,bytes,string) (#383-389):
- (success,returndata) = target.delegatecall(data) (#387)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#42) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#43) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#60) is not in mixedCase
Function IUniswapV2Router01.WETH() (#84) is not in mixedCase
Parameter CerberusToken.mint(address,uint256)._to (#1219) is not in mixedCase
Parameter CerberusToken.mint(address,uint256)._amount (#1219) is not in mixedCase
Parameter CerberusToken.isExcludedFromAntiWhale(address)._account (#1336) is not in mixedCase
Parameter CerberusToken.updateTransferTaxRate(uint16)._transferTaxRate (#1347) is not in mixedCase
Parameter CerberusToken.updateBurnRate(uint16)._burnRate (#1357) is not in mixedCase
Parameter CerberusToken.updateMaxTransferAmountRate(uint16)._maxTransferAmountRate (#1367) is not in mixedCase
Parameter CerberusToken.updateMinAmountToLiquify(uint256)._minAmount (#1377) is not in mixedCase
Parameter CerberusToken.setExcludedFromAntiWhale(address,bool)._account (#1386) is not in mixedCase
Parameter CerberusToken.setExcludedFromAntiWhale(address,bool)._excluded (#1386) is not in mixedCase
Parameter CerberusToken.updateSwapAndLiquifyEnabled(bool)._enabled (#1394) is not in mixedCase
Parameter CerberusToken.updateCerberusSwapRouter(address)._router (#1403) is not in mixedCase
Variable CerberusToken._delegates (#1434) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
CerberusToken.slitherConstructorConstantVariables() (#1137-1657) uses literals with too many digits:
- BURN_ADDRESS = 0x000000000000000000000000000000000000dEaD (#1145)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#802-805)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#811-815)
decimals() should be declared external:
- BEP20.decimals() (#892-894)
symbol() should be declared external:
- BEP20.symbol() (#899-901)
transfer(address,uint256) should be declared external:
- BEP20.transfer(address,uint256) (#925-928)
allowance(address,address) should be declared external:
- BEP20.allowance(address,address) (#933-935)
approve(address,uint256) should be declared external:
- BEP20.approve(address,uint256) (#944-947)
transferFrom(address,address,uint256) should be declared external:
- BEP20.transferFrom(address,address,uint256) (#961-973)
increaseAllowance(address,uint256) should be declared external:
- BEP20.increaseAllowance(address,uint256) (#987-990)
decreaseAllowance(address,uint256) should be declared external:
- BEP20.decreaseAllowance(address,uint256) (#1006-1013)
mint(uint256) should be declared external:
- BEP20.mint(uint256) (#1023-1026)
mint(address,uint256) should be declared external:
- CerberusToken.mint(address,uint256) (#1219-1222)
isExcludedFromAntiWhale(address) should be declared external:
- CerberusToken.isExcludedFromAntiWhale(address) (#1336-1338)
updateTransferTaxRate(uint16) should be declared external:
- CerberusToken.updateTransferTaxRate(uint16) (#1347-1351)
updateBurnRate(uint16) should be declared external:
- CerberusToken.updateBurnRate(uint16) (#1357-1361)
updateMaxTransferAmountRate(uint16) should be declared external:
- CerberusToken.updateMaxTransferAmountRate(uint16) (#1367-1371)
updateMinAmountToLiquify(uint256) should be declared external:
- CerberusToken.updateMinAmountToLiquify(uint256) (#1377-1380)
setExcludedFromAntiWhale(address,bool) should be declared external:
- CerberusToken.setExcludedFromAntiWhale(address,bool) (#1386-1388)
updateSwapAndLiquifyEnabled(bool) should be declared external:
- CerberusToken.updateSwapAndLiquifyEnabled(bool) (#1394-1397)
updateCerberusSwapRouter(address) should be declared external:
- CerberusToken.updateCerberusSwapRouter(address) (#1403-1408)
transferOperator(address) should be declared external:
- CerberusToken.transferOperator(address) (#1421-1425)
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.
Token has no active CoinGecko listing / rank
Token has a considerable age, but average PancakeSwap 30d trading volume is low
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinMarketCap rank
Last post in Twitter was more than 30 days ago
Unable to find Youtube account
Unable to find Discord account