Learn AI at the cost of chai. Level 1 is free. Founding Pro will be ₹499 for the first year, about one chai a week.Five minutes a day, one AI idea at a time. Free to start, with a Google sign-in.From ML basics to production AI, one card at a time. Free to start, with a Google sign-in.

Blog By 7 min read security backend ai in production

Post Quantum TLS After Anthropic's Lattice Attack

Anthropic's lattice attack doesn't break ML-KEM. What it means for post quantum TLS: keep hybrid X25519MLKEM768, check every hop, log the group.

Updated

Claude found a new quantum attack on the math under post quantum TLS. Your handshake this morning still worked fine.

Both of those are true. X spent the weekend running on rumours about RSA, elliptic curves and lattices all falling at once. Then Anthropic published the papers, and the real story turned out smaller and more useful than the panic. For anyone running HTTPS in production, it comes down to a short to-do list.

Short answer: post quantum TLS today means a hybrid key exchange, not new certificates. You can test your edge with one command, and on AWS load balancers you have to opt in with a security policy that has PQ in its name.

What did Anthropic actually publish?

On 30 November (US time), Anthropic put four papers on lattice cryptography on GitHub, with Lean 4 proofs of the results. The repo says the results “were discovered by an internal research Claude model.”

The headline paper is called “Galactic quasi-polynomial quantum algorithms for integral and module lattices”. It’s a quantum attack on some Module-LWE and Ring-LWE problems. That’s the math under ML-KEM, the key exchange in post quantum TLS, and ML-DSA, the signature scheme.

Anthropic’s own post, past 3.6 million views by this morning, says: “The results do not have practical, real-world consequences for today’s security systems.” They tried to stretch the method into a practical attack on deployed schemes and couldn’t. They still call ML-KEM and ML-DSA “two of the strongest public key algorithms available”.

One line in that post points the other way: the results “lower our long-term confidence in structured lattices”. Nothing broke, but the warning light is on.

Is ML-KEM broken?

No. Anthropic shared drafts with outside cryptographers on 16 November, and that group, the Cryptography Incident Review Group, published an initial assessment. Against ML-KEM and ML-DSA, the new attack needs “vastly more computation than the best previously known attacks”, and those were already out of reach. Their footnote is the best joke of the week: even 2^1000 quantum operations would be “far below” its cost for ML-KEM-512, the smallest parameter set.

The trick only gets faster as one dimension of the lattice (the ring degree) grows. ML-KEM fixes that at 256 and gets stronger by stacking more components instead. So the speedup lands on a knob the standard never turns.

Cloudflare’s write-up puts it in hardware terms. You’d need billions of logical qubits, and today’s machines have thousands. Against the real parameter sets, the new attack is orders of magnitude slower than the best classical attacks we already have.

“Galactic” is maths for “faster, provided you own the galaxy”.

Should I turn off post quantum TLS?

No. Turning it off is the one move that makes you less safe.

The CIRG group says delaying the move would keep you on systems that a quantum computer could break with “far fewer quantum resources than this new attack requires”. That means RSA and elliptic curves, the stuff post quantum crypto is replacing. If someone records your traffic today to decrypt it years from now, this paper doesn’t make that risk go away.

Hybrid key exchange already hedges the bet. X25519MLKEM768 mixes classic X25519 with ML-KEM, so an attacker has to break both. Cloudflare says 73% of human traffic to its network is already post quantum encrypted. You’re probably using it without knowing.

The structured-lattice warning is about later. What you do now is make sure you can swap things fast if a real break ever shows up.

How to check post quantum TLS on your own stack

You need OpenSSL 3.5 or newer on the machine you test from.

Test the edge

openssl s_client -connect yourdomain.com:443 -servername yourdomain.com \
  -groups X25519MLKEM768 </dev/null 2>/dev/null | grep "Negotiated TLS1.3 group"

If you see Negotiated TLS1.3 group: X25519MLKEM768, your edge speaks it. If the handshake fails, it doesn’t. I ran this on bunmaska.tech this morning and got the hybrid group. That’s Cloudflare’s doing, not mine.

Test every hop behind it

The padlock covers browser to CDN. CDN to origin is a separate TLS session. So are service to service, app to database and your outbound calls to payment or AI APIs. Each runs its own TLS library, each with its own defaults. A green padlock at the edge is a green dashboard: it tells you about the one hop it can see.

