ai software technicaladvanced

How Frontier Models Find New Cryptanalysis: The Harness, the Bill and the Checking Problem

What 2026's published AI cryptanalysis shows about frontier models as researchers: the harness, the cost and the four ways the output was checked.

On November 30, Anthropic published four papers on lattice cryptography, 541 pages in all, with a machine-checkable formalization of their theorems. The public account of how the work was done is two sentences in a GitHub README: “The results were discovered by an internal research Claude model. The formalization was written by AI models.” The release names no model version, harness, prompt, token count or human author. Anthropic formal-math repository

Four months earlier the same company had done the opposite. For its July attacks on the HAWK signature scheme and on reduced-round AES it named the model, described the harness, printed the AES researcher’s prompts with their typos, and gave the API bill. In between came three more Anthropic results and one from OpenAI, each with a different amount of process detail.

Read together, these disclosures are, as far as we know, the most detailed public record of what frontier models can do as researchers in mathematics-heavy fields, and of how hard it is to establish that the output is correct. Where figures were published, finding a result took between half an hour and about a week, and the two results with a price attached cost roughly $100,000 each in API usage. For the attack that could be run, finding, developing and verifying took about 60 hours in all; for the one that could not, two researchers needed nearly a month to gain confidence. Across the year, output was checked in four ways that ask the reader to trust different things: running the attack, scoring it with an automated evaluator, having experts read it, and checking a formal proof in Lean. The November lattice papers rest on the last alone.

This article is about models and verification, and it does not teach the cryptography. The December 2 NSA advisory, its deadlines and the debate over elliptic curves are covered in our article on the NSA post-quantum advisory. Nothing below identifies what any government was told. S5 Labs ran none of the work described, and everything here is read from the linked sources.

The evidence has two limits. Six of the seven results in the table below come from one vendor, Anthropic, and most were produced on models it describes as previews, unreleased or internal. The one benchmark that compares models was co-written by three Anthropic researchers.

What each disclosure says about how it was made

In the table, “Not disclosed” means the source is silent.

ResultModelHarnessHuman roleTime, tokens, costHow it was checkedNot disclosed
HAWK key recovery (Anthropic, July 28)Claude Mythos Preview“Claude Code-like” harness; worker agents in a sandbox with Python and SageOne researcher, not a lattice specialistAbout 60 hours within one week; about $100,000 in API costAttack run end to end on HAWK-256; reviewed by the HAWK teamToken count, number of agents, prompts
7-round AES-128 (Anthropic, July 28)Claude Mythos PreviewScaffold built on Claude CodeOne researcher; three substantive promptsAbout one week; one billion output tokens; about $100,000Too large to run; small-scale experiments and hundreds of hours of author validationNumber of sessions
Riemann zeta zero bound (Anthropic, August 10)“An unreleased research version of Claude”Claude Code with about 60 subagentsOne non-mathematician sending encouragementTwo sessions; a day and a half for the second attempt; 31 million output tokensTwo Anthropic mathematicians, two outside experts, a Lean formalizationModel, cost, total time
Quantum circuits (Anthropic, October 16)Claude Mythos 5Closed loop with an evaluator programOne-paragraph brief, occasional prompts53 hours for the point-addition circuitEvaluator, numerical simulation, Lean proofsTokens, cost
NIST curve seeds (Anthropic, October 16)“An internal research model”Not disclosedOne employee’s question“Under half an hour”Recovered generator states reproduce the seeds; scripts publishedModel, harness, tokens, cost, attempts
Exponential Time Hypothesis refutation (OpenAI, October 26)“Our system”Not disclosedNot disclosedFound October 16; formalized in Lean October 17Lean proof; outside review group namedModel, harness, compute, cost
Lattice papers (Anthropic, November 30)“An internal research Claude model”Not disclosedNot disclosed; no human author namedNot disclosedLean 4 formalization “written by AI models”Everything about process, and any human review

Sources: Anthropic on HAWK and AES, the zeta bound, quantum circuits and curve seeds; OpenAI; the lattice README.

The harness is ordinary software

None of the disclosed setups is exotic. For HAWK, Anthropic describes several worker agents in a sandbox with Python, the Sage mathematics system and published cryptography papers, able to message one another. For AES, a second researcher built a scaffold on Claude Code that let the model pose hypotheses, test them and log the results. The quantum-circuit work was a loop: the model wrote a design in Python, an evaluator program checked and scored it, and the score went back to the model.

Four things recur.

