294 incidents on record · 2026HeadlightsIncident reports by Ellie Harris · Melbourne
10 new this weekLibrary last updated 24 November 2026
← The incident library
HD-INC-259
Financial services · United States · 2012 · Unconstrained / manipulated action

Knight Capital Lost 460 Million USD in 45 Minutes After Old Code Woke Up on One Server

By Ellie Harris · Filed 1 August 2012, from the market open at 9:30 a.m. Eastern for about 45 minutes

Alleged: Knight Capital Americas LLC, a subsidiary of Knight Capital Group developed or deployed the AI system implicated in this incident. Details are drawn from public reports; parties are presumed innocent of any wrongdoing not established by an official finding.

Knight Capital Lost 460 Million USD in 45 Minutes After Old Code Woke Up on One Server

What happened

It was reported that Knight lost control of its automated trading system as the US stock market opened on the morning of 1 August.

The system, called SMARS, routed orders into the market. Knight was preparing it for a new New York Stock Exchange programme for retail orders, due to start that day.

The new software reused a signal that had once activated an older function called Power Peg. Knight had stopped using Power Peg in 2003, but the code was still in the system. In 2005, Knight changed how the code tracked whether an order had been filled, but the SEC found it never retested Power Peg after that change.

Knight began installing the new code in stages on 27 July. One of the eight servers was missed. The SEC found there was no requirement for a second technician to check the installation, and no written procedure requiring one.

When trading opened at 9:30 a.m., orders carrying the reused signal reached the server that still had the old code. Power Peg kept sending orders because it could no longer tell that the original orders had already been filled.

In about 45 minutes, the system made more than 4 million trades across 154 stocks, involving more than 397 million shares. It all started with 212 customer orders. Knight ended up with about 3.5 billion USD in shares it had bought and 3.15 billion USD in shares it had sold short. In 37 stocks, Knight’s trades made up more than half the market activity, and prices moved by more than 10 per cent.

The system had sent warnings before the market opened. From about 8:01 a.m., it sent staff 97 emails saying “Power Peg disabled”. They were routine system emails, not alerts, and staff generally did not review them.

As staff tried to stop the problem, they removed the new code from the seven servers where it had been installed correctly. That made things worse: orders began triggering the old Power Peg code on those servers too. Knight had no procedures to guide staff through a major technology incident.

Knight lost more than 460 million USD. In October 2013, the SEC found that it had violated the Market Access Rule and Regulation SHO. Knight settled without admitting or denying the findings. The SEC censured the firm, ordered it to pay a 12 million USD penalty and required it to hire an independent consultant. It was the SEC’s first enforcement action under the Market Access Rule.

Knight Capital Group, Knight Capital Americas’ parent company, combined with GETCO in July 2013 to form KCG Holdings.

Where the gap was

It was reported that Knight had left Power Peg in its system after it stopped using the function, and that staff generally did not review the emails warning “Power Peg disabled”.

Headlights identifies normalisation of deviance as the main behaviour. The SEC found that Knight did not retest the old code after changing it, and that its reviews did not consider whether SMARS could fail or whether the firm needed stronger checks on deployments and unused code.

The SEC also described earlier incidents that could have prompted a broader review. In October 2011, an error with test data caused a loss of nearly 7.5 million USD. Knight made changes to the affected system, but did not look more broadly at how to prevent erroneous orders across its systems.

This classification is Headlights’ interpretation of the SEC’s findings, not a finding made by the SEC. The order does not name the technician or explain why the eighth server was missed.

No single mistake caused the losses. One server missed an update, a reused signal activated old code, warning emails were treated as routine, and staff had no clear incident procedure. Together, those failures turned a small deployment error into a crisis.

What could have helped

It was reported that Knight had several chances to catch the problem before trading began. Old code was still on the system, one server had missed the update, and 97 emails mentioned Power Peg.

Knight needed to check that every server received the new code and that a second person verified the installation. The emails should have gone to someone responsible for acting on them.

A record of decisions during the incident could also have helped explain why staff removed the new code from the seven correctly updated servers. The SEC said Knight relied mainly on its technology team to fix the problem while trading continued.

What governance should have looked like

Any change to a system that can move money needs a second person to check it, a written procedure and a test confirming every server is running the same version.

Remove code that is no longer used. Leaving it behind means a later change can bring it back into play.

Warnings need to reach someone who is expected to act. An email staff do not normally read is not an effective alert.

The firm also needed automatic limits that could halt trading when activity became abnormal, along with a rehearsed way to stop the system. Staff should not have to improvise a fix while the system is still trading.

The firm should have confirmed that every server was running the tested version before allowing the deployment to proceed. A record of changes, checks and alerts would have helped investigators establish where the deployment went wrong and who was responsible for each step.

Failure Pattern: Knight installed new code without a required second check, leaving old code active on one server. Warning emails were sent but not treated as alerts, and staff had no clear procedure for responding.

Governance Principle: systems that can move money need checked deployments, removal of retired code, alerts someone will act on, automatic limits and a rehearsed way to stop them.

Sources

The mailing list

Fresh incident reports every week. One email to match.

We add new incidents to the library regularly, and send a single short email each week with what's new. The library stays free and open; this is just how you keep up with it.

Sent through Substack. Unsubscribe in one click.

Headlights summarises publicly reported AI incidents. All summaries are independently written, attributed to their original sources, and intended for research and educational purposes. Allegations are identified as such until established through official findings.

Last reviewed October 2026. This report is based on the sources listed above and reflects information available at the time of review; later developments may not be captured. Where a person is described as charged with or alleged to have done something, that allegation is unproven unless a conviction or a court or regulatory finding is stated. Headlights publishes journalism and commentary, not legal advice.

Want to write back?

Direct to my inbox.

ellie@useheadlights.com →