Safety
Risk controls
Four layers stop manipulation, circuit breakers pause the venue when prices look wrong, and admin powers are narrow by design.
Manipulation defence
A venue that settles against Hyperliquid's best bid and offer can be drained: push ETH about 0.12% on Hyperliquid for roughly $52k in fees, and a 1000x position pays far more than that. Nine has four layers against this:
- 01Mark price, not mid, plus a mark-vs-mid gap check of 15 bps. A pushed book stops fills instead of paying out.
- 02Depth-capped open interest. For each side,
OI_side ≤ κ · Depth(±10 bps)with κ = 0.20. - 03Future-price fills. A manipulator cannot open at a known price just before pushing the market.
- 04Per-wallet and per-block limits. Maximum margin per Turbo position is $100 at launch, a cap on each wallet's share of OI, and a cap on new opens per block.
Why an attack loses money
cost to move price 10 bps ≈ Depth × ~5 bps (slippage) + fees
max gain = κ · Depth × 10 bps = Depth × 2 bps
2 bps < 5 bps → the attack loses money
The cap shrinks automatically when the book thins out. Every κ, β and limit is replayed against real Hyperliquid book history, including the October 10 ETH move, before launch.
Circuit breakers
| Trigger | Action |
|---|---|
| Price stale for more than 1 s | Pause fills and new opens. Closes queue up and fill on the first fresh price. |
| Mark vs mid > 15 bps | Pause new opens on that market. |
| Vault drawdown > 10% in 24 h | Turbo leverage drops to 99x automatically. The guardian reviews. |
| Wallet or cluster PnL anomaly | Flag for review. No automatic action against funds. |
Threat model
| Threat | Mitigation |
|---|---|
| Latency arbitrage | Future-price fill with D = 300 ms and a no-cancel window |
| Book manipulation | Mark price, gap check, κ depth cap, per-wallet caps |
| Keeper signs a false price (v0) | 2-of-3 signature quorum, sanity checks, max jump. Removed entirely in v1. |
| Sequencer (v1 trust) | Elysium attests the precompile data. Disclosed: the protocol depends on Elysium's sequencer. |
| A one-sided market drains the vault | β solvency cap and the +900% take-profit |
| LPs leaving just before losses | 72 h withdrawal epoch |
| Admin abuse | Timelock, pause-only guardian, no mint, no admin path to vault or position funds |
| Smart-contract bugs | Two audits, fuzz and invariant tests, bug bounty, caps raised slowly |
| Regulatory | Geofence for the US and other restricted regions, clear risk wording, no promises of returns |
Admin powers
| Role | Can | Cannot |
|---|---|---|
| Multisig + timelock (≥ 48 h) | Change config: caps, D and W, tier limits, oracle mode | Act without a public 48-hour delay |
| Guardian | Pause new opens | Touch positions, block closes, block withdrawals, move funds |
| Anyone | Run a keeper; call fill, liquidate and take-profit | Fill outside the valid window or at a price that fails checks |