E.addLiquidity(uint256,uint256) (#604-617) sends eth to arbitrary user
Dangerous calls:
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#609-616)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in E._transfer(address,address,uint256) (#493-540):
External calls:
- swapAndLiquify(swapTokensAtAmount,sellTaxes) (#531)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#609-616)
- (success) = recipient.call{value: amount}() (#104)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#628-634)
- address(marketingWallet).sendValue(marketingAmt) (#590)
- address(devWallet).sendValue(devAmt) (#594)
- address(treasuryWallet).sendValue(treasuryAmt) (#599)
- swapAndLiquify(swapTokensAtAmount,taxes) (#532)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#609-616)
- (success) = recipient.call{value: amount}() (#104)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#628-634)
- address(marketingWallet).sendValue(marketingAmt) (#590)
- address(devWallet).sendValue(devAmt) (#594)
- address(treasuryWallet).sendValue(treasuryAmt) (#599)
External calls sending eth:
- swapAndLiquify(swapTokensAtAmount,sellTaxes) (#531)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#609-616)
- (success) = recipient.call{value: amount}() (#104)
- swapAndLiquify(swapTokensAtAmount,taxes) (#532)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#609-616)
- (success) = recipient.call{value: amount}() (#104)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee,isSell) (#539)
- _rOwned[address(this)] += rLiquidity (#381)
- _rOwned[address(this)] += rtreasury (#412)
- _rOwned[address(this)] += rDev (#401)
- _rOwned[address(this)] += rMarketing (#391)
- _rOwned[sender] = _rOwned[sender] - s.rAmount (#555)
- _rOwned[recipient] = _rOwned[recipient] + s.rTransferAmount (#556)
- _tokenTransfer(from,to,amount,takeFee,isSell) (#539)
- _rTotal -= rRfi (#370)
- _tokenTransfer(from,to,amount,takeFee,isSell) (#539)
- _tOwned[address(this)] += tMarketing (#389)
- _tOwned[address(this)] += tLiquidity (#379)
- _tOwned[address(this)] += ttreasury (#410)
- _tOwned[sender] = _tOwned[sender] - tAmount (#549)
- _tOwned[address(this)] += tDev (#399)
- _tOwned[recipient] = _tOwned[recipient] + s.tTransferAmount (#552)
Apply the check-effects-interactions pattern.
Additional information: link
E.rescueAnyBEP20Tokens(address,address,uint256) (#705-707) ignores return value by IERC20(_tokenAddr).transfer(_to,_amount) (#706)
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 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.
Low level call in Address.sendValue(address,uint256) (#101-106):
- (success) = recipient.call{value: amount}() (#104)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Redundant expression "this (#37)" inContext (#31-40)
Remove redundant statements if they congest code but offer no value.
Additional information: link
E._tTotal (#145) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
Contract name (E.N_I{G}M+A) 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.
Contract ticker ($ENIGMA) 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.
E.swapAndLiquify(uint256,E.Taxes) (#570-602) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - temp.liquidity) (#580)
-bnbToAddLiquidityWith = unitBalance * temp.liquidity (#581)
E.swapAndLiquify(uint256,E.Taxes) (#570-602) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - temp.liquidity) (#580)
-marketingAmt = unitBalance * 2 * temp.marketing (#588)
E.swapAndLiquify(uint256,E.Taxes) (#570-602) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - temp.liquidity) (#580)
-devAmt = unitBalance * 2 * temp.dev (#592)
E.swapAndLiquify(uint256,E.Taxes) (#570-602) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - temp.liquidity) (#580)
-treasuryAmt = unitBalance * 2 * temp.treasury (#597)
Consider ordering multiplication before division.
Additional information: link
E.addLiquidity(uint256,uint256) (#604-617) ignores return value by router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#609-616)
Ensure that all the return values of the function calls are used.
Additional information: link
E.allowance(address,address).owner (#256) shadows:
- Ownable.owner() (#51-53) (function)
E._approve(address,address,uint256).owner (#486) shadows:
- Ownable.owner() (#51-53) (function)
Rename the local variables that shadow another component.
Additional information: link
E.updateCooldown(bool,uint256) (#656-659) should emit an event for:
- coolDownTime = time * 1 (#657)
E.updateSwapTokensAtAmount(uint256) (#661-663) should emit an event for:
- swapTokensAtAmount = amount * 10 ** _decimals (#662)
E.updateMaxTxLimit(uint256,uint256) (#684-687) should emit an event for:
- maxBuyLimit = maxBuy * 10 ** decimals() (#685)
- maxSellLimit = maxSell * 10 ** decimals() (#686)
E.updateMaxWalletlimit(uint256) (#689-691) should emit an event for:
- maxWalletLimit = amount * 10 ** decimals() (#690)
Emit an event for critical parameter changes.
Additional information: link
E.constructor(address)._pair (#210-211) lacks a zero-check on :
- pair = _pair (#214)
E.updateMarketingWallet(address).newWallet (#644) lacks a zero-check on :
- marketingWallet = newWallet (#645)
E.updateDevWallet(address).newWallet (#648) lacks a zero-check on :
- devWallet = newWallet (#649)
E.updatetreasuryWallet(address).newWallet (#652) lacks a zero-check on :
- treasuryWallet = newWallet (#653)
E.updateRouterAndPair(address,address).newPair (#693) lacks a zero-check on :
- pair = newPair (#695)
Check that the address is not zero.
Additional information: link
Reentrancy in E._transfer(address,address,uint256) (#493-540):
External calls:
- swapAndLiquify(swapTokensAtAmount,sellTaxes) (#531)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#609-616)
- (success) = recipient.call{value: amount}() (#104)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#628-634)
- address(marketingWallet).sendValue(marketingAmt) (#590)
- address(devWallet).sendValue(devAmt) (#594)
- address(treasuryWallet).sendValue(treasuryAmt) (#599)
- swapAndLiquify(swapTokensAtAmount,taxes) (#532)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#609-616)
- (success) = recipient.call{value: amount}() (#104)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#628-634)
- address(marketingWallet).sendValue(marketingAmt) (#590)
- address(devWallet).sendValue(devAmt) (#594)
- address(treasuryWallet).sendValue(treasuryAmt) (#599)
External calls sending eth:
- swapAndLiquify(swapTokensAtAmount,sellTaxes) (#531)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#609-616)
- (success) = recipient.call{value: amount}() (#104)
- swapAndLiquify(swapTokensAtAmount,taxes) (#532)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#609-616)
- (success) = recipient.call{value: amount}() (#104)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee,isSell) (#539)
- totFeesPaid.marketing += tMarketing (#385)
- totFeesPaid.liquidity += tLiquidity (#375)
- totFeesPaid.treasury += ttreasury (#406)
- totFeesPaid.dev += tDev (#395)
- totFeesPaid.rfi += tRfi (#371)
Reentrancy in E.constructor(address) (#208-233):
External calls:
- _pair = IFactory(_router.factory()).createPair(address(this),_router.WETH()) (#210-211)
State variables written after the call(s):
- excludeFromReward(pair) (#216)
- _excluded.push(account) (#329)
- excludeFromReward(pair) (#216)
- _isExcluded[account] = true (#328)
- _isExcludedFromFee[address(this)] = true (#219)
- _isExcludedFromFee[owner()] = true (#220)
- _isExcludedFromFee[marketingWallet] = true (#221)
- _isExcludedFromFee[devWallet] = true (#222)
- _isExcludedFromFee[treasuryWallet] = true (#223)
- _rOwned[owner()] = _rTotal (#218)
- excludeFromReward(pair) (#216)
- _tOwned[account] = tokenFromReflection(_rOwned[account]) (#326)
- allowedTransfer[address(this)] = true (#225)
- allowedTransfer[owner()] = true (#226)
- allowedTransfer[pair] = true (#227)
- allowedTransfer[marketingWallet] = true (#228)
- allowedTransfer[devWallet] = true (#229)
- allowedTransfer[treasuryWallet] = true (#230)
- pair = _pair (#214)
- router = _router (#213)
Reentrancy in E.swapAndLiquify(uint256,E.Taxes) (#570-602):
External calls:
- swapTokensForBNB(toSwap) (#577)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#628-634)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#585)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#609-616)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#585)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#609-616)
State variables written after the call(s):
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#585)
- _allowances[owner][spender] = amount (#489)
Reentrancy in E.transferFrom(address,address,uint256) (#265-273):
External calls:
- _transfer(sender,recipient,amount) (#266)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#609-616)
- (success) = recipient.call{value: amount}() (#104)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#628-634)
- address(marketingWallet).sendValue(marketingAmt) (#590)
- address(devWallet).sendValue(devAmt) (#594)
- address(treasuryWallet).sendValue(treasuryAmt) (#599)
External calls sending eth:
- _transfer(sender,recipient,amount) (#266)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#609-616)
- (success) = recipient.call{value: amount}() (#104)
State variables written after the call(s):
- _approve(sender,_msgSender(),currentAllowance - amount) (#270)
- _allowances[owner][spender] = amount (#489)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in E._transfer(address,address,uint256) (#493-540):
External calls:
- swapAndLiquify(swapTokensAtAmount,sellTaxes) (#531)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#609-616)
- (success) = recipient.call{value: amount}() (#104)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#628-634)
- address(marketingWallet).sendValue(marketingAmt) (#590)
- address(devWallet).sendValue(devAmt) (#594)
- address(treasuryWallet).sendValue(treasuryAmt) (#599)
- swapAndLiquify(swapTokensAtAmount,taxes) (#532)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#609-616)
- (success) = recipient.call{value: amount}() (#104)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#628-634)
- address(marketingWallet).sendValue(marketingAmt) (#590)
- address(devWallet).sendValue(devAmt) (#594)
- address(treasuryWallet).sendValue(treasuryAmt) (#599)
External calls sending eth:
- swapAndLiquify(swapTokensAtAmount,sellTaxes) (#531)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#609-616)
- (success) = recipient.call{value: amount}() (#104)
- swapAndLiquify(swapTokensAtAmount,taxes) (#532)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#609-616)
- (success) = recipient.call{value: amount}() (#104)
Event emitted after the call(s):
- Transfer(sender,address(this),s.tLiquidity + s.tMarketing + s.tDev + s.ttreasury) (#561)
- _tokenTransfer(from,to,amount,takeFee,isSell) (#539)
- Transfer(sender,recipient,s.tTransferAmount) (#566)
- _tokenTransfer(from,to,amount,takeFee,isSell) (#539)
Reentrancy in E.constructor(address) (#208-233):
External calls:
- _pair = IFactory(_router.factory()).createPair(address(this),_router.WETH()) (#210-211)
Event emitted after the call(s):
- Transfer(address(0),owner(),_tTotal) (#232)
Reentrancy in E.swapAndLiquify(uint256,E.Taxes) (#570-602):
External calls:
- swapTokensForBNB(toSwap) (#577)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#628-634)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#585)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#609-616)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#585)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#609-616)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#490)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#585)
Reentrancy in E.transferFrom(address,address,uint256) (#265-273):
External calls:
- _transfer(sender,recipient,amount) (#266)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#609-616)
- (success) = recipient.call{value: amount}() (#104)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#628-634)
- address(marketingWallet).sendValue(marketingAmt) (#590)
- address(devWallet).sendValue(devAmt) (#594)
- address(treasuryWallet).sendValue(treasuryAmt) (#599)
External calls sending eth:
- _transfer(sender,recipient,amount) (#266)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#609-616)
- (success) = recipient.call{value: amount}() (#104)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#490)
- _approve(sender,_msgSender(),currentAllowance - amount) (#270)
Apply the check-effects-interactions pattern.
Additional information: link
E._transfer(address,address,uint256) (#493-540) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(timePassed >= coolDownTime,Cooldown enabled) (#520)
Avoid relying on block.timestamp.
Additional information: link
E.setTradingStatus(bool) (#310-314) compares to a boolean constant:
-state == true && genesis_block == 0 (#313)
Remove the equality to the boolean constant.
Additional information: link
E.includeInReward(address) (#332-343) has costly operations inside a loop:
- _excluded.pop() (#339)
Use a local variable to hold the loop computation result.
Additional information: link
Context._msgData() (#36-39) is never used and should be removed
Remove unused functions.
Additional information: link
E._rTotal (#146) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
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
Function IRouter.WETH() (#82) is not in mixedCase
Struct E.valuesFromGetValues (#183-197) is not in CapWords
Parameter E.setTaxes(uint256,uint256,uint256,uint256,uint256)._rfi (#359) is not in mixedCase
Parameter E.setTaxes(uint256,uint256,uint256,uint256,uint256)._marketing (#359) is not in mixedCase
Parameter E.setTaxes(uint256,uint256,uint256,uint256,uint256)._liquidity (#359) is not in mixedCase
Parameter E.setTaxes(uint256,uint256,uint256,uint256,uint256)._dev (#359) is not in mixedCase
Parameter E.setTaxes(uint256,uint256,uint256,uint256,uint256)._treasury (#359) is not in mixedCase
Parameter E.setSellTaxes(uint256,uint256,uint256,uint256,uint256)._rfi (#364) is not in mixedCase
Parameter E.setSellTaxes(uint256,uint256,uint256,uint256,uint256)._marketing (#364) is not in mixedCase
Parameter E.setSellTaxes(uint256,uint256,uint256,uint256,uint256)._liquidity (#364) is not in mixedCase
Parameter E.setSellTaxes(uint256,uint256,uint256,uint256,uint256)._dev (#364) is not in mixedCase
Parameter E.setSellTaxes(uint256,uint256,uint256,uint256,uint256)._treasury (#364) is not in mixedCase
Parameter E.updateSwapEnabled(bool)._enabled (#665) is not in mixedCase
Parameter E.rescueAnyBEP20Tokens(address,address,uint256)._tokenAddr (#705) is not in mixedCase
Parameter E.rescueAnyBEP20Tokens(address,address,uint256)._to (#705) is not in mixedCase
Parameter E.rescueAnyBEP20Tokens(address,address,uint256)._amount (#705) is not in mixedCase
Constant E._decimals (#142) is not in UPPER_CASE_WITH_UNDERSCORES
Variable E.genesis_block (#153) is not in mixedCase
Constant E._name (#159) is not in UPPER_CASE_WITH_UNDERSCORES
Constant E._symbol (#160) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#60-62)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#64-67)
name() should be declared external:
- E.name() (#236-238)
symbol() should be declared external:
- E.symbol() (#239-241)
totalSupply() should be declared external:
- E.totalSupply() (#247-249)
allowance(address,address) should be declared external:
- E.allowance(address,address) (#256-258)
approve(address,uint256) should be declared external:
- E.approve(address,uint256) (#260-263)
transferFrom(address,address,uint256) should be declared external:
- E.transferFrom(address,address,uint256) (#265-273)
increaseAllowance(address,uint256) should be declared external:
- E.increaseAllowance(address,uint256) (#275-278)
decreaseAllowance(address,uint256) should be declared external:
- E.decreaseAllowance(address,uint256) (#280-286)
transfer(address,uint256) should be declared external:
- E.transfer(address,uint256) (#288-292)
isExcludedFromReward(address) should be declared external:
- E.isExcludedFromReward(address) (#294-296)
reflectionFromToken(uint256,bool) should be declared external:
- E.reflectionFromToken(uint256,bool) (#298-307)
excludeFromFee(address) should be declared external:
- E.excludeFromFee(address) (#346-348)
includeInFee(address) should be declared external:
- E.includeInFee(address) (#350-352)
isExcludedFromFee(address) should be declared external:
- E.isExcludedFromFee(address) (#355-357)
setTaxes(uint256,uint256,uint256,uint256,uint256) should be declared external:
- E.setTaxes(uint256,uint256,uint256,uint256,uint256) (#359-362)
setSellTaxes(uint256,uint256,uint256,uint256,uint256) should be declared external:
- E.setSellTaxes(uint256,uint256,uint256,uint256,uint256) (#364-367)
rescueAnyBEP20Tokens(address,address,uint256) should be declared external:
- E.rescueAnyBEP20Tokens(address,address,uint256) (#705-707)
Use the external attribute for functions never called from the contract.
Additional information: link
Attempt to swap token was unsuccessful. For some reason it is untradeable. If token is not in presale stage and is not traded outside PancakeSwap, then it's a scam
Additional information: link
Average 30d PancakeSwap liquidity is low.
Average 30d PancakeSwap volume is low.
Number of Binance Smart Chain (BSC) token holders is low.
Token is deployed only at one blockchain
Token has only one trading pair
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinMarketCap
Unable to find token contract audit
Unable to verify that token and website are owned by the same team (no listings + unable to find contract on website)
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find Twitter link on the website
Token is not listed at Mobula.Finance
Additional information: link
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Young tokens have high risks of scam / price dump / death
Token is marked as scam (rug pull, honeypot, phishing, etc.)
Additional information: link
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Telegram account link seems to be invalid
Unable to find Twitter account
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account