Regehr's 'Piano Test': would you trust formally verified code with your life?

moyix · x · 2026-10-28

Security researcher moyix RTs a resurfaced 2011 classic by John Regehr (Embedded in Academia), answering the question "can formal verification fully replace fuzzing?"

The thought experiment: if a researcher proves a version of OpenSSH memory-safe, rigs a piano overhead so its rope is cut by the SIGSEGV handler, and lets a fuzzer attack it — would you sit under the piano? Regehr argues few verification researchers would: "verified" is used extremely loosely by the community, and the semantics gap between claimed and actual guarantees is the core problem.

Original post →

More from coding & agent

coding & agent channel →