Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
BNBReversal.swapBack() (#660-708) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#691)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#692)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in BNBReversal._transferFrom(address,address,uint256) (#508-559):
External calls:
- swapBack() (#538)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#673-679)
- distributor.deposit{value: amountBNBReflection}() (#690)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#691)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#692)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#698-705)
External calls sending eth:
- swapBack() (#538)
- distributor.deposit{value: amountBNBReflection}() (#690)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#691)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#692)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#698-705)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#541)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#544)
- amountReceived = takeFee(sender,amount,(recipient == pair)) (#543)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#592)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.distributeDividend(address) (#322-333) ignores return value by RWRD.transfer(shareholder,amount) (#328)
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.
BNBReversal.swapBack().tmpSuccess (#691) is written in both
(tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#692)
tmpSuccess = false (#695)
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.
rescueToken(address,uint256) should be declared external:
- BNBReversal.rescueToken(address,uint256) (#805-807)
Use the external attribute for functions never called from the contract.
Additional information: link
BNBReversal.slitherConstructorVariables() (#366-896) performs a multiplication on the result of a division:
-_maxWalletToken = _totalSupply.div(100).mul(2) (#442)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in DividendDistributor.setShare(address,uint256) (#255-269):
External calls:
- distributeDividend(shareholder) (#257)
- RWRD.transfer(shareholder,amount) (#328)
State variables written after the call(s):
- shares[shareholder].amount = amount (#267)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#268)
Apply the check-effects-interactions pattern.
Additional information: link
BNBReversal.manage_houseguests(address[],bool).i (#649) 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
BNBReversal.swapBack() (#660-708) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#698-705)
Ensure that all the return values of the function calls are used.
Additional information: link
BNBReversal.setMaster(address) (#775-777) should emit an event for:
- master = _master (#776)
Emit an event for critical parameter changes.
Additional information: link
BNBReversal.setMaxTxPercent_base1000(uint256) (#837-839) should emit an event for:
- _maxTxAmount = _totalSupply.div(1000).mul(maxTXPercentage_base1000) (#838)
Emit an event for critical parameter changes.
Additional information: link
BNBReversal.setMaster(address)._master (#775) lacks a zero-check on :
- master = _master (#776)
Check that the address is not zero.
Additional information: link
BNBReversal.multiTransfer_fixed(address,address[],uint256) (#871-890) has external calls inside a loop: distributor.setShare(addresses[i],balanceOf(addresses[i])) (#882)
Favor pull over push strategy for external calls.
Additional information: link
Reentrancy in DividendDistributor.setShare(address,uint256) (#255-269):
External calls:
- distributeDividend(shareholder) (#257)
- RWRD.transfer(shareholder,amount) (#328)
State variables written after the call(s):
- addShareholder(shareholder) (#261)
- shareholderIndexes[shareholder] = shareholders.length (#355)
- removeShareholder(shareholder) (#263)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#361)
- addShareholder(shareholder) (#261)
- shareholders.push(shareholder) (#356)
- removeShareholder(shareholder) (#263)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#360)
- shareholders.pop() (#362)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#266)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in BNBReversal.swapBack() (#660-708):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#673-679)
- distributor.deposit{value: amountBNBReflection}() (#690)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#691)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#692)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#698-705)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#690)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#691)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#692)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#698-705)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#706)
Apply the check-effects-interactions pattern.
Additional information: link
BNBReversal._transferFrom(address,address,uint256) (#508-559) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(cooldownTimer[recipient] < block.timestamp,buy Cooldown exists) (#522)
Avoid relying on block.timestamp.
Additional information: link
DividendDistributor.process(uint256) (#291-315) has costly operations inside a loop:
- currentIndex ++ (#312)
Use a local variable to hold the loop computation result.
Additional information: link
SafeMathInt.sub(int256,int256) (#59-63) is never used and should be removed
Remove unused functions.
Additional information: link
BNBReversal._maxWalletToken (#442) is set pre-construction with a non-constant function or state variable:
- _totalSupply.div(100).mul(2)
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 BNBReversal.swapBack() (#660-708):
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#691)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#692)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable BNBReversal._maxWalletToken (#442) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#152) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#153)
Prevent variables from having similar names.
Additional information: link
BNBReversal.slitherConstructorVariables() (#366-896) uses literals with too many digits:
- distributorGas = 500000 (#418)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (#43) is never used in SafeMathInt (#41-75)
Remove unused state variables.
Additional information: link
DividendDistributor.dividendsPerShareAccuracyFactor (#225) should be constant
Add the constant attributes to state variables that never change.
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.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute volume.
Unable to find PancakeSwap trading pair to compute number of swaps.
Unable to find website, listings and other project-related information
Young tokens have high risks of price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts