RSS
Research

Anthropic's lattice cryptography papers are out: a galactic quantum attack, and why ML-KEM is still safe

Anthropic has published four lattice cryptography papers and a Lean 4 formalization, including a quasi-polynomial quantum algorithm for Module-LWE. Anthropic, CIRG and Cloudflare all say it is not practical against ML-KEM or ML-DSA. Here is what it shows and what developers should do.

Abstract blue and black swirling pattern illustrating Anthropic's lattice cryptography papers are out
Photo by Logan Voss on Unsplash

Anthropic has released the cryptography result behind last week's rumors. On November 30 it added four papers on lattice problems, plus a Lean 4 formalization of their theorems, to a lattices folder in its GitHub repository anthropics/formal-math. The repository says the results "were discovered by an internal research Claude model" and that the formalization was written by AI models. The headline paper gives a quantum algorithm that solves some structured lattice problems, including random instances of search Module-LWE, in quasi-polynomial time.

This follows our November 30 piece on what was and was not confirmed while the papers were still private (https://claudefox.com/anthropic-cryptography-rumor-what-is-confirmed/). The short version now: the math is new and significant, but Anthropic, the Cryptography Incident Review Group and Cloudflare all say it does not threaten deployed encryption.

Is ML-KEM broken?

No. The paper's own abstract says the algorithms "are galactic": their running-time bounds are asymptotic and they are not practical for the parameter sets of ML-KEM and ML-DSA, the NIST post-quantum standards built on module lattices. The Cryptography Incident Review Group (CIRG), with several of whose members Anthropic shared the results on November 16, says that on those standards the attack needs vastly more computation than the best attacks already known, and that even 2^1000 quantum operations would be far below its cost for ML-KEM-512 and ML-DSA-44. Cloudflare says the research is purely theoretical and does not affect deployed cryptosystems.

The attack also needs a large quantum computer. Cloudflare estimates a straightforward implementation would need at least billions of logical qubits, and notes that quantum computers are far more likely to break elliptic curves and RSA before lattices. According to CIRG, Anthropic found no improvement in classical attacks on mainstream lattice systems and no quantum improvement against unstructured lattices.

What Anthropic published

  • Paper 1, "Galactic quasi-polynomial quantum algorithms for integral and module lattices": for module lattices of polylogarithmic rank over power-of-two cyclotomic rings, it approximates SVP, SIVP and CVP within a factor linear in the dimension, solves random search Module-LWE with short secret and error for suitable polynomial-size moduli, and finds the key-carrying submodule of NTRU lattices when the key is short enough.
  • Paper 2: approximate search SVP reduces to SIS and SIVP and, quantumly, to LWE and GapSVP.
  • Paper 3: a converse of the dual attack, and a quantum equivalence of SIVP and LWE at small noise rates.
  • Paper 4: public-key encryption from GapSVP within Õ(n), classically.
  • A Lean 4 formalization: 132 main statements and 190 intermediate statements checked with the Comparator tool, against a quantum machine model defined in about 1,000 lines.

Papers 2 to 4 are mostly, though not entirely, about foundations. CIRG says other findings in the report strengthen the theoretical foundation for cryptography on unstructured lattices, and Cloudflare lists better foundations for LWE and SIS among the results.

Why ML-KEM's design blunts the attack

The speedup grows with the ring degree n, while ML-KEM and ML-DSA keep n at 256 and gain security by raising the module rank k. CIRG makes this point in its statement. FIPS 203 sets k to 2, 3 and 4 for ML-KEM-512, -768 and -1024. The repository's example Module-LWE theorem gives a running time of 2^(c·k^8·(log2 n)^2) steps, with an unstated constant c. With n = 256, log2 n is 8, so the exponent is 16,384c for k = 2, 419,904c for k = 3 and 4,194,304c for k = 4. That is our arithmetic, for illustration only: the theorem is stated for sufficiently large n, not for 256. Still, the k^8 term shows why Cloudflare says the attack becomes exponential when you scale up ML-KEM's security level.

The same example theorem also requires the modulus q to be at least 11·k·noise²·n. For k = 2, noise 1 and n = 256 that floor is 5,632, already above ML-KEM's q = 3329. That applies to the README's example statement only; we have not checked every theorem in paper 1.

Why experts still call it important

Scott Aaronson, writing on November 30 before the papers came out, argued that if the result holds, Ring-LWE and Module-LWE "can no longer be considered quantumly hard", and that the field may fall back on generic LWE with larger keys. CIRG expects the attack to be improved and says the open question is whether improvements reach the cost of breaking real parameters. Cloudflare says the work could mark the start of a wave of AI-assisted research into quantum algorithms for lattices.

It is not Anthropic's first finding against post-quantum cryptography. Scientific American reports that in July a preview of Claude Mythos helped researchers find an attack on HAWK, a digital signature scheme NIST had considered promising, and that HAWK's developers later withdrew it.

What developers should do

Keep migrating to post-quantum cryptography. That is CIRG's first recommendation: today's RSA and elliptic-curve systems can be broken with far fewer quantum resources than this attack needs, so waiting is the larger risk. Its other advice is concrete enough to act on:

  • Use the highest ML-KEM or ML-DSA security level your application can afford, for example ML-KEM-768 or ML-KEM-1024 rather than ML-KEM-512.
  • Prefer hybrid key exchange that pairs ML-KEM with a scheme on a different mathematical basis, such as an elliptic-curve exchange.
  • Build crypto agility: keep algorithm choices in configuration and know where each one is used, so a scheme can be swapped quickly.
  • Follow primary channels for updates: CIRG's statements page, the anthropics/formal-math repository and NIST's post-quantum project.

Try it with your AI. Copy this prompt to an AI coding assistant to inventory post-quantum readiness in your own codebase. It only reads code and reports.

Audit this repository for public-key cryptography use. Do not change any files, install
anything or open credential files. First, tell me which languages and crypto libraries
(and their versions) the project uses. Then list every place where we do key exchange,
encryption or signatures, with file path, library call and algorithm (RSA, ECDH/X25519,
ECDSA/Ed25519, ML-KEM, ML-DSA or other). For each, note whether the algorithm is set in
configuration or hard-coded. Flag any ML-KEM-512 or ML-DSA-44 use, and any key exchange
that is not hybrid. Finish with a table: location, algorithm, security level, hard-coded
yes/no, suggested next step based on CIRG's advice (highest affordable security level,
hybrid schemes, crypto agility). Show me the table and wait for my confirmation before
proposing any code changes. [Optional: limit the audit to these folders: ...]

