Hack Database

Zcash: Claude Opus Found in Hours What Auditors Missed for Four Years

A four-year-old bug in Zcash's privacy pool was found in hours by a researcher using AI. It was fixed in under a week, and ZEC fell 31% when it was disclosed.

Researcher Taylor Hornby used Claude Opus to find a four-year-old bug in Zcash.

Key numbers

  • May 2022

    BUG EXISTED SINCE

  • Hours

    FOUND BY AI IN

  • 31%

    ZEC DROP ON DISCLOSURE

  • 5 days

    FOUND TO FIXED

On June 5, 2026, the developers of Zcash told the public that a serious bug had been sitting inside the network's newest privacy pool for four years. It had already been fixed. Even so, ZEC, Zcash's coin, fell 31% on the news.

One of the best-known reactions came from Arthur Hayes, the co-founder of BitMEX, one of crypto's first major derivatives exchanges, who had spoken publicly in favour of Zcash weeks earlier. On June 5 he wrote that he had sold his ZEC because of the bug. "While I think it's extremely unlikely of any minting, it cannot be formally cryptographically proved impossible," he wrote.

That sentence is the heart of the story. To see why, you need to know what Zcash is and what went wrong.

Here is what happened.

Zcash is a privacy cryptocurrency. Unlike Bitcoin, where every transaction is publicly visible on the blockchain, Zcash lets users send funds through a shielded pool where the sender, receiver, and amount are all hidden. The privacy comes from something called zero-knowledge proofs - a branch of cryptography that lets you prove something is true without revealing the underlying information. You can prove you have the funds to complete a transaction without showing anyone your balance. The math does the verification, not a bank, not a human committee.

In May 2022, Zcash launched Orchard - its newest and most advanced shielded pool. The privacy technology underpinning it was state of the art. The world's top cryptographers had worked on it.

It had a bug.

Not an obvious bug. Not one that showed up in routine testing. A soundness bug - a flaw in the mathematical circuit that validates transactions. Soundness means the system should reject invalid proofs. A soundness failure means it might accept one. In a privacy pool where balances are hidden by design, that is about as bad as it gets. An attacker who found this bug could double-spend funds within Orchard, spend the same ZEC twice, and the network would accept both transactions as valid.

The bug existed from May 2022. Through the 2022 bear market. Through 2023. Through the 2024 halving. Through the 2025 bull run. Multiple audits did not find it.

Anthropic released Claude Opus 4.8 on May 28, 2026.

Taylor Hornby is an independent security researcher. He was conducting a paid protocol audit for Shielded Labs, one of Zcash's development organizations. On May 29, one day after Opus 4.8 launched, Hornby used the model alongside custom tooling to analyze the Orchard circuit. Within hours he had a working exploit. In local testing, it let him spend the same funds twice inside Orchard without detection. The same tool, Shielded Labs confirmed, could have worked on the mainnet before the fix.

Four years of human audits did not find it. An AI found it in a day.

Hornby disclosed the vulnerability to the Zcash Open Development Lab that same evening. Within hours, ZODL engineers Daira-Emma Hopwood, Kris Nuttycombe, and Jack Grigg confirmed the flaw was real. The emergency response began immediately.

What followed was five days of private coordination that most of the market knew nothing about. Miners, exchanges, wallet providers, and node operators were quietly contacted from May 31. On June 2, Zebra 4.5.3 activated a soft fork at mainnet block 3,363,426, temporarily disabling all Orchard transactions while developers prepared the corrected circuit. Exchanges froze ZEC deposits and withdrawals without explaining why. Cake Wallet, which had only added Orchard support in January 2026, suspended ZEC functionality entirely.

On June 3 at 00:05 EDT, the NU6.2 hard fork activated at block 3,364,600. Orchard came back online with the patched circuit. ZODL CEO Josh Swihart called it the most ambitious network upgrade in Zcash's history. It was only the second security-driven protocol upgrade since the network launched in 2016.

Two days later, on June 5, the developers told the world.

Between May 29 and June 5, only a small group knew about the bug: the researcher, the developers who fixed it and, from May 31, the miners, exchanges and wallet providers who had to install the fix. That quiet window is standard practice in security work. Announcing a live bug before it is fixed would hand attackers a map. The cost is that ordinary holders are kept in the dark for a few days. Exchanges paused ZEC deposits and withdrawals without saying why, so customers could not move their coins on those platforms until the fix was done and the news was out.

The Zcash Foundation confirmed there is no evidence the bug was ever exploited. Zcash's turnstile mechanism, which tracks total ZEC balance across all pools, confirmed the total supply remained intact throughout. The bug could allow double-spending within Orchard but could not create new ZEC from nothing. The turnstile held.

None of that resolves the real problem.

Because Orchard is a privacy pool, proving that nobody exploited the bug during four years of its existence is cryptographically impossible. The transactions are hidden by design. You can confirm the total supply did not change. You cannot confirm that individual transactions within the pool were not manipulated. Shielded Labs said prior use looked unlikely. They also said you should not take only their word for it. They are now proposing a network upgrade that would allow public verification of the ZEC supply going forward.

Udi Wertheimer, a prominent Bitcoin developer, put it more bluntly: "btw this isn't the first time a bug like this was discovered in zcash. last time it was disclosed after being a year+ in the wild and everyone lost faith."

He was referring to the Sprout vulnerability. In 2019, Zcash disclosed a counterfeiting flaw in its previous shielded pool that had existed since the network launched in 2016. It had been kept secret during remediation. The community lost confidence, and it took years for interest in Zcash to return.

Then the second bug arrived. A related kind of flaw. A different pool. The same problem: you cannot prove it was not exploited.

Peter Todd, a veteran Bitcoin developer, posted after the disclosure that this was precisely why Zcash-style zero-knowledge privacy should not be integrated into Bitcoin. The cryptographic surface area is too large. The failure modes are invisible.

Hayes made the same point in his own post. A privacy coin depends on its math being airtight, and here the math had a hole in it for four years. The chance that anyone used it looks low. Certainty is not available, and for Hayes that uncertainty was the deciding factor.

As of June 5, ZEC was down 31% from before the disclosure. The bug is patched. The five-day response was competent. Taylor Hornby found a critical flaw that human auditors missed for four years and disclosed it responsibly. The Zcash team shipped an emergency hard fork in under a week.

None of that answers what happened between May 2022 and May 29, 2026.

Nobody can.

The aftermath

ZEC down 31% as of June 5, 2026. Arthur Hayes said he sold his ZEC. Shielded Labs is proposing a supply verification upgrade to allow public confirmation of the ZEC supply. The Zcash Foundation confirmed no evidence of exploitation and total supply intact. Peter Todd cited the incident as reason against adding ZK privacy to Bitcoin. This is the second security-driven hard fork in Zcash's history - the first followed the Sprout vulnerability disclosure in 2019.

What this teaches

  • Zero-knowledge proof circuits are dense enough that frontier AI models can now find bugs that years of human review missed. This is not the last time an AI will find a critical ZK vulnerability before a human auditor does.
  • A privacy coin's greatest strength is also its greatest liability in a security event. The same privacy that makes Zcash valuable makes it impossible to prove the bug was not exploited during four years of dormancy. That uncertainty does not go away when the patch goes live.
  • Coordinated disclosure keeps a live bug secret until it is fixed, which protects users from attackers but leaves them uninformed for days. Exchanges paused ZEC without explanation. Saying publicly that a security fix is under way, even without details, would reduce that confusion.