NewsCryptoLighter DEX Restores Withdrawals and Recovers $5 Million After $10.4M API-Key Exploit

Lighter DEX Restores Withdrawals and Recovers $5 Million After $10.4M API-Key Exploit

Author: Cointelegraphยท

Key Takeaways

  • โ€ขLighter recovered approximately $5 million in user funds and restored withdrawals after an attacker drained more than $10 million using compromised API keys on Monday.
  • โ€ขThe attacker derived the private API keys by exploiting a trader's custom signing software that reused cryptographic nonces, making the keys calculable from publicly available signatures.
  • โ€ขBitquery traced 1,920 ETH through 12 wallets into Hyperliquid, where about $3.46 million in Wrapped Monero was purchased, while roughly $7 million in ETH remains in the attacker's original wallet.
  • โ€ขLighter stated its protocol, smart contracts, and official SDKs were unaffected, and its Guardian mechanism temporarily paused withdrawals so the Security Council could return about $5 million in USDC to the affected trader.
  • โ€ขThe exchange now requires wallet signatures for transfers to public pools, has made API-key signatures non-public, and plans to introduce IP allowlists and configurable permissions for API keys.
Lighter DEX Restores Withdrawals and Recovers $5 Million After $10.4M API-Key Exploit

Decentralized derivatives exchange Lighter said it has restored withdrawals and recovered approximately $5 million in user funds after an attacker exploited compromised trader API keys to pull more than $10 million from the platform on Monday (Lighter announcement).

Blockchain analytics firm Bubblemaps reported that about $10.4 million in USDC had been withdrawn from the exchange. It tracked the funds being swapped into Ether (ETH) and Wrapped Monero (XMR1), a token traded on Hyperliquid.

Lighter initially stated that its protocol and smart contracts were unaffected. The exchange activated its Guardian security mode, temporarily pausing withdrawals and new pool creation while its Security Council worked to secure the platform.

The incident adds to a string of high-profile cryptocurrency security failures this year, including the $6.3 billion Binance hack on Oct. 29, the largest in the industry to date.

On-chain tracing points to 12 Hyperliquid accounts

Lighter and Bubblemaps identified the wallet '0xb3f' as the attacker's address. Blockchain data platform Bitquery separately traced 10,393,057 USDC leaving Lighter's Ethereum contract at 10:11 a.m. UTC. According to the firm, most of the funds were converted into Ether through CoW Swap within minutes, followed by a series of 160 ETH transfers to wallets linked to XMR1 purchases on Hyperliquid.

In subsequent analysis, Bitquery identified a total of 1,920 ETH routed through 12 wallets, each receiving 160 ETH (about $290,000) before the funds were pushed through LI.FI toward Hyperliquid. The 12 Hyperliquid accounts then purchased approximately $3.46 million in XMR1 tokens.

Another 3,845 ETH, worth roughly $7 million, remained in the original wallet as of 11:55 UTC on Monday, according to Bitquery's latest snapshot. The fate of that remaining balance is the incident's principal open question.

Bitquery also flagged similar fund movements following a separate $6.45 million Safe wallet theft at 11:35 UTC on Monday, about 84 minutes after the Lighter withdrawal, as well as a Kava exploit two days earlier. All three incidents involved funds routed through LI.FI into XMR1 purchases on Hyperliquid, but Bitquery found no direct transfers linking either of the other two to Lighter. The firm cautioned that similar transaction routes alone are weak evidence of a common attacker.

Postmortem: reused cryptographic nonces exposed API keys

In a postmortem published Monday at 18:20 UTC, Lighter explained that the attacker obtained private API keys through a trader's custom signing software, which reused cryptographic nonces. That flaw allowed the keys to be calculated from publicly available signatures.

Using the compromised keys, the attacker created a public pool, transferred funds into it and withdrew them through an attacker-controlled account.

Lighter said its Guardian security mechanism temporarily paused withdrawals, enabling its Security Council to return approximately $5 million in USDC to the affected trader. The exchange reiterated that its protocol, smart contracts and official software development kits were unaffected.

The episode illustrates how exchange security can fail away from smart contracts: API keys are credentials that let traders authorize programmatic actions, and in this case a flaw in a single trader's custom signing software was enough for an attacker to move funds through the exchange's own functions even while Lighter's on-chain code and official SDKs were unaffected.

Lighter has since required wallet signatures for transfers to public pools and made API-key signatures non-public. It also plans to introduce IP allowlists and configurable permissions for API keys.

Additional reporting by Nate Kostar.