TitanX is a full DeFi multi tool platform
Real time BSC data analysis, Decentralized Launchpad Protocol.
TitanX.transferToAddressETH(address,uint256) (#945-948) sends eth to arbitrary user
Dangerous calls:
- (sent,data) = address(recipient).call{value: amount}() (#946)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in TitanX._transfer(address,address,uint256) (#861-900):
External calls:
- swapAndDistribute() (#866)
- (sent,data) = address(recipient).call{value: amount}() (#946)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#915-921)
- (sent,data) = address(stakingPool).call{value: amountToPool}() (#928)
External calls sending eth:
- swapAndDistribute() (#866)
- (sent,data) = address(recipient).call{value: amount}() (#946)
- (sent,data) = address(stakingPool).call{value: amountToPool}() (#928)
State variables written after the call(s):
- super._transfer(sender,recipient,transferAmount) (#871)
- _balances[from] = fromBalance - amount (#382)
- _balances[to] += amount (#384)
- super._transfer(sender,address(this),fee) (#894)
- _balances[from] = fromBalance - amount (#382)
- _balances[to] += amount (#384)
- super._transfer(sender,deadAddress,_burnFee) (#896)
- _balances[from] = fromBalance - amount (#382)
- _balances[to] += amount (#384)
- super._transfer(sender,recipient,transferAmount) (#898)
- _balances[from] = fromBalance - amount (#382)
- _balances[to] += amount (#384)
Apply the check-effects-interactions pattern.
Additional information: link
TitanX.inCaseTokensGetStuck(address) (#954-957) ignores return value by IERC20(_token).transfer(msg.sender,amount) (#956)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
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 ownership is not renounced (belongs to a wallet)
name() should be declared external:
- ERC20.name() (#205-207)
symbol() should be declared external:
- ERC20.symbol() (#213-215)
decimals() should be declared external:
- ERC20.decimals() (#230-232)
totalSupply() should be declared external:
- ERC20.totalSupply() (#237-239)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#256-260)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#279-283)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#301-310)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#324-328)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#344-353)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#582-584)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#590-593)
Use the external attribute for functions never called from the contract.
Additional information: link
TitanX.setTaxFee(uint256) (#835-837) should emit an event for:
- taxFee = _taxFee (#836)
TitanX.setRewardDivider(uint256) (#839-841) should emit an event for:
- rewardDivider = _rewardDivider (#840)
TitanX.setMinTokenBeforeSwap(uint256) (#853-855) should emit an event for:
- minTokenBeforeSwap = amount * 10 ** 18 (#854)
TitanX.setSellFee(uint256) (#933-935) should emit an event for:
- sellFee = _sellFee (#934)
TitanX.setBurnFee(uint256) (#937-939) should emit an event for:
- burnFee = _burnFee (#938)
Emit an event for critical parameter changes.
Additional information: link
TitanX.setStakingPool(address)._stakingPool (#844) lacks a zero-check on :
- stakingPool = _stakingPool (#845)
TitanX.setMarketingAddress(address)._marketingAddress (#941) lacks a zero-check on :
- marketingAddress = address(_marketingAddress) (#942)
Check that the address is not zero.
Additional information: link
Reentrancy in TitanX.constructor() (#816-829):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#821-822)
State variables written after the call(s):
- _mint(_msgSender(),1000000000 * 10 ** 18) (#826)
- _balances[account] += amount (#406)
- _mint(_msgSender(),1000000000 * 10 ** 18) (#826)
- _totalSupply += amount (#405)
- isTaxless[address(this)] = true (#827)
- isTaxless[_msgSender()] = true (#828)
- uniswapV2Router = _uniswapV2Router (#824)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in TitanX._transfer(address,address,uint256) (#861-900):
External calls:
- swapAndDistribute() (#866)
- (sent,data) = address(recipient).call{value: amount}() (#946)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#915-921)
- (sent,data) = address(stakingPool).call{value: amountToPool}() (#928)
External calls sending eth:
- swapAndDistribute() (#866)
- (sent,data) = address(recipient).call{value: amount}() (#946)
- (sent,data) = address(stakingPool).call{value: amountToPool}() (#928)
Event emitted after the call(s):
- Transfer(from,to,amount) (#386)
- super._transfer(sender,deadAddress,_burnFee) (#896)
- Transfer(from,to,amount) (#386)
- super._transfer(sender,recipient,transferAmount) (#871)
- Transfer(from,to,amount) (#386)
- super._transfer(sender,address(this),fee) (#894)
- Transfer(from,to,amount) (#386)
- super._transfer(sender,recipient,transferAmount) (#898)
Reentrancy in TitanX.constructor() (#816-829):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#821-822)
Event emitted after the call(s):
- Transfer(address(0),account,amount) (#407)
- _mint(_msgSender(),1000000000 * 10 ** 18) (#826)
Apply the check-effects-interactions pattern.
Additional information: link
Different versions of Solidity is used:
- Version used: ['>=0.5.0', '>=0.6.2', '^0.8.0', '^0.8.7']
- ^0.8.0 (#6)
- ^0.8.0 (#91)
- ^0.8.0 (#121)
- ^0.8.0 (#148)
- ^0.8.0 (#533)
- >=0.5.0 (#608)
- >=0.6.2 (#628)
- >=0.6.2 (#726)
- ^0.8.7 (#779)
Use one Solidity version.
Additional information: link
Context._msgData() (#138-140) is never used and should be removed
ERC20._burn(address,uint256) (#423-438) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.8.0 (#6) allows old versions
Pragma version^0.8.0 (#91) allows old versions
Pragma version^0.8.0 (#121) allows old versions
Pragma version^0.8.0 (#148) allows old versions
Pragma version^0.8.0 (#533) allows old versions
Pragma version>=0.5.0 (#608) allows old versions
Pragma version>=0.6.2 (#628) allows old versions
Pragma version>=0.6.2 (#726) 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 TitanX.swapAndDistribute() (#902-931):
- (sent,data) = address(stakingPool).call{value: amountToPool}() (#928)
Low level call in TitanX.transferToAddressETH(address,uint256) (#945-948):
- (sent,data) = address(recipient).call{value: amount}() (#946)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Router01.WETH() (#632) is not in mixedCase
Parameter TitanX.setTaxless(address,bool)._value (#831) is not in mixedCase
Parameter TitanX.setTaxFee(uint256)._taxFee (#835) is not in mixedCase
Parameter TitanX.setRewardDivider(uint256)._rewardDivider (#839) is not in mixedCase
Parameter TitanX.setStakingPool(address)._stakingPool (#844) is not in mixedCase
Parameter TitanX.setSwapEnabled(bool)._value (#849) is not in mixedCase
Parameter TitanX.setBlacklistState(address,bool)._account (#857) is not in mixedCase
Parameter TitanX.setBlacklistState(address,bool)._state (#857) is not in mixedCase
Parameter TitanX.setSellFee(uint256)._sellFee (#933) is not in mixedCase
Parameter TitanX.setBurnFee(uint256)._burnFee (#937) is not in mixedCase
Parameter TitanX.setMarketingAddress(address)._marketingAddress (#941) is not in mixedCase
Parameter TitanX.inCaseTokensGetStuck(address)._token (#954) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#637) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#638)
Prevent variables from having similar names.
Additional information: link
TitanX.constructor() (#816-829) uses literals with too many digits:
- _mint(_msgSender(),1000000000 * 10 ** 18) (#826)
TitanX.slitherConstructorVariables() (#782-961) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#801)
TitanX.slitherConstructorVariables() (#782-961) uses literals with too many digits:
- minTokenBeforeSwap = 1000000000 * 10 ** 18 (#803)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
TitanX.totalEthDistributed (#808) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to verify that token and website are owned by the same team (no listings + unable to find contract on website)
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
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 Telegram link on the website
Unable to find Twitter link on the website
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
Young tokens have high risks of price dump / death
Telegram account link seems to be invalid
Unable to find Blog account (Reddit or Medium)
Unable to find Discord account