Bitget App
Trade smarter
Buy cryptoMarketsTradeFuturesEarnAISquareMore
How One Guy Used Claude Code to Discover a Billion-Dollar Bug

How One Guy Used Claude Code to Discover a Billion-Dollar Bug

CryptopotatoCryptopotato2026/06/10 07:12
By:Cryptopotato

Taylor Hornby, a security researcher who works with Shielded Labs, discovered a bug on May 29, 2026 – just one day after Anthropic released Opus 4.8- that resulted in billions of dollars removed from the project’s market capitalization.

The flaw affected a shielded pool within the protocol’s design that powered private Zcash transactions, and was serious enough to trigger an emergency response across the entire ecosystem. It resulted in a sudden sell-off that saw ZEC’s price crash by roughly 60%, thereby erasing more than $4 billion in market cap.

The short version of the story is relatively simple: a missing constraint in Zcash’s Orchard circuit could have allowed a malicious prover to spend the same shielded note many times over while producing different nullifiers. In practice, this means an attacker could have inflated ZEC within the Orchard pool without leaving an on-chain fingerprint.

The scary part is that this bug has existed since Orchard went live, and this happened in May 2022. Therefore, the total exposure window lasted for around four years, before it was ultimately patched shortly after Hornby discovered it.

AI Helped Find The Critical Vulnerability

This story isn’t just about the flaw, but the way it was found.

Hornby said he used a custom “zcash-full-stack-auditor” agent framework with Claude Opus 4.8. It was designed to work at maximum effort and was pointed at the halo2 implementation, including the Orchard circuit. The AI was searching for soundness and zero-knowledge security issues.

The researcher reported that around 6 p.m. on May 29, one of the audit agents flagged a vulnerability that it believed could be used to double-spend Orchard notes. Hornby then used Claude to help write proof-of-concept code against a similar circuit, before testing the issue against the real Orchard circuit.

Testing the Exploit with Claude

Hornby later built a full test in Zcash’s local regtest mode, where the exploit doubled the value of an Orchard note until the test wallet balance exceeded 10 million ZEC. These transactions were never broadcast to mainnet or testnet, of course, but the test itself was significant because regtest applies the exact same validation rules, meaning that it could have been done on mainnet with the same degree of success.

Per the official disclosure, the full PoC took roughly six hours to develop using Claude Code’s help. Hornby said the model needed relatively little guidance beyond a few hints.

Of course, it’s important to understand that this doesn’t mean that AI independently “hacked Zcash.”

Taylor Hornby is a renowned specialist security researcher. That audit was targeted, and the tools were custom-built.

Still, the case shows how some frontier AI models are beginning to significantly reduce the time required to investigate highly complex, technical systems.

0
0

Disclaimer: The content of this article solely reflects the author's opinion and does not represent the platform in any capacity. This article is not intended to serve as a reference for making investment decisions.

Understand the market, then trade.
Bitget offers one-stop trading for cryptocurrencies, stocks, and gold.
Trade now!

You may also like

Trump Opposes AI "Guardrails": Congress Pushes Legislation for Restrictions, Deepening Bipartisan Divide

U.S. President Trump opposes setting guardrails for artificial intelligence (AI), putting him at odds with a growing number of bipartisan lawmakers. As the midterm elections approach, voters' concerns about AI safety have intensified their doubts about this technology.

智通财经2026/09/15 02:46
Trump Opposes AI "Guardrails": Congress Pushes Legislation for Restrictions, Deepening Bipartisan Divide

Is the AI server a feast or just a valuation bubble? Evercore ISI downgrades HPE.US to "market perform," share price plummets over 10%.

Evercore ISI downgraded Hewlett Packard Enterprise (HPE.US) from "Outperform" to "In-line," citing that following a significant increase in stock price, the risk-reward ratio has become more balanced.

智通财经2026/09/15 02:31
Is the AI server a feast or just a valuation bubble? Evercore ISI downgrades HPE.US to "market perform," share price plummets over 10%.