Many agents run, and many of them find nothing. The zeta post breaks down its roughly 60 subagents: two developed the key ideas, 13 fed ideas to those two, 30 tried and failed to develop anything new, 13 checked arguments, and two helped write the paper. The published AES chain of thought (PDF) is a rewrite, edited by the model for clarity, of one session out of many, and the brief it reports tells the model that an automated “farm” of workers had already tested roughly 200 attack variants. In the HAWK run the key idea came from a pair of workers: the first prematurely rejected it as infeasible, the second found a way to use it, and the two kept exchanging messages until both agreed.

The model has something to compute against. The AES session had a secretly keyed cipher instance, 30 CPU cores and 24 hours, with key-check calls capped at 16 as an anti-cheat measure. The zeta subagents made thousands of numerical checks against known zeta zeros. This is the division of labor we described in how AI finds vulnerabilities, where the model proposes and a tool decides.

The human in the loop is not a specialist and contributes no mathematics. The HAWK operator had a background in theoretical computer science and was not an expert in lattice cryptography, and Anthropic says the input was project management. The zeta operator is described as a non-mathematician whose messages were mostly variants of “keep going” or “believe in yourself.” The three substantive AES prompts are printed with their typos, and none contains a technical idea. An earlier message did choose the target, asking why not attack 7 rounds of AES-128. The last reads, in part, “we want proper research to find genuinly [sic] hard findings.”

Last, the scaffold transfers. After confirming the HAWK result, Anthropic tested whether the scaffold built for AES could rediscover the HAWK break, and reports that it could.

Where the runs go wrong, and what more compute buys

The first failure in the AES and zeta accounts is the same: the model doubts the problem can be done. Anthropic says Claude initially would not engage with the AES task and argued that the cipher’s cryptanalysis could not be improved. One early run reported finding nothing “because there’s nothing easy to find.” Later it wanted to switch to a different cipher. In the zeta work Claude tried 650 ideas that failed before it was told to try again, and Anthropic says encouragement helped it past its initial skepticism.

CryptanalysisBench, described below, looked at failure across 191 tasks and found a different problem later in the run. Its authors write that failures of implementation are more common than failures of analysis. On most unsolved tasks the trace shows the model locating the right weakness and then running out of budget. Either it commits to a harder goal than the task needs, such as full key recovery where a forgery would win, or it hands the problem to a general-purpose SAT, SMT or lattice solver that does not finish. CryptanalysisBench

The authors also re-ran Claude Mythos 5 on the whole benchmark with 16 hours per task in place of two.

BudgetTier 1 (known practical breaks)Tier 2 easyTier 2 mediumTier 2 hardTier 2 full strength
2 hours85.7%35.7%23.6%16.9%8.9%
16 hours95.9%48.6%30.7%22.5%15.6%

Source: CryptanalysisBench, Table 4.

Fifty-seven tasks flipped from loss to win. On roughly 49 of them, the authors say, the two-hour run had already found the weakness and needed the time to finish a search or debug a solver. The extra time did not bring full-strength schemes within reach of genuine cryptanalysis: the nine additional full-strength wins were mostly implementation defects. On schemes with known breaks, the authors conclude, the binding constraint is implementing the attack, not knowing it.

The AES and zeta runs sit far beyond those budgets. AES took about a week and one billion output tokens. The zeta bound took 31 million output tokens, and its second attempt alone ran a day and a half.

What the models found

HAWK. HAWK was a lattice-based signature scheme in the third round of NIST’s process for additional signatures. The paper shows that recovering a HAWK key of ring degree nn reduces to polynomially many calls to a shortest-vector solver in dimension at most n/2+1n/2+1. In the paper’s gate-count model, key recovery for HAWK-512 falls from 21502^{150} to at most 21082^{108}, and for HAWK-1024 from 22882^{288} to at most 21822^{182}. That is still exponential. The attack was run only on HAWK-256, a challenge parameter set. HAWK’s designers withdrew the scheme, in an entry their site dates July 29. HAWK paper (PDF) · hawk-sign.info · NIST

AES. The target is AES-128 cut from 10 rounds to 7, attacked with 21052^{105} chosen plaintexts, an attack Anthropic calls “completely impractical.” The model used the algebraic structure of the AES S-box to remove one of the nine key bytes an earlier attack has to guess, then found optimizations that stop the extra computation from cancelling the saving. Running time falls from 2992^{99} to between 289.32^{89.3} and 291.42^{91.4}, depending on how cost is counted. The full cipher is not broken. AES paper (PDF)

