{"slug": "is-ml-kem-safe-after-anthropic-s-lattice-cryptography-findings", "title": "Is ML-KEM Safe After Anthropic's Lattice Cryptography Findings?", "summary": "Anthropic published four theoretical papers, discovered by an internal research Claude model, presenting a quantum algorithm that solves search Module-LWE in quasi-polynomial time, the hard problem underlying ML-KEM. The Cryptography Incident Review Group assessed on November 30 that the attack does not break ML-KEM or ML-DSA today, requiring far more than 2^1000 quantum operations even for ML-KEM-512, and advised against pausing post-quantum migration. CIRG cautioned that \"it is reasonable to expect that the attack will be improved in the near future.", "body_md": "**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.\n\nThe 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.\n\nAnthropic'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.\n\nThe four papers, as listed in Anthropic's [formal-math repository](https://github.com/anthropics/formal-math/tree/main/lattices):\n\nThe 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.\n\nIt isn't Anthropic's first cryptanalysis result. In July, its [research on cryptographic weaknesses](https://www.anthropic.com/research/discovering-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.\n\nThe CIRG published its [initial assessment of Anthropic's findings](https://cirg.org/statements/1/) 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.\n\n| Question | CIRG's answer | \n|---|---|\n| 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. | \n| 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. | \n| Does it need a quantum computer? | Yes, a large-scale one, which is far more costly than classical computation of the same scale. | \n| Any classical speedup? | Anthropic reported none, for structured or unstructured lattices. | \n| What about unstructured lattices? | No quantum improvement either, and the other papers strengthen their theory. | \n| Should you pause your PQC migration? | No. Delaying keeps you on RSA and elliptic curves, which a quantum computer breaks with far fewer resources. | \n\nSo 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.\n\nTo see why a real theoretical advance doesn't hurt deployed keys, look at how ML-KEM grows.\n\nA 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](https://csrc.nist.gov/pubs/fips/203/final), every ML-KEM parameter set keeps n = 256 and moves up in security by raising k:\n\n| Parameter set | Ring degree n | Rank k | NIST security category | \n|---|---|---|---|\n| ML-KEM-512 | 256 | 2 | 1 | \n| ML-KEM-768 | 256 | 3 | 3 | \n| ML-KEM-1024 | 256 | 4 | 5 | \n\nThe 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.\"\n\nIn 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.\n\nFor the broader picture of what would break if a hardness assumption fell, our explainer on [what happens if P = NP for API security](http://apidog.com/blog/what-happens-if-p-equals-np-api-security?utm_source=dev.to&utm_medium=wanda&utm_content=n8n-post-automation) walks through RSA, elliptic curves and lattices side by side.\n\nNot 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.\n\nThat'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.\n\nThe hybrid is already common. Cloudflare's [2025 post-quantum report](https://blog.cloudflare.com/pq-2025/) 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](https://openssl-library.org/news/openssl-3.5-notes/), so you can check any endpoint yourself. Here's real output from OpenSSL 3.6.2, run today against a public test API:\n\n``` bash\n$ openssl s_client -connect api.restful-api.dev:443 \\\n    -groups X25519MLKEM768:X25519 -servername api.restful-api.dev </dev/null 2>&1 \\\n    | grep -E \"Negotiated|Protocol\"\nNegotiated TLS1.3 group: X25519MLKEM768\nProtocol: TLSv1.3\n```\n\nIf your API shows `X25519`, your edge doesn't offer the hybrid yet. If it shows `X25519MLKEM768`, keep it.\n\nThe CIRG's recommendations translate into five concrete steps for anyone who runs or consumes APIs:\n\n`X25519MLKEM768` does, rather than running ML-KEM alone.\nStep 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](http://apidog.com/blog/how-to-test-apis-client-certificates-mtls-apidog?utm_source=dev.to&utm_medium=wanda&utm_content=n8n-post-automation) covers the extra flags those runs need, and our [API security best practices](http://apidog.com/blog/api-security-best-practices?utm_source=dev.to&utm_medium=wanda&utm_content=n8n-post-automation) list the rest of the hardening checklist.\n\nYou 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](https://apidog.com/apidog-cli/?utm_source=dev.to&utm_medium=wanda&utm_content=n8n-post-automation), and report both.\n\nSet it up once:\n\n```\nnpm install -g apidog-cli@latest\napidog login --with-token <YOUR_TOKEN>\nnpx -y skills add https://apidog.com   # pick your agent when prompted\n```\n\nThen give Claude Code, Codex or your agent of choice one prompt:\n\n```\nFor each host in our staging environment, run openssl s_client with\n-groups X25519MLKEM768:X25519 and report the negotiated TLS group.\nThen list the Apidog test scenarios in project <projectId>, run our\nregression scenario against the staging environment with apidog run,\nand summarize any host still on plain X25519 and any failed assertion.\n```\n\nThe agent finds the scenario and runs it with the flags from `apidog run --help`:\n\n```\napidog test-scenario list --project <projectId>\napidog run -t <scenarioId> --project <projectId> -e <envId> -r cli,junit\n```\n\nHere's that run on our sandbox project, against the same public API that negotiated `X25519MLKEM768` above. Three requests and seven assertions pass:\n\nAdd the same `apidog run ... -r junit` line to your pipeline, as shown in [Apidog CLI in CI/CD](http://apidog.com/blog/apidog-cli-ci-cd-pipeline?utm_source=dev.to&utm_medium=wanda&utm_content=n8n-post-automation), and every TLS or certificate change gets a functional check before it ships. The [apidog run command reference](http://apidog.com/blog/apidog-run-command-reference?utm_source=dev.to&utm_medium=wanda&utm_content=n8n-post-automation) 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](http://apidog.com/blog/apidog-cli-in-claude-code?utm_source=dev.to&utm_medium=wanda&utm_content=n8n-post-automation).\n\nOnce one agent can audit a host, a team can spread the work: [Sharkly](https://sharkly.ai) 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.\n\nAnthropic'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.\n\nFor 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.\n\n**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.\n\n**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.\n\n**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.\n\n**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.\n\n**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.", "url": "https://wpnews.pro/news/is-ml-kem-safe-after-anthropic-s-lattice-cryptography-findings", "canonical_source": "https://dev.to/hassann/is-ml-kem-safe-after-anthropics-lattice-cryptography-findings-k3p", "published_at": "2026-12-01 04:10:52+00:00", "updated_at": "2026-12-01 04:14:16.122162+00:00", "lang": "en", "topics": ["artificial-intelligence", "ai-research", "ai-safety", "ai-policy"], "entities": ["Anthropic", "Cryptography Incident Review Group", "ML-KEM", "ML-DSA", "Claude", "NIST", "FIPS 203", "X25519MLKEM768"], "also_reported_by": [], "takeaway": "Anthropic's quasi-polynomial quantum attack on Module-LWE exploits growth in ring degree n, but ML-KEM fixes n=256 and scales security by rank k, so CIRG estimates even 2^1000 quantum operations fall far short of breaking ML-KEM-512.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/is-ml-kem-safe-after-anthropic-s-lattice-cryptography-findings", "markdown": "https://wpnews.pro/news/is-ml-kem-safe-after-anthropic-s-lattice-cryptography-findings.md", "text": "https://wpnews.pro/news/is-ml-kem-safe-after-anthropic-s-lattice-cryptography-findings.txt", "jsonld": "https://wpnews.pro/news/is-ml-kem-safe-after-anthropic-s-lattice-cryptography-findings.jsonld"}}