SquidFloki Token Logo

SOKI [SquidFloki] Token

ALERT: pump & dump

About SOKI

Listings

Not Found
Token 24 months

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 16 June 2022

report
Token seems to be a scam (type: pump & dump).

squidfloki.swapBack() (#571-617) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#600)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#601)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in squidfloki._transferFrom(address,address,uint256) (#462-510):
External calls:
- swapBack() (#489)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#582-588)
- distributor.deposit{value: amountBNBReflection}() (#599)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#600)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#601)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#607-614)
External calls sending eth:
- swapBack() (#489)
- distributor.deposit{value: amountBNBReflection}() (#599)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#600)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#601)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#607-614)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#492)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#495)
- amountReceived = takeFee(sender,amount,(recipient == pair)) (#494)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#533)
Apply the check-effects-interactions pattern.

Additional information: link

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

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

Reentrancy in DividendDistributor.distributeDividend(address) (#287-298):
External calls:
- RWRD.transfer(shareholder,amount) (#293)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#295)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#296)
Reentrancy in DividendDistributor.process(uint256) (#256-280):
External calls:
- distributeDividend(shareholders[currentIndex]) (#272)
- RWRD.transfer(shareholder,amount) (#293)
State variables written after the call(s):
- currentIndex ++ (#277)
Reentrancy in DividendDistributor.setShare(address,uint256) (#220-234):
External calls:
- distributeDividend(shareholder) (#222)
- RWRD.transfer(shareholder,amount) (#293)
State variables written after the call(s):
- shares[shareholder].amount = amount (#232)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#233)
Apply the check-effects-interactions pattern.

Additional information: link

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

squidfloki.swapBack() (#571-617) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#607-614)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendDistributor.setDistributionCriteria(uint256,uint256) (#215-218) should emit an event for:
- minPeriod = _minPeriod (#216)
- minDistribution = _minDistribution (#217)
squidfloki.setMaxTxPercent_base1000(uint256) (#453-455) should emit an event for:
- _maxTxAmount = (_totalSupply * maxTXPercentage_base1000) / 1000 (#454)
squidfloki.setTxLimit(uint256) (#457-459) should emit an event for:
- _maxTxAmount = amount (#458)
squidfloki.set_sell_multiplier(uint256) (#556-558) should emit an event for:
- sellMultiplier = Multiplier (#557)
squidfloki.setFees(uint256,uint256,uint256,uint256,uint256) (#653-661) should emit an event for:
- liquidityFee = _liquidityFee (#654)
- reflectionFee = _reflectionFee (#655)
- marketingFee = _marketingFee (#656)
- devFee = _devFee (#657)
- totalFee = _liquidityFee.add(_reflectionFee).add(_marketingFee).add(_devFee) (#658)
- feeDenominator = _feeDenominator (#659)
squidfloki.setSwapBackSettings(bool,uint256) (#669-672) should emit an event for:
- swapThreshold = _amount (#671)
squidfloki.setTargetLiquidity(uint256,uint256) (#674-677) should emit an event for:
- targetLiquidity = _target (#675)
- targetLiquidityDenominator = _denominator (#676)
Emit an event for critical parameter changes.

Additional information: link

Auth.transferOwnership(address).adr (#97) lacks a zero-check on :
- owner = adr (#98)
squidfloki.setFeeReceivers(address,address,address)._autoLiquidityReceiver (#663) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#664)
squidfloki.setFeeReceivers(address,address,address)._marketingFeeReceiver (#663) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#665)
squidfloki.setFeeReceivers(address,address,address)._devFeeReceiver (#663) lacks a zero-check on :
- devFeeReceiver = _devFeeReceiver (#666)
Check that the address is not zero.

Additional information: link

DividendDistributor.distributeDividend(address) (#287-298) has external calls inside a loop: RWRD.transfer(shareholder,amount) (#293)
squidfloki.multiTransfer(address,address[],uint256[]) (#703-727) has external calls inside a loop: distributor.setShare(addresses[i_scope_0],_balances[addresses[i_scope_0]]) (#719)
squidfloki.multiTransfer_fixed(address,address[],uint256) (#729-748) has external calls inside a loop: distributor.setShare(addresses[i],_balances[addresses[i]]) (#740)
Favor pull over push strategy for external calls.

Additional information: link

Reentrancy in squidfloki.constructor() (#392-416):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#394)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = uint256(- 1) (#395)
- _balances[msg.sender] = _totalSupply (#414)
- autoLiquidityReceiver = msg.sender (#410)
- devFeeReceiver = msg.sender (#412)
- distributor = new DividendDistributor(address(router)) (#397)
- isDividendExempt[pair] = true (#406)
- isDividendExempt[address(this)] = true (#407)
- isDividendExempt[DEAD] = true (#408)
- isFeeExempt[msg.sender] = true (#399)
- isTimelockExempt[msg.sender] = true (#402)
- isTimelockExempt[DEAD] = true (#403)
- isTimelockExempt[address(this)] = true (#404)
- isTxLimitExempt[msg.sender] = true (#400)
- marketingFeeReceiver = msg.sender (#411)
Reentrancy in DividendDistributor.deposit() (#236-254):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#243-248)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#253)
- totalDividends = totalDividends.add(amount) (#252)
Reentrancy in DividendDistributor.distributeDividend(address) (#287-298):
External calls:
- RWRD.transfer(shareholder,amount) (#293)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#294)
Reentrancy in DividendDistributor.setShare(address,uint256) (#220-234):
External calls:
- distributeDividend(shareholder) (#222)
- RWRD.transfer(shareholder,amount) (#293)
State variables written after the call(s):
- addShareholder(shareholder) (#226)
- shareholderIndexes[shareholder] = shareholders.length (#320)
- removeShareholder(shareholder) (#228)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#326)
- addShareholder(shareholder) (#226)
- shareholders.push(shareholder) (#321)
- removeShareholder(shareholder) (#228)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#325)
- shareholders.pop() (#327)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#231)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in squidfloki._transferFrom(address,address,uint256) (#462-510):
External calls:
- swapBack() (#489)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#582-588)
- distributor.deposit{value: amountBNBReflection}() (#599)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#600)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#601)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#607-614)
- distributor.setShare(sender,_balances[sender]) (#499)
- distributor.setShare(recipient,_balances[recipient]) (#503)
- distributor.process(distributorGas) (#506)
External calls sending eth:
- swapBack() (#489)
- distributor.deposit{value: amountBNBReflection}() (#599)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#600)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#601)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#607-614)
Event emitted after the call(s):
- Transfer(sender,recipient,amountReceived) (#508)
Reentrancy in squidfloki._transferFrom(address,address,uint256) (#462-510):
External calls:
- swapBack() (#489)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#582-588)
- distributor.deposit{value: amountBNBReflection}() (#599)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#600)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#601)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#607-614)
External calls sending eth:
- swapBack() (#489)
- distributor.deposit{value: amountBNBReflection}() (#599)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#600)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#601)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#607-614)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#534)
- amountReceived = takeFee(sender,amount,(recipient == pair)) (#494)
Reentrancy in squidfloki.constructor() (#392-416):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#394)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#415)
Reentrancy in squidfloki.swapBack() (#571-617):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#582-588)
- distributor.deposit{value: amountBNBReflection}() (#599)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#600)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#601)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#607-614)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#599)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#600)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#601)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#607-614)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#615)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.shouldDistribute(address) (#282-285) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#283-284)
squidfloki._transferFrom(address,address,uint256) (#462-510) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(cooldownTimer[recipient] < block.timestamp,Please wait for 1min between two buys) (#482)
Avoid relying on block.timestamp.

Additional information: link

DividendDistributor.process(uint256) (#256-280) has costly operations inside a loop:
- currentIndex = 0 (#268)
DividendDistributor.distributeDividend(address) (#287-298) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#292)
DividendDistributor.process(uint256) (#256-280) has costly operations inside a loop:
- currentIndex ++ (#277)
Use a local variable to hold the loop computation result.

Additional information: link

squidfloki._maxTxAmount (#344) is set pre-construction with a non-constant function or state variable:
- _totalSupply
squidfloki._maxWalletToken (#345) is set pre-construction with a non-constant function or state variable:
- _totalSupply
squidfloki.totalFee (#363) is set pre-construction with a non-constant function or state variable:
- marketingFee + reflectionFee + liquidityFee + devFee
squidfloki.swapThreshold (#388) 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 squidfloki.swapBack() (#571-617):
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#600)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#601)
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() (#112) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minPeriod (#215) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minDistribution (#215) is not in mixedCase
Variable DividendDistributor._token (#168) is not in mixedCase
Variable DividendDistributor.RWRD (#176) is not in mixedCase
Variable DividendDistributor.WBNB (#177) is not in mixedCase
Contract squidfloki (#331-753) is not in CapWords
Function squidfloki.setMaxWalletPercent_base1000(uint256) (#450-452) is not in mixedCase
Parameter squidfloki.setMaxWalletPercent_base1000(uint256).maxWallPercent_base1000 (#450) is not in mixedCase
Function squidfloki.setMaxTxPercent_base1000(uint256) (#453-455) is not in mixedCase
Parameter squidfloki.setMaxTxPercent_base1000(uint256).maxTXPercentage_base1000 (#453) is not in mixedCase
Function squidfloki.clearStuckBalance_sender(uint256) (#551-554) is not in mixedCase
Function squidfloki.set_sell_multiplier(uint256) (#556-558) is not in mixedCase
Parameter squidfloki.set_sell_multiplier(uint256).Multiplier (#556) is not in mixedCase
Parameter squidfloki.tradingStatus(bool)._status (#561) is not in mixedCase
Parameter squidfloki.cooldownEnabled(bool,uint8)._status (#566) is not in mixedCase
Parameter squidfloki.cooldownEnabled(bool,uint8)._interval (#566) is not in mixedCase
Function squidfloki.enable_blacklist(bool) (#630-632) is not in mixedCase
Parameter squidfloki.enable_blacklist(bool)._status (#630) is not in mixedCase
Function squidfloki.manage_blacklist(address[],bool) (#634-638) is not in mixedCase
Parameter squidfloki.setFees(uint256,uint256,uint256,uint256,uint256)._liquidityFee (#653) is not in mixedCase
Parameter squidfloki.setFees(uint256,uint256,uint256,uint256,uint256)._reflectionFee (#653) is not in mixedCase
Parameter squidfloki.setFees(uint256,uint256,uint256,uint256,uint256)._marketingFee (#653) is not in mixedCase
Parameter squidfloki.setFees(uint256,uint256,uint256,uint256,uint256)._devFee (#653) is not in mixedCase
Parameter squidfloki.setFees(uint256,uint256,uint256,uint256,uint256)._feeDenominator (#653) is not in mixedCase
Parameter squidfloki.setFeeReceivers(address,address,address)._autoLiquidityReceiver (#663) is not in mixedCase
Parameter squidfloki.setFeeReceivers(address,address,address)._marketingFeeReceiver (#663) is not in mixedCase
Parameter squidfloki.setFeeReceivers(address,address,address)._devFeeReceiver (#663) is not in mixedCase
Parameter squidfloki.setSwapBackSettings(bool,uint256)._enabled (#669) is not in mixedCase
Parameter squidfloki.setSwapBackSettings(bool,uint256)._amount (#669) is not in mixedCase
Parameter squidfloki.setTargetLiquidity(uint256,uint256)._target (#674) is not in mixedCase
Parameter squidfloki.setTargetLiquidity(uint256,uint256)._denominator (#674) is not in mixedCase
Parameter squidfloki.setDistributionCriteria(uint256,uint256)._minPeriod (#679) is not in mixedCase
Parameter squidfloki.setDistributionCriteria(uint256,uint256)._minDistribution (#679) is not in mixedCase
Function squidfloki.multiTransfer_fixed(address,address[],uint256) (#729-748) is not in mixedCase
Variable squidfloki.WBNB (#334) is not in mixedCase
Variable squidfloki.DEAD (#335) is not in mixedCase
Variable squidfloki.ZERO (#336) is not in mixedCase
Constant squidfloki._name (#338) is not in UPPER_CASE_WITH_UNDERSCORES
Constant squidfloki._symbol (#339) is not in UPPER_CASE_WITH_UNDERSCORES
Constant squidfloki._decimals (#340) is not in UPPER_CASE_WITH_UNDERSCORES
Variable squidfloki._totalSupply (#342) is not in mixedCase
Variable squidfloki._maxTxAmount (#344) is not in mixedCase
Variable squidfloki._maxWalletToken (#345) is not in mixedCase
Variable squidfloki._balances (#347) is not in mixedCase
Variable squidfloki._allowances (#348) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

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

Additional information: link

squidfloki.slitherConstructorVariables() (#331-753) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#335)
squidfloki.slitherConstructorVariables() (#331-753) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#336)
squidfloki.slitherConstructorVariables() (#331-753) uses literals with too many digits:
- _totalSupply = 100000000 * 10 ** 6 * 10 ** _decimals (#342)
squidfloki.slitherConstructorVariables() (#331-753) uses literals with too many digits:
- distributorGas = 500000 (#381)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

DividendDistributor.WBNB (#177) should be constant
DividendDistributor.dividendsPerShareAccuracyFactor (#190) should be constant
squidfloki.DEAD (#335) should be constant
squidfloki.WBNB (#334) should be constant
squidfloki.ZERO (#336) should be constant
squidfloki._totalSupply (#342) 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) (#81-83)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#85-87)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#97-101)
tradingStatus(bool) should be declared external:
- squidfloki.tradingStatus(bool) (#561-563)
cooldownEnabled(bool,uint8) should be declared external:
- squidfloki.cooldownEnabled(bool,uint8) (#566-569)
enable_blacklist(bool) should be declared external:
- squidfloki.enable_blacklist(bool) (#630-632)
manage_blacklist(address[],bool) should be declared external:
- squidfloki.manage_blacklist(address[],bool) (#634-638)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:

Contract has 8% buy tax and 11% 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 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 Telegram and Twitter accounts


Unable to find website, listings and other project-related information


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 SOKI