Why can Lighter accounts still lose funds if the API cannot withdraw to other people?

The Lighter incident shows that restricting withdrawal addresses does not mean value cannot be transferred out using a compromised API key. Users running bots with custom or third-party signing software should replace all API keys and switch to the official SDK if they cannot rule out past signing issues; they should not simply wait for the platform to recover.

The official postmortem on November 16 said that the signing software used by affected accounts reused nonces that should have been used only once, allowing attackers to recover the keys from publicly available signatures. The team said the protocol, smart contracts, and official SDK were unaffected; this does not mean “all API users were affected.”

The key issue was the permission boundary: although the API could not directly withdraw funds to someone else’s wallet, at the time it could create public pools and transfer funds into them. Attackers redeemed the pool shares held in their own accounts, using this workaround to take the value. Even if this route is blocked, a leaked trading key could still be used to make disadvantageous trades or open highly leveraged positions that cause losses.

The team announced the same day that deposits and withdrawals had resumed, and said that transfers to public pools now require a wallet signature and API signatures are no longer public. But these measures do not make keys that have already been leaked secret again; switching SDKs is no substitute for replacing keys. IP allowlisting and configurable permissions and limits for each key were still listed as follow-up measures at the time, so they should not be treated as already available.

Over the next 48 hours, watch to see whether these permission controls are actually made available and whether any new affected accounts emerge. If official SDK users are also confirmed to have been affected, or losses are found that do not depend on leaked keys, the risk assessment will need to be broadened. Concern about this particular attack path can only be lowered once controls are in place and no further similar losses are found.

#Lighter #资产安全 #API