BuyBackMountain Token Logo

BBM [BuyBackMountain] Token

About BBM

Listings

Not Found
Token 9 months

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 30 November 2021

report
Token seems to be anonymous. As long as we are unable to find website score is limited.


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

BuyBackMountain.swapBack() (#579-623) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#607)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in BuyBackMountain._transferFrom(address,address,uint256) (#479-527):
External calls:
- swapBack() (#506)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#590-596)
- distributor.deposit{value: amountBNBReflection}() (#606)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#607)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#613-620)
External calls sending eth:
- swapBack() (#506)
- distributor.deposit{value: amountBNBReflection}() (#606)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#607)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#613-620)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#509)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#512)
- amountReceived = takeFee(sender,amount) (#511)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#547)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.distributeDividend(address) (#309-320) ignores return value by MATIC.transfer(shareholder,amount) (#315)
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.

BuyBackMountain.swapBack().tmpSuccess (#607) is written in both
(tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#607)
tmpSuccess = false (#610)
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.

Reentrancy in DividendDistributor.setShare(address,uint256) (#242-256):
External calls:
- distributeDividend(shareholder) (#244)
- MATIC.transfer(shareholder,amount) (#315)
State variables written after the call(s):
- shares[shareholder].amount = amount (#254)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#255)
Apply the check-effects-interactions pattern.

Additional information: link

BuyBackMountain.swapBack() (#579-623) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#613-620)
Ensure that all the return values of the function calls are used.

Additional information: link

BuyBackMountain.setTargetLiquidity(uint256,uint256) (#671-674) should emit an event for:
- targetLiquidity = _target (#672)
- targetLiquidityDenominator = _denominator (#673)
Emit an event for critical parameter changes.

Additional information: link

BuyBackMountain.setFeeReceivers(address,address)._marketingFeeReceiver (#661) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#663)
Check that the address is not zero.

Additional information: link

BuyBackMountain.airdrop(address,address[],uint256[]) (#702-725) has external calls inside a loop: distributor.setShare(addresses[i_scope_0],_balances[addresses[i_scope_0]]) (#717)
Favor pull over push strategy for external calls.

Additional information: link

Reentrancy in DividendDistributor.setShare(address,uint256) (#242-256):
External calls:
- distributeDividend(shareholder) (#244)
- MATIC.transfer(shareholder,amount) (#315)
State variables written after the call(s):
- addShareholder(shareholder) (#248)
- shareholderIndexes[shareholder] = shareholders.length (#342)
- removeShareholder(shareholder) (#250)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#348)
- addShareholder(shareholder) (#248)
- shareholders.push(shareholder) (#343)
- removeShareholder(shareholder) (#250)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#347)
- shareholders.pop() (#349)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#253)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in BuyBackMountain.swapBack() (#579-623):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#590-596)
- distributor.deposit{value: amountBNBReflection}() (#606)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#607)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#613-620)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#606)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#607)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#613-620)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#621)
Apply the check-effects-interactions pattern.

Additional information: link

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

Additional information: link

DividendDistributor.process(uint256) (#278-302) has costly operations inside a loop:
- currentIndex ++ (#299)
Use a local variable to hold the loop computation result.

Additional information: link

BuyBackMountain.swapThreshold (#406) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 10 / 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

solc-0.7.4 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

Low level call in BuyBackMountain.swapBack() (#579-623):
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#607)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Variable BuyBackMountain._allowances (#372) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

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

Additional information: link

BuyBackMountain.slitherConstructorVariables() (#353-730) uses literals with too many digits:
- distributorGas = 500000 (#398)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

BuyBackMountain.MATIC (#356) is never used in BuyBackMountain (#353-730)
Remove unused state variables.

Additional information: link

DividendDistributor.dividendsPerShareAccuracyFactor (#211) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

cooldownEnabled(bool,uint8) should be declared external:
- BuyBackMountain.cooldownEnabled(bool,uint8) (#572-575)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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 Telegram and Twitter accounts


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


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank


Young tokens have high risks of price dump / death

Price for BBM