MoonWorms Token Logo

WORMS [MoonWorms] Token

ALERT: honeypot scam

About WORMS

Listings

Not Found
Token 2 years

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 2 March 2022

report
Token seems to be a scam (type: honeypot scam).


Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)

MoonWorms.swapBack() (#573-619) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#602)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in MoonWorms._transferFrom(address,address,uint256) (#464-512):
External calls:
- swapBack() (#491)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#584-590)
- distributor.deposit{value: amountBNBReflection}() (#601)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#602)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#603)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#609-616)
External calls sending eth:
- swapBack() (#491)
- distributor.deposit{value: amountBNBReflection}() (#601)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#602)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#603)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#609-616)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#494)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#497)
- amountReceived = takeFee(sender,amount,(recipient == pair)) (#496)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#535)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.distributeDividend(address) (#283-294) ignores return value by RWRD.transfer(shareholder,amount) (#289)
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.

MoonWorms.swapBack().tmpSuccess (#602) is written in both
(tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#602)
(tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#603)
MoonWorms.swapBack().tmpSuccess (#602) is written in both
(tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#603)
tmpSuccess = false (#606)
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.

Reentrancy in DividendDistributor.distributeDividend(address) (#283-294):
External calls:
- RWRD.transfer(shareholder,amount) (#289)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#291)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#292)
Reentrancy in DividendDistributor.process(uint256) (#252-276):
External calls:
- distributeDividend(shareholders[currentIndex]) (#268)
- RWRD.transfer(shareholder,amount) (#289)
State variables written after the call(s):
- currentIndex ++ (#273)
Reentrancy in DividendDistributor.setShare(address,uint256) (#216-230):
External calls:
- distributeDividend(shareholder) (#218)
- RWRD.transfer(shareholder,amount) (#289)
State variables written after the call(s):
- shares[shareholder].amount = amount (#228)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#229)
Apply the check-effects-interactions pattern.

Additional information: link

MoonWorms.manage_blacklist(address[],bool).i (#637) 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

MoonWorms.swapBack() (#573-619) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#609-616)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendDistributor.setDistributionCriteria(uint256,uint256) (#211-214) should emit an event for:
- minPeriod = _minPeriod (#212)
- minDistribution = _minDistribution (#213)
MoonWorms.setMaxTxPercent_base1000(uint256) (#455-457) should emit an event for:
- _maxTxAmount = (_totalSupply * maxTXPercentage_base1000) / 1000 (#456)
MoonWorms.setTxLimit(uint256) (#459-461) should emit an event for:
- _maxTxAmount = amount (#460)
MoonWorms.set_sell_multiplier(uint256) (#558-560) should emit an event for:
- sellMultiplier = Multiplier (#559)
MoonWorms.setFees(uint256,uint256,uint256,uint256) (#655-663) should emit an event for:
- liquidityFee = _liquidityFee (#656)
- reflectionFee = _reflectionFee (#657)
- marketingFee = _marketingFee (#658)
- totalFee = _liquidityFee.add(_reflectionFee).add(_marketingFee).add(devFee) (#660)
- feeDenominator = _feeDenominator (#661)
MoonWorms.setSwapBackSettings(bool,uint256) (#671-674) should emit an event for:
- swapThreshold = _amount (#673)
MoonWorms.setTargetLiquidity(uint256,uint256) (#676-679) should emit an event for:
- targetLiquidity = _target (#677)
- targetLiquidityDenominator = _denominator (#678)
Emit an event for critical parameter changes.

Additional information: link

Auth.transferOwnership(address).adr (#93) lacks a zero-check on :
- owner = adr (#94)
MoonWorms.setFeeReceivers(address,address)._autoLiquidityReceiver (#665) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#666)
MoonWorms.setFeeReceivers(address,address)._marketingFeeReceiver (#665) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#667)
Check that the address is not zero.

Additional information: link

DividendDistributor.distributeDividend(address) (#283-294) has external calls inside a loop: RWRD.transfer(shareholder,amount) (#289)
MoonWorms.multiTransfer(address,address[],uint256[]) (#705-729) has external calls inside a loop: distributor.setShare(addresses[i_scope_0],_balances[addresses[i_scope_0]]) (#721)
MoonWorms.multiTransfer_fixed(address,address[],uint256) (#731-750) has external calls inside a loop: distributor.setShare(addresses[i],_balances[addresses[i]]) (#742)
Favor pull over push strategy for external calls.

Additional information: link

Reentrancy in MoonWorms.constructor() (#389-418):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#391)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = uint256(- 1) (#392)
- _balances[msg.sender] = _totalSupply (#416)
- autoLiquidityReceiver = msg.sender (#412)
- devFeeReceiver = address(DEV) (#414)
- distributor = new DividendDistributor(address(router)) (#394)
- isDividendExempt[pair] = true (#407)
- isDividendExempt[address(this)] = true (#408)
- isDividendExempt[address(DEV)] = false (#409)
- isDividendExempt[DEAD] = true (#410)
- isFeeExempt[msg.sender] = true (#396)
- isFeeExempt[address(DEV)] = true (#397)
- isTimelockExempt[msg.sender] = true (#401)
- isTimelockExempt[address(DEV)] = true (#402)
- isTimelockExempt[DEAD] = true (#403)
- isTimelockExempt[address(this)] = true (#404)
- isTimelockExempt[address(DEV)] = true (#405)
- isTxLimitExempt[msg.sender] = true (#398)
- isTxLimitExempt[address(DEV)] = true (#399)
- marketingFeeReceiver = msg.sender (#413)
Reentrancy in DividendDistributor.deposit() (#232-250):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#239-244)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#249)
- totalDividends = totalDividends.add(amount) (#248)
Reentrancy in DividendDistributor.distributeDividend(address) (#283-294):
External calls:
- RWRD.transfer(shareholder,amount) (#289)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#290)
Reentrancy in DividendDistributor.setShare(address,uint256) (#216-230):
External calls:
- distributeDividend(shareholder) (#218)
- RWRD.transfer(shareholder,amount) (#289)
State variables written after the call(s):
- addShareholder(shareholder) (#222)
- shareholderIndexes[shareholder] = shareholders.length (#316)
- removeShareholder(shareholder) (#224)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#322)
- addShareholder(shareholder) (#222)
- shareholders.push(shareholder) (#317)
- removeShareholder(shareholder) (#224)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#321)
- shareholders.pop() (#323)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#227)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in MoonWorms._transferFrom(address,address,uint256) (#464-512):
External calls:
- swapBack() (#491)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#584-590)
- distributor.deposit{value: amountBNBReflection}() (#601)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#602)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#603)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#609-616)
- distributor.setShare(sender,_balances[sender]) (#501)
- distributor.setShare(recipient,_balances[recipient]) (#505)
- distributor.process(distributorGas) (#508)
External calls sending eth:
- swapBack() (#491)
- distributor.deposit{value: amountBNBReflection}() (#601)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#602)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#603)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#609-616)
Event emitted after the call(s):
- Transfer(sender,recipient,amountReceived) (#510)
Reentrancy in MoonWorms._transferFrom(address,address,uint256) (#464-512):
External calls:
- swapBack() (#491)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#584-590)
- distributor.deposit{value: amountBNBReflection}() (#601)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#602)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#603)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#609-616)
External calls sending eth:
- swapBack() (#491)
- distributor.deposit{value: amountBNBReflection}() (#601)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#602)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#603)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#609-616)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#536)
- amountReceived = takeFee(sender,amount,(recipient == pair)) (#496)
Reentrancy in MoonWorms.constructor() (#389-418):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#391)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#417)
Reentrancy in MoonWorms.swapBack() (#573-619):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#584-590)
- distributor.deposit{value: amountBNBReflection}() (#601)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#602)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#603)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#609-616)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#601)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#602)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#603)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#609-616)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#617)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.shouldDistribute(address) (#278-281) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#279-280)
MoonWorms._transferFrom(address,address,uint256) (#464-512) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(cooldownTimer[recipient] < block.timestamp,Please wait for 1min between two buys) (#484)
Avoid relying on block.timestamp.

Additional information: link

DividendDistributor.process(uint256) (#252-276) has costly operations inside a loop:
- currentIndex = 0 (#264)
DividendDistributor.distributeDividend(address) (#283-294) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#288)
DividendDistributor.process(uint256) (#252-276) has costly operations inside a loop:
- currentIndex ++ (#273)
Use a local variable to hold the loop computation result.

Additional information: link

MoonWorms._maxTxAmount (#341) is set pre-construction with a non-constant function or state variable:
- _totalSupply
MoonWorms._maxWalletToken (#342) is set pre-construction with a non-constant function or state variable:
- _totalSupply
MoonWorms.totalFee (#360) is set pre-construction with a non-constant function or state variable:
- marketingFee + reflectionFee + liquidityFee + devFee
MoonWorms.swapThreshold (#385) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 30 / 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

Low level call in MoonWorms.swapBack() (#573-619):
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#602)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#603)
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() (#108) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minPeriod (#211) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minDistribution (#211) is not in mixedCase
Variable DividendDistributor._token (#164) is not in mixedCase
Variable DividendDistributor.RWRD (#172) is not in mixedCase
Variable DividendDistributor.WBNB (#173) is not in mixedCase
Function MoonWorms.setMaxWalletPercent_base1000(uint256) (#452-454) is not in mixedCase
Parameter MoonWorms.setMaxWalletPercent_base1000(uint256).maxWallPercent_base1000 (#452) is not in mixedCase
Function MoonWorms.setMaxTxPercent_base1000(uint256) (#455-457) is not in mixedCase
Parameter MoonWorms.setMaxTxPercent_base1000(uint256).maxTXPercentage_base1000 (#455) is not in mixedCase
Function MoonWorms.clearStuckBalance_sender(uint256) (#553-556) is not in mixedCase
Function MoonWorms.set_sell_multiplier(uint256) (#558-560) is not in mixedCase
Parameter MoonWorms.set_sell_multiplier(uint256).Multiplier (#558) is not in mixedCase
Parameter MoonWorms.tradingStatus(bool)._status (#563) is not in mixedCase
Parameter MoonWorms.cooldownEnabled(bool,uint8)._status (#568) is not in mixedCase
Parameter MoonWorms.cooldownEnabled(bool,uint8)._interval (#568) is not in mixedCase
Function MoonWorms.enable_blacklist(bool) (#632-634) is not in mixedCase
Parameter MoonWorms.enable_blacklist(bool)._status (#632) is not in mixedCase
Function MoonWorms.manage_blacklist(address[],bool) (#636-640) is not in mixedCase
Parameter MoonWorms.setFees(uint256,uint256,uint256,uint256)._liquidityFee (#655) is not in mixedCase
Parameter MoonWorms.setFees(uint256,uint256,uint256,uint256)._reflectionFee (#655) is not in mixedCase
Parameter MoonWorms.setFees(uint256,uint256,uint256,uint256)._marketingFee (#655) is not in mixedCase
Parameter MoonWorms.setFees(uint256,uint256,uint256,uint256)._feeDenominator (#655) is not in mixedCase
Parameter MoonWorms.setFeeReceivers(address,address)._autoLiquidityReceiver (#665) is not in mixedCase
Parameter MoonWorms.setFeeReceivers(address,address)._marketingFeeReceiver (#665) is not in mixedCase
Parameter MoonWorms.setSwapBackSettings(bool,uint256)._enabled (#671) is not in mixedCase
Parameter MoonWorms.setSwapBackSettings(bool,uint256)._amount (#671) is not in mixedCase
Parameter MoonWorms.setTargetLiquidity(uint256,uint256)._target (#676) is not in mixedCase
Parameter MoonWorms.setTargetLiquidity(uint256,uint256)._denominator (#676) is not in mixedCase
Parameter MoonWorms.setDistributionCriteria(uint256,uint256)._minPeriod (#681) is not in mixedCase
Parameter MoonWorms.setDistributionCriteria(uint256,uint256)._minDistribution (#681) is not in mixedCase
Function MoonWorms.multiTransfer_fixed(address,address[],uint256) (#731-750) is not in mixedCase
Variable MoonWorms.WBNB (#330) is not in mixedCase
Variable MoonWorms.DEAD (#331) is not in mixedCase
Variable MoonWorms.ZERO (#332) is not in mixedCase
Variable MoonWorms.DEV (#333) is not in mixedCase
Constant MoonWorms._name (#335) is not in UPPER_CASE_WITH_UNDERSCORES
Constant MoonWorms._symbol (#336) is not in UPPER_CASE_WITH_UNDERSCORES
Constant MoonWorms._decimals (#337) is not in UPPER_CASE_WITH_UNDERSCORES
Variable MoonWorms._totalSupply (#339) is not in mixedCase
Variable MoonWorms._maxTxAmount (#341) is not in mixedCase
Variable MoonWorms._maxWalletToken (#342) is not in mixedCase
Variable MoonWorms._balances (#344) is not in mixedCase
Variable MoonWorms._allowances (#345) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#113) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#114)
Prevent variables from having similar names.

Additional information: link

MoonWorms.slitherConstructorVariables() (#327-755) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#331)
MoonWorms.slitherConstructorVariables() (#327-755) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#332)
MoonWorms.slitherConstructorVariables() (#327-755) uses literals with too many digits:
- distributorGas = 500000 (#378)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

DividendDistributor.WBNB (#173) should be constant
DividendDistributor.dividendsPerShareAccuracyFactor (#186) should be constant
MoonWorms.DEAD (#331) should be constant
MoonWorms.DEV (#333) should be constant
MoonWorms.WBNB (#330) should be constant
MoonWorms.ZERO (#332) should be constant
MoonWorms._totalSupply (#339) 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) (#77-79)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#81-83)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#93-97)
tradingStatus(bool) should be declared external:
- MoonWorms.tradingStatus(bool) (#563-565)
cooldownEnabled(bool,uint8) should be declared external:
- MoonWorms.cooldownEnabled(bool,uint8) (#568-571)
enable_blacklist(bool) should be declared external:
- MoonWorms.enable_blacklist(bool) (#632-634)
manage_blacklist(address[],bool) should be declared external:
- MoonWorms.manage_blacklist(address[],bool) (#636-640)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Token seems to be untradeable: there is no PancakeSwap trading pair and no trading volumes. Ignore for presale.


Number of Binance Smart Chain (BSC) token holders is low.


Unable to find Telegram and Twitter accounts


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

Price for WORMS