Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
BuffedDoge.swapBack() (#678-726) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#709)
- (tmpSuccess,None) = address(buyBackReceiver).call{gas: 30000,value: amountBNBSPrice}() (#710)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in BuffedDoge._transferFrom(address,address,uint256) (#541-594):
External calls:
- swapBack() (#574)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#691-697)
- distributor.deposit{value: amountBNBReflection}() (#708)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#709)
- (tmpSuccess,None) = address(buyBackReceiver).call{gas: 30000,value: amountBNBSPrice}() (#710)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#716-723)
External calls sending eth:
- swapBack() (#574)
- distributor.deposit{value: amountBNBReflection}() (#708)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#709)
- (tmpSuccess,None) = address(buyBackReceiver).call{gas: 30000,value: amountBNBSPrice}() (#710)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#716-723)
State variables written after the call(s):
- _rBalance[sender] = _rBalance[sender].sub(rAmount,Insufficient Balance) (#576)
- _rBalance[recipient] = _rBalance[recipient].add(amountReceived) (#579)
- amountReceived = takeFee(sender,rAmount,(recipient == pair)) (#578)
- _rBalance[address(this)] = _rBalance[address(this)].add(feeAmount) (#625)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.distributeDividend(address) (#349-360) ignores return value by RWRD.transfer(shareholder,amount) (#355)
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.
BuffedDoge.swapBack().tmpSuccess (#709) is written in both
(tmpSuccess,None) = address(buyBackReceiver).call{gas: 30000,value: amountBNBSPrice}() (#710)
tmpSuccess = false (#713)
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 ticker ($BuffedDoge) contains non-alphanumeric characters.
Not a direct threat, but may indicate unreliable intentions of developer. Non-alphanumeric chars (,.;!#*&") are extremely rare among low risk tokens.
BuffedDoge.slitherConstructorVariables() (#401-859) performs a multiplication on the result of a division:
-_maxWalletToken = rSupply.div(100).mul(3) (#469)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in DividendDistributor.setShare(address,uint256) (#282-296):
External calls:
- distributeDividend(shareholder) (#284)
- RWRD.transfer(shareholder,amount) (#355)
State variables written after the call(s):
- shares[shareholder].amount = amount (#294)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#295)
Apply the check-effects-interactions pattern.
Additional information: link
BuffedDoge.swapBack() (#678-726) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#716-723)
Ensure that all the return values of the function calls are used.
Additional information: link
BuffedDoge.setMaxTxPercent_base1000(uint256) (#851-853) should emit an event for:
- _maxTxAmount = rSupply.div(1000).mul(maxTXPercentage_base1000) (#852)
Emit an event for critical parameter changes.
Additional information: link
BuffedDoge.setMaster(address)._master (#800) lacks a zero-check on :
- master = _master (#801)
Check that the address is not zero.
Additional information: link
Reentrancy in DividendDistributor.setShare(address,uint256) (#282-296):
External calls:
- distributeDividend(shareholder) (#284)
- RWRD.transfer(shareholder,amount) (#355)
State variables written after the call(s):
- addShareholder(shareholder) (#288)
- shareholderIndexes[shareholder] = shareholders.length (#390)
- removeShareholder(shareholder) (#290)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#396)
- addShareholder(shareholder) (#288)
- shareholders.push(shareholder) (#391)
- removeShareholder(shareholder) (#290)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#395)
- shareholders.pop() (#397)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#293)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in BuffedDoge.swapBack() (#678-726):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#691-697)
- distributor.deposit{value: amountBNBReflection}() (#708)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#709)
- (tmpSuccess,None) = address(buyBackReceiver).call{gas: 30000,value: amountBNBSPrice}() (#710)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#716-723)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#708)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#709)
- (tmpSuccess,None) = address(buyBackReceiver).call{gas: 30000,value: amountBNBSPrice}() (#710)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#716-723)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify.div(rate)) (#724)
Apply the check-effects-interactions pattern.
Additional information: link
BuffedDoge._transferFrom(address,address,uint256) (#541-594) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(cooldownTimer[recipient] < block.timestamp,Buy cooldown exists) (#560)
- require(bool,string)(cooldownTimer[sender] < block.timestamp,Sell cooldown exists) (#567)
Avoid relying on block.timestamp.
Additional information: link
DividendDistributor.process(uint256) (#318-342) has costly operations inside a loop:
- currentIndex ++ (#339)
Use a local variable to hold the loop computation result.
Additional information: link
SafeMathInt.sub(int256,int256) (#85-89) is never used and should be removed
Remove unused functions.
Additional information: link
BuffedDoge.totalFee (#426) is set pre-construction with a non-constant function or state variable:
- marketingFee + reflectionFee + liquidityFee + buyBackFee
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 BuffedDoge.swapBack() (#678-726):
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#709)
- (tmpSuccess,None) = address(buyBackReceiver).call{gas: 30000,value: amountBNBSPrice}() (#710)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable BuffedDoge._maxWalletToken (#469) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#178) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#179)
Prevent variables from having similar names.
Additional information: link
BuffedDoge.slitherConstructorVariables() (#401-859) uses literals with too many digits:
- distributorGas = 500000 (#447)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
BuffedDoge.MAX_SUPPLY (#465) is never used in BuffedDoge (#401-859)
Remove unused state variables.
Additional information: link
DividendDistributor.dividendsPerShareAccuracyFactor (#252) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
rescueToken(address,uint256) should be declared external:
- BuffedDoge.rescueToken(address,uint256) (#821-823)
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.
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