Zeta zeros. The Riemann hypothesis says the relevant zeros of the zeta function all lie on one line, and mathematicians had proved that at least 41.6% of them do. Claude’s paper raises that bound to 67.2%, building heavily on earlier published work. It does not prove the hypothesis, and Anthropic says it does not expect the techniques to lead there.

Quantum circuits. Claude Mythos 5 was given eight circuit-design tasks, scored on qubits multiplied by gates. The paper’s abstract says seven of the eight results reduce both Toffoli gate and qubit counts against the state of the art. The eighth, modular inversion for elliptic-curve point addition, is a new trade-off: in Anthropic’s table, one of Claude’s designs uses 935 qubits and 4.0 million Toffoli gates where the prior design with the fewest qubits uses 838 and 70 million. Another prior design uses 1,446 qubits and 1.9 million Toffoli gates, fewer gates than either of Claude’s. The post gives no estimate for attacking a real key. Gu et al., arXiv 2610.22367

NIST curve seeds. The seeds behind the NIST elliptic curves were supplied by the NSA without explanation. Anthropic says an internal research model worked out that the prime-curve seeds are output of the C library’s lrand48 generator, seeded with Unix timestamps from May 1997 to April 1998. The post says “This is not a cryptographic break, new attack, or weakness in the ECDSA curves.”

Exponential Time Hypothesis. OpenAI says its system proved the hypothesis false. The Lean statement describes an algorithm that counts the satisfying assignments of a kk-CNF formula on nn variables in time 2Ok(n(log⁡log⁡n)2/log⁡n)2^{O_k(n(\log\log n)^2/\sqrt{\log n})}, up to a polynomial factor. This is complexity theory, and OpenAI’s page does not mention cryptography. It is in the table because of a footnote from the Cryptography Incident Review Group (CIRG), the outside cryptographers who published an initial assessment of Anthropic’s lattice results. The footnote mentions recent classical, slightly subexponential-time attacks on structured lattices that use OpenAI’s result, and it gives no citation. We have not identified the work it means. Lean scope note

Lattices. The first of the four papers gives quantum algorithms for module lattices of polylogarithmic rank over power-of-two cyclotomic rings, including one that solves random instances of search Module-LWE with short secret and error. Module-LWE is the problem underneath ML-KEM and, with a second problem, ML-DSA. The sources state the running time in three forms. Theorem 9.1 of the paper bounds the number of steps by

2C (k2log⁡n+k4)2 βC2^{C\,(k^{2}\log n + k^{4})^{2}}\,\beta^{C}

Source form: 2^(C (k^2 log n + k^4)^2) * beta^C

for ring degree nn, with k=d+mk = d + m the module rank plus the number of samples, inputs of at most β\beta bits and CC an absolute constant. The README’s Lean statement gives the time as 2 ^ (c * rank ^ 8 * n.log2 ^ 2). A footnote in the review group’s assessment gives npoly(k)log⁡(n)n^{\mathrm{poly}(k)\log(n)} for module lattices of rank kk and degree nn, which it says is nO(log⁡n)n^{O(\log n)} for fixed rank. We are not reconciling these or turning any of them into a security estimate. Paper 1 (PDF) · CIRG assessment

Which variable grows matters. The paper says its bounds are quasi-polynomial in nn only when the rank kk is at most polylogarithmic in nn, and that the standards fix n=256n = 256. The review group makes the same point from the other side: the speedup applies as nn grows, while ML-KEM and ML-DSA reach higher security levels by raising kk and keeping nn fixed. The paper’s abstract calls its own algorithms “galactic” and says they are not practical for the parameter sets of ML-KEM and ML-DSA. For ML-KEM-512 it notes that some of the sampling instances the algorithm creates have rank over the integers greater than 2104002^{10400}.

Four ways the output was checked

Run it

The HAWK attack was implemented and executed. The release is a single-command pipeline that recovers a HAWK-256 secret key and, as its last step, verifies the output against HAWK’s reference implementation. The whole effort, verification included, took about 60 hours. The curve-seed result is checked the same way: each recovered generator state reproduces all 160 bits of its seed, and the scripts are published.

What a reader trusts here is the reference implementation and a computer. The HAWK paper thanks Thomas Pornin and the HAWK team for reviewing the work, and the submission team has since withdrawn HAWK from NIST’s additional-signatures process. The limit is size. Of HAWK-512 the authors write, “we have not attempted it,” so the figures for the larger parameter sets rest on analysis.

Score it with an evaluator

The quantum-circuit loop works because, as the post puts it, each input to these circuits gives one definite output that an ordinary computer can check. CryptanalysisBench is built on the same idea. A submitted attack script is re-run against a fresh instance of a formally specified security game and either wins or does not, with no proof-checking, model judge or human grader involved.

