DubaiDoge is based on being representive all over social media on different channels and different target groups and celebrities. We all know that social media, and especially Twitter has an huge impact. This is where we want to set our focus on. Furthermore we will get some of the best communities and groups to post about DubaiDoge, as the team is connected to different influencers and celebrities.
DubaiDoge.swapBack() (#434-484) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(marketingFeeReceiver).call{value: amountBNBMarketing}() (#465)
- (tmpSuccess,None) = address(devFeeReceiver).call{value: amountBNBDev}() (#466)
- (tmpSuccess,None) = address(opsFeeReceiver).call{value: amountBNBOps}() (#467)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in DubaiDoge._transferFrom(address,address,uint256) (#304-343):
External calls:
- swapBack() (#312)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#448-454)
- (tmpSuccess) = address(marketingFeeReceiver).call{value: amountBNBMarketing}() (#465)
- (tmpSuccess,None) = address(devFeeReceiver).call{value: amountBNBDev}() (#466)
- (tmpSuccess,None) = address(opsFeeReceiver).call{value: amountBNBOps}() (#467)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#472-479)
External calls sending eth:
- swapBack() (#312)
- (tmpSuccess) = address(marketingFeeReceiver).call{value: amountBNBMarketing}() (#465)
- (tmpSuccess,None) = address(devFeeReceiver).call{value: amountBNBDev}() (#466)
- (tmpSuccess,None) = address(opsFeeReceiver).call{value: amountBNBOps}() (#467)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#472-479)
State variables written after the call(s):
- amountReceived = takeBuyFee(sender,recipient,amount) (#321)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#365)
- _balances[stakingFeeReceiver] = _balances[stakingFeeReceiver].add(stakingFeeAmount) (#369)
- amountReceived = takeSellFee(sender,amount) (#327)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#383)
- _balances[stakingFeeReceiver] = _balances[stakingFeeReceiver].add(stakingFeeAmount) (#387)
- amountReceived = takeTransferFee(sender,amount) (#333)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#401)
- _balances[sender] = _balances[sender].sub(amount) (#337)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#338)
- amountReceived = takeBuyFee(sender,recipient,amount) (#321)
- isBlacklisted[recipient] = true (#357)
Apply the check-effects-interactions pattern.
Additional information: link
DubaiDoge.swapBack().tmpSuccess (#465) is written in both
(tmpSuccess) = address(marketingFeeReceiver).call{value: amountBNBMarketing}() (#465)
(tmpSuccess,None) = address(devFeeReceiver).call{value: amountBNBDev}() (#466)
DubaiDoge.swapBack().tmpSuccess (#465) is written in both
(tmpSuccess,None) = address(devFeeReceiver).call{value: amountBNBDev}() (#466)
(tmpSuccess,None) = address(opsFeeReceiver).call{value: amountBNBOps}() (#467)
DubaiDoge.swapBack().tmpSuccess (#465) is written in both
(tmpSuccess,None) = address(opsFeeReceiver).call{value: amountBNBOps}() (#467)
tmpSuccess = false (#469)
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.
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
Contract ownership is not renounced (belongs to a wallet)
DubaiDoge.manage_blacklist(address[],bool).i (#503) 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
DubaiDoge.setAutomatedMarketMakerPair(address,bool) (#593-612) has costly operations inside a loop:
- _markerPairs.pop() (#605)
Use a local variable to hold the loop computation result.
Additional information: link
DubaiDoge._maxTxAmount (#184) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 50
DubaiDoge._maxWalletAmount (#185) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 50
DubaiDoge.totalBuyFee (#226) is set pre-construction with a non-constant function or state variable:
- liquidityFee.add(marketingFee).add(opsFee).add(devFee).add(stakingFee)
DubaiDoge.totalSellFee (#227) is set pre-construction with a non-constant function or state variable:
- sellFeeLiquidity.add(sellFeeMarketing).add(sellFeeOps).add(sellFeeDev).add(sellFeeStaking)
DubaiDoge.swapThreshold (#242) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 1 / 5000
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 DubaiDoge.swapBack() (#434-484):
- (tmpSuccess) = address(marketingFeeReceiver).call{value: amountBNBMarketing}() (#465)
- (tmpSuccess,None) = address(devFeeReceiver).call{value: amountBNBDev}() (#466)
- (tmpSuccess,None) = address(opsFeeReceiver).call{value: amountBNBOps}() (#467)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
DubaiDoge.swapBack() (#434-484) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#472-479)
Ensure that all the return values of the function calls are used.
Additional information: link
Auth.transferOwnership(address).adr (#89) lacks a zero-check on :
- owner = adr (#90)
Check that the address is not zero.
Additional information: link
Reentrancy in DubaiDoge.constructor() (#247-270):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#250)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = type()(uint256).max (#254)
- _balances[msg.sender] = _totalSupply (#268)
- setAutomatedMarketMakerPair(pair,true) (#252)
- _markerPairs.push(_pair) (#599)
- _markerPairs[i] = _markerPairs[_markerPairs.length - 1] (#604)
- _markerPairs.pop() (#605)
- autoLiquidityReceiver = msg.sender (#266)
- setAutomatedMarketMakerPair(pair,true) (#252)
- automatedMarketMakerPairs[_pair] = _value (#596)
- isFeeExempt[msg.sender] = true (#256)
- isFeeExempt[address(this)] = true (#260)
- isMaxWalletExempt[msg.sender] = true (#258)
- isMaxWalletExempt[address(this)] = true (#262)
- isMaxWalletExempt[pair] = true (#264)
- isTxLimitExempt[msg.sender] = true (#257)
- isTxLimitExempt[address(this)] = true (#261)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in DubaiDoge._transferFrom(address,address,uint256) (#304-343):
External calls:
- swapBack() (#312)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#448-454)
- (tmpSuccess) = address(marketingFeeReceiver).call{value: amountBNBMarketing}() (#465)
- (tmpSuccess,None) = address(devFeeReceiver).call{value: amountBNBDev}() (#466)
- (tmpSuccess,None) = address(opsFeeReceiver).call{value: amountBNBOps}() (#467)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#472-479)
External calls sending eth:
- swapBack() (#312)
- (tmpSuccess) = address(marketingFeeReceiver).call{value: amountBNBMarketing}() (#465)
- (tmpSuccess,None) = address(devFeeReceiver).call{value: amountBNBDev}() (#466)
- (tmpSuccess,None) = address(opsFeeReceiver).call{value: amountBNBOps}() (#467)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#472-479)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#402)
- amountReceived = takeTransferFee(sender,amount) (#333)
- Transfer(sender,address(this),feeAmount) (#384)
- amountReceived = takeSellFee(sender,amount) (#327)
- Transfer(sender,stakingFeeReceiver,stakingFeeAmount) (#388)
- amountReceived = takeSellFee(sender,amount) (#327)
- Transfer(sender,address(this),feeAmount) (#366)
- amountReceived = takeBuyFee(sender,recipient,amount) (#321)
- Transfer(sender,stakingFeeReceiver,stakingFeeAmount) (#370)
- amountReceived = takeBuyFee(sender,recipient,amount) (#321)
- Transfer(sender,recipient,amountReceived) (#341)
Reentrancy in DubaiDoge.constructor() (#247-270):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#250)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(_pair,_value) (#611)
- setAutomatedMarketMakerPair(pair,true) (#252)
- Transfer(address(0),msg.sender,_totalSupply) (#269)
Apply the check-effects-interactions pattern.
Additional information: link
DubaiDoge.tradingStatus(bool) (#425-432) compares to a boolean constant:
-require(bool,string)(tradingEnabled == false,Can't pause trading) (#426)
Remove the equality to the boolean constant.
Additional information: link
Function IDEXRouter.WETH() (#104) is not in mixedCase
Parameter DubaiDoge.tradingStatus(bool)._status (#425) is not in mixedCase
Function DubaiDoge.manage_blacklist(address[],bool) (#502-508) is not in mixedCase
Parameter DubaiDoge.setBL(address,bool)._address (#510) is not in mixedCase
Parameter DubaiDoge.setBL(address,bool)._bool (#510) is not in mixedCase
Parameter DubaiDoge.updateF(uint256)._number (#516) is not in mixedCase
Parameter DubaiDoge.setBuyFees(uint256,uint256,uint256,uint256,uint256,uint256)._liquidityFee (#541) is not in mixedCase
Parameter DubaiDoge.setBuyFees(uint256,uint256,uint256,uint256,uint256,uint256)._marketingFee (#541) is not in mixedCase
Parameter DubaiDoge.setBuyFees(uint256,uint256,uint256,uint256,uint256,uint256)._opsFee (#541) is not in mixedCase
Parameter DubaiDoge.setBuyFees(uint256,uint256,uint256,uint256,uint256,uint256)._devFee (#541) is not in mixedCase
Parameter DubaiDoge.setBuyFees(uint256,uint256,uint256,uint256,uint256,uint256)._stakingFee (#541) is not in mixedCase
Parameter DubaiDoge.setBuyFees(uint256,uint256,uint256,uint256,uint256,uint256)._feeDenominator (#541) is not in mixedCase
Parameter DubaiDoge.setSellFees(uint256,uint256,uint256,uint256,uint256,uint256)._liquidityFee (#554) is not in mixedCase
Parameter DubaiDoge.setSellFees(uint256,uint256,uint256,uint256,uint256,uint256)._marketingFee (#554) is not in mixedCase
Parameter DubaiDoge.setSellFees(uint256,uint256,uint256,uint256,uint256,uint256)._opsFee (#554) is not in mixedCase
Parameter DubaiDoge.setSellFees(uint256,uint256,uint256,uint256,uint256,uint256)._devFee (#554) is not in mixedCase
Parameter DubaiDoge.setSellFees(uint256,uint256,uint256,uint256,uint256,uint256)._stakingFee (#554) is not in mixedCase
Parameter DubaiDoge.setSellFees(uint256,uint256,uint256,uint256,uint256,uint256)._feeDenominator (#554) is not in mixedCase
Parameter DubaiDoge.setTransferFee(uint256)._transferFee (#567) is not in mixedCase
Parameter DubaiDoge.setFeeReceivers(address,address,address,address,address)._autoLiquidityReceiver (#575) is not in mixedCase
Parameter DubaiDoge.setFeeReceivers(address,address,address,address,address)._marketingFeeReceiver (#575) is not in mixedCase
Parameter DubaiDoge.setFeeReceivers(address,address,address,address,address)._opsFeeReceiver (#575) is not in mixedCase
Parameter DubaiDoge.setFeeReceivers(address,address,address,address,address)._devFeeReceiver (#575) is not in mixedCase
Parameter DubaiDoge.setFeeReceivers(address,address,address,address,address)._stakingFeeReceiver (#575) is not in mixedCase
Parameter DubaiDoge.setSwapBackSettings(bool,uint256)._enabled (#586) is not in mixedCase
Parameter DubaiDoge.setSwapBackSettings(bool,uint256)._amount (#586) is not in mixedCase
Parameter DubaiDoge.setAutomatedMarketMakerPair(address,bool)._pair (#593) is not in mixedCase
Parameter DubaiDoge.setAutomatedMarketMakerPair(address,bool)._value (#593) is not in mixedCase
Variable DubaiDoge.WBNB (#174) is not in mixedCase
Variable DubaiDoge.DEAD (#175) is not in mixedCase
Variable DubaiDoge.ZERO (#176) is not in mixedCase
Constant DubaiDoge._name (#178) is not in UPPER_CASE_WITH_UNDERSCORES
Constant DubaiDoge._symbol (#179) is not in UPPER_CASE_WITH_UNDERSCORES
Constant DubaiDoge._decimals (#180) is not in UPPER_CASE_WITH_UNDERSCORES
Variable DubaiDoge._maxTxAmount (#184) is not in mixedCase
Variable DubaiDoge._maxWalletAmount (#185) is not in mixedCase
Variable DubaiDoge._markerPairs (#190) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#109) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#110)
Prevent variables from having similar names.
Additional information: link
DubaiDoge.slitherConstructorVariables() (#154-620) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#175)
DubaiDoge.slitherConstructorVariables() (#154-620) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#176)
DubaiDoge.slitherConstructorVariables() (#154-620) uses literals with too many digits:
- _totalSupply = 1000000000 * 10 ** _decimals (#182)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
DubaiDoge.DEAD (#175) should be constant
DubaiDoge.ZERO (#176) should be constant
DubaiDoge._totalSupply (#182) should be constant
DubaiDoge.maxFee (#223) 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) (#73-75)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#77-79)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#89-93)
getCirculatingSupply() should be declared external:
- DubaiDoge.getCirculatingSupply() (#614-616)
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 find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinMarketCap
Unable to verify that token and website are owned by the same team (no listings + unable to find contract on website)
Unable to verify token contract address on the website
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 code repository for the project
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
Telegram account link seems to be invalid
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account
Twitter account has few posts