Too many vulnerabilities (Unchecked transfer, Reentrancy vulnerability, etc.). High risk of a scam. DYOR & manual audit are advised.
CumGirl.swapBack() (#538-582) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(mFR).call{gas: gass,value: amountBNBMarketing}() (#566)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in CumGirl._transferFrom(address,address,uint256) (#445-472):
External calls:
- swapBack() (#461)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#549-555)
- distributor.deposit{value: amountBNBReflection}() (#565)
- (tmpSuccess) = address(mFR).call{gas: gass,value: amountBNBMarketing}() (#566)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,aLR,block.timestamp) (#571-578)
External calls sending eth:
- swapBack() (#461)
- distributor.deposit{value: amountBNBReflection}() (#565)
- (tmpSuccess) = address(mFR).call{gas: gass,value: amountBNBMarketing}() (#566)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,aLR,block.timestamp) (#571-578)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#462)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#464)
- amountReceived = takeFee(sender,recipient,amount) (#463)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#497)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.distributeDividend(address) (#281-292) ignores return value by CAKE.transfer(shareholder,amount) (#287)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
CumGirl.launchedAt (#357) is never initialized. It is used in:
- CumGirl.getTF(bool) (#489-493)
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
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
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.
CumGirl.swapBack().tmpSuccess (#566) is written in both
(tmpSuccess) = address(mFR).call{gas: gass,value: amountBNBMarketing}() (#566)
tmpSuccess = false (#568)
Fix or remove the writes.
Additional information: link
Contract ownership is not renounced (belongs to a wallet)
DividendDistributor.distributeDividend(address) (#281-292) has external calls inside a loop: CAKE.transfer(shareholder,amount) (#287)
Favor pull over push strategy for external calls.
Additional information: link
Reentrancy in DividendDistributor.distributeDividend(address) (#281-292):
External calls:
- CAKE.transfer(shareholder,amount) (#287)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#289)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#290)
Reentrancy in DividendDistributor.process(uint256) (#250-274):
External calls:
- distributeDividend(shareholders[currentIndex]) (#266)
- CAKE.transfer(shareholder,amount) (#287)
State variables written after the call(s):
- currentIndex ++ (#271)
Reentrancy in DividendDistributor.setShare(address,uint256) (#214-228):
External calls:
- distributeDividend(shareholder) (#216)
- CAKE.transfer(shareholder,amount) (#287)
State variables written after the call(s):
- shares[shareholder].amount = amount (#226)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#227)
Apply the check-effects-interactions pattern.
Additional information: link
CumGirl.swapBack() (#538-582) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,aLR,block.timestamp) (#571-578)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendDistributor.setDistributionCriteria(uint256,uint256) (#209-212) should emit an event for:
- minPeriod = _minPeriod (#210)
- minDistribution = _minDistribution (#211)
CumGirl.setMaxTXP(uint256) (#437-439) should emit an event for:
- _maxTxAmount = (_totalSupply * maxTXPercent) / 1000 (#438)
CumGirl.setseT(bool,uint256) (#524-527) should emit an event for:
- seTt = _seTt (#526)
CumGirl.setFEs(uint256,uint256,uint256,uint256) (#606-612) should emit an event for:
- liqF = _liqF (#607)
- rewF = _rewF (#608)
- marF = _marF (#609)
- totF = _liqF.add(_rewF).add(_marF) (#610)
- feeD = _feeD (#611)
CumGirl.setSwapBackSettings(bool,uint256) (#619-622) should emit an event for:
- swapThreshold = _totalSupply * _amount / 10000 (#621)
CumGirl.setTargetLiquidity(uint256,uint256) (#624-627) should emit an event for:
- targetLiquidity = _target (#625)
- targetLiquidityDenominator = _denominator (#626)
CumGirl.setmgas(uint256) (#629-631) should emit an event for:
- gass = _gass (#630)
Emit an event for critical parameter changes.
Additional information: link
Auth.transferOwnership(address).adr (#92) lacks a zero-check on :
- owner = adr (#93)
CumGirl.setmFR(address)._mFR (#502) lacks a zero-check on :
- mFR = _mFR (#503)
CumGirl.setcsB(address)._csB (#534) lacks a zero-check on :
- csB = _csB (#535)
CumGirl.setFRec(address,address)._mFR (#614) lacks a zero-check on :
- mFR = _mFR (#615)
CumGirl.setFRec(address,address)._csB (#614) lacks a zero-check on :
- csB = _csB (#616)
CumGirl.setaLR(address)._aLR (#637) lacks a zero-check on :
- aLR = _aLR (#638)
Check that the address is not zero.
Additional information: link
Reentrancy in CumGirl.constructor() (#376-403):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#378)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = uint256(- 1) (#379)
- _balances[msg.sender] = _totalSupply (#401)
- aLR = msg.sender (#398)
- csB = msg.sender (#397)
- distributor = new DividendDistributor(address(router)) (#381)
- isDividendExempt[pair] = true (#394)
- isDividendExempt[address(this)] = true (#395)
- isDividendExempt[DEAD] = true (#396)
- isFeeExempt[msg.sender] = true (#383)
- isFeeExempt[mFR] = true (#384)
- isFeeExempt[csB] = true (#385)
- isFeeExempt[aLR] = true (#386)
- isTimelockExempt[msg.sender] = true (#391)
- isTimelockExempt[DEAD] = true (#392)
- isTimelockExempt[address(this)] = true (#393)
- isTxLimitExempt[msg.sender] = true (#387)
- isTxLimitExempt[mFR] = true (#388)
- isTxLimitExempt[csB] = true (#389)
- isTxLimitExempt[aLR] = true (#390)
- mFR = msg.sender (#399)
Reentrancy in DividendDistributor.deposit() (#230-248):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#237-242)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#247)
- totalDividends = totalDividends.add(amount) (#246)
Reentrancy in DividendDistributor.distributeDividend(address) (#281-292):
External calls:
- CAKE.transfer(shareholder,amount) (#287)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#288)
Reentrancy in DividendDistributor.setShare(address,uint256) (#214-228):
External calls:
- distributeDividend(shareholder) (#216)
- CAKE.transfer(shareholder,amount) (#287)
State variables written after the call(s):
- addShareholder(shareholder) (#220)
- shareholderIndexes[shareholder] = shareholders.length (#314)
- removeShareholder(shareholder) (#222)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#320)
- addShareholder(shareholder) (#220)
- shareholders.push(shareholder) (#315)
- removeShareholder(shareholder) (#222)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#319)
- shareholders.pop() (#321)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#225)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in CumGirl._transferFrom(address,address,uint256) (#445-472):
External calls:
- swapBack() (#461)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#549-555)
- distributor.deposit{value: amountBNBReflection}() (#565)
- (tmpSuccess) = address(mFR).call{gas: gass,value: amountBNBMarketing}() (#566)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,aLR,block.timestamp) (#571-578)
- distributor.setShare(sender,_balances[sender]) (#466)
- distributor.setShare(recipient,_balances[recipient]) (#468)
- distributor.process(distributorGas) (#469)
External calls sending eth:
- swapBack() (#461)
- distributor.deposit{value: amountBNBReflection}() (#565)
- (tmpSuccess) = address(mFR).call{gas: gass,value: amountBNBMarketing}() (#566)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,aLR,block.timestamp) (#571-578)
Event emitted after the call(s):
- Transfer(sender,recipient,amountReceived) (#470)
Reentrancy in CumGirl._transferFrom(address,address,uint256) (#445-472):
External calls:
- swapBack() (#461)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#549-555)
- distributor.deposit{value: amountBNBReflection}() (#565)
- (tmpSuccess) = address(mFR).call{gas: gass,value: amountBNBMarketing}() (#566)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,aLR,block.timestamp) (#571-578)
External calls sending eth:
- swapBack() (#461)
- distributor.deposit{value: amountBNBReflection}() (#565)
- (tmpSuccess) = address(mFR).call{gas: gass,value: amountBNBMarketing}() (#566)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,aLR,block.timestamp) (#571-578)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#498)
- amountReceived = takeFee(sender,recipient,amount) (#463)
Reentrancy in CumGirl.constructor() (#376-403):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#378)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#402)
Reentrancy in CumGirl.swapBack() (#538-582):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#549-555)
- distributor.deposit{value: amountBNBReflection}() (#565)
- (tmpSuccess) = address(mFR).call{gas: gass,value: amountBNBMarketing}() (#566)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,aLR,block.timestamp) (#571-578)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#565)
- (tmpSuccess) = address(mFR).call{gas: gass,value: amountBNBMarketing}() (#566)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,aLR,block.timestamp) (#571-578)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#580)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.shouldDistribute(address) (#276-279) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#277-278)
CumGirl._transferFrom(address,address,uint256) (#445-472) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(sFrzin[sender] < block.timestamp,Please wait for cooldown between sells) (#453)
- require(bool,string)(bFrzin[recipient] < block.timestamp,Please wait for cooldown between buys) (#458)
Avoid relying on block.timestamp.
Additional information: link
DividendDistributor.process(uint256) (#250-274) has costly operations inside a loop:
- currentIndex = 0 (#262)
DividendDistributor.distributeDividend(address) (#281-292) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#286)
DividendDistributor.process(uint256) (#250-274) has costly operations inside a loop:
- currentIndex ++ (#271)
Use a local variable to hold the loop computation result.
Additional information: link
CumGirl._maxTxAmount (#335) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 15) / 1000
CumGirl._maxWalletToken (#336) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 30) / 1000
CumGirl.TotalFee (#358) is set pre-construction with a non-constant function or state variable:
- totF
CumGirl.asT (#359) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 5 / 10000
CumGirl.swapThreshold (#364) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 8 / 10000
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
Pragma version^0.7.4 (#3) allows old versions
solc-0.7.4 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
Low level call in CumGirl.swapBack() (#538-582):
- (tmpSuccess) = address(mFR).call{gas: gass,value: amountBNBMarketing}() (#566)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IDEXRouter.WETH() (#107) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minPeriod (#209) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minDistribution (#209) is not in mixedCase
Variable DividendDistributor._token (#163) is not in mixedCase
Variable DividendDistributor.CAKE (#171) is not in mixedCase
Variable DividendDistributor.WBNB (#172) is not in mixedCase
Parameter CumGirl.setmFR(address)._mFR (#502) is not in mixedCase
Parameter CumGirl.setsFrz(bool,uint8)._status (#519) is not in mixedCase
Parameter CumGirl.setsFrz(bool,uint8)._interval (#519) is not in mixedCase
Parameter CumGirl.setseT(bool,uint256)._status (#524) is not in mixedCase
Parameter CumGirl.setseT(bool,uint256)._seTt (#524) is not in mixedCase
Parameter CumGirl.setbFrz(bool,uint8)._status (#529) is not in mixedCase
Parameter CumGirl.setbFrz(bool,uint8)._interval (#529) is not in mixedCase
Parameter CumGirl.setcsB(address)._csB (#534) is not in mixedCase
Parameter CumGirl.setFEs(uint256,uint256,uint256,uint256)._liqF (#606) is not in mixedCase
Parameter CumGirl.setFEs(uint256,uint256,uint256,uint256)._rewF (#606) is not in mixedCase
Parameter CumGirl.setFEs(uint256,uint256,uint256,uint256)._marF (#606) is not in mixedCase
Parameter CumGirl.setFEs(uint256,uint256,uint256,uint256)._feeD (#606) is not in mixedCase
Parameter CumGirl.setFRec(address,address)._mFR (#614) is not in mixedCase
Parameter CumGirl.setFRec(address,address)._csB (#614) is not in mixedCase
Parameter CumGirl.setSwapBackSettings(bool,uint256)._enabled (#619) is not in mixedCase
Parameter CumGirl.setSwapBackSettings(bool,uint256)._amount (#619) is not in mixedCase
Parameter CumGirl.setTargetLiquidity(uint256,uint256)._target (#624) is not in mixedCase
Parameter CumGirl.setTargetLiquidity(uint256,uint256)._denominator (#624) is not in mixedCase
Parameter CumGirl.setmgas(uint256)._gass (#629) is not in mixedCase
Parameter CumGirl.setDistributionCriteria(uint256,uint256)._minPeriod (#633) is not in mixedCase
Parameter CumGirl.setDistributionCriteria(uint256,uint256)._minDistribution (#633) is not in mixedCase
Parameter CumGirl.setaLR(address)._aLR (#637) is not in mixedCase
Variable CumGirl.WBNB (#328) is not in mixedCase
Variable CumGirl.DEAD (#329) is not in mixedCase
Variable CumGirl.ZERO (#330) is not in mixedCase
Constant CumGirl._name (#331) is not in UPPER_CASE_WITH_UNDERSCORES
Constant CumGirl._symbol (#332) is not in UPPER_CASE_WITH_UNDERSCORES
Constant CumGirl._decimals (#333) is not in UPPER_CASE_WITH_UNDERSCORES
Variable CumGirl._totalSupply (#334) is not in mixedCase
Variable CumGirl._maxTxAmount (#335) is not in mixedCase
Variable CumGirl._maxWalletToken (#336) is not in mixedCase
Variable CumGirl._balances (#337) is not in mixedCase
Variable CumGirl._allowances (#338) is not in mixedCase
Variable CumGirl.TotalFee (#358) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#112) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#113)
Prevent variables from having similar names.
Additional information: link
CumGirl.slitherConstructorVariables() (#325-661) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#329)
CumGirl.slitherConstructorVariables() (#325-661) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#330)
CumGirl.slitherConstructorVariables() (#325-661) uses literals with too many digits:
- distributorGas = 500000 (#361)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
CumGirl.bthis (#349) is never used in CumGirl (#325-661)
Remove unused state variables.
Additional information: link
CumGirl.DEAD (#329) should be constant
CumGirl.WBNB (#328) should be constant
CumGirl.ZERO (#330) should be constant
CumGirl._totalSupply (#334) should be constant
CumGirl.bthis (#349) should be constant
CumGirl.launchedAt (#357) should be constant
DividendDistributor.WBNB (#172) should be constant
DividendDistributor.dividendsPerShareAccuracyFactor (#185) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
authorize(address) should be declared external:
- Auth.authorize(address) (#76-78)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#80-82)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#92-96)
Use the external attribute for functions never called from the contract.
Additional information: link
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Contract has 10% buy tax and 21% sell tax.
Taxes are suspiciously high (over 10%) and contract ownership is not renounced. Token has a high risk of becoming a honeypot.
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.
Token has no transactions for more than 100 days. It seems dead / abandoned.
Token is deployed only at one blockchain
Token has only one trading pair
Swap operations require suspiciously high gas. Contract logic is complex and may disguise some form of scam.
Unable to find website, listings and other project-related information
Token is marked as scam (rug pull, honeypot, phishing, etc.)
Additional information: link
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 social accounts / website are missing or have few users
Token has a considerable age, but average PancakeSwap 30d trading volume is low
Young tokens have high risks of price dump / death
Unable to find Telegram and Twitter accounts