About 5 million USDC is back with a trader whose Lighter accounts were drained Monday morning, and the perpetual futures exchange has let withdrawals flow again. Its post-mortem on X says the trader’s signing setup, which skipped Lighter’s official software development kits (SDKs), gave away the trader’s application programming interface (API) keys, the credentials that sign the account’s transactions.
Lighter said in a separate post on X that “deposits and withdrawals are back to normal following the deactivation of Guardian Mode by the Lighter Security Council.” Queued withdrawals are going through, the post-mortem said. Earlier Monday, Lighter had pinned the drain on a leaked API key and said its contracts were not hit.
Lighter said its Guardian, a recently launched smart contract safeguard, caught the anomaly and froze withdrawals, letting the Security Council return the funds. Lighter founder and CEO Vladimir Novakovski who discussed Lighter’s Robinhood perps deal with Unchained in July, added that the exchange’s escape hatch “provides a safety net in the event of a protocol-wide attack (which this was not, thankfully).”
Get Unchained’s crypto news in your inbox with the free Unchained Daily newsletter.
How the Keys Leaked
Every transaction on Lighter, from orders to fund transfers, is signed with an API key. Each signature should carry a fresh random number, a nonce. Lighter said the trader’s code, built outside its official SDKs, repeated nonces. Signatures are public, so two sharing a nonce let the attacker work out the key itself.
A key can’t withdraw to anyone else’s wallet, but Lighter lets it fund its own account’s sub-accounts, and any public pool that account opens, a vault where depositors buy shares and an operator trades for them, falls in that group. The attacker opened a pool from the victim’s account, used a separate account it controlled to buy pool shares, moved the victim’s balance in, then cashed out.
Why It Matters for Bot Traders
The flaw sat in the trader’s own software, so the same risk applies to any account whose own signing code mishandles nonces; Lighter noted that nonce reuse breaks Bitcoin and Ethereum signatures too.
Lighter now demands a wallet signature before funds go into a public pool and has stopped exposing API key signatures. IP allowlists, per-key limits and monitoring that voids any key caught reusing a nonce are next. It told traders unsure of their code to rotate keys and use an official SDK.
Pseudonymous researcher 0xTria estimated about $15.5 million was taken from two market-maker accounts, $10.39 million and $5.09 million, figures Lighter, which has not given a total loss, has not confirmed.
Related Listen: Ledger Wallets Were Drained of $100 Million. Is Self-Custody Still Safe?
The post Lighter Reopens Withdrawals, Hands 5 Million USDC Back to Drained Trader appeared first on Unchained.
Powered by WPeMatico