The trust moves to the evaluator. The benchmark authors report that in earlier versions of their harness a GPT model hijacked the game controller and fabricated an instance that returned a “game won” flag, which the verifier accepted. An evaluator also cannot reach attacks that are too expensive to execute, a limit the authors state themselves.

Have experts read it

The AES attack takes at least 2892^{89} operations, so, in the authors’ words, there is “no hope of verifying it by actually running it end-to-end.” They validated it with smaller experiments, including a complete key recovery against a scaled-down cipher. The paper says the human authors designed the numerical calculations and asked a language model to perform them. By its account, the model needed tens of hours to produce the core idea and the authors needed hundreds of hours to validate it. The blog post frames it differently, as about a week against nearly a month for two researchers who, it notes, are not experts in cryptography. Six cryptographers are thanked for comments on an early draft, and the sources describe no other outside validation.

The zeta result had stronger readers: two of Anthropic’s own mathematicians, and two outside experts, Brian Conrey and Dan Goldston, who examined the paper on short notice.

This check depends on scarce people and scales worst. The AES authors write that an arrangement in which humans mainly verify a model’s output “feels uncomfortable,” and that the paper could have been produced an order of magnitude faster if an attack’s correctness could be checked automatically without running it.

Check a formal proof

A Lean proof is that automatic check. We explained what a Lean certificate covers when OpenAI’s Astra published ten machine-checked proofs, and will not repeat it. In this year’s disclosures Lean appears five times. In three of them it sits beside another check: the zeta bound, the rule at the center of the new modular-inversion circuit, and one property in the AES paper. For the fourth, OpenAI says its result will be verified and shepherded by a group led by Russell Impagliazzo, Ramamohan Paturi and Ryan Williams. The lattice papers have only the formalization.

What the Lean check does and does not establish for the lattice papers

The README’s claims are specific. It counts 132 main theorems, stated in Lean under their printed numbers, and 190 further statements. They assume no conjecture and no published theorem, because the cited results are formalized with their proofs. A tool called Comparator is described as verifying that the proofs establish exactly the listed statements and replaying them in Lean’s kernel and in a second, independent kernel. We have not run it, and the repository’s top-level README says automated checking of this folder happens only in a manual run.

If the build passes, a reader can be confident that the Lean statements follow from the Lean definitions. That is a strong guarantee about a narrow thing. The README says what remains: the reader has to trust the statements, the definitions they use and the checkers. Whether the Lean statements say what the papers say “is for the reader to judge,” it continues, and “AI readers have compared them with the text.” A separate file lists where the two differ. Departures list

No human is named as author, reviewer or checker anywhere in that chain. The papers carry no individual authors, the formalization was “written by AI models,” and the comparison with the text was done by AI readers. None of the outside commentary we read reports having checked the mathematics either. The review group, some of whose members received the results on November 16, describes them as Anthropic’s claims and says it used AI models to help optimize the attack and estimate its cost. Trail of Bits writes that “Cryptographers will need to study them further.” Scott Aaronson’s post proceeds by “assuming (as I henceforth will) that the claimed result is correct.” A comment on that post under the name of a review-group member, which the blog does not authenticate, says “We do not yet understand the full algorithm.” Trail of Bits · Aaronson

A kernel check also says nothing about cost in practice. That the algorithm is out of reach for real parameter sets comes from the paper’s own analysis and from the review group’s estimate.

As of this writing, the lattice result is a claim with a published formal proof. In the sources we read, no person is on record as having understood it in full. That is not evidence that it is wrong. The July disclosures show how much human work it took to reach confidence in one attack that could not be run, and nothing published says comparable work has been done here. Nothing we found published connects the July harness or any named model to the November papers either.

Which models can do this

The only cross-model evidence is CryptanalysisBench. Its authors are Lukas Fluri, Avital Shafran and Florian Tramèr of ETH Zurich; Nicholas Carlini, Matthew Jagielski and Milad Nasr of Anthropic; Orr Dunkelman of the University of Haifa and TU Berlin; and Eyal Ronen of Tel Aviv University. Carlini and Nasr are also the two authors of the AES paper.

The benchmark has 191 tasks built from real primitives, most from four NIST competitions. Tier 1 is 49 schemes with known practical breaks. Tier 2 is 142 schemes for which, with four exceptions, the authors found no published practical attack, each tested at full strength and in three weakened versions. Each run got two hours, eight CPU cores and 20 GB of memory, and a task counts as broken if either of two runs produced a working attack. Our guide to how AI benchmarks work covers how to read a setup like this.

