Open-source AI Tools

Anthropic's Claude Found a Quantum Algorithm That Breaks ML-KEM Theory, but Running It Would Take 10^14 Years

December 3, 20262 views阅读中文原文
Anthropic's Claude Found a Quantum Algorithm That Breaks ML-KEM Theory, but Running It Would Take 10^14 Years

On November 30, Anthropic published four papers on lattice cryptography. The lead paper runs 283 pages and ships with a full Lean 4 formalization. Its claim: an internal research version of Claude found a quantum algorithm that solves Module-LWE and Module-SIS in quasi-polynomial time. Those two problems are the security floor under NIST's post-quantum standards ML-KEM and ML-DSA.

Within days, social feeds were saying internet encryption had been cracked. That is not what happened. The algorithm needs a fault-tolerant quantum computer that does not exist, and the compute bill is physically impossible to pay.

This article is compiled from Anthropic's papers and public repository, plus reporting and analysis from Nature, Cloudflare, Trail of Bits, and an independent cost estimate on arXiv.

TL;DR

  • Theory: the quantum security assumption behind structured lattices has taken a hit. The security analysis of three NIST standards (ML-KEM, ML-DSA, FN-DSA) needs to be redone.
  • Practice: nothing deployed today is broken. The required quantum computer does not exist, and the required compute exceeds what all matter inside the cosmic event horizon could supply.
  • What to do: keep migrating to post-quantum cryptography on schedule, keep hybrid deployments, and do not redesign your stack because of a headline.

What was released

Four papers, not a product. The lead paper is titled "Galactic quasi-polynomial quantum algorithms for integral and module lattices" and runs 283 pages. The other three cover a search-SVP reduction, a converse to the dual attack, and a public-key encryption scheme from GapSVP.

The supporting material is the unusual part:

ItemCount
Papers4, lead paper 283 pages
Lean 4 main theorems132
Formalized intermediate statements and remarks190
LicenseApache-2.0

Those 132 theorems are not just asserted. Each is compared by Comparator and replayed in an independent kernel called nanoda. The repository README says it plainly: the results were discovered by an internal research Claude model, the formalization was written by AI models, and the repo is a research artifact that is not maintained and does not accept contributions.

A week before publication, on November 16, Anthropic briefed the Cryptography Incident Review Group behind closed doors at MIT. Nature's December 1 story confirms that timeline.

What the attack actually does

Two definitions first.

A lattice is a regular grid of points in a high-dimensional space. Lattice cryptography rests on the hardness of problems like finding the nearest lattice point. A structured lattice adds algebraic structure to that grid. The upside is short keys and fast operations. The downside is that the security argument leans harder on assumptions.

The ring degree n is one axis of the grid. NIST standards use power-of-two cyclotomic rings with n fixed at 256, 512, or 1024. The rank k is the other axis, and standards raise security levels by increasing k.

What the new algorithm does: when n is extremely large, structured lattices become easier to break with a quantum algorithm than generic lattices of comparable size. The runtime is quasi-polynomial in n. In Lean it is written as 2 to the power of c·k⁸·log₂(n)².

The k⁸ term is the catch. The improvement in n is real, but the dependence on rank k is exponential. Standard parameter sets keep k tiny: ML-KEM-512 has rank 2.

One quantum computing theorist spelled out the awkward part. ML-KEM-512 is still considered safe not because attack time grows exponentially in some parameter, but because the constant factors are absurdly large.

Why nobody needs to panic today

Three walls. Any one of them is enough.

First, the machine does not exist. The algorithm needs a fault-tolerant quantum computer, and we do not have one.

Second, the constants. At rank 1024 the algorithm needs roughly 2^840 copies of a class state. That number is tens of orders of magnitude larger than the atom count in the observable universe. CIRG's assessment: even 2^1000 quantum operations fall far below the cost of breaking ML-KEM-512 or ML-DSA-44.

Third, thermodynamics. An independent paper posted to arXiv on December 1 (2612.02416) did the accounting: at relevant problem sizes, the algorithm cannot be evaluated within 10^14 years. For lattices of rank around 250 and above, it needs more action than all matter inside the cosmic event horizon can supply before star formation ends. The authors' phrasing: the cost is not galactic, it is beyond cosmological.

Cloudflare's December 1 statement offered two numbers. The company began its post-quantum migration in 2019, turned it on for all sites and APIs in 2022, and as of publication 73% of human traffic to Cloudflare is post-quantum encrypted. Their conclusion: purely theoretical, no impact on deployed cryptosystems.

How far each standard is touched

StandardMath baseRing degreeImpact
ML-KEM (FIPS 203)Module-LWE256Security analysis needs review, parameters not broken
ML-DSA (FIPS 204)Module-LWE / Module-SIS256Same
FN-DSA (FIPS 206)NTRU512 / 1024Same, rank-one submodules are implicated

