Is ML-KEM safe? Yes, for now. Anthropic's new quantum algorithm attacks the module-lattice math behind ML-KEM, but the Cryptography Incident Review Group (CIRG) says it needs vastly more computation than the best attacks already known, far beyond 2^1000 quantum operations even for ML-KEM-512. No deployed key is at risk. Keep your post-quantum TLS on, prefer hybrids and stronger parameters, and build in crypto-agility.
The details matter if you run APIs, because ML-KEM already protects a large share of HTTPS traffic through the hybrid X25519MLKEM768 key exchange. Here's what Anthropic published, what the reviewers concluded, and what to check this week.
Anthropic's lattice findings are four theoretical papers, discovered by an internal research Claude model and published at the end of November 2026 with a Lean 4 formalization. The headline is a quantum algorithm that solves certain module-lattice problems, including search Module-LWE, in quasi-polynomial time. Module-LWE is the hard problem ML-KEM rests on.
The four papers, as listed in Anthropic's formal-math repository:
The repository's README is blunt: "The results are asymptotic, and the algorithms are not practical for the parameter sets of ML-KEM and ML-DSA." "Galactic" in the first title is a complexity-theory term for algorithms that win only at input sizes no real system reaches.
It isn't Anthropic's first cryptanalysis result. In July, its research on cryptographic weaknesses showed Claude Mythos Preview roughly halving the key strength of HAWK, a candidate signature scheme that was never deployed. ML-KEM is deployed, hence the attention.
The CIRG published its initial assessment of Anthropic's findings on November 30, two weeks after Anthropic shared the results with several of its members. It's the document to read if you want an answer you can act on.
| Question | CIRG's answer |
|---|---|
| Does the attack break ML-KEM today? | No. Against ML-KEM and ML-DSA it needs vastly more computation than the best previously known attacks, which are already far out of reach. |
| How big is "galactic"? | Even 2^1000 quantum operations would fall far below its cost for ML-KEM-512 and ML-DSA-44, under assumptions that favor the attacker. |
| Does it need a quantum computer? | Yes, a large-scale one, which is far more costly than classical computation of the same scale. |
| Any classical speedup? | Anthropic reported none, for structured or unstructured lattices. |
| What about unstructured lattices? | No quantum improvement either, and the other papers strengthen their theory. |
| Should you your PQC migration? | No. Delaying keeps you on RSA and elliptic curves, which a quantum computer breaks with far fewer resources. |
So the direct answer to "is ML-KEM safe" stays yes. The more honest answer adds a caveat: the CIRG writes that "it is reasonable to expect that the attack will be improved in the near future." The open question is whether those improvements ever reach real parameter sizes.
To see why a real theoretical advance doesn't hurt deployed keys, look at how ML-KEM grows.
A module lattice has two size knobs: the degree n of each ring component and the rank k, the number of components. Anthropic's algorithm gets its speedup as n grows. ML-KEM never grows n. Per FIPS 203, every ML-KEM parameter set keeps n = 256 and moves up in security by raising k:
| Parameter set | Ring degree n | Rank k | NIST security category |
|---|---|---|---|
| ML-KEM-512 | 256 | 2 | 1 |
| ML-KEM-768 | 256 | 3 | 3 |
| ML-KEM-1024 | 256 | 4 | 5 |
The CIRG's footnote puts it precisely: the speedup "applies as the degree n of each structured component grows. By contrast, ML-KEM and ML-DSA reach higher security levels by increasing the number of components (the rank k) while keeping n=256 fixed."
In plain words: scale these schemes up with bigger rings and their quantum security would rise more slowly than expected. That's a warning about a design direction, not a hole in the parameters shipping today.
For the broader picture of what would break if a hardness assumption fell, our explainer on what happens if P = NP for API security walks through RSA, elliptic curves and lattices side by side.
Not in a way you need to react to. Most post-quantum TLS today uses a hybrid key exchange, X25519MLKEM768, which runs classical X25519 and ML-KEM-768 side by side. Both shared secrets go into the TLS 1.3 key schedule, so an attacker who records your traffic has to break both to read it.
That's exactly what the CIRG recommends: combine schemes built on different math. If ML-KEM fell tomorrow, a hybrid session would still be as strong as plain X25519, where you were before the migration.
The hybrid is already common. Cloudflare's 2025 post-quantum report says more than half of human traffic to its network is now protected against store-now-decrypt-later attacks. OpenSSL added ML-KEM, ML-DSA and SLH-DSA in version 3.5, so you can check any endpoint yourself. Here's real output from OpenSSL 3.6.2, run today against a public test API:
$ openssl s_client -connect api.restful-api.dev:443 \
-groups X25519MLKEM768:X25519 -servername api.restful-api.dev </dev/null 2>&1 \
| grep -E "Negotiated|Protocol"
Negotiated TLS1.3 group: X25519MLKEM768
Protocol: TLSv1.3
If your API shows X25519, your edge doesn't offer the hybrid yet. If it shows X25519MLKEM768, keep it.
The CIRG's recommendations translate into five concrete steps for anyone who runs or consumes APIs:
X25519MLKEM768 does, rather than running ML-KEM alone.
Step 5 is where teams slip, because a TLS change feels like infrastructure work. If you also use client certificates, our guide to testing APIs with mTLS covers the extra flags those runs need, and our API security best practices list the rest of the hardening checklist.
You don't need to run these checks by hand. Your coding agent can probe each host with OpenSSL, run your Apidog test scenarios against the same environment with Apidog CLI, and report both.
Set it up once:
npm install -g apidog-cli@latest
apidog login --with-token <YOUR_TOKEN>
npx -y skills add https://apidog.com # pick your agent when prompted
Then give Claude Code, Codex or your agent of choice one prompt:
For each host in our staging environment, run openssl s_client with
-groups X25519MLKEM768:X25519 and report the negotiated TLS group.
Then list the Apidog test scenarios in project <projectId>, run our
regression scenario against the staging environment with apidog run,
and summarize any host still on plain X25519 and any failed assertion.
The agent finds the scenario and runs it with the flags from apidog run --help:
apidog test-scenario list --project <projectId>
apidog run -t <scenarioId> --project <projectId> -e <envId> -r cli,junit
Here's that run on our sandbox project, against the same public API that negotiated X25519MLKEM768 above. Three requests and seven assertions pass:
Add the same apidog run ... -r junit line to your pipeline, as shown in Apidog CLI in CI/CD, and every TLS or certificate change gets a functional check before it ships. The apidog run command reference lists the SSL flags, such as --ssl-extra-ca-certs for a private CA. For a full walkthrough of the agent setup, see Apidog CLI in Claude Code.
Once one agent can audit a host, a team can spread the work: Sharkly is a board where you assign tasks like "check every partner API for hybrid TLS" to coding agents running on your own computers with your own Claude Code or Codex plan, several in parallel, and review what they report before anything merges. It's free to start.
Anthropic's lattice papers are a real theoretical result and a useful warning about structured lattices. They aren't a break of ML-KEM: the CIRG puts the attack's cost against ML-KEM-512 far beyond 2^1000 quantum operations.
For API teams, the right move is the boring one: keep hybrid post-quantum TLS on, use the strongest parameters you can, keep your crypto swappable, and re-test after every change. The CIRG expects the attack to improve, and crypto-agility is what lets you respond in a deploy instead of a quarter.
Is ML-KEM broken? No. The CIRG puts the attack's cost against ML-KEM-512 far above 2^1000 quantum operations, on a large quantum computer. Older attacks are cheaper and still impractical.
Should I turn off post-quantum TLS? No. The CIRG recommends continuing the transition. Turning off X25519MLKEM768 leaves your recorded traffic protected only by X25519, which a future quantum computer can break with far fewer resources than this attack needs.
Is ML-DSA affected too? In the same way. ML-DSA also uses module lattices with n = 256, and the CIRG gives the same verdict: the attack is far costlier than existing ones at ML-DSA-44 and above.
What are Anthropic's lattice cryptography findings? Four papers published at the end of November 2026: one quantum quasi-polynomial algorithm for module-lattice problems, and three results that strengthen the theory of unstructured lattices. Anthropic found no classical speedup.
How do I check if my API uses post-quantum TLS? Run openssl s_client -connect yourhost:443 -groups X25519MLKEM768:X25519 with OpenSSL 3.5 or later and read the "Negotiated TLS1.3 group" line. X25519MLKEM768 means the hybrid is active.