Bitget App
Trade smarter
Buy cryptoMarketsTradeFuturesStocksEarnInstitutionAI & More
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

With CoreWeave fueling the AI frenzy, can Nebius (NBIS.US) defend the AI computing power rally with explosive performance?

At Wednesday’s US stock market close, strong earnings reports and financing plans from CoreWeave drove collective gains in the storage chip, AI chip, optical interconnect, and new cloud sectors. CoreWeave and Nebius surged by approximately 24.7% and 15.4%, respectively. However, after the bell, media reports regarding another extramarital affair involving Jensen Huang and discussions by the board about his tenure caused Nvidia to drop more than 8%, putting pressure on the prices of most AI computing power-related stocks.

智通财经•2026/11/12 07:14
With CoreWeave fueling the AI frenzy, can Nebius (NBIS.US) defend the AI computing power rally with explosive performance?

Morgan Stanley: The expansion value of BHP South Australia copper mine is still underestimated, on-site inspection may become a catalyst for revaluation, “Overweight” rating maintained.

Morgan Stanley released a research report, maintaining an "Overweight" rating on BHP Group Limited (Australian shares) and a target price of 68 AUD.

智通财经•2026/11/12 07:06
Morgan Stanley: The expansion value of BHP South Australia copper mine is still underestimated, on-site inspection may become a catalyst for revaluation, “Overweight” rating maintained.

Deutsche Bank remains bullish on Palo Alto Networks (PANW.US) ahead of earnings: Q1 results expected to be solid, platform advantages will help expand market share.

Deutsche Bank's latest research report predicts that Palo Alto Networks will deliver solid performance in the first quarter, with all key metrics exceeding market expectations, although the margin of outperformance may narrow compared to the previous quarter.

智通财经•2026/11/12 07:02

On the eve of Anthropic (ANT.US) IPO: $19 billion in passive buying on the way, will “SpaceX-style” index arbitrage be repeated?

From SpaceX to Anthropic: Giant new listings adopt a new approach.

智通财经•2026/11/12 06:52
On the eve of Anthropic (ANT.US) IPO: $19 billion in passive buying on the way, will “SpaceX-style” index arbitrage be repeated?