Claude Code helps find a Zcash Orchard bug

A security researcher, Taylor Hornby of Shielded Labs, used Claude Code (Claude Opus 4.8) to identify a serious Zcash protocol flaw in the Orchard shielded pool. On May 29, 2026—one day after Anthropic released Opus 4.8—an AI-assisted auditing agent flagged a weakness tied to Orchard circuit soundness/zero-knowledge constraints. The issue could have let a malicious prover spend the same shielded note multiple times while producing different nullifiers, enabling undetectable ZEC inflation inside Orchard (no obvious on-chain fingerprint). Zcash said the bug existed since Orchard went live in May 2022, creating an exposure window of roughly four years until it was patched shortly after discovery. The severity triggered an emergency response across the ecosystem. Market reaction was sharp: ZEC fell about 60% and more than $4 billion of market capitalization was erased. Hornby tested the exploit using Zcash local regtest, where validation rules match mainnet. In testing, the value of an Orchard note could be doubled repeatedly until the wallet balance exceeded 10 million ZEC. Hornby reported that the proof-of-concept development took around six hours with Claude Code’s help, requiring only limited additional guidance. The report emphasizes that AI did not independently “hack” Zcash; the tooling was custom-built for the targeted halo2/Orchard circuits. Still, the case highlights how frontier AI can compress discovery time for complex cryptographic vulnerabilities. Key crypto-trader takeaway: even after a patch, the episode shows how quickly confidence can move when shielded-privacy systems face credible technical risk—directly impacting ZEC price and liquidity.
Neutral
The news is a bearish shock on arrival (ZEC reportedly crashed ~60% and lost over $4B in market cap) because it raised the worst-case scenario for a shielded pool: potential undetectable inflation. However, the protocol was patched soon after the researcher’s disclosure, and the work was done on regtest with the same validation rules as mainnet. That combination reduces the probability of active exploitation going forward, which often limits sustained drawdowns once markets confirm remediation. In short-term trading, expect volatility and credibility-driven flows: traders may de-risk ZEC immediately, widen spreads, and demand evidence of full fixes, similar to past “critical bug + emergency patch” events where prices gap down on fear but gradually stabilize after confirmations. In the long run, sentiment could normalize if the fix is verified by the community and no further Orchard/halo2 issues surface. Still, the multi-year exposure window (since May 2022) can linger as a perception risk, keeping valuation sensitive to future audits and any additional security findings.