AI & Crypto

Anthropic AI models find flaws in Zcash and lattice cryptography

Anthropic's AI models successfully identified a coding flaw in Zcash and reduced the key strength of the HAWK signature scheme. Security experts warn that these AI-driven findings accelerate attack windows against current and post-quantum cryptographic systems.

Anthropic AI models find flaws in Zcash and lattice cryptography

AI finding flaws in cryptography

Taylor Hornby, an independent security engineer hired by Shielded Labs, used Anthropic’s newest AI model to find a flaw in Zcash on May 29. The Zcash bug, a coding mistake in a live chain rather than a flaw in the math behind it, sat in the circuit behind Orchard, the private pool Zcash has used since 2022, and would have allowed the creation of unlimited, undetectable counterfeit ZEC. Hornby built a working exploit with the model’s help on a test network and disclosed it immediately. Zcash fixed the vulnerability through a hard fork that rewrote the circuit on June 3. In July, Anthropic researchers used an unreleased model to cut the key strength of HAWK in half in 60 hours. HAWK is a candidate post-quantum signature scheme that the U.S. standards body NIST is still weighing. Its designers withdrew the scheme the day after the research was released. On Monday, Anthropic published four papers in which an internal model found a way to attack structured lattices, the math behind the post-quantum schemes Sui, Algorand, and Solana use. These schemes build a grid from small repeating blocks to keep keys and signatures short, and Anthropic’s model found a quantum algorithm that exploits that repetition. I find the speed of these AI findings more concerning than the quantum predictions from Google, which estimates that fewer than half a million physical qubits would break Bitcoin and Ether signatures. U.S. agencies also said on Wednesday that AI companies had privately disclosed findings that affect some cryptography in use.

Experts warn of accelerated attack windows

Avery Ching, the Aptos cofounder, says the post-AI threat is "equally, if not more, worrisome than the post-quantum threat." He argues that AI helps attackers concentrate efforts on a single vulnerability while security teams must spread resources thin to defend entire systems. Gemini CISO Tariq Saleh agrees that AI has shortened the window for response, noting that breaches that used to take days now take minutes. Saleh says a higher frequency and volume of AI-enabled attacks are now "the new norm." This follows a week where Bitcoin fell to $48,900 for the first time since February 2024. Justin Drake, a researcher at the Ethereum Foundation, says quantum is a "known quantity" arriving around 2030, but he warns that an AI finding an ordinary, non-quantum algorithm that breaks secp256k1 could happen "possibly next year, possibly the year after." Saleh suggested everyone should plan to finish migration around 2027, as it is not safe to assume there is time until 2030. Ching also cautioned that introducing new, untested cryptographic schemes comes with its own set of security risks. Ching announced the Aptos USDC Vault, which allows USDC holders to migrate to Aptos and upgrade cryptographic keys once post-quantum signatures are enabled.

The reality of lattice math attacks

The lattice attack targets the structured versions of grids used in ML-DSA to keep keys and signatures short. Anthropic stated on X that the results "do not have practical, real-world consequences for today’s security systems." Dan Boneh of Stanford and 21 other cryptographers called the method’s cost "galactic," as it requires more than $2^{1000}$ quantum operations against even the smallest settings. However, Drake noted that Anthropic improved the constants in recent weeks, moving the cost from $2^{10000}$ down to $2^{1000}$. Drake said he could not think of "even one algorithm that started off as galactic and stayed as galactic" if the method reaches a cost of $2^{100}$ against standards built for 128 bits of security.

Security Detail Value/Target
HAWK key strength reduction 50% in 60 hours
Current lattice attack cost $2^{1000}$ quantum operations
Potential lattice attack cost $2^{100}$ quantum operations
Quantum arrival estimate 2030 to 2035
Bitcoin proposal deadline January 2027

Bitcoin developers pledged to make post-quantum signatures a top priority and aim to publish a set of Bitcoin improvement proposals by the end of January 2027.