GMX V1 Perps Hack
What happened
A trader exploited GMX V1's AVAX/USD market on Avalanche by combining large perpetual positions with price moves on external venues. GMX filled positions at its oracle price without charging price impact, allowing the trader to extract value from GLP liquidity providers.
Oracle-priced execution without position-size price impact exposed GMX to manipulation of the external reference market. Large positions could capture externally induced price moves while GLP liquidity providers paid the resulting profits.
How it happened
- The trader opened large AVAX/USD positions on GMX at its oracle-fed execution price.
- Trades on external venues moved the AVAX reference price in the position's favor.
- The trader alternated long and short positions and repeated the strategy, realizing profits against the GLP pool.
- GMX limited AVAX open interest in response.
Protocol details
Evidence
Understand the attack patterns
Build your security review skills
Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.