#Lighter was hacked
The hacker didn't get into the exchange's systems or touch a single line of code
They derived the private key using nothing but public signatures
It started when a trader didn't use the official SDK, wrote their own signing code, and reused the same nonce over and over
Sign twice with the same nonce, and the private key can be recovered directly. That's how the PS3 was hacked in 2010
On-chain tracking shows about 10.4 million USDC was withdrawn. Some estimates put the total across two accounts at around $15.5 million, but the team hasn't confirmed the total
Guardian paused withdrawals, and the security committee recovered about 5 million USDC for victims
My take: market makers hand-roll signing code to save time, but those few milliseconds they save are all security debt
One thing people overlooked: recovering 5 million shows this decentralized exchange has a pause button
This time, the pause button saved people. Next time, it could freeze you
Hand-writing your own signing code is the most expensive line of code
$ETH
The hacker didn't get into the exchange's systems or touch a single line of code
They derived the private key using nothing but public signatures
It started when a trader didn't use the official SDK, wrote their own signing code, and reused the same nonce over and over
Sign twice with the same nonce, and the private key can be recovered directly. That's how the PS3 was hacked in 2010
On-chain tracking shows about 10.4 million USDC was withdrawn. Some estimates put the total across two accounts at around $15.5 million, but the team hasn't confirmed the total
Guardian paused withdrawals, and the security committee recovered about 5 million USDC for victims
My take: market makers hand-roll signing code to save time, but those few milliseconds they save are all security debt
One thing people overlooked: recovering 5 million shows this decentralized exchange has a pause button
This time, the pause button saved people. Next time, it could freeze you
Hand-writing your own signing code is the most expensive line of code
$ETH