Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
NBTC.swapBack() (#911-947) sends eth to arbitrary user
Dangerous calls:
- address(marketing).call{gas: 30000,value: amountBNBMarketing}() (#936)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in NBTC._transferFrom(address,address,uint256) (#736-779):
External calls:
- swapBack() (#751)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(swapThreshold,0,path,address(this),block.timestamp.add(300)) (#918-946)
- distributor.deposit{value: amountBNBReflection}() (#935)
- address(marketing).call{gas: 30000,value: amountBNBMarketing}() (#936)
- buyBackTokens() (#754)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,DEAD,block.timestamp.add(300)) (#832-839)
External calls sending eth:
- swapBack() (#751)
- distributor.deposit{value: amountBNBReflection}() (#935)
- address(marketing).call{gas: 30000,value: amountBNBMarketing}() (#936)
- buyBackTokens() (#754)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,DEAD,block.timestamp.add(300)) (#832-839)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#758-761)
- amountReceived = takeFee(sender,recipient,amount) (#763)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#804)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#764)
- buyBackTokens() (#754)
- inSwap = true (#686)
- inSwap = false (#688)
Apply the check-effects-interactions pattern.
Additional information: link
SafeToken.withdraw(address,uint256) (#499-502) ignores return value by IBEP20(_token).transfer(safeManager,_amount) (#501)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
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.
solc-0.8.6 is not recommended for deployment
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
Reentrancy in DividendDistributor.setShare(address,uint256) (#312-338):
External calls:
- distributeDividend(shareholder) (#318)
- BUSD.transfer(shareholder,amount) (#427)
State variables written after the call(s):
- shares[shareholder].amount = amount (#334)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#335-337)
Apply the check-effects-interactions pattern.
Additional information: link
NBTC.swapBack() (#911-947) ignores return value by address(marketing).call{gas: 30000,value: amountBNBMarketing}() (#936)
Ensure that the return value of a low-level call is checked or logged.
Additional information: link
NBTC.swapBack().e (#938) 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
NBTC.setBuyBackEnable(uint256,bool) (#949-955) should emit an event for:
- buyBackUpperLimit = _buyBackUpperLimit (#953)
Emit an event for critical parameter changes.
Additional information: link
NBTC.setMarketingWallet(address)._marketing (#883) lacks a zero-check on :
- marketing = _marketing (#884)
Check that the address is not zero.
Additional information: link
Variable 'NBTC.swapBack().e (#938)' in NBTC.swapBack() (#911-947) potentially used before declaration: SwapBackFailed(string(abi.encodePacked(SwapBack failed with error ,e))) (#939-941)
Move all variable declarations prior to any usage of the variable, and ensure that reaching a variable declaration does not depend on some conditional if it is used unconditionally.
Additional information: link
Reentrancy in DividendDistributor.setShare(address,uint256) (#312-338):
External calls:
- distributeDividend(shareholder) (#318)
- BUSD.transfer(shareholder,amount) (#427)
State variables written after the call(s):
- addShareholder(shareholder) (#325)
- shareholderIndexes[shareholder] = shareholders.length (#473)
- removeShareholder(shareholder) (#330)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#481-483)
- addShareholder(shareholder) (#325)
- shareholders.push(shareholder) (#474)
- removeShareholder(shareholder) (#330)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#478-480)
- shareholders.pop() (#484)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#333)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in NBTC.swapBnbForTokens(uint256) (#825-842):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,DEAD,block.timestamp.add(300)) (#832-839)
Event emitted after the call(s):
- SwapBNBForTokens(amount,path) (#841)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.shouldDistribute(address) (#409-417) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#414-416)
Avoid relying on block.timestamp.
Additional information: link
DividendDistributor.process(uint256) (#381-407) has costly operations inside a loop:
- currentIndex ++ (#404)
Use a local variable to hold the loop computation result.
Additional information: link
Context._msgData() (#65-68) is never used and should be removed
Remove unused functions.
Additional information: link
NBTC.totalFee (#677) is set pre-construction with a non-constant function or state variable:
- burnFee.add(reflectionFee).add(marketingFee)
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 NBTC.swapBack() (#911-947):
- address(marketing).call{gas: 30000,value: amountBNBMarketing}() (#936)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable NBTC._maxTxAmount (#662) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#66)" inContext (#60-69)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable BASEToken._totalSupply (#547) is too similar to BASEToken.constructor(string,string,uint256,uint8).totalSupply_ (#552)
Prevent variables from having similar names.
Additional information: link
NBTC.slitherConstructorVariables() (#650-961) uses literals with too many digits:
- distributorGas = 500000 (#672)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
DividendDistributor.dividendsPerShareAccuracyFactor (#277) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
setBuyBackEnable(uint256,bool) should be declared external:
- NBTC.setBuyBackEnable(uint256,bool) (#949-955)
Use the external attribute for functions never called from the contract.
Additional information: link
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
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 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.
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token on CoinGecko
Additional information: link
Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinMarketCap
Unable to find token contract audit
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find token on CoinHunt
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinHunt, CoinGecko, CoinMarketCap
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Twitter account link seems to be invalid
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account