Setting the record straight on the Orchard bug and Daira-Emma:
The vulnerability came down to a single missing copy constraint in the variable-base scalar multiplication gadget. The underlying design was completely sound. The code successfully enforced that the base point stayed constant through the loop, but it failed to tie that base to the input. This wasn’t a case of someone fundamentally misunderstanding the circuit, but one missed line of code.
Daira did approve the PR that introduced it, and so did Str4d. Sean also reviewed it, leaving three soundness comments on that exact same gadget (1, 2, 3), but he didn’t catch this specific gap. Even before Orchard activated, two more PRs touched the same file, and Sean approved both of them (including the pre-release chip review).
Additionally, QEDIT audited the circuit for months in 2021. The PR in question was in their scope, and their report on the diversified address integrity check resulted in “No issues found.”
The code was in production for four years. Anyone could look at the code. It was highly scrutinized. And yet no one caught it. Not Daira, Str4d, Sean, or the auditors. Sean wrote the Sprout and Sapling circuits, which have held up beautifully. He is undeniably one of the best in the world at this, and even he missed it during review.
This is not an indictment of any person. It just proves that manual reviews can lead to misses of this class of bug, and its why we now use machine-checked proofs.
When the bug was discovered, Daira confirmed it with Kris and Jack within hours. She had the fix written within a day. And she is one of the key people involved in driving the Ironwood verification effort to make sure this never happens again.
Let’s not forget her track record.
Daira is the lead author of the Zcash protocol specification and is an owner of more than half of all ZIPs.
She co-authored Halo with Sean and Str4d, generated the Pasta curves Orchard runs on, and co-authored SPHINCS.
Net: Some of the brightest minds in cryptography all read the same code and missed the same bug. Postmortems are supposed to figure out what failed, not who. What failed here was the reliance on human review to catch a difficult-to-see bug. Formal verification wasn’t available for something as complex as Orchard then. But it is now, and Ironwood now has machine-checked soundness proofs.
Ultimately, Zcash is a much stronger project because Daira is working on it, and I’m grateful for her work.