Hall of FameKen Thompson19849 min readtalkintermediate
Reflections on Trusting Trust
Summary
Ken Thompson’s Turing Award lecture shows how a compiler can be subverted to insert a hidden backdoor that survives source‑level inspection, and how self‑reproducing code can propagate such Trojan horses. The moral is that you can’t trust binaries you didn’t build yourself.
- A compiler can embed a self‑replicating Trojan that re‑inserts itself each time it compiles, even if the source looks clean.
- Binary‑only distribution is unsafe; reproducible builds are essential for security.
- Self‑reproducing programs illustrate how hidden code can propagate automatically.
- The attack can be applied at any layer, from compilers to microcode, making detection increasingly hard.
Anyone responsible for compiler toolchains, CI pipelines, or software supply‑chain security should understand this classic attack to protect against hidden backdoors.
9/10