Upgrade the library before you touch config

OpenSSL 3.5 changed the default TLS groups to prefer hybrid post quantum ones, with X25519MLKEM768 and X25519 as the default key shares. On a lot of stacks, a base image bump is the whole job. Run openssl version inside your containers, not on your laptop.

Then hunt for old hardcoded lists. A line like ssl_ecdh_curve prime256v1; in nginx keeps you on classic crypto no matter which library you install. The nginx default is auto, which hands the choice back to the library.

Log the negotiated group

nginx has a $ssl_curve variable that holds the group each handshake used (groups it doesn’t have a name for show up as hex). Add it to your access log format. Then “how much of our traffic is post quantum?” gets a number instead of a shrug. Same idea as my model degradation post: if you don’t log it, you’re guessing.

Make the next swap cheap

CIRG recommends the highest security level each app can support, hybrids built on different maths, and systems where one scheme can be replaced quickly. In practice that means knowing where your crypto lives (TLS terminators, SDKs, JWT signing, VPNs) and keeping algorithm choices in config, not in code. Current OpenSSL 3.5 builds also ship a stronger hybrid, SecP384r1MLKEM1024. Test it against your clients before you flip it.

Does AWS support post quantum TLS?

Yes, with an opt-in for the parts you own. AWS’s post quantum readiness page, checked on 2 December 2026, says public AWS service endpoints transparently enforce post quantum key exchange for any client that advertises ML-KEM. You still have to update your own clients. Managed resources such as load balancers are opt-in.

For Application and Network Load Balancers, AWS announced the opt-in policies on 21 November 2025, at no extra cost. The ALB docs hold the detail that catches people. Create an HTTPS listener in the console and the default is ELBSecurityPolicy-TLS13-1-2-Res-PQ-2025-09. Create it with the AWS CLI, CloudFormation or the CDK and the default is ELBSecurityPolicy-2016-08, which has no post quantum groups. The PQ policies support X25519MLKEM768, SecP256r1MLKEM768 and SecP384r1MLKEM1024, on TLS 1.3 only. A TLS 1.2 client falls back to a classical group.

To see what clients really negotiate, turn on ALB connection logs. The key exchange is log field 13. That is the load balancer version of the nginx $ssl_curve check above.

Why don’t cipher suites show post quantum TLS?

In TLS 1.3 the cipher suite doesn’t include the key exchange, according to AWS’s ALB docs (checked on 2 December 2026). Client and server agree on a key exchange group separately, so post quantum support appears as a group such as X25519MLKEM768, not as a new cipher suite. If you audit cipher suite lists to find post quantum support, you are looking in the wrong place. Look at the negotiated group.

Why only the key exchange? Recorded traffic is the harvest-now risk, and a key exchange protects it without touching certificates. Authentication is harder. Chrome’s post quantum web PKI note, last updated on 27 August 2024, gives the sizes. An ML-DSA-65 signature is 3,309 bytes and its public key 1,952 bytes, against 64 and 64 for P-256. It calls adding about 2 KB to a handshake “very painful, but plausible” and adding about 7 KB “implausible unless a cryptographically relevant quantum computer is tangibly imminent”. Certificates are the slower migration, and a separate one from the key exchange you can check today.

Did Anthropic break encryption?

No. Anthropic found no improvement in classical attacks on any mainstream lattice system, and no quantum improvement against unstructured lattices. The other three papers make the case for unstructured lattices stronger.

What it did break was a few people’s weekend. A rumour moved faster than the PDF, which is normal now. A vendor statement you can’t check isn’t a control (I said that about zero data retention), but this one you can check with one command.

The 1Password breach last week started with one employee’s GitHub account and ended up in their CI/CD system. Nobody needs a galaxy-sized quantum computer when a stolen login gets them into your pipeline.

My Rule for 2026: If swapping a cipher takes a sprint, your crypto isn’t agile. It’s welded in.

So, do you know which key exchange your origin used this morning?

Get the next one by email.

Sent when a post is ready. Never filler.

Free / One email per post / Unsubscribe in one click

Next issue // when it is ready

No filler.

One lesson from production per issue. What broke, why, and the rule I took from it. No roundups. No launch-day cheerleading.