DEV Community

correctover
correctover

Posted on Edited on

Anthropic's lattice scare vs. reality: 3,000 cross-implementation ML-DSA cases, 9 targets

Last week, four lattice-cryptography papers from an internal research model at Anthropic sent Bitcoin down ~12% in hours, triggered ~$900M of liquidations, and ended with an eight-company joint statement (Amazon, Anthropic, Apple, Cloudflare, Google, Microsoft, OpenAI, Oracle) urging faster migration to post-quantum cryptography.

The papers themselves turned out to be theoretical — the independent review group called the attack "galactic" (>2^1000 quantum operations). But the market reaction exposed something real: the entire industry is about to migrate its signature infrastructure to ML-DSA (FIPS 204), and almost nobody has tested whether independent implementations of it actually agree with each other.

We have. Since late November we've been running a cross-implementation consistency matrix for ML-DSA-44/65/87 verification — deterministic signature acceptance/rejection compared byte-for-byte across independent implementations. Current coverage: 9 targets across C, Java, Go, and Python ecosystems — including the two Chinese PQC de-facto standards (Huawei's openHiTLS and Ant/TongSuo), Cloudflare's Go stack, and the international reference set.

What the 3,000-case matrix looks like

The corpus uses deterministic seeds and a single-command replay harness. Every case is a (key, message, signature, expected-verdict) tuple; the matrix records whether each implementation accepts or rejects each case, and any divergence is a finding.

Headline result so far: across the current matrix, all tested implementations agree on GenKey-path signatures — zero divergence on the happy path. The interesting surface, as always, is at the edges: externally imported keys, expanded secret keys, and malformed encodings.

One real divergence, honestly graded

On Huawei's openHiTLS (issue #27 in their tracker), our fuzz replay initially flagged systematic rejection behavior on external inputs. A maintainer (Liu-ErMeng) could not reproduce it on the GenKey path with 100 random keys across three architectures — which is fully consistent with where a clean rebuild of our harness eventually isolated the behavior: the external expanded-secret-key import path, not GenKey. Our finding is currently graded as an environment-limited observation pending independent confirmation, and we've published the exact build commands, commit hashes, and a public replay corpus so anyone can verify.

That's the point. Not "we found a hole in Huawei's crypto" — but: during a global migration, the failure surface lives in exactly the paths that GenKey-path testing doesn't cover, and only cross-implementation, evidence-pinned testing can find them.

Why this matters more than the scare

  • The migration is happening now: FIPS 203/204 deployments are landing in production stacks (both Chinese national-standard stacks and Western reference libraries).
  • AI-accelerated cryptanalysis (whether or not Anthropic's specific result generalizes) raises the cost of unverified consensus between implementations. If implementations silently disagree, "the standard is secure" doesn't save you.
  • Verification must be independent, deterministic, and machine-checkable. Ours is: fixed seeds, public corpus, single-command replay, byte-level comparison.

The Anthropic episode's real lesson wasn't in the papers. It was in the process: findings sent to independent experts before publication, proofs formalized and machine-verified, everything public. Trust in the AI era comes from independent, reproducible verification — not from model self-reports. That principle is exactly what we're building our verification infrastructure on.

Resources

Guigui Wang | Correctover. Independent verification infrastructure for AI-era agent actions and cryptographic implementations.

Top comments (0)