Saw this posted somewhere on Lemmy already, but lost it.

This is a great write-up of the famous Ken Thompson’s lecture “Reflections on Trusting Trust”.

The author implements a bad compiler and explains what bits do what. I’ve found this an easy-yet-informative read.

Would highly recommend!