Gate Square “Creator Certification Incentive Program” — Recruiting Outstanding Creators!
Join now, share quality content, and compete for over $10,000 in monthly rewards.
How to Apply:
1️⃣ Open the App → Tap [Square] at the bottom → Click your [avatar] in the top right.
2️⃣ Tap [Get Certified], submit your application, and wait for approval.
Apply Now: https://www.gate.com/questionnaire/7159
Token rewards, exclusive Gate merch, and traffic exposure await you!
Details: https://www.gate.com/announcements/article/47889
Builder must-read: How to identify and mitigate risks in the HIP-3 market
HIP-3 (Hyperliquid Improvement Proposal 3) has been live on the mainnet for three months, and the total trading volume of custom markets deployed by third-party builders has exceeded $13 billion. What is behind this number? It is the decentralization of platform authority: the “listing” power, once monopolized by centralized exchanges, has been transformed into an open standard interface. Builders only need to stake 500,000 HYPE tokens to deploy perpetual markets on Hyperliquid’s unified trading and clearing infrastructure.
However, along with the decentralization of authority, risks are also shifted outward. How to identify these risks and how to detect warning signals in operations has become a core competency that every builder must master.
Architectural Foundation: Understanding the Risk Sources of HIP-3
To identify risks within HIP-3, one must first understand its architectural design.
HIP-3 is built on Hyperliquid’s dual-layer architecture. HyperCore is a customized L1 blockchain optimized for contract trading, capable of processing 200,000 orders per second with deterministic finality; HyperEVM is the application layer that can run smart contracts. The elegance of this architecture lies in: matching, clearing, and settlement are provided uniformly by the protocol, so builders do not need to build trading systems from scratch.
But because of this, the responsibilities of builders are clearly defined yet fragile—clarity means well-defined responsibilities (market definition + operation), fragility means responsibilities are fully outsourced (risk control rights are entirely in the hands of the builder).
Builders need to stake 500k HYPE and undertake two major responsibilities:
Once a market is launched, the stake is locked for 30 days before it can be unlocked. This means any operational misstep can face validator penalties through voting— but before voting, the builder must first identify the existence of issues.
Three-tiered Pricing Mechanism: How to Judge Oracle Price Health
The most critical and risk-prone component in HIP-3 is the price feeding mechanism. Builders need to understand the three price inputs of the setOracle interface:
oraclePx (mandatory): computed by the builder’s relayer server, serving as the anchor for funding rates.
markPx (optional): 0–2 external mark prices submitted by the builder, serving as candidate values for the mark price.
externalPerpPx (mandatory): a weighted median from CEX perpetuals, used to prevent the mark price from deviating sharply.
The final mark price is not directly the fed oraclePx, but rather the median of the local order book’s best bid/ask/last trade prices and the markPx. What does this imply?
It means there are multiple failure points in price calculation:
The constraints on setOracle seem strict:
But these constraints are less effective for assets that are not traded 24/7 (like stocks).
Hidden Risks for Non-24/7 Assets: Price Traps During Market Closure
For assets like BTC, which trade 24/7, builders can rely on continuous external price sources from CEX/DEX. But for non-all-day assets like stocks, how to determine the price during market closures?
Current approach: depend on the last closing price plus a special internal order book pressure-based pricing mechanism. Specifically, the mark price is limited within ±10% (for 10x leverage) of the last close price.
The problem? When external liquidity is lacking, the internal order book depth is thin. Large orders entering during market closure can cause false price swings, especially when long positions are concentrated.
On December 14, 2025, trade.xyz’s XYZ100-USDC market (pegged to NASDAQ100) was manipulated: an attacker created 398 short positions (~$10M USDC), artificially lowered the price, causing many longs to be liquidated in a short period, with about $13M USDC of long positions forcibly closed.
The root causes are:
Oracle Risks: How to Detect Centralization Threats and Decoupling Risks
The relayer server deployed by builders is inherently centralized. Key risks include private key leaks, DDoS attacks, algorithm errors—all capable of causing feed interruption or manipulation.
Four key signals to identify oracle risks:
Feed delays or interruptions
Price decoupling
Opening gap for non-24/7 assets during market closure
Fake liquidity
Parameter Configuration Traps: Common Pitfalls for Builders
Many builders think setting parameters once is enough, but dynamic adjustment of parameters is the real test of operational skill.
Key configuration risks:
1. Excessive leverage In low-liquidity markets, setting too high max leverage greatly increases the likelihood of ADL (auto-deleveraging) triggers. Rapid position accumulation and near-extreme profit/loss margins mean any price fluctuation can trigger cascading liquidations.
2. Sudden margin table adjustments Changing margin requirements overnight effectively alters all users’ maintenance margin ratios. Many accounts can instantly shift from “safe” to “liquidatable,” causing mass forced liquidations. Such operations must be announced in advance and phased.
3. Abuse of haltTrading Builders can call haltTrading to suspend markets, cancel all orders, and settle at current mark prices. But misusing this “double-edged sword” can lock in attacker profits—attackers find it hard to find counterparties, but haltTrading allows settlement at mark price, potentially benefiting attackers.
4. Cross-margin mode (future risk) Currently, HIP-3 only supports isolated margin. Future support for cross-margin could transmit risks from low-liquidity markets to high-liquidity ones. Builders should avoid attempting this until mature solutions are available.
Multi-Dimensional Risk Monitoring System: A Complete Early Warning Framework
Since risks are everywhere, builders need to establish a multi-layered, real-time monitoring system.
Price-side Monitoring
Level 1 Alert (Feed anomalies):
Level 2 Alert (Price decoupling):
Level 3 Alert (Long-term deviation):
Order Book Monitoring
Depth extraction signals:
Fake order detection:
Position Monitoring
The goal is not to “predict prices” but to detect whether the market has shifted from trading-driven to position-driven.
OI overload signals:
Majority PNL signals:
Risk Verification: Making Oracle Auditable and Recomputable
Monitoring alone is not enough; builders need to make the feeding process itself “verifiable.”
Establish a price proof system:
Publicly disclose algorithms and data sources
Generate off-chain verifiable proofs
Publish Merkle root periodically
Provide open-source verification tools
This system ensures that even if the builder’s relayer is compromised, users can verify the feed’s authenticity off-chain, providing evidence for protocol accountability.
Asset-Specific Risk Isolation Strategies
Different assets have distinct risk profiles; monitoring thresholds should be tailored accordingly.
24/7 assets (BTC, ETH):
Non-24/7 assets (stocks):
Liquidation and ADL: Understanding Risks in Extreme Scenarios
Liquidation itself is not a risk; the risk lies in the chain reaction triggered by liquidations.
HIP-3 inherits HyperCore’s liquidation logic: when position net worth falls below maintenance margin, liquidation is triggered. The system prioritizes market orders from the order book, but if depth is insufficient, actual execution prices can deviate significantly from mark price, creating a “liquidation gap.”
When such gaps occur, ADL (auto-deleveraging) activates:
However, ADL indicates the market is in an extreme state. Once triggered, profitable traders are forced to take smaller gains, which can undermine confidence and trigger further risks.
How can builders anticipate ADL activation?
Accountability and Future-Proofing: Standardization, Verification, and Oversight
The core innovation of HIP-3 is: decentralizing authority while embedding responsibility into the protocol.
Verifiers can vote to penalize builders for misoperations, with penalties scaled by severity:
Staked tokens are burned, not redistributed, incentivizing builders to operate responsibly. This creates a strong motivation to maintain integrity.
For penalties to be effective:
Summary: From “Deployment” to “Stable Operation”
HIP-3 replaces platform approval with open interfaces, and the $13 billion trading volume of third-party markets demonstrates the viability of this approach. But openness comes at a cost: the risk control previously handled by the platform now largely depends on the input quality and operational standards of builders.
From a builder’s perspective, mastering not only “how to deploy markets” but more critically “how to identify risks” and “how to respond promptly” is essential. This involves:
Long-term safety hinges on whether builders can implement reliable oracle solutions, rational parameter settings, and effective market monitoring.
HIP-3 is not about making listing easier; it’s about standardizing the process—deployment, operation, and accountability. Ultimately, the stability of this standard depends on the builder’s deep understanding of risks and execution capability.
If you are designing market access standards based on HIP-3, creating parameter templates, building early warning systems, or require risk auditing and ongoing security support, BlockSec and other professional security teams can provide in-depth technical consulting and auditing services.