⚡️FITNESS TO EARN ✅StepFit METAVERSE - Join us in our SPF Metaverse,mobile app, Play2Earn Sport games, Virtual gyms, VR training and much more 📱SPF mobile app - Best place for money-making workouts in the crypto world via AI enhanced mobile app. 🎮Play2Earn Sport Games - Play our sport games and monetize your playing time. 🤑Staking - your SPF tokens for up to 80% APY.
StepFIT.swapBack() (#626-675) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#657)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#658)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in StepFIT._transferFrom(address,address,uint256) (#564-605):
External calls:
- swapBack() (#574)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#636-642)
- dividendDistributor.deposit{value: amountBNBReflection}() (#652)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#657)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#658)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#665-672)
External calls sending eth:
- swapBack() (#574)
- dividendDistributor.deposit{value: amountBNBReflection}() (#652)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#657)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#658)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#665-672)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#582)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#590)
- finalAmount = takeFee(sender,recipient,amount) (#589)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#619)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.distributeDividend(address) (#251-263) ignores return value by RewardToken.transfer(shareholder,amount) (#257)
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.
StepFIT.swapBack().tmpSuccess (#657) is written in both
(tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#657)
tmpSuccess = false (#661)
StepFIT.swapBack().tmpSuccess1 (#658) is written in both
(tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#658)
tmpSuccess1 = false (#662)
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.
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
Contract ownership is not renounced (belongs to a wallet)
Reentrancy in DividendDistributor.distributeDividend(address) (#251-263):
External calls:
- RewardToken.transfer(shareholder,amount) (#257)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#259)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#260)
Reentrancy in DividendDistributor.process(uint256) (#222-244):
External calls:
- distributeDividend(shareholders[currentIndex]) (#236)
- RewardToken.transfer(shareholder,amount) (#257)
State variables written after the call(s):
- currentIndex ++ (#241)
Reentrancy in DividendDistributor.setShare(address,uint256) (#185-200):
External calls:
- distributeDividend(shareholder) (#188)
- RewardToken.transfer(shareholder,amount) (#257)
State variables written after the call(s):
- shares[shareholder].amount = amount (#198)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#199)
Apply the check-effects-interactions pattern.
Additional information: link
StepFIT.swapBack() (#626-675) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#665-672)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendDistributor.setDistributionCriteria(uint256,uint256) (#180-183) should emit an event for:
- minPeriod = newMinPeriod (#181)
- minDistribution = newMinDistribution (#182)
StepFIT.changeFees(uint256,uint256,uint256,uint256) (#519-529) should emit an event for:
- liquidityFee = newLiqFee (#520)
- rewardsFee = newRewardFee (#521)
- totalFee = liquidityFee.add(marketingFee).add(rewardsFee) (#525)
- totalFeeIfSelling = totalFee.add(extraFeeOnSell) (#526)
Emit an event for critical parameter changes.
Additional information: link
Auth.transferOwnership(address).adr (#350) lacks a zero-check on :
- owner = adr (#351)
StepFIT.changeFeeReceivers(address,address,address).newLiquidityReceiver (#531) lacks a zero-check on :
- autoLiquidityReceiver = newLiquidityReceiver (#532)
StepFIT.changeFeeReceivers(address,address,address).newMarketingWallet (#531) lacks a zero-check on :
- marketingWallet = newMarketingWallet (#533)
StepFIT.changeFeeReceivers(address,address,address).newanothermarketingWallet (#531) lacks a zero-check on :
- anothermarketingWallet = newanothermarketingWallet (#534)
Check that the address is not zero.
Additional information: link
DividendDistributor.distributeDividend(address) (#251-263) has external calls inside a loop: RewardToken.transfer(shareholder,amount) (#257)
Favor pull over push strategy for external calls.
Additional information: link
Reentrancy in StepFIT._transferFrom(address,address,uint256) (#564-605):
External calls:
- swapBack() (#574)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#636-642)
- dividendDistributor.deposit{value: amountBNBReflection}() (#652)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#657)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#658)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#665-672)
External calls sending eth:
- swapBack() (#574)
- dividendDistributor.deposit{value: amountBNBReflection}() (#652)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#657)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#658)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#665-672)
State variables written after the call(s):
- launch() (#578)
- launchedAt = block.number (#489)
Reentrancy in StepFIT.constructor() (#418-451):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#421)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = uint256(- 1) (#422)
- _balances[msg.sender] = _totalSupply (#449)
- anothermarketingWallet = 0xA160116C4c889e33506bd03E9123e3770969cCC9 (#443)
- autoLiquidityReceiver = msg.sender (#441)
- dividendDistributor = new DividendDistributor(address(router)) (#424)
- isDividendExempt[pair] = true (#434)
- isDividendExempt[address(this)] = true (#436)
- isDividendExempt[DEAD] = true (#437)
- isDividendExempt[ZERO] = true (#438)
- isFeeExempt[msg.sender] = true (#426)
- isFeeExempt[address(this)] = true (#427)
- isFeeExempt[anothermarketingWallet] = true (#428)
- isTxLimitExempt[msg.sender] = true (#430)
- isTxLimitExempt[pair] = true (#431)
- isTxLimitExempt[DEAD] = true (#432)
- marketingWallet = msg.sender (#442)
- totalFee = liquidityFee.add(marketingFee).add(rewardsFee) (#445)
- totalFeeIfSelling = totalFee.add(extraFeeOnSell) (#446)
Reentrancy in DividendDistributor.deposit() (#202-220):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#210-215)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#219)
- totalDividends = totalDividends.add(amount) (#218)
Reentrancy in DividendDistributor.distributeDividend(address) (#251-263):
External calls:
- RewardToken.transfer(shareholder,amount) (#257)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#258)
Reentrancy in DividendDistributor.setShare(address,uint256) (#185-200):
External calls:
- distributeDividend(shareholder) (#188)
- RewardToken.transfer(shareholder,amount) (#257)
State variables written after the call(s):
- addShareholder(shareholder) (#192)
- shareholderIndexes[shareholder] = shareholders.length (#281)
- removeShareholder(shareholder) (#194)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#287)
- addShareholder(shareholder) (#192)
- shareholders.push(shareholder) (#282)
- removeShareholder(shareholder) (#194)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#286)
- shareholders.pop() (#288)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#197)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in StepFIT._transferFrom(address,address,uint256) (#564-605):
External calls:
- swapBack() (#574)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#636-642)
- dividendDistributor.deposit{value: amountBNBReflection}() (#652)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#657)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#658)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#665-672)
- dividendDistributor.setShare(sender,_balances[sender]) (#594)
- dividendDistributor.setShare(recipient,_balances[recipient]) (#598)
- dividendDistributor.process(distributorGas) (#601)
External calls sending eth:
- swapBack() (#574)
- dividendDistributor.deposit{value: amountBNBReflection}() (#652)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#657)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#658)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#665-672)
Event emitted after the call(s):
- Transfer(sender,recipient,finalAmount) (#603)
Reentrancy in StepFIT._transferFrom(address,address,uint256) (#564-605):
External calls:
- swapBack() (#574)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#636-642)
- dividendDistributor.deposit{value: amountBNBReflection}() (#652)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#657)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#658)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#665-672)
External calls sending eth:
- swapBack() (#574)
- dividendDistributor.deposit{value: amountBNBReflection}() (#652)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#657)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#658)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#665-672)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#620)
- finalAmount = takeFee(sender,recipient,amount) (#589)
Reentrancy in StepFIT.constructor() (#418-451):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#421)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#450)
Reentrancy in StepFIT.swapBack() (#626-675):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#636-642)
- dividendDistributor.deposit{value: amountBNBReflection}() (#652)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#657)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#658)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#665-672)
External calls sending eth:
- dividendDistributor.deposit{value: amountBNBReflection}() (#652)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#657)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#658)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#665-672)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#673)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.shouldDistribute(address) (#246-249) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#247-248)
Avoid relying on block.timestamp.
Additional information: link
DividendDistributor.process(uint256) (#222-244) has costly operations inside a loop:
- currentIndex = 0 (#233)
DividendDistributor.distributeDividend(address) (#251-263) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#256)
DividendDistributor.process(uint256) (#222-244) has costly operations inside a loop:
- currentIndex ++ (#241)
Use a local variable to hold the loop computation result.
Additional information: link
StepFIT._maxTxAmount (#373) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 2 / 1
StepFIT._walletMax (#374) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 3 / 1
StepFIT.swapThreshold (#410) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 5 / 2000
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 (#20) 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 StepFIT.swapBack() (#626-675):
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#657)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#658)
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() (#79) is not in mixedCase
Variable DividendDistributor._token (#136) is not in mixedCase
Variable DividendDistributor.RewardToken (#146) is not in mixedCase
Constant StepFIT._name (#363) is not in UPPER_CASE_WITH_UNDERSCORES
Constant StepFIT._symbol (#364) is not in UPPER_CASE_WITH_UNDERSCORES
Constant StepFIT._decimals (#365) is not in UPPER_CASE_WITH_UNDERSCORES
Variable StepFIT.DEAD (#367) is not in mixedCase
Variable StepFIT.ZERO (#368) is not in mixedCase
Variable StepFIT.RewardToken (#370) is not in mixedCase
Variable StepFIT._totalSupply (#372) is not in mixedCase
Variable StepFIT._maxTxAmount (#373) is not in mixedCase
Variable StepFIT._walletMax (#374) is not in mixedCase
Variable StepFIT._balances (#378) is not in mixedCase
Variable StepFIT._allowances (#379) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#84) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#85)
Prevent variables from having similar names.
Additional information: link
StepFIT.slitherConstructorVariables() (#359-680) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#367)
StepFIT.slitherConstructorVariables() (#359-680) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#368)
StepFIT.slitherConstructorVariables() (#359-680) uses literals with too many digits:
- _totalSupply = 24000000000 * (10 ** _decimals) (#372)
StepFIT.slitherConstructorVariables() (#359-680) uses literals with too many digits:
- distributorGas = 300000 (#404)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
StepFIT.RewardToken (#370) is never used in StepFIT (#359-680)
Remove unused state variables.
Additional information: link
DividendDistributor.dividendsPerShareAccuracyFactor (#157) should be constant
DividendDistributor.routerAddress (#145) should be constant
StepFIT.DEAD (#367) should be constant
StepFIT.RewardToken (#370) should be constant
StepFIT.ZERO (#368) should be constant
StepFIT._totalSupply (#372) should be constant
StepFIT.routerAddress (#369) should be constant
StepFIT.tradingOpen (#401) 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) (#322-324)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#329-331)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#350-354)
getCirculatingSupply() should be declared external:
- StepFIT.getCirculatingSupply() (#461-463)
claim() should be declared external:
- StepFIT.claim() (#479-482)
Use the external attribute for functions never called from the contract.
Additional information: link
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to verify that token and website are owned by the same team (no listings + unable to find contract on website)
Unable to find audit link on the website
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Token is not listed at Mobula.Finance
Additional information: link
Unable to find token on CoinHunt
Additional information: link
Unable to verify token contract address on the website
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
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 Blog account (Reddit or Medium)
Twitter account has few posts