What we still don't know

The papers give no concrete constant c, so there is no published resource estimate beyond CIRG's statement and Cloudflare's reading of the paper. CIRG says it used AI models to estimate the cost but did not publish the details. We did not find a statement from NIST as of December 1. Independent reading of paper 1, which runs to well over 100 pages, will take time, although the Lean formalization lets anyone with about 12 GB of memory and an hour of 12-core build time check that the stated theorems are proved.

FAQ

Did Anthropic break RSA or Bitcoin? No. The papers are about lattice problems, not factoring or elliptic curves, and give no new classical attack.

Is my HTTPS traffic at risk? No new risk follows from these papers. Cloudflare, which says 73% of the human traffic it carries is post-quantum encrypted, says the research does not affect deployed systems.

Should I stop using ML-KEM? No. CIRG recommends continuing the transition, choosing the highest security level you can, and using hybrids.

Did Claude really find this? The repository says an internal research Claude model discovered the results and AI models wrote the formalization. The repository does not name the model.

Can I verify the proofs myself? Yes. With elan installed, the README's steps are lake exe cache get, then lake build, then lake env lean scripts/PrintAxioms.lean. The README notes that building runs Lean tactics and macros with your user's rights.

Who is CIRG? The Cryptography Incident Review Group is a group of 21 researchers, according to Scientific American; an Anthropic employee who first linked to its site clarified that the group is independent of the company.

How far is the attack from ML-DSA's security target? Cloudflare, reading the paper's estimates, puts the cost of attacking ML-DSA at around 2^x quantum operations with x above a thousand, orders of magnitude slower than the best known classical attacks.

Source: anthropics/formal-math: lattices (README, papers and Lean 4 formalization), Paper 1: Galactic quasi-polynomial quantum algorithms for integral and module lattices (PDF), anthropics/formal-math pull request #66, Cryptography Incident Review Group: Statement 1, Cloudflare: Post-quantum cryptography is still safe, NIST FIPS 203 (ML-KEM), Table 2: approved parameter sets, Scott Aaronson, Shtetl-Optimized: Now It Can Be Told, Scientific American: AI has found a crack in our defenses against quantum computers

This story first appeared in the claudefox daily briefing for December 1, 2026.