Hacker exploits GMX V1 through malicious smart contract, minting unauthorized tokens

Source Cryptopolitan

The GMX exchange saw abnormal outflows of multiple assets, suggesting an ongoing exploit. The losses from the attack are around $42M based on the initial estimation. 

On-chain data showed suspicious outflows from the GMX exchange. The transactions showed multiple markets were drained, estimating a $42M initial loss from the exploit. 

A series of transactions was performed on Arbitrum, affecting WBTC, as well as bridged versions of USDC, USDT, LINK, UNI, and FRAX. The possible explanation is a re-entrancy attack, where an abnormal amount of GLP tokens was minted. 

GMX exchange exploited for $42M in multi-token attack
GMX was exploited for multiple tokens, as the hacker bridged funds from Arbitrum to Ethereum | Source: DeBank

According to on-chain analysts, the protocol was attacked through a malicious smart contract funded with mixed funds from Tornado Cash. Soon after the exploit, the GMX exchange team reached out to the hacker, offering a 10% white hat bounty. 

GMX exchange exploited for $42M in multi-token attack
GMX reached out to the hacker, offering a 10% white hat bounty | Source: Etherscan

Within the first hour after the hack, GMX has not yet talked about freezing USDC in an attempt to salvage some of the funds. The hacker held around $2.28M in USDC, with the rest of the funds still in other tokens, including WBTC. GMX has admitted its V1 vaults were attacked, only affecting some of its smart contracts, with no vaults drained from V2.

GMX hacker held all funds in a single wallet

All funds were sent to one wallet, with over $32M in Arbitrum-based assets, and another $9M on Ethereum after bridging. The Ethereum-based funds are at a higher risk of being swapped and mixed, due to the higher available liquidity. 

The hacker bridged USDC to Ethereum, later swapping the assets to DAI. Less than an hour after the exploit, the wallet continued to bridge funds to Ethereum, storing $11M in one of the wallets. 

DAI is one of the assets most often mixed through Tornado Cash or concealed through DeFi swaps. The exploit shows similarities with previous protocol hacks, suggesting the participation of DPRK hackers. GMX was affected just months after the Cetus Protocol DEX was hacked and managed to freeze some of the funds. 

The new wallet was created two days before the exploit and funded with ETH originating from TornadoCash, according to the researchers from SlowMist. 

The origins of the funds are token vaults on the GMX exchange. GMX was one of the busiest markets for perpetual futures, attracting traffic with opportunities for high-leverage trading. GMX is a relatively smaller market, with around $1B in weekly volumes and a few thousand users. 

GMX expanded in Q2

The platform adds to the perpetual futures DEX trend, offering niche access to high-leverage activity. While not as high-profile as Hyperliquid, GMX expanded its activity in Q2. 

The perpetual futures DEX locks in over $502M in its vaults, with all-time TVL at over $690M in late 2024. The value locked in vaults has been growing since this year’s market low in April, rising by over 50% to over $500M. 

The market achieves over $65M in annual fees with around $23 in yearly revenues, and carries over $6.4B in monthly trading volumes. Following the recent hack, the DEX native token GMX crashed by over 10% to a three-month low. GMX slid to $12.29, deepening the initial losses from the hack.

Your crypto news deserves attention - KEY Difference Wire puts you on 250+ top sites

Disclaimer: For information purposes only. Past performance is not indicative of future results.
placeholder
Gold price moves closer to three-week peak amid modest USD downtickGold price (XAU/USD) attracts some dip-buying during the Asian session on Tuesday and reverses a major part of the previous day's retracement slide from a nearly three-week high.
Author  FXStreet
22 hours ago
Gold price (XAU/USD) attracts some dip-buying during the Asian session on Tuesday and reverses a major part of the previous day's retracement slide from a nearly three-week high.
placeholder
S&P 500 hits a new all time of 6,300 for the first time everThe S&P 500 broke through 6,300 for the first time in history on Tuesday, as rising demand for crypto stocks and tech names sent U.S. markets higher across the board.
Author  Cryptopolitan
22 hours ago
The S&P 500 broke through 6,300 for the first time in history on Tuesday, as rising demand for crypto stocks and tech names sent U.S. markets higher across the board.
placeholder
Japan’s bond market is falling apart in real time after bond values crashJapan’s bond market is falling apart in real time. The 30-year Japanese bond yield jumped to 3.20%, a fresh record.
Author  Cryptopolitan
20 hours ago
Japan’s bond market is falling apart in real time. The 30-year Japanese bond yield jumped to 3.20%, a fresh record.
placeholder
EUR/USD sinks towards 1.1600 as US inflation rises and crushes Fed cut hopesThe EUR/USD fell some 0.55% on Tuesday after the latest US inflation report revealed that prices are edging higher, justifying the Federal Reserve's current policy stance.
Author  FXStreet
5 hours ago
The EUR/USD fell some 0.55% on Tuesday after the latest US inflation report revealed that prices are edging higher, justifying the Federal Reserve's current policy stance.
placeholder
Japanese Yen remains vulnerable near multi-month low against USDThe Japanese Yen (JPY) hit a fresh low since April against its American counterpart during the Asian session on Wednesday.
Author  FXStreet
3 hours ago
The Japanese Yen (JPY) hit a fresh low since April against its American counterpart during the Asian session on Wednesday.
goTop
quote