Lighter incident exposes risks beyond withdrawal controls

Lighter incident exposes risks beyond withdrawal controls

Lighter Incident Exposes Risks Beyond Withdrawal Controls

Crypto platforms need enforceable limits on every route an API key can use to transfer value, including trades, internal transfers, and shared pools. A recent incident where over $10 million was siphoned from a decentralized perpetual futures exchange highlights the shortcomings of focusing security solely on withdrawal controls.

According to Lighter’s postmortem, an attacker used compromised API keys to move funds into a public pool and redeem shares held through another account. Bitquery traced a withdrawal of 10.39 million USDC. The exchange stated that its protocol and smart contracts were unaffected.

Lighter now requires wallet signatures for transfers into public pools and has made API-key signatures non-public. It is also implementing IP allowlists and configurable permissions for individual keys. The platform has since restored deposits and withdrawals and returned approximately $5 million in USDC to the affected trader.

[Lighter incident infographic]('Source: Bitquery')

This incident underscores the need for cybersecurity reviews to look beyond smart contract vulnerabilities. It’s crucial to also consider the gap between the permissions a system grants and the financial consequences those permissions allow.

The real risk associated with a credential depends on:

  • The balances it can reach
  • The transactions it can initiate
  • The exposures it can create

Factors like permitted withdrawal destinations and order sizes are just two examples. As Lighter noted in its postmortem:

“A key that can trade can still lose you money if someone else holds it.”

This emphasizes the importance of establishing clear mandates for each credential, specifying accessible accounts, permitted markets, order sizes, pricing tolerances, and aggregate exposure. Expanding limits, such as moving capital into a shared pool, may require separate authorization.

The same logic applies to additional signatures. A second signature adds meaningful protection when its approval process independently evaluates the transaction’s financial effect.

To read the full analysis on DEX permissions beyond withdrawals, sign up for the Daybreak Newsletter.

Magazine: Bitcoin to $1M by 2030? ‘Almost certainly not,’ says Dragonfly’s Qureshi

Leave a Reply