The Patching Friars' AlmanacA calendar of CVE saints
Knight CapitalHoly card for f-knight-capital, generated with AI (Claude, Anthropic) for the Lunario dei Frati Patchatori.CC BY-NC-SA 4.0 45 min Knight Capital PECUNIA NON OLET, FUGIT
🤖 Image and text generated with AI

⬇ Download holy card: ·

Embed on your site

Scourge · No culprit · August 1 2012

The Downfall of Knight Capital

Chronicle

On 1 August 2012, at the New York Stock Exchange open, Knight Capital switched on new trading software. On one of its eight servers the new version had not been installed, and a repurposed old flag woke dormant code called 'Power Peg'. In about 45 minutes millions of erroneous orders went out and the firm lost about $440 million (the SEC later put it at more than $460 million), bringing it to the brink of collapse. No attacker: just a botched deployment.

Lesson learned

The SEC fined Knight for lacking adequate controls, and the episode became the favourite story of everyone who argues for automated, verified, reversible deployments and for deleting dead code.

Prayer of reparation

O Power Peg, code buried but never deleted, rest in peace in the git history and never again awaken to a recycled flag. Amen.

How it is remembered

Remembered by automating deployments, checking that every server runs the same version, deleting dead code and keeping a kill switch within reach.

Technical record

A faulty deployment of new trading software reactivated dormant 'Power Peg' code on one of eight servers. Within about 45 minutes Knight Capital had sent millions of erroneous orders and lost about $440 million (more than $460 million according to the SEC), pushing the firm to the brink of collapse. No attacker was involved.

Sources: sec.gov · sec.gov

📅 Add to your calendar

Saints:Google CalendarApple, Outlook and others (.ics)

Observances (feasts, scourges and miracles):Google CalendarApple, Outlook and others (.ics)

In Google Calendar you can also paste the URL in Settings → Add calendar → From URL. The first sync can take a few hours.