🐸 Golden Frog Inu🐸
Golden Frog Inu is a multi-utility and sustainable low tax 1000x gem featuring new PROJECT TO INFLUENCER system.
GFGI.addLiquidity(uint256,uint256) (#710-723) sends eth to arbitrary user
Dangerous calls:
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#715-722)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in GFGI._transfer(address,address,uint256) (#555-641):
External calls:
- handle_fees(feeswap,currentTaxes) (#629)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#715-722)
- (success) = recipient.call{value: amount}() (#366)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#701-707)
- address(marketingWallet).sendValue(marketingAmt) (#676)
- address(devWallet).sendValue(devAmt) (#681)
- address(projectdevWallet).sendValue(projectdevAmt) (#686)
External calls sending eth:
- handle_fees(feeswap,currentTaxes) (#629)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#715-722)
- (success) = recipient.call{value: amount}() (#366)
State variables written after the call(s):
- super._transfer(sender,recipient,amount - fee) (#632)
- _balances[sender] = senderBalance - amount (#267)
- _balances[recipient] += amount (#268)
- super._transfer(sender,address(this),feeAmount) (#637)
- _balances[sender] = senderBalance - amount (#267)
- _balances[recipient] += amount (#268)
Apply the check-effects-interactions pattern.
Additional information: link
GFGI.rescueBSC20(address,uint256) (#845-847) ignores return value by IERC20(tokenAdd).transfer(devWallet,amount) (#846)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Too many vulnerabilities (Unchecked transfer, Reentrancy vulnerability, etc.). High risk of a scam. DYOR & manual audit are advised.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
GFGI._transfer(address,address,uint256).fee (#597) is written in both
fee = 0 (#607)
fee = ((amount * feesum) / 100) / _taxDenominator (#625)
Fix or remove the writes.
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.
Contract ownership is not renounced (belongs to a wallet)
GFGI.handle_fees(uint256,GFGI.Taxes) (#643-690) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / ((denominator - swapTaxes.liquidity) / swapTaxes.denominator) (#666)
-bnbToAddLiquidityWith = (unitBalance * swapTaxes.liquidity) / swapTaxes.denominator (#667)
GFGI.handle_fees(uint256,GFGI.Taxes) (#643-690) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / ((denominator - swapTaxes.liquidity) / swapTaxes.denominator) (#666)
-marketingAmt = (unitBalance * 2 * swapTaxes.marketing) / swapTaxes.denominator (#674)
GFGI.handle_fees(uint256,GFGI.Taxes) (#643-690) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / ((denominator - swapTaxes.liquidity) / swapTaxes.denominator) (#666)
-devAmt = (unitBalance * 2 * swapTaxes.dev) / swapTaxes.denominator (#679)
GFGI.handle_fees(uint256,GFGI.Taxes) (#643-690) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / ((denominator - swapTaxes.liquidity) / swapTaxes.denominator) (#666)
-projectdevAmt = (unitBalance * 2 * swapTaxes.projectdev) / swapTaxes.denominator (#684)
Consider ordering multiplication before division.
Additional information: link
GFGI._transfer(address,address,uint256).feesum (#596) is a local variable never initialized
GFGI._transfer(address,address,uint256).currentTaxes (#599) is a local variable never initialized
GFGI._transfer(address,address,uint256).feeswap (#595) 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
GFGI.addLiquidity(uint256,uint256) (#710-723) ignores return value by router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#715-722)
Ensure that all the return values of the function calls are used.
Additional information: link
GFGI.updateLiquidityTreshhold(uint256) (#730-733) should emit an event for:
- tokenLiquidityThreshold = new_amount * 10 ** decimals() (#732)
GFGI.updatedeadline(uint256) (#773-777) should emit an event for:
- deadline = _deadline (#776)
GFGI.updateCooldown(bool,uint256) (#791-795) should emit an event for:
- coolDownTime = time * 1 (#792)
GFGI.updateMaxBuyTxLimit(uint256) (#817-820) should emit an event for:
- maxBuyLimit = maxBuy * 10 ** decimals() (#818)
GFGI.updateMaxSellTxLimit(uint256) (#822-825) should emit an event for:
- maxSellLimit = maxSell * 10 ** decimals() (#823)
GFGI.updateMaxWalletlimit(uint256) (#827-830) should emit an event for:
- maxWalletLimit = amount * 10 ** decimals() (#829)
GFGI.updateMaxTxLimit(uint256,uint256,uint256) (#832-839) should emit an event for:
- maxBuyLimit = maxBuy * 10 ** decimals() (#836)
- maxSellLimit = maxSell * 10 ** decimals() (#837)
- maxWalletLimit = maxWallet * 10 ** decimals() (#838)
Emit an event for critical parameter changes.
Additional information: link
GFGI.constructor(address)._pair (#496) lacks a zero-check on :
- pair = _pair (#499)
GFGI.updateRouterAndPair(address,address).newPair (#761) lacks a zero-check on :
- pair = newPair (#763)
GFGI.updateMarketingWallet(address).newWallet (#779) lacks a zero-check on :
- marketingWallet = newWallet (#780)
GFGI.updateDevWallet(address).newWallet (#783) lacks a zero-check on :
- devWallet = newWallet (#784)
GFGI.updateProjectdevWallet(address).newWallet (#787) lacks a zero-check on :
- projectdevWallet = newWallet (#788)
Check that the address is not zero.
Additional information: link
Modifier GFGI.mutexLock() (#482-488) does not always execute _; or revert
All the paths in a modifier must execute _ or revert.
Additional information: link
Reentrancy in GFGI.constructor(address) (#490-508):
External calls:
- _pair = IFactory(_router.factory()).createPair(address(this),_router.WETH()) (#496)
State variables written after the call(s):
- exemptFee[address(this)] = true (#500)
- exemptFee[marketingWallet] = true (#501)
- exemptFee[devWallet] = true (#502)
- exemptFee[projectdevWallet] = true (#503)
- exemptFee[deadWallet] = true (#504)
- exemptFee[0xD152f549545093347A162Dce210e7293f1452150] = true (#505)
- exemptFee[0x407993575c91ce7643a4d4cCACc9A98c36eE1BBE] = true (#506)
- pair = _pair (#499)
- router = _router (#498)
Reentrancy in GFGI.handle_fees(uint256,GFGI.Taxes) (#643-690):
External calls:
- swapTokensForETH(toSwap) (#663)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#701-707)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#671)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#715-722)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#671)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#715-722)
State variables written after the call(s):
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#671)
- _allowances[owner][spender] = amount (#337)
Reentrancy in GFGI.transferFrom(address,address,uint256) (#515-527):
External calls:
- _transfer(sender,recipient,amount) (#520)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#715-722)
- (success) = recipient.call{value: amount}() (#366)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#701-707)
- address(marketingWallet).sendValue(marketingAmt) (#676)
- address(devWallet).sendValue(devAmt) (#681)
- address(projectdevWallet).sendValue(projectdevAmt) (#686)
External calls sending eth:
- _transfer(sender,recipient,amount) (#520)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#715-722)
- (success) = recipient.call{value: amount}() (#366)
State variables written after the call(s):
- _approve(sender,_msgSender(),currentAllowance - amount) (#524)
- _allowances[owner][spender] = amount (#337)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in GFGI._transfer(address,address,uint256) (#555-641):
External calls:
- handle_fees(feeswap,currentTaxes) (#629)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#715-722)
- (success) = recipient.call{value: amount}() (#366)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#701-707)
- address(marketingWallet).sendValue(marketingAmt) (#676)
- address(devWallet).sendValue(devAmt) (#681)
- address(projectdevWallet).sendValue(projectdevAmt) (#686)
External calls sending eth:
- handle_fees(feeswap,currentTaxes) (#629)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#715-722)
- (success) = recipient.call{value: amount}() (#366)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#270)
- super._transfer(sender,recipient,amount - fee) (#632)
- Transfer(sender,recipient,amount) (#270)
- super._transfer(sender,address(this),feeAmount) (#637)
Reentrancy in GFGI.handle_fees(uint256,GFGI.Taxes) (#643-690):
External calls:
- swapTokensForETH(toSwap) (#663)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#701-707)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#671)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#715-722)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#671)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#715-722)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#338)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#671)
Reentrancy in GFGI.transferFrom(address,address,uint256) (#515-527):
External calls:
- _transfer(sender,recipient,amount) (#520)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#715-722)
- (success) = recipient.call{value: amount}() (#366)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#701-707)
- address(marketingWallet).sendValue(marketingAmt) (#676)
- address(devWallet).sendValue(devAmt) (#681)
- address(projectdevWallet).sendValue(projectdevAmt) (#686)
External calls sending eth:
- _transfer(sender,recipient,amount) (#520)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#715-722)
- (success) = recipient.call{value: amount}() (#366)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#338)
- _approve(sender,_msgSender(),currentAllowance - amount) (#524)
Apply the check-effects-interactions pattern.
Additional information: link
GFGI._transfer(address,address,uint256) (#555-641) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(timePassed >= coolDownTime,Cooldown enabled) (#590)
Avoid relying on block.timestamp.
Additional information: link
Context._msgData() (#9-12) is never used and should be removed
ERC20._burn(address,uint256) (#303-314) is never used and should be removed
Remove unused functions.
Additional information: link
Low level call in Address.sendValue(address,uint256) (#363-368):
- (success) = recipient.call{value: amount}() (#366)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable ERC20._balances (#55) is not in mixedCase
Variable ERC20._allowances (#57) is not in mixedCase
Function IRouter.WETH() (#412) is not in mixedCase
Function GFGI.handle_fees(uint256,GFGI.Taxes) (#643-690) is not in mixedCase
Parameter GFGI.updateLiquidityTreshhold(uint256).new_amount (#730) is not in mixedCase
Function GFGI.UpdateBuyTaxes(uint256,uint256,uint256,uint256) (#735-746) is not in mixedCase
Parameter GFGI.UpdateBuyTaxes(uint256,uint256,uint256,uint256)._marketing (#736) is not in mixedCase
Parameter GFGI.UpdateBuyTaxes(uint256,uint256,uint256,uint256)._projectdev (#737) is not in mixedCase
Parameter GFGI.UpdateBuyTaxes(uint256,uint256,uint256,uint256)._liquidity (#738) is not in mixedCase
Parameter GFGI.UpdateBuyTaxes(uint256,uint256,uint256,uint256)._dev (#739) is not in mixedCase
Function GFGI.SetSellTaxes(uint256,uint256,uint256,uint256) (#748-759) is not in mixedCase
Parameter GFGI.SetSellTaxes(uint256,uint256,uint256,uint256)._marketing (#749) is not in mixedCase
Parameter GFGI.SetSellTaxes(uint256,uint256,uint256,uint256)._projectdev (#750) is not in mixedCase
Parameter GFGI.SetSellTaxes(uint256,uint256,uint256,uint256)._liquidity (#751) is not in mixedCase
Parameter GFGI.SetSellTaxes(uint256,uint256,uint256,uint256)._dev (#752) is not in mixedCase
Parameter GFGI.updatedeadline(uint256)._deadline (#773) is not in mixedCase
Parameter GFGI.updateExemptFee(address,bool)._address (#807) is not in mixedCase
Variable GFGI.genesis_block (#454) is not in mixedCase
Constant GFGI.deadWallet (#461) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#10)" inContext (#4-13)
Remove redundant statements if they congest code but offer no value.
Additional information: link
GFGI.slitherConstructorConstantVariables() (#439-852) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (#461)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
GFGI.launchtax (#456) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
name() should be declared external:
- ERC20.name() (#81-83)
symbol() should be declared external:
- ERC20.symbol() (#89-91)
totalSupply() should be declared external:
- ERC20.totalSupply() (#113-115)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#132-140)
- GFGI.transfer(address,uint256) (#550-553)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#145-153)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#162-165)
- GFGI.approve(address,uint256) (#510-513)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#180-192)
- GFGI.transferFrom(address,address,uint256) (#515-527)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#206-213)
- GFGI.increaseAllowance(address,uint256) (#529-536)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#229-239)
- GFGI.decreaseAllowance(address,uint256) (#538-548)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#389-391)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#393-396)
Use the external attribute for functions never called from the contract.
Additional information: link
Not a direct threat, but may indicate unreliable intentions of developer. Widespread names (e.g. Elon, King, Moon, Doge) are common among meme-tokens and scams. The allow to gain free hype and attract unexperienced investors.
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 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 30d PancakeSwap liquidity 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
Unable to find website, listings and other project-related information
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
Unable to find Twitter account
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account