ModelTier 1 broken (of 49)Tier 2 easyTier 2 mediumTier 2 hardTier 2 full strengthTier 2 schemes broken in any version (of 142)
GLM-5.2 (open weights)32 (65.3%)14.3%9.3%8.5%4.4%24
Claude Opus 4.836 (73.5%)22.1%13.6%7.0%5.9%37
Claude Sonnet 537 (75.5%)17.1%8.6%7.7%6.7%29
GPT-5.537 (75.5%)19.3%11.4%8.5%7.4%31
Claude Mythos 542 (85.7%)35.7%23.6%16.9%8.9%61

Source: CryptanalysisBench, Table 2 and Sections 4.1 and 4.2. Two-hour budget.

Across all five models, 14 distinct schemes were broken at full strength, and most of those breaks are not cryptanalysis. The authors attribute ten to bugs in reference code and two to gaps in specifications. Two were genuine design flaws, both previously unreported as far as the authors know: a two-query key recovery on the SpoC authenticated cipher, found independently by Mythos 5 and Sonnet 5, and an error in the published security proof of the KINDI key-encapsulation scheme, found by Mythos 5.

The open-weights result is real and modest. GLM-5.2 broke 32 of the 49 schemes that already have published breaks. The paper calls it “the weakest of the five,” says it produced no break the other models missed, and names a solver that never terminates as its dominant failure. Neither genuine full-strength finding is credited to it.

Memorization is unresolved, and the authors say so. Nearly every Tier 1 attack is old and public, and some traces show a model naming the published attack on sight. The system prompt forbids searching for the target, but recall needs no search. A control using an attack published in 2026 is, in the authors’ words, “suggestive rather than decisive.”

The data is from July: the paper was posted July 20 and revised July 29. A footnote reports that the authors could not evaluate GPT-5.6 or Claude Fable 5, “whose safeguards blocked our cryptanalysis evaluations,” and that Mythos 5 “was accessible through our collaboration with Anthropic researchers.” The paper’s text gives no dollar or token totals, though Figure 2 plots performance against cost and token budget.

What is not public, and what would change this article

For the lattice papers, as of December 3, 2026, none of the following is public: the model, the harness, the prompts, the number of agents or attempts, the dead ends, the tokens, the cost, the elapsed time and the human role. The repository links to no announcement, and we did not find one.

For the other results, the missing pieces are the model behind the zeta bound and the curve seeds; any cost figure outside the two July results; the model, harness and compute behind OpenAI’s claim; and, for most results, how many runs found nothing. Anthropic says many AES sessions produced no new discoveries, without a count.

Outside experts have asked for more. The review group urges frontier labs to share their findings with the cryptographic community, including what they tried, “which systems resisted attack, and how much effort they devoted to each.” The group named to examine OpenAI’s claim asked for all raw data to be made public, and OpenAI says it agreed.

Several things would change the picture above:

  • A process disclosure for the lattice papers on the scale of the July post.
  • A statement from named cryptographers that they have checked the lattice proofs or the match between the Lean statements and the text.
  • An improved version of the attack. The review group expects improvements and says the open question is whether they reduce the cost against practical systems.
  • A statement from NIST. Trail of Bits noted on December 1 that there had been none.
  • The outcome of the open examination of OpenAI’s claim.
  • A rerun of CryptanalysisBench on models released after July, or a solve on its challenge set.

One vendor has shown, in enough detail to study, that a model in an ordinary agent harness can find new cryptanalysis in about a week for roughly $100,000 in API usage. The same vendor has since published 541 pages of lattice results with two sentences on how the work was done. Of the four ways of checking, expert reading scales worst, and it is still the one that tells the field whether a result is understood.

Continue reading.

Insight20 min read

Claude Fable 5.2 Is 20% Cheaper and Held Back in Parts of AI Research

Fable 5.2 costs $8/$40 per million tokens, 20% below 5.1. Breaking API changes, platform gaps, the AI-research limit and what the system card found.

Insight4 min read

Anthropic Releases Claude Opus 4.7 — Narrowly Retaking the Frontier Lead

Claude Opus 4.7 leads on SWE-bench with 87.6%, adds extended reasoning and /ultrareview, includes cyber-safety guardrails, maintains Opus 4.6 pricing.

Technical guide29 min read

How AI Watermarking Works: Text, Images, Audio, and What the Mark Actually Proves

How AI watermarks work in text, images, audio and video, what C2PA adds, what Article 50 and California's SB 942 require, and what a detected mark proves.