Decentralized exchange GMX suffers $565K price manipulation 'exploit'

Published at: Sept. 19, 2022

Decentralized exchange (DEX) GMX has reportedly suffered a price manipulation exploit from an exploiter who managed to make off with around $565,000 from the AVAX/USD market.

The unidentified exploiter is understood to have capitalized on GMX’s “minimal spread” and “zero price impact” features to pull off the exploit, which impacted GLP token holders who provided liquidity in the form of AVAX (the Avalanche token) to GMX.

GMX confirmed the price manipulation exploit in a Sept. 18 post on Twitter, but stated that the AVAX/USD market would remain open despite imposing a $2 million cap on long positions and $1 million cap on short positions.

We were notified of price manipulation of AVAX/USD on reference exchanges by monitoring systems and community members.While we review the occurrence, open-interest for AVAX has been capped at $2m long / $1m short.GLP and GMX trading markets continue to operate normally.

— GMX (@GMX_IO) September 18, 2022

Head of Derivatives at Genesis Trading Joshua Lim was one of the first to analyze the exploit, stating that the exploiter “successfully extracted profits from GMX's AVAX/USD market by opening large positions at 0 slippage” before transferring the AVAX/USD to centralized exchanges at a slightly higher price.

Lim said this exploit method was repeated five times, with the first cycle taking effect at 01:15 UTC on Sept. 18. Each cycle transferred more than 200,000 AVAX tokens, (roughly $4-5 million per cycle) with the exploiter extracting about $565,000 in profit after paying spread to market makers on other exchanges.

3/ let's take a look at the first cycle which took place from 01:15:31 to 01:28:11 UTC. X was able to extract roughly $158k in profit by trading clips of $4-5mm at a time pic.twitter.com/W6eu7Iz6lz

— Joshua Lim (@joshua_j_lim) September 18, 2022

Lim however noted that this wasn’t an “exploit” in that it was “GMX working as designed.”

Technical analyst “Duo Nine” added that the exploiter was able to take advantage of several large trades against GLP holders because the fixed prices supplied by the Chainlink-run oracles come with no price impact, which is what made the price manipulation exploit possible.

“If traders make profit, the liquidity providers lose. If traders exploit this vulnerability, the GLP holders may lose all their money!”

While GMX immediately capped short and long open interest for AVAX/USD to protect the DEX from further manipulation, Lim said that GMX may need to scrap its “zero price impact” feature despite it successfully onboarding many users to date.

“The real issue is GMX doesn't reflect the true cost of liquidity like other venues do, it offers unlimited liquidity at a mid-market oracle price.”

The recent exploit comes only weeks after the founder of Layer-2 DEX ZigZag “Taureau” said in a Sept. 2 video call that he doubted GMX’s exchange model would be sustainable over the long term, adding that a trader with the right strategy could wipe out GLP token holders:

Has $GMX built a viable system for the long-run?ZigZag Founder @taureau_21 has his doubts... and predicts eventually that a trader with the right strategy and proper size will wipe out $GLPFull Episode https://t.co/3k3oLdHFWq pic.twitter.com/MF2Qafxs57

— Flywheelpod (@flywheelpod) September 2, 2022

Related: What are decentralized exchanges, and how do DEXs work?

Community Reaction

The news brought about mixed reactions from the GMX community. One Twitter user highlighted the fact that no smart contract was exploited, while another Twitter user asked GMX whether any compensation would be paid out to affected GLP holders.

On GMX, liquidity providers supply BTC, ETH, AVAX and stablecoins in exchange for the GLP token. The protocol was launched in late 2021 on Ethereum layer-2 scaling network Arbitrum.

The GMX token (GMX) is currently priced at $39.07, down 16.7% over the last 24 hours, according to CoinGecko.

Tags
Related Posts
Terra, Avalanche and Osmosis lead the L1 recovery while Bitcoin searches for support
The layer-one (L1) ecosystem has received increased attention in recent months as users search for new investment opportunities in the Cosmos (ATOM), Fantom (FTM) and NEAR. Following January's market sell-off, where Bitcoin (BTC) price dropped to bottom below $34,000, much of the L1 field has struggled to regain its momentum. According to data from Delphi Digital, since the BTC bottom on Jan. 24, the only L1 to experience a notable gain in price include Terra (LUNA), Avalanche (AVAX) and Ethereum (ETH). Terra ecosystem growth The price growth seen in LUNA was in large part due to the announcement from the …
Blockchain / March 5, 2022
Which tokens should you buy and hodl in 2022? | Find out now on The Market Report live
“The Market Report” with Cointelegraph is live right now. On this week’s show, Cointelegraph’s resident experts discuss which tokens you should buy and hodl in 2022. But first, market expert Marcel Pechman carefully examines the Bitcoin (BTC) and Ether (ETH) markets. Are the current market conditions bullish or bearish? What is the outlook for the next few months? Pechman is here to break it down. Next up, the main event. Join Cointelegraph analysts Benton Yaun, Jordan Finneseth and Sam Bourgi as they debate which tokens you should buy and hodl right now. Will it be Bourgi’s picks? He has selected …
Decentralization / March 15, 2022
Kyber Network (KNC) soars after integrating with Uniswap v3 and Avalanche Rush Phase 2
The outlook for projects in the decentralized finance (DeFi) sector has begun to improve in recent months as a combination of global events have highlighted the benefits of holding funds outside of the traditional financial systems. One project that has rallied over the past few months is Kyber Network (KNC), a multi-chain cryptocurrency trading and liquidity hub that aims to offer users the best trading rates. Data from Cointelegraph Markets Pro and TradingView shows that after bouncing off a low of $2.83 on April 6, the price of KNC jumped 55.4% to hit an all-time high of $4.04 on April …
Decentralization / April 9, 2022
Trader Joe takes its first step into the Ethereum ecosystem
Decentralized finance (DeFi) protocol Trader Joe has announced its very first expansion from Avalanche and onto the Ethereum ecosystem, as part of its plans to access new markets and drive up user activity. The decentralized trading platform announced its “multi-chain” expansion into Ethereum layer-2 scaling solution Arbitrum One on Dec. 1 and follows around a month after it stated its intention to expand to additional markets and ink new partnerships amid falling TVL and user activity in the third quarter. We're extremely excited to announce that @traderjoe_xyz has expanded into the Ethereum ecosystem with Arbitrum One as its destination! ‍ …
Adoption / Dec. 2, 2022
PancakeSwap (CAKE) aims to take a slice out of Uniswap’s DeFi dominance
Decentralized finance has taken a back seat to nonfungible tokens over the past month but this hasn’t stopped the top DeFi projects from developing and strategizing how to grow their ecosystems and market share. One project that has outperformed the field as of late is PancakeSwap (CAKE), the Binance Smart Chain-based automated market maker (AMM) that allows users to exchange tokens and earn a portion of fees through yield farming. According to a recent report from Delphi Digital, several factors have played a significant role in helping the PancakeSwap ecosystem grow in recent months and analysts predict that the protocol …
Blockchain / March 28, 2021