A key was calculated from two public “signatures,” and $10.39 million was gone just like that.

At around 18:11 Beijing time on November 16, 10.393 million USDC was withdrawn from the Ethereum contracts of perpetual futures exchange Lighter. Lighter said its contracts and official SDK had not been compromised; the problem was in a trader’s custom signing code. About $5 million was later recovered for victims by its security committee, and Rekt published a postmortem on November 23.

【Root cause: like signing twice with the same die】

Digital signatures use a “nonce,” a one-time random number that must be different for every signature. Lighter said the affected account used unofficial signing code that reused the same nonce. Think of it this way: if you use the same secret code as the basis for every signature, someone who gets two signatures can subtract one from the other and cancel out the code, revealing the private key. No one hacked the servers; the key was calculated from public data alone.

【Exploit: A public pool was treated as an “insider”】

API keys were supposed to allow funds to be withdrawn only to the owner’s own address. According to Lighter’s postmortem and security analysts, the attacker used a victim’s account to open a public pool, then used another account to buy shares in the pool, transfer funds into it, and redeem them—bypassing the restriction. That same day, Lighter changed the system so that depositing into a public pool requires a wallet signature, and API-key signatures are no longer public.

【Similar risks and how to check】

• Anyone who has modified the code themselves or uses an untrusted signing library or trading bot could run into a similar issue. The official SDK uses secure random numbers and was not affected.

• For exchanges or protocols: It’s best to separate trading keys from transfer permissions, and set IP allowlists and transaction limits.

• For regular users: Give API keys read-only access, not withdrawal permissions; don’t install random bots; if you have any doubts about the code, rotate your keys immediately.

• Treat any links claiming to offer an “official emergency migration” or “compensation” as scams.

Think back to Ronin in 2022: the problem was with “signing authority,” not a code exploit. The same lesson has been borne out repeatedly over the years: keys and signing processes are more prone to trouble than smart contract code.

One thing to note: estimates of the losses currently differ. The amount traceable on-chain is $10.39 million, while another firm estimates the two accounts held about $15.5 million combined. Lighter has not confirmed the total.

A practical question: When you use a trading bot or API, do you grant read-only access, or permissions to trade and withdraw?

Sources: Rekt, Kann Audits’ incident analysis, Bitquery’s on-chain tracking, and Lighter’s official postmortem (as reported by the media).

Not investment advice. DYOR

$ETH #Web3安全 #Security