Meta AI Cryptanalysis Breaks 4 Rounds of AEGIS-128L in 65,536 Queries — Concrete Benchmark in Domain Rife With Unverified Claims
Meta's AI research team has published preliminary cryptanalysis results against AEGIS-128L; the full paper with proofs is in preparation. The campaign reached four of the cipher's ten rounds on observable outputs using just 65,536 encryption queries (2¹⁶), beating the 2023 published benchmark (Shiraya et al.) of two rounds requiring 2¹²⁸ queries — the entire nonce space [1][2]. On internal cipher state, the team matched the published six-round reach while using 2⁹⁶ times less data, turning a theoretical attack into an experiment that runs in minutes [1][2].
The full-strength 10-round AEGIS-128L emerged unbroken. Meta stressed that organizations do not need to stop using the cipher [1][2]. All reduced-round results assume an adversary who controls nonces, a condition production deployments do not grant [2].
Measuring safety margins, not breaking production crypto
Cryptanalysts evaluate ciphers by attacking deliberately weakened, round-reduced variants. The gap between the best attack on a reduced version and the full cipher constitutes the safety margin. AEGIS-128L uses ten rounds; prior to this work, the best distinguisher on observable keystream reached only two rounds [2].
Meta's campaign improved the state of the art on two fronts from a single overlooked insight: where an attacker varies the input matters, not just how much [1][2]. By placing varied nonce bytes across all four AES diagonals (a "transversal" cube) rather than clustering them on one diagonal, the distinguisher reaches deeper into the cipher.
- Observable keystream (what an adversary sees): 4 of 10 rounds at 2¹⁶ queries (65,536 encryptions). Prior best: 2 rounds at 2¹²⁸ queries [1][2].
- Internal state (not directly observable): 6 of 10 rounds at 2³² queries (4 billion). Prior best: same 6 rounds but required 2¹²⁸ queries — the full nonce space [1][2].
The internal-state result carries a formal proof verified by two independent clean-room reviews. The observable result is based on measurement across 480,000 tests on 5,000 random keys; a separate proof by Shay Gueron is forthcoming [2].
Adversarial framework to separate breakthroughs from hallucinations
The hard problem in AI-assisted science is not generating plausible results but telling real ones from confident-sounding errors. Meta structured four sequential campaigns around that problem [2]:
- Null control on full AEGIS-128L: 17 standard attack strategies against the full 10-round cipher. Result: nothing. A system that reports findings every time is hallucinating; one that returns a clean null on a well-studied target earns credibility [2].
- Round-reduced variants: Ground truth is computable here (cube sums can be exhaustively checked). The model discovered byte placement as a free parameter the literature does not vary [2].
- Falsifier adversary: A different model explicitly rewarded for invalidating claims from Campaigns 1 and 2. It found four genuine defects: a weak-key threshold misstated by 256×, an algebraic identity presented as independent measurement, a minimality ladder with an uncontrolled variable, and a screening criterion restated as a result [2].
- Clean-room reconstruction: Three independent reviews on separate RFC-anchored engines, without reading the originals. The first review incorrectly refuted a true theorem; the next two independently recovered the correct proof [2].
Models used: Anthropic's Claude Opus 5 (Campaigns 1, 2, 4), an internal Meta model (Campaign 3), and OpenAI Codex GPT-5.6 (Campaign 4). Meta emphasizes this is not a model benchmark; the lessons came from cross-validating claims across independent contexts [2].
Real-world bug found along the way
Campaign 1 uncovered an implementation flaw in libaegis, the most widely used AEGIS library: secret cryptographic material was never erased from memory after finalization [1][2][9]. A leftover state snapshot would let an attacker who can already read process memory decrypt or forge affected data (though not recover the AEGIS key) [2]. Meta reported the issue to maintainers with a proposed patch that clears state inside the library [2]. The libaegis maintainer closed the issue pointing to a separate Jasmin implementation with formal erasure guarantees; a commenter noted documentation could clarify caller responsibilities [9].
Contrast with unverified AI crypto claims
The result arrives amid a wave of unverified assertions about AI breaking cryptographic primitives. Anthropic recently published a Claude-credited paper claiming a disproof of the invariant subspace problem in Hilbert space, with a Lean 4 formalization — but no independent expert review has been published, and the claim contradicts 2023 preprints asserting the opposite answer [7]. Google DeepMind posted preprints claiming a proof of the Cohen-Lenstra 5-torsion conjecture using an internal Gemini 4 model, but the Lean 4 verification code has not yet been uploaded for independent compilation [3].
Meta's AEGIS-128L work differs in several ways: the target is a deployed, standardized cipher; the claims are specific, measurable, and falsifiable on a laptop; the full cipher was tested as a null control; adversarial cross-checking caught and recorded errors; and the results distinguish between what is proven (internal state) and what is measured (observable keystream) [2].
What this means for the field
For cryptographers, byte placement is a knob standard evaluations do not turn. Turning it doubled the best published keystream reach on AEGIS-128L while cutting data from the entire nonce space to 65,536 queries. The mechanism is a property of how AES rounds route bytes, so any design in this family can be re-examined [2]. Automated analysis tools the field relies on failed to detect any difference between placements, predicting identical outcomes where real tests showed clear contrast — raising the question of how many published security limits reflect tool boundaries rather than algorithm strength [2].
For AI-assisted science, the campaign demonstrates a transferable structure: a null-result control, a regime where ground truth is computable, and successive independent adversarial passes. The binding constraint shifted from generation to verification — exactly what Anthropic reported in its own cryptanalysis work [2].
The full paper, including proofs and limitations discussion, is in preparation [2].
Sources
- Meta AI cryptanalysis reaches 4 rounds of AEGIS-128L in 65536 queries (mlq.ai)
- Using AI to Expand the Cryptanalytic Frontiers of AEGIS-128L - Engineering at Meta (engineering.fb.com)
- Google DeepMind Claims Cohen-Lenstra 5-Torsion Proof With Gemini 4 (mlq.ai)
- EU AI envoy urges tripling Europe's share of global AI compute to 15% (mlq.ai)
- OpenAI Foundation commits $100M to embed AI engineers at nonprofits (mlq.ai)
- DeepMind's Kavukcuoglu credits self-improving AI for Google's Gemini run (mlq.ai)
- Anthropic posts Claude's claimed disproof of invariant subspace problem (mlq.ai)
- RFC 10032: The AEGIS Authenticated Encryption Algorithms | RFC Editor (rfc-editor.org)
- AEGIS state is not erased after finalization · Issue #37 · aegis-aead/libaegis (github.com)