Share this article

DeFi Trader Nets Over $500K by Using DEX GMX to Manipulate Avalanche Token

GMX developers capped open interest for Avalanche tokens to prevent a repeat of the strategy.

Updated May 11, 2023, 6:41 p.m. Published Sep 19, 2022, 9:39 a.m.
A savvy decentralized exchange (DEX) trader deployed millions of dollars to manipulate the prices of Avalanche’s AVAX tokens on the GMX DEX. (Jose Miguel/Pixabay)
A savvy decentralized exchange (DEX) trader deployed millions of dollars to manipulate the prices of Avalanche’s AVAX tokens on the GMX DEX. (Jose Miguel/Pixabay)

A savvy crypto trader deployed millions of dollars to manipulate the prices of Avalanche’s AVAX tokens on the decentralized exchange GMX, taking up to $700,000 in profits by using a strategy that exploited a basic loophole.

GMX, like other decentralized exchanges, or DEXs, relies on smart contracts to match traders between decentralized finance (DeFi) users. Decentralized finance refers to trading activities carried out on a blockchain without the use of a third party.

STORY CONTINUES BELOW
Don't miss another story.Subscribe to the Crypto Daybook Americas Newsletter today. See all newsletters

The exchange allows users to trade spot and perpetual futures using its on-chain trading interface at low fees and has processed more than $45 billion in trading volume since its inception in 2021.

The loophole, however, is that GMX offers trading to users at zero slippage, or the difference between the expected price of a trade and the price at which the trade is executed. But all pricing data on GMX is derived from centralized exchanges, such as Binance or FTX, meaning a trader could buy a large number of tokens, such as AVAX in this case, on zero slippage, rapidly drive up prices on centralized exchanges by placing buy orders on those venues and selling the initial position on GMX at higher prices.

It’s important to note that this strategy won't work on two centralized exchanges, because a trader placing high bids on one venue would mean prices automatically move higher on that exchange and other exchanges immediately raise the price of assets on their own systems – meaning the strategy is unlikely to net any profits.

In several tweets on Sunday, Joshua Lim, head of derivatives at Genesis Global Trading, said the trader exploited the GMX loophole five times, netting over $500,000 to $700,000 in total profits. Security firm PeckShield pegged the gains at $565,000 on Sunday morning in a tweet that’s since been deleted. (Genesis and CoinDesk are both owned by Digital Currency Group.)

The trader put on positions of between $4 million to $5 million each time, Lim said, and extracted over $158,000 in the first trade he did. Lim added that this wasn’t a typical exploit as GMX worked “as designed.”

GMX developers said late Sunday that they were reviewing the loophole and had, in the meantime, capped open interest, or the number of unsettled futures contracts, at $2 million for AVAX on their exchange. A key developer said a solution can be expected in two weeks.

The price of GMX’s native token fell 12% in the past 24 hours amid a broader crypto market decline, extending the token's two-week losses to over 30%, data shows.

More For You

Protocol Research: GoPlus Security

GP Basic Image

What to know:

  • As of October 2025, GoPlus has generated $4.7M in total revenue across its product lines. The GoPlus App is the primary revenue driver, contributing $2.5M (approx. 53%), followed by the SafeToken Protocol at $1.7M.
  • GoPlus Intelligence's Token Security API averaged 717 million monthly calls year-to-date in 2025 , with a peak of nearly 1 billion calls in February 2025. Total blockchain-level requests, including transaction simulations, averaged an additional 350 million per month.
  • Since its January 2025 launch , the $GPS token has registered over $5B in total spot volume and $10B in derivatives volume in 2025. Monthly spot volume peaked in March 2025 at over $1.1B , while derivatives volume peaked the same month at over $4B.

More For You

Ethereum’s P2P Layer Is Improving Just as Institutional ETH Buys Pick Up

(CoinDesk)

Early PeerDAS performance is proof that the Ethereum Foundation can now ship complex networking improvements at scale.

What to know:

  • Ethereum co-founder Vitalik Buterin said that the network is addressing its lack of peer-to-peer networking expertise, highlighting the progress of PeerDAS.
  • PeerDAS, a prototype for Data Availability Sampling, is crucial for Ethereum's scalability and decentralization through sharding.
  • BitMine Immersion Technologies has significantly increased its Ethereum holdings, viewing it as a strategic investment in the network's future scaling capabilities.