The VUSD contract allows any address to queue unlimited withdrawal requests with a minimum of 5 VUSD, and only the first 100 requests are processed at a time. An attacker could spam the queue with many small withdrawals, delaying genuine users' withdrawals.
The withdrawal queue processing function can be permanently blocked by a malicious user who withdraws to a smart contract that consumes all available gas during the external call. This prevents any further withdrawals from being processed, causing users to lose their funds.
The oracle incorrectly assumes that Chainlink round IDs increment by one, but they actually pack a phase ID and aggregator round ID. When the phase ID increments, the round ID jumps by 2^64, causing calls to settle funding to revert for up to 24 hours, which delays funding settlement and results in different TWAP values being used, leading to yield loss for some users.
When a withdrawal call fails in VUSD#processWithdrawals, the contract only emits an event and moves on, with no way to retry. As a result, the failed withdrawal amount is permanently lost.
The Oracle.getUnderlyingPrice() function did not check whether the Chainlink price feed data was stale. An attacker could exploit stale prices to cause incorrect valuations in the InsuranceFund, MarginAccount, and AMM contracts, potentially leading to financial loss.
The premium calculation in the perpetual market relies too heavily on the last traded price, allowing a malicious user to place orders that manipulate the time-weighted average price (TWAP) and generate premiums in their favour. This lets them steal margin from other traders who take the opposite side of their positions.
The MarginAccountHelper contract updates its references to marginAccount and insuranceFund via syncDeps but does not update token approvals to the new contracts. If those addresses ever change, all transactions through the helper would revert, bricking the contract.
The addMargin function is blocked while the contract is paused, so users cannot top up collateral during that time. After unpausing, a liquidator can front-run a user's margin addition and liquidate the position, causing loss of collateral.
A logic flaw in the funding settlement function could cause the last funding time not to be updated when a newly whitelisted market has a future next funding time, leading to incorrect margin accounting and unrealised funding payments not being settled.
The Oracle contract does not check whether Chainlink price feeds return the minimum or maximum configured answer, so if an asset's market price falls outside that band, the oracle keeps reporting the boundary value. An attacker could then borrow or interact with the protocol using an incorrect, inflated price for a crashed asset.
The auction contract only closes an auction when the collateral token balance reaches exactly zero, so an attacker can leave a tiny amount (dust) or donate a small amount to keep the auction open. This extends the auction and lets the attacker buy newly added collateral at heavily discounted prices.
The VUSD contract's withdrawal processing sends the withdrawn gas token to the user's address using a low-level call, which triggers the recipient's receive function. An attacker could deploy a malicious contract that, upon receiving the gas token, immediately deposits and withdraws again, thereby lengthening the withdrawal queue and forcing other users to spend more gas to process their withdrawals.
The insurance fund calculates the vUSD returned on withdrawal from the current vUSD balance, so a call to settle bad debt just before a withdrawal reduces that balance and the payout for the same shares. An attacker could front-run a withdrawal with a bad-debt settlement to make the victim receive significantly less vUSD.
The oracle allows governance to manually set a stablecoin's price, which can become inaccurate if the stablecoin depegs. An attacker could buy the depegged stablecoin cheaply, deposit it as collateral at the inflated manual price, and open positions that create bad debt for the protocol.
The order book contract sets the fill price to the sell order's price when a buy and sell order are placed in the same block, which can be unfair to the buyer. A block producer could manipulate order ordering to extract value.
Validators on the Hubble exchange have the exclusive right to match orders, and a malicious validator can abuse this to manipulate funding rates and profit unfairly from liquidations. The report describes two attack vectors: profiting from liquidations by matching them against the validator's own orders at a worse price, and manipulating the funding rate by placing and matching tiny orders at the extremes of the allowed spread.
HE
Hubble Exchange
High
Instant results are busy. Press Enter to search every report.
No direct matches. Search every report above, or try a bug class like IDOR or SSRF.