# Meta AI Cryptanalysis Breaks 4 Rounds of AEGIS-128L in 65,536 Queries

> Source: <https://epyhia.com/meta-ai-cryptanalysis-breaks-4-rounds-of-aegis-128l-in-65-536-queries>
> Published: 2026-12-04 04:12:09+00:00

**Recommendation:** Pair AI-generated cryptanalysis or research claims with a null control, an adversarial falsifier model, and independent clean-room reviews; Meta's falsifier caught four defects, including a weak-key threshold misstated by 256x.
More in the playbook "Evals and testing for LLM apps": <https://wpnews.pro/playbooks/evals-testing>

# Meta AI Cryptanalysis Breaks 4 Rounds of AEGIS-128L in 65,536 Queries

Meta's AI research team has produced a concrete, verifiable cryptanalysis result against AEGIS-128L, an industry-standard authenticated encryption algorithm and CAESAR competition winner. In a campaign published December 2, the team reached four of the cipher's ten rounds on observable outputs using 65,536 encryption queries — a dramatic improvement over the prior published best of two rounds requiring 2^128 queries (the entire nonce space) [\[2\]](https://engineering.fb.com/2026/12/02/security/using-ai-to-expand-the-cryptanalytic-frontiers-of-aegis-128l). The full 10-round cipher remains unbroken.

## What the campaign actually found

The results apply to deliberately weakened, round-reduced versions of AEGIS-128L — standard practice for measuring a cipher's safety margin. On the keystream an adversary can observe, Meta's AI-assisted distinguisher reached 4 rounds with 2^16 queries. On internal state words that are never exposed externally, it matched the best published 6-round result while using 2^96 times less data, turning a theoretical attack consuming the full nonce space into an experiment that runs in minutes [\[2\]](https://engineering.fb.com/2026/12/02/security/using-ai-to-expand-the-cryptanalytic-frontiers-of-aegis-128l).

Both improvements stem from a single observation the literature had overlooked: where an attacker varies input bytes across the nonce's 16-byte grid matters as much as how many bytes are varied. Spreading four varied bytes across all four AES diagonals (a "transversal" cube) yielded a zero-sum distinguisher at six rounds on internal state; using two bytes on different diagonals reached four rounds on the observable keystream [\[2\]](https://engineering.fb.com/2026/12/02/security/using-ai-to-expand-the-cryptanalytic-frontiers-of-aegis-128l).

## The adversarial framework

Meta structured the work to separate real mathematical findings from plausible-sounding hallucinations. Four campaigns ran in sequence:

1. **Null control** — 17 standard attack strategies against full 10-round AEGIS-128L. Result: nothing. This established credibility for subsequent claims[\[2\]](https://engineering.fb.com/2026/12/02/security/using-ai-to-expand-the-cryptanalytic-frontiers-of-aegis-128l) .
2. **Exploration** — Round-reduced variants where ground truth is computable (cube sums can be exhaustively verified). The model identified byte placement as a free parameter worth rounds[\[2\]](https://engineering.fb.com/2026/12/02/security/using-ai-to-expand-the-cryptanalytic-frontiers-of-aegis-128l) .
3. **Falsifier adversary** — A different model explicitly rewarded for invalidating Campaigns 1 and 2. It found four genuine defects in the initial claims, including a weak-key threshold misstated by 256× and an algebraic identity presented as independent measurement[\[2\]](https://engineering.fb.com/2026/12/02/security/using-ai-to-expand-the-cryptanalytic-frontiers-of-aegis-128l) .
4. **Clean-room reconstruction** — Three independent reviews on fresh RFC-anchored implementations. The first review erroneously refuted a true theorem; two later reviews independently recovered the correct proof[\[2\]](https://engineering.fb.com/2026/12/02/security/using-ai-to-expand-the-cryptanalytic-frontiers-of-aegis-128l) .

Models used included Anthropic's Claude Opus 5, an internal Meta model, and OpenAI's Codex GPT-5.6. Meta emphasizes this is not a model benchmark — each model worked on different tasks [\[2\]](https://engineering.fb.com/2026/12/02/security/using-ai-to-expand-the-cryptanalytic-frontiers-of-aegis-128l).

## Critical caveats

- **Chosen-nonce assumption** : All reduced-round results assume an adversary who controls nonces. Production deployments do not grant this[\[2\]](https://engineering.fb.com/2026/12/02/security/using-ai-to-expand-the-cryptanalytic-frontiers-of-aegis-128l) .
- **Observable vs. internal** : The 4-round result on keystream is the more consequential because it targets what an attacker actually sees. The 6-round internal-state result lives on a word nobody observes — a limitation the prior literature shares[\[2\]](https://engineering.fb.com/2026/12/02/security/using-ai-to-expand-the-cryptanalytic-frontiers-of-aegis-128l) .
- **Proof status** : The 6-round internal result carries a formal proof verified by two independent clean-room reviews. The 4-round observable result is empirical (480,000 tests across 5,000 random keys); a separate proof by Shay Gueron is forthcoming[\[2\]](https://engineering.fb.com/2026/12/02/security/using-ai-to-expand-the-cryptanalytic-frontiers-of-aegis-128l) .
- **No full-round break** : Meta stresses the full 10-round AEGIS-128L emerged with no cryptanalytic finding. Organizations need not stop using it[\[2\]](https://engineering.fb.com/2026/12/02/security/using-ai-to-expand-the-cryptanalytic-frontiers-of-aegis-128l) .

## A real-world library bug

As a byproduct, Campaign 1 discovered that libaegis never erases secret cryptographic material from memory [\[2\]](https://engineering.fb.com/2026/12/02/security/using-ai-to-expand-the-cryptanalytic-frontiers-of-aegis-128l). An attacker with process-memory read access could decrypt or forge affected data (though not recover the AEGIS key). Meta reported the issue and proposed a patch that clears state only after the code is finished with it, avoiding a compiler-induced register spill that would worsen exposure [\[2\]](https://engineering.fb.com/2026/12/02/security/using-ai-to-expand-the-cryptanalytic-frontiers-of-aegis-128l).

## Why this differs from typical AI-cryptanalysis claims

The field has seen a wave of vague or unverifiable assertions about AI breaking encryption. This campaign stands out because:

- Every headline number is reproducible on a laptop (the 4-round keystream test takes under a second).
- The adversarial structure produced a clear audit trail: claims made, claims refuted, claims recovered.
- Automated analysis tools the field relies on failed to detect any difference between byte placements — predicting identical outcomes where real tests showed sharp contrast. This suggests some published security bounds may reflect tool limitations rather than algorithmic ones [\[2\]](https://engineering.fb.com/2026/12/02/security/using-ai-to-expand-the-cryptanalytic-frontiers-of-aegis-128l) .

## What it means

For cryptographers: byte placement is a free parameter worth re-examining across AES-round-based designs. For AI-assisted science: the bottleneck is verification, not generation. Meta's pipeline — null control, computable ground truth, adversarial falsification, independent reconstruction — offers a transferable template for making AI-generated claims checkable rather than merely reported [\[2\]](https://engineering.fb.com/2026/12/02/security/using-ai-to-expand-the-cryptanalytic-frontiers-of-aegis-128l).

The full paper with complete proofs and limitations is in preparation.

## Sources

1. [Meta AI cryptanalysis reaches 4 rounds of AEGIS-128L in 65536 queries](https://mlq.ai/news/meta-ai-cryptanalysis-reaches-4-rounds-of-aegis-128l-in-65536-queries) (mlq.ai)
2. [Using AI to Expand the Cryptanalytic Frontiers of AEGIS-128L - Engineering at Meta](https://engineering.fb.com/2026/12/02/security/using-ai-to-expand-the-cryptanalytic-frontiers-of-aegis-128l) (engineering.fb.com)
3. [Huang testifies his relationship with Alice Huang ran from late 2024 into 2026](https://mlq.ai/news/huang-testifies-his-relationship-with-alice-huang-ran-from-late-2024-into-2026) (mlq.ai)
4. [Chinese AI models helped find 63 flaws in China's encryption contest](https://mlq.ai/news/chinese-ai-models-helped-find-63-flaws-in-chinas-encryption-contest) (mlq.ai)
5. [Pangram raises $50 million to detect AI-written text, images and video](https://mlq.ai/news/pangram-raises-50-million-to-detect-ai-written-text-images-and-video) (mlq.ai)
6. [OpenAI Foundation commits $100M to embed AI engineers at nonprofits](https://mlq.ai/news/openai-foundation-commits-100m-to-embed-ai-engineers-at-nonprofits) (mlq.ai)
7. [Intuit open-sources NightFalcon, a security reviewer built with OpenAI](https://mlq.ai/news/intuit-open-sources-nightfalcon-a-security-reviewer-built-with-openai) (mlq.ai)
8. [Mistral's Crashtral predicts car crash deformation in seconds](https://mlq.ai/news/mistrals-crashtral-predicts-car-crash-deformation-in-seconds) (mlq.ai)
