Security

Lighter reports security incident involving leaked API keys

Ethereum perpetual exchange Lighter reported a security incident involving leaked API keys, though onchain researcher 0xTria claims the loss reached $15.5 million across two market-maker accounts. The attacker withdrew $10.39 million in USDC and swapped it for ETH before moving funds to Hyperliquid.

Lighter reports security incident involving leaked API keys

Discrepancy in Loss Totals

Lighter, an Ethereum perpetual futures exchange that uses zero-knowledge proofs, reported a security incident on X this Monday. A leaked application programming interface key tied to a trader’s account allowed an attacker to drain funds without affecting the protocol or smart contracts. API keys let software trade on an account’s behalf. I find the discrepancy between the exchange’s official update and onchain reports regarding the number of victims and the total loss quite alarming. While Lighter attributes the incident to a single trader’s account, onchain researcher 0xTria flagged the wallet and reported at 10:48 UTC that leaked API keys of two market-maker accounts caused losses of $10.39 million and $5.09 million. 0xTria reported that if the Korean contacts were correct, the leaked API keys of two market-maker accounts caused the incident rather than a protocol hack. Lighter has not confirmed the $15.5 million total loss that 0xTria reported.

Onchain movement and Lighter’s response

Unchained’s onchain check showed the wallet withdrew $10.39 million in USDC at 10:11:47 UTC, which occurred nearly an hour before Lighter’s first post at 11:02 UTC disclosed the incident and suspended all withdrawals and pool creation. The attacker’s wallet, which 0xTria flagged minutes after the withdrawal, swapped the USDC through CoW Swap, a decentralized trading service, for approximately 5,760 ETH. The wallet made 15 transfers of 160 ETH, sent two of those transfers back, and held about 3,565 ETH as of 12:51 UTC according to onchain data. Lookonchain reported the attacker sent the funds to Hyperliquid, another perpetuals exchange, to buy the privacy coin Monero (XMR). Lighter activated "Guardian mode" on its smart contract to protect against an additional withdrawal attempt by the attacker. Lighter’s update at 12:49 UTC named the wallet it believes belongs to the attacker and stated that its priority involves recovering funds tied to an additional withdrawal attempt by the attacker. The exchange aims to finish a contract upgrade via its Security Council to reopen withdrawals before Monday ends.