When software harms people
Last updated
Software decides who gets a queue number, but also how much radiation a patient receives and whether an account balance is believed. When it's wrong, real people are hurt, and how the people around the software respond matters as much as the bug. In this lesson you'll study two of the most important cases in the field: the Therac-25 radiation therapy machine, and the UK Post Office's Horizon system. Then you'll read what the profession's codes of ethics ask of you.
By the end of this lesson you can
- Explain how the Therac-25 accidents happened, beyond “a bug”
- Describe how trust in the Horizon system led to wrongful prosecutions
- Use the ACM codes of ethics to decide what to do when software may cause harm
Therac-25
- 1982 A new machine Design
The Post Office and Horizon
Here the software didn't injure anyone directly. The harm came from people treating its output as proof.
- 1999–2000 Horizon is rolled out Release
A legal presumption made it worse: in English courts, computer evidence was presumed reliable unless shown otherwise, which was very hard for a sub-postmaster with no access to the system's records to do.
What the two cases share
| Pattern | Therac-25 | Horizon |
|---|---|---|
| Overconfidence in the software | “Overdoses are impossible” | “Horizon is robust” |
| Reports from users dismissed | Operators’ and hospitals’ reports | Sub-postmasters’ complaints |
| The people harmed couldn’t see inside | Patients and operators | Sub-postmasters had no access to the data |
| Independent checking came late | After several accidents | Only through court cases, years later |
Neither is only a story about a bug. Every system has bugs. These became disasters because of how organisations responded to signs that the software might be wrong.
The codes of ethics
The ACM, the largest professional society for computing, publishes a Code of Ethics and Professional Conduct. Among its principles: contribute to society and human well-being; avoid harm; be honest and trustworthy; and give comprehensive evaluations of systems, including their risks.
The ACM and the IEEE Computer Society also publish a Software Engineering Code of Ethics, with eight principles. The first is the public: software engineers shall act consistently with the public interest. That comes before the client and the employer.
Spot the trap: “the computer says so”
A patient insists she got number 14 by text, but Pila says number 14 belongs to another phone and shows her phone with no number. She’s angry. A new health worker says: “The system says you don’t have a number. Please queue again.”
What happens if…
Check what you learned
Sources
Every claim on this page comes from these sources: the standard, the founding text of a method, a study, or the official record of a project, from the body that publishes it. Industry reports are labelled as such.
- Leveson and Turner: An Investigation of the Therac-25 Accidents (IEEE Computer, 1993): the standard account of the accidents
- Post Office Horizon IT Inquiry: Final report, Volume 1 (July 2025): the human impact, and redress
- Courts and Tribunals Judiciary: Bates and others v Post Office: the High Court judgments of 2019
- ACM Code of Ethics and Professional Conduct: the principles, including “avoid harm”
- ACM/IEEE-CS Software Engineering Code of Ethics: eight principles, with the public first