THE DESK FILES
Telegram
Code bug2023

Two Sigma model vulnerabilities

Model parameters anyone could overwrite: one modeler changed 14+ live models for 21 months; funds lost ≈$165M.

underperformance in some funds and accounts, repaid by the firm
≈$165M
how fast
≈21 months undetected (Nov 2021–Aug 2023)
who lost
Mostly outside investors in the affected funds and accounts, later repaid.

What happened

A quant firm knew from 2019 that live model parameters sat in a database many employees could overwrite. One modeler made unauthorized changes to more than a dozen models from Nov 2021 until Aug 2023, costing some funds ≈$165M.

Warning signs before it blew

  • A Mar 2019 memo flagged that many employees could overwrite live model parameters. [2]
  • A senior engineer raised the same issue with executives in Jan 2022. [2]
  • In May 2022 an employee accidentally overwrote a whole parameter volume. [2]

Timeline

2019-03: Employees circulated a memo on missing read/write controls for model parameters.12019-032022-01: A senior engineer sent executives another memo on the same gap.22022-012022-05-09: An employee accidentally overwrote an entire volume of the parameter database.32022-05-092023-08: The modeler's unauthorized changes were detected.42023-082023-12: Firm repaid affected funds and accounts ≈$165M.52023-122025-01-16: SEC settlement: $90M in penalties.62025-01-16
Numbers match the events listed below. Spacing follows the dates.
  1. Employees circulated a memo on missing read/write controls for model parameters. [2]
  2. A senior engineer sent executives another memo on the same gap. [2]
  3. An employee accidentally overwrote an entire volume of the parameter database. [2]
  4. The modeler's unauthorized changes were detected. [2]
  5. Firm repaid affected funds and accounts ≈$165M. [2]
  6. SEC settlement: $90M in penalties. [1]

The math

Some funds over-performed by more than $400M while others under-performed by ≈$165M. Repaid $165M; penalties $90M ($45M per entity).

How big it was

#38 of 43 blowups by size of loss.

Log scale. Grey dots are the other blowups with a comparable dollar loss.

What happened next

In Jan 2025 the two advisers were censured and paid $90M in penalties without admitting; the order also found a whistleblower-rule violation.

The rule that would have saved them

If anyone can edit a live model's parameters without review, assume someone will.

Check your own book: List who can write to live model parameters. If it is more than the model owners, lock access and require a second sign-off for every change.

Sources

  1. SEC press release 2025-15 (Two Sigma) ↗primary
  2. SEC order In re Two Sigma Investments LP et al. (Rel. 34-102207, Jan 2025) ↗primary
Share on X

Not financial advice. Public sources only.