Lighter DEX just dodged a bullet after a $5M exploit on Nov 16.

What happened: Attacker reconstructed private keys from reused nonces in a trader's custom signing code (outside official SDKs). Classic OpSec fail.

Attack flow:
- Created public pool from victim account
- Bought pool shares via burner wallet
- Drained victim funds into pool
- Redeemed shares = exit liquidity

Blockchain sleuths tracked ~$10.4M in $USDC withdrawals. Some estimates put total losses at $15.5M across 2 accounts (unconfirmed by Lighter).

The save: Guardian smart contract auto-paused withdrawals. Security Council clawed back ~$5M to the victim.

Protocol NOT compromised. Official SDKs safe. Withdrawals back online.

New security upgrades rolling out:
- Wallet signatures required for public pool transfers
- API key signatures now private
- IP allowlists + configurable API permissions
- Automated nonce reuse detection

If you're using custom signing code on Lighter, rotate your API keys NOW and switch to official SDKs.

Lesson: Never trust third-party signing tools with your keys. Nonce reuse = instant rekt.