Drift v1 Accounting Incident

Theft not established Not disclosed
Solana
Profit withdrawal accounting failure

What happened

Drift paused its v1 exchange on May 11, 2022 after LUNA volatility exposed withdrawal and profit-accounting problems. Its report states there was no proof of a malicious attacker. Approximately $14.5 million in financing covered the settlement shortfall; this was not a documented attacker payout.

Technical root cause

Profit withdrawals lacked offsetting-loss checks and market isolation, while leverage did not adjust adequately to long-short imbalance.

How it happened

  1. Users could realize and withdraw profits before matching losses were realized.
  2. Withdrawals accessed shared Insurance Fund balances, spreading market risk.
  3. Unchecked leverage amplified the imbalance.
  4. Drift paused trading, settled positions and financed the shortfall.

Protocol details

Classification Protocol Logic / Accounting and Solvency Incident
Protocol Type Derivatives
Implementation language Rust
Protocol links Website @DriftProtocol

Security review history

Build your security review skills

Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.