Digital payment solution for an ecosystem of products offering DeFi adoption and token creation services.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
HyperSonic.swapAndSendDividendsInBNB(uint256) (#1242-1249) sends eth to arbitrary user
Dangerous calls:
- (success) = address(dividendTracker).call{value: dividends}() (#1244)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in HyperSonic._transfer(address,address,uint256) (#1024-1164):
External calls:
- swapTokensForBNB(half.add(OtherTokens)) (#1057)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1212)
- addLiquidity(otherHalf,liquidityPart) (#1063)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1203)
- swapBNBForTokens(buyBackBalance.div(10 ** 2).mul(rand())) (#1069)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1220)
- swapAndSendDividendsInBNB(newBalance.sub(liquidityPart)) (#1075)
- (success) = address(dividendTracker).call{value: dividends}() (#1244)
- dividendTracker.distributeDividends(dividends) (#1246)
- swapAndSendDividends(newBalance.sub(liquidityPart)) (#1082)
- success = IBEP20(_dividendToken).transfer(address(dividendTracker),dividends) (#1235)
- uniswapV1Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,recipient,block.timestamp.add(300)) (#1228)
- dividendTracker.distributeDividends(dividends) (#1237)
External calls sending eth:
- addLiquidity(otherHalf,liquidityPart) (#1063)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1203)
- swapBNBForTokens(buyBackBalance.div(10 ** 2).mul(rand())) (#1069)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1220)
- swapAndSendDividendsInBNB(newBalance.sub(liquidityPart)) (#1075)
- (success) = address(dividendTracker).call{value: dividends}() (#1244)
- swapAndSendDividends(newBalance.sub(liquidityPart)) (#1082)
- uniswapV1Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,recipient,block.timestamp.add(300)) (#1228)
State variables written after the call(s):
- super._transfer(from,address(this),fees.sub(fromBurnFee)) (#1134)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#142)
- _balances[recipient] = _balances[recipient].add(amount) (#143)
- super._transfer(from,deadAddress,fromBurnFee) (#1135)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#142)
- _balances[recipient] = _balances[recipient].add(amount) (#143)
- super._transfer(from,address(this),fees_scope_0.sub(fromBurnFee_scope_1)) (#1142)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#142)
- _balances[recipient] = _balances[recipient].add(amount) (#143)
- super._transfer(from,deadAddress,fromBurnFee_scope_1) (#1143)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#142)
- _balances[recipient] = _balances[recipient].add(amount) (#143)
- super._transfer(from,to,amount) (#1147)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#142)
- _balances[recipient] = _balances[recipient].add(amount) (#143)
- swapping = false (#1085)
Apply the check-effects-interactions pattern.
Additional information: link
HyperSonic.rand() (#1002-1018) uses a dangerous strict equality:
- randNumber == 0 (#1012)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
Contract locking ether found:
Contract HypersonicDividendTracker (#1257-1432) has payable functions:
- DividendPayingToken.receive() (#224-225)
- DividendPayingToken.distributeDividends() (#227-237)
- IDividendPayingToken.distributeDividends() (#186)
But does not have a function to withdraw the ether
Remove the payable attribute or add a withdraw function.
Additional information: link
HyperSonic.updateMaxSellPercentage(uint256) (#891-894) contains a tautology or contradiction:
- require(bool,string)(newPercentage >= 0 && newPercentage <= 10000,Hypersonic: Sell percentage must be between 0 and 10000) (#892)
Fix the incorrect comparison by changing the value type or the comparison.
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.
HyperSonic._transfer(address,address,uint256) (#1024-1164) performs a multiplication on the result of a division:
-swapBNBForTokens(buyBackBalance.div(10 ** 2).mul(rand())) (#1069)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in HyperSonic.whitelistDxSale(address,address) (#789-795):
External calls:
- dividendTracker.excludeFromDividends(_presaleAddress) (#791)
- dividendTracker.excludeFromDividends(_routerAddress) (#793)
State variables written after the call(s):
- excludeFromFees(_routerAddress,true) (#794)
- _isExcludedFromFees[account] = excluded (#910)
Apply the check-effects-interactions pattern.
Additional information: link
HyperSonic._transfer(address,address,uint256).lastProcessedIndex (#1155) 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
HyperSonic.addLiquidity(uint256,uint256) (#1201-1204) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1203)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string)._symbol (#221) shadows:
- BEP20._symbol (#77) (state variable)
Rename the local variables that shadow another component.
Additional information: link
HyperSonic.updateLiquidityFee(uint256) (#886-889) should emit an event for:
- liquidityFee = newFee (#888)
Emit an event for critical parameter changes.
Additional information: link
DividendPayingToken.setDividendTokenAddress(address).newToken (#254) lacks a zero-check on :
- dividendToken = newToken (#255)
Check that the address is not zero.
Additional information: link
Variable 'HyperSonic._transfer(address,address,uint256).iterations (#1155)' in HyperSonic._transfer(address,address,uint256) (#1024-1164) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1157)
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 HyperSonic.whitelistDxSale(address,address) (#789-795):
External calls:
- dividendTracker.excludeFromDividends(_presaleAddress) (#791)
State variables written after the call(s):
- excludeFromFees(_presaleAddress,true) (#792)
- _isExcludedFromFees[account] = excluded (#910)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in HyperSonic.whitelistDxSale(address,address) (#789-795):
External calls:
- dividendTracker.excludeFromDividends(_presaleAddress) (#791)
- dividendTracker.excludeFromDividends(_routerAddress) (#793)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#911)
- excludeFromFees(_routerAddress,true) (#794)
Apply the check-effects-interactions pattern.
Additional information: link
HypersonicDividendTracker.canAutoClaim(uint256) (#1351-1356) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#1352)
- block.timestamp.sub(lastClaimTime) >= claimWait (#1355)
Avoid relying on block.timestamp.
Additional information: link
SafeMathInt.mul(int256,int256) (#655-660) is never used and should be removed
Remove unused functions.
Additional information: link
solc-0.8.7 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 HyperSonic.swapAndSendDividendsInBNB(uint256) (#1242-1249):
- (success) = address(dividendTracker).call{value: dividends}() (#1244)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Parameter HypersonicDividendTracker.getAccount(address)._account (#1319) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#11)" inContext (#5-14)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#259) is too similar to HypersonicDividendTracker.getAccount(address).withdrawableDividends (#1319)
Prevent variables from having similar names.
Additional information: link
HypersonicDividendTracker.getAccountAtIndex(uint256) (#1342-1349) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#1344)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
DividendPayingToken.lastAmount (#212) is never used in HypersonicDividendTracker (#1257-1432)
Remove unused state variables.
Additional information: link
HyperSonic.deadAddress (#700) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
process(uint256) should be declared external:
- HypersonicDividendTracker.process(uint256) (#1375-1420)
Use the external attribute for functions never called from the contract.
Additional information: link
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.
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 find token contract audit
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 token on CoinHunt
Additional information: link
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 Youtube account
Unable to find Discord account