MyFlokiValentine Token Logo

$MFLV [MyFlokiValentine] Token

ALERT: honeypot scam

About $MFLV

Listings

Not Found
Token 2 years

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 20 February 2022

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


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

MyFlokiValentine.clearStuckBalance() (#337-340) sends eth to arbitrary user
Dangerous calls:
- (sent) = address(owner).call{value: (address(this).balance)}() (#338)
MyFlokiValentine.swapBack() (#385-429) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#412)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#413)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in MyFlokiValentine._transferFrom(address,address,uint256) (#297-328):
External calls:
- swapBack() (#318)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#396-402)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#412)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#413)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#419-426)
External calls sending eth:
- swapBack() (#318)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#412)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#413)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#419-426)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#321)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#324)
- amountReceived = takeFee(sender,amount,(recipient == pair)) (#323)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#363)
Apply the check-effects-interactions pattern.

Additional information: link

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

Contract ticker ($MFLV) 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.

MyFlokiValentine.takeFee(address,uint256,bool) (#354-367) performs a multiplication on the result of a division:
-feeAmount = amount.div(feeDenominator * 100).mul(totalFee).mul(multiplier) (#361)
Consider ordering multiplication before division.

Additional information: link

MyFlokiValentine.swapBack() (#385-429) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#419-426)
Ensure that all the return values of the function calls are used.

Additional information: link

MyFlokiValentine.set_sell_multiplier(uint256) (#342-344) should emit an event for:
- sellMultiplier = Multiplier (#343)
MyFlokiValentine.setTxLimit(uint256) (#432-434) should emit an event for:
- _maxTxAmount = amount (#433)
MyFlokiValentine.setFees(uint256,uint256,uint256,uint256) (#448-455) should emit an event for:
- liquidityFee = _liquidityFee (#449)
- marketingFee = _marketingFee (#450)
- devFee = _devFee (#451)
- totalFee = _liquidityFee.add(_marketingFee).add(_devFee) (#452)
- feeDenominator = _feeDenominator (#453)
MyFlokiValentine.setSwapBackSettings(bool,uint256) (#463-466) should emit an event for:
- swapThreshold = _amount (#465)
MyFlokiValentine.setTargetLiquidity(uint256,uint256) (#468-471) should emit an event for:
- targetLiquidity = _target (#469)
- targetLiquidityDenominator = _denominator (#470)
Emit an event for critical parameter changes.

Additional information: link

Auth.transferOwnership(address).adr (#80) lacks a zero-check on :
- owner = adr (#81)
MyFlokiValentine.setFeeReceivers(address,address,address)._autoLiquidityReceiver (#457) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#458)
MyFlokiValentine.setFeeReceivers(address,address,address)._marketingFeeReceiver (#457) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#459)
MyFlokiValentine.setFeeReceivers(address,address,address)._devFeeReceiver (#457) lacks a zero-check on :
- devFeeReceiver = _devFeeReceiver (#460)
Check that the address is not zero.

Additional information: link

Reentrancy in MyFlokiValentine.constructor() (#240-258):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#242)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = uint256(- 1) (#243)
- _balances[msg.sender] = _totalSupply (#256)
- autoLiquidityReceiver = address(this) (#252)
- devFeeReceiver = DevWallet (#254)
- isFeeExempt[msg.sender] = true (#245)
- isTimelockExempt[msg.sender] = true (#248)
- isTimelockExempt[DEAD] = true (#249)
- isTimelockExempt[address(this)] = true (#250)
- isTxLimitExempt[msg.sender] = true (#246)
- marketingFeeReceiver = MarketingWallet (#253)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in MyFlokiValentine._transferFrom(address,address,uint256) (#297-328):
External calls:
- swapBack() (#318)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#396-402)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#412)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#413)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#419-426)
External calls sending eth:
- swapBack() (#318)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#412)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#413)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#419-426)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#364)
- amountReceived = takeFee(sender,amount,(recipient == pair)) (#323)
- Transfer(sender,recipient,amountReceived) (#326)
Reentrancy in MyFlokiValentine.constructor() (#240-258):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#242)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#257)
Reentrancy in MyFlokiValentine.swapBack() (#385-429):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#396-402)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#412)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#413)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#419-426)
External calls sending eth:
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#412)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#413)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#419-426)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#427)
Apply the check-effects-interactions pattern.

Additional information: link

MyFlokiValentine._transferFrom(address,address,uint256) (#297-328) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(cooldownTimer[recipient] < block.timestamp,Please wait for cooldown between buys) (#312)
Avoid relying on block.timestamp.

Additional information: link

MyFlokiValentine.totalFee (#210) is set pre-construction with a non-constant function or state variable:
- marketingFee + liquidityFee + devFee
MyFlokiValentine.swapThreshold (#234) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 500
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
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 MyFlokiValentine.clearStuckBalance() (#337-340):
- (sent) = address(owner).call{value: (address(this).balance)}() (#338)
Low level call in MyFlokiValentine.swapBack() (#385-429):
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#412)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#413)
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() (#95) is not in mixedCase
Function MyFlokiValentine.set_sell_multiplier(uint256) (#342-344) is not in mixedCase
Parameter MyFlokiValentine.set_sell_multiplier(uint256).Multiplier (#342) is not in mixedCase
Parameter MyFlokiValentine.cooldownEnabled(bool,uint8)._status (#378) is not in mixedCase
Parameter MyFlokiValentine.cooldownEnabled(bool,uint8)._interval (#378) is not in mixedCase
Parameter MyFlokiValentine.setFees(uint256,uint256,uint256,uint256)._liquidityFee (#448) is not in mixedCase
Parameter MyFlokiValentine.setFees(uint256,uint256,uint256,uint256)._marketingFee (#448) is not in mixedCase
Parameter MyFlokiValentine.setFees(uint256,uint256,uint256,uint256)._devFee (#448) is not in mixedCase
Parameter MyFlokiValentine.setFees(uint256,uint256,uint256,uint256)._feeDenominator (#448) is not in mixedCase
Parameter MyFlokiValentine.setFeeReceivers(address,address,address)._autoLiquidityReceiver (#457) is not in mixedCase
Parameter MyFlokiValentine.setFeeReceivers(address,address,address)._marketingFeeReceiver (#457) is not in mixedCase
Parameter MyFlokiValentine.setFeeReceivers(address,address,address)._devFeeReceiver (#457) is not in mixedCase
Parameter MyFlokiValentine.setSwapBackSettings(bool,uint256)._enabled (#463) is not in mixedCase
Parameter MyFlokiValentine.setSwapBackSettings(bool,uint256)._amount (#463) is not in mixedCase
Parameter MyFlokiValentine.setTargetLiquidity(uint256,uint256)._target (#468) is not in mixedCase
Parameter MyFlokiValentine.setTargetLiquidity(uint256,uint256)._denominator (#468) is not in mixedCase
Variable MyFlokiValentine.WBNB (#184) is not in mixedCase
Variable MyFlokiValentine.DEAD (#185) is not in mixedCase
Variable MyFlokiValentine.ZERO (#186) is not in mixedCase
Variable MyFlokiValentine.MarketingWallet (#188) is not in mixedCase
Variable MyFlokiValentine.DevWallet (#189) is not in mixedCase
Constant MyFlokiValentine._name (#191) is not in UPPER_CASE_WITH_UNDERSCORES
Constant MyFlokiValentine._symbol (#192) is not in UPPER_CASE_WITH_UNDERSCORES
Constant MyFlokiValentine._decimals (#193) is not in UPPER_CASE_WITH_UNDERSCORES
Variable MyFlokiValentine._totalSupply (#195) is not in mixedCase
Variable MyFlokiValentine._maxTxAmount (#196) is not in mixedCase
Variable MyFlokiValentine._maxWalletToken (#197) is not in mixedCase
Variable MyFlokiValentine._balances (#199) is not in mixedCase
Variable MyFlokiValentine._allowances (#200) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

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

Additional information: link

MyFlokiValentine.slitherConstructorVariables() (#182-502) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#185)
MyFlokiValentine.slitherConstructorVariables() (#182-502) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#186)
MyFlokiValentine.slitherConstructorVariables() (#182-502) uses literals with too many digits:
- _totalSupply = 100000000000 * (10 ** _decimals) (#195)
MyFlokiValentine.slitherConstructorVariables() (#182-502) uses literals with too many digits:
- _maxTxAmount = 100000000000 * (10 ** _decimals) (#196)
MyFlokiValentine.slitherConstructorVariables() (#182-502) uses literals with too many digits:
- _maxWalletToken = 100000000000 * (10 ** _decimals) (#197)
MyFlokiValentine.slitherConstructorVariables() (#182-502) uses literals with too many digits:
- distributorGas = 500000 (#227)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

MyFlokiValentine.isDividendExempt (#205) is never used in MyFlokiValentine (#182-502)
MyFlokiValentine.distributorGas (#227) is never used in MyFlokiValentine (#182-502)
Remove unused state variables.

Additional information: link

MyFlokiValentine.DEAD (#185) should be constant
MyFlokiValentine.DevWallet (#189) should be constant
MyFlokiValentine.MarketingWallet (#188) should be constant
MyFlokiValentine.WBNB (#184) should be constant
MyFlokiValentine.ZERO (#186) should be constant
MyFlokiValentine._totalSupply (#195) should be constant
MyFlokiValentine.distributorGas (#227) should be constant
MyFlokiValentine.tradingOpen (#225) 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) (#52-54)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#59-61)
clearStuckBalance() should be declared external:
- MyFlokiValentine.clearStuckBalance() (#337-340)
cooldownEnabled(bool,uint8) should be declared external:
- MyFlokiValentine.cooldownEnabled(bool,uint8) (#378-381)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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 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.


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.


Token is deployed only at one blockchain


Token has only one trading pair


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 $MFLV