Key Takeaways
- Hyperliquid prevents instant flash-loan attacks by capping consecutive oracle price updates to a maximum 1% shift at the protocol level.
- When an oracle attempts to push a price 2% away from the last tick, the chain automatically clamps the update to 1%, forcing step-by-step price movement across time.
- The protocol avoids subjective risk curation by stripping all semantic meaning; the chain only enforces mathematical bounds rather than asset-specific policies.
- Jeff Yan rejects the idea that perpetual swap volume is capped by spot volume, noting that S&P 500 futures trade much higher volume than their cash components.
- On-chain solvency checks eliminate hidden credit risks, allowing 24/7 weekend trading of assets like crude oil without centralized clearing houses.
The Protocol Knows Math, Not Asset Semantics
Most financial platforms treat risk management as a human editorial job. Risk committees debate whether a token is risky, create special margin tiers, or manually pause markets when volatility spikes.
Yan built Hyperliquid on a different premise: remove all narrative from the code. As Yan put it: “The protocol does not even understand what that means. There's kind of like no semantic encoding in the protocol.”
Instead of asking whether an asset is crude oil or an illiquid token, the chain views every market as identical mathematics. A perpetual contract does not need to understand real-world supply chains or regulatory filings. “It is a mechanism by which a perpetual contract tracks the one number that is exogenous to the system, which is the index price,” Yan explained. “That's kind of the beauty of a perpetual, right? It's so powerful, so expressive, and yet it really is kind of ultimately boils down to one number.”
Because the index price must come from the outside world, oracles remain the single attack vector. “The meaning of the word oracle in a blockchain context is something that is published by a single or multiple publishers that tracks something that is off-chain,” Yan said. “So it is not knowable from purely on-chain characteristics.” If you cannot trust human curation to catch bad data, your code must enforce mathematical bounds that make malicious inputs impossible to execute in one tick.
The One Percent Clamping Rule Limits Liquidation Cascades
DeFi exploits usually follow a predictable playbook. An attacker manipulates an external pricing source, pushes an artificial 30% spike onto an on-chain oracle, and drains the protocol through instant liquidations before arbitrageurs can react.
Hyperliquid neutralizes this vector with a hard constraint: consecutive oracle price updates cannot move by more than 1%.
“For example, there's a constraint at the protocol level where between two oracle price updates, the relative difference between those two prices cannot be more than 1%,” Yan said. “This is like a hard-enforced rule, and in fact when you try to push an oracle price that's say 2% away, what happens is the protocol clamps it to be 1% away, so that then you can push it again.”
This clamping mechanism forces time into the price discovery loop. If an asset crashes or spikes 10% in the real world, the oracle cannot transmit that entire jump in a single block. It must step up or down across multiple discrete updates. That delay gives liquidators time to close bad debt orderly, allows market makers to cancel quotes, and lets arbitrageurs bring prices back into balance.
Derivatives Can Safely Dwarf Underlying Spot Liquidity
Traders often claim that a perpetual contract cannot grow larger than the underlying spot market without causing systemic instability. Yan argues the opposite.
In traditional finance, derivatives routinely trade multiples of their spot markets. “If you look at, for example, futures tracking the S&P 500 versus the underlying components, or even ETFs, right? Like there is a big volume differential there,” Yan pointed out.
Perpetual contracts do not pull liquidity away from spot markets. Deep derivatives liquidity creates trading opportunities for arbitrageurs, who trade price dislocations between the perp contract and the spot index. The perpetual contract becomes the primary venue for price discovery, while the spot market acts as the external anchor.
What to Do With This
Audit your system inputs for rate-of-change limits instead of absolute bounds. If your application relies on external APIs, webhooks, or price feeds, write a hard middleware rule this week that clamps any single-step data change to a fixed percentage ceiling. Require external data to step through intermediate states over multiple intervals before reaching extreme values.