
Lighter reopens withdrawals after trader’s API key leak, returns about $5 million in USDC
Lighter's Security Council returned about $5 million in USDC to a trader whose API keys were compromised on Monday, the Ethereum-based perpetual futures exchange said in a postmortem.
The exchange initially reported a suspected compromise involving one external party and suspended withdrawals and pool creation as a precaution. It later identified the leaked API key for a specific trader's account and made recovering funds from an additional withdrawal attempt its priority.
The anomaly triggered Lighter's smart contract Guardian, whose temporary pause on withdrawals allowed the Security Council to return the funds. "Deposits and withdrawals are back to normal following the deactivation of Guardian Mode by the Lighter Security Council," Lighter announced later that day.
Attack method
According to Lighter's post-mortem, the attacker opened a public pool from the compromised account, then minted shares in a separate account they controlled. They transferred the trader's money into the pool without minting more shares, increasing the value of the shares they held before redeeming and withdrawing them.
The API keys were leaked through the account's own signatures, using signing software from outside Lighter's official SDKs and reused nonces. This allowed anyone to calculate the private key from two public signatures using the same nonce and key. Lighter emphasized its official SDKs, protocol, smart contracts, and infrastructure were not affected.
Security changes
Following the incident, Lighter implemented several security measures. An API key alone can no longer authorize a transfer to a public pool. The exchange now requires a wallet signature and has made API key signatures non-public.
Lighter is also adding IP allowlists and permissions for individual keys, including restrictions on which markets a key can trade. The team expects these changes to prevent similar incidents in the future.