Not on the list: RSA, elliptic curves, AES, SHA-2, code-based schemes, hash-based signatures. Trail of Bits' FAQ states that none of these are touched by the paper.

How to use it

Two very different audiences, two very different uses.

Researchers: start at PaperDefs/P01/Cases.lean in the repository. Eight results, a few lines each. To reproduce the check, install elan and run lake exe cache get, then lake build, then lake env lean scripts/PrintAxioms.lean. The Lean build takes a bit over an hour on 12 cores with 12 GB of RAM and 21 GB of disk. The stricter Comparator check runs three configurations at roughly 60, 40, and 5 minutes, peaking at 14 GB of memory.

Engineering teams: do not install anything, do not run anything, do not change code. Treat this as advance notice that standards may shift in three to five years. Audit crypto agility instead: would swapping algorithms require code changes, can certificate chains rotate cleanly, and are you running hybrid deployments.

Everyone else: nothing to do. Has the padlock in your browser address bar changed? No.

Who it's for

  • People who own a post-quantum migration: the risk has shifted from "future quantum computer" to "future quantum computer plus a possibly improved algorithm," so review cycles need slack.
  • Cryptography researchers: this is a new line of attack, and the rank dependence is the open question.
  • Security architects: useful for testing whether a design bets everything on lattices alone.
  • Technical writers: a clean case study in why a theoretical break is not a practical risk.

Not a good fit

  • Anyone looking for a usable attack tool: there is no implementation, only proofs.
  • Systems on RSA or elliptic curves: the paper does not touch them.
  • Anyone hoping to justify pausing a post-quantum migration: every official and independent read says keep going.
  • Anyone framing this as "AI autonomously broke encryption": the discovery was AI-assisted math, verified by formal proof, not an automated intrusion.

Pitfalls

Pitfall one: reading asymptotics as a statement about real parameters. The improvement happens when n is enormous. Standard parameters sit at n = 256. Are those the same regime? Not remotely.

Pitfall two: assuming 2^840 is an engineering problem. Combined with the Landauer limit, it is a thermodynamic ceiling. Waiting for Moore's law does not help.

Pitfall three: ignoring rank. The real uncertainty sits in the exponential term on k. Someone may improve it, someone may prove it cannot be improved, and right now neither side has settled it.

Pitfall four: reading "standards need reassessment" as "standards are dead." Rechecking a security margin and declaring an algorithm broken are different events. NIST has withdrawn nothing.

Cost and time

ItemFigure
Papers and codeFree, Apache-2.0
Running the Lean build yourselfOver 1 hour, 12 cores / 12 GB RAM / 21 GB disk
Full Comparator checkAbout 105 minutes, 14 GB peak, Linux required
Running the attackNot feasible within 10^14 years
Reading the lead paper283 pages, about two weeks at 20 pages a day

The material costs nothing. The time is the price. Getting through the main paper is a two-week project.

My read

The most important sentence sits in a statement outside the papers: these results lower our long-term confidence in structured lattices. Long-term, not today.

Scott Aaronson's worry is worth holding onto. If a cryptosystem's safety rests only on constant factors, and constant factors have historically been improved by orders of magnitude, then "safe" is not the same property as "hard." He said the design makes him deeply uncomfortable. That does not invalidate any current deployment, but it explains why NIST will probably reopen its assessment.

Oded Regev told Nature the opposite in tone: he feels the field now has a better picture of the strengths and weaknesses of existing post-quantum systems, and of what future upgrades should look like. Both reactions are reasonable. It depends which side of the table you sit on.

Next step

If you run a system that will be around for a decade, the first step is not reading the paper. Build a table: every place you use ML-KEM, ML-DSA, or FN-DSA, which of those are hybrid, which are single points of failure, and how much code changes if you swap algorithms. You can finish that this week, and it stays useful no matter how the research develops.

For technical detail, start with the repository README and the Trail of Bits FAQ. Half an hour for both. Send the Nature piece to colleagues who do not work in cryptography.

Sources

  • Anthropic repository (papers + Lean 4 formalization, Apache-2.0): https://github.com/anthropics/formal-math/tree/main/lattices
  • Anthropic statement on X (November 30, 2026): https://x.com/AnthropicAI/status/2127538548119339339
  • Nature report (December 1, 2026): https://www.nature.com/articles/d41586-026-03913-3
  • Cloudflare, "Post-quantum cryptography is still safe" (December 1, 2026): https://blog.cloudflare.com/pq-is-still-safe/
  • Trail of Bits FAQ (December 1, 2026): https://blog.trailofbits.com/2026/12/01/answering-your-questions-about-anthropics-lattice-cryptography-results
  • Independent cost estimate, arXiv 2612.02416 (December 1, 2026): https://arxiv.org/abs/2612.02416

Sources

Comments

0 published
Log inorsign up to leave a comment.

Loading comments...