On 2 December 2026, Anthropic's Frontier Red Team published "Finding logic bugs without general-purpose bug oracles". Agentic code review, running Claude Code, rediscovered 11 of 21 historical logic bugs "without Claude being provided any hints or information."
I want to be careful with that number. The result is self-reported research from a vendor testing its own models, on one benchmark, with Claude Mythos 5. The useful part for me is the gap between the blind run and the run where the model was told the invariant.
What Anthropic actually measured
The benchmark has 21 historical, since-patched logic bugs: SQLite 9, zstd 3, brotli 1, and image-png 8, disclosed between 2016 and 2026. The model saw only the unpatched source and had to submit an input that triggers the bug. The patched commit stayed hidden.
Each technique ran three times per bug, with up to 1,000 inputs per run and no feedback during the run. The 11 of 21 figure is the total rediscovered across those three runs, not a single pass.
Anthropic ran two settings. In the blind setting, the model got no information about the bug. In the informed setting, the model also got the invariant the bug violates. Anthropic describes that as a researcher handing over invariants to test.
What the numbers say
Anthropic's Figure 1 gives these scores out of 21 bugs with Claude Mythos 5, and all of them are self-reported.
- LLM oracles for fuzzing found 0 bugs in the blind setting and 1 in the informed setting.
- LLM-driven symbolic execution found 0 blind and 13 informed.
- Agentic code review found 11 blind and 20 informed.
- Informal correctness proofs found 8 blind and 21 informed.
The line "fuzzing and symbolic execution found none" is only true in the blind setting, so I would not repeat it without that qualifier.
The informed symbolic execution score needs an asterisk. Anthropic says the LLM found those bugs while reading source to write harnesses, and the engine confirmed only two. A fuzzing variant with control over seeds and harnesses reached 15 of 21 informed, and Anthropic attributes all 15 to the LLM spotting the bug first.
I think informal correctness proofs deserve more attention. The agent writes a natural-language proof of what the code should guarantee, then turns each unproven claim into a concrete input. Blind, they trailed agentic review, 8 against 11. Informed, they found all 21.
The caveats Anthropic publishes itself
Anthropic's grader counts a bug as found when an input behaves differently on the unpatched and patched code, and it did not verify that the model reasoned about the right invariant.
Later Claude models remember 8 to 10 of the 10 bugs made public between 2016 and 2024, though remembering a bug was neither necessary nor sufficient to rediscover it.
Anthropic notes that even recent models are limited by how well they generate useful invariants and can benefit from human assistance.
Nobody should read 11 of 21 as a promise that a reviewer will catch 52 percent of the logic bugs in a production codebase. The bugs are historical, the codebases are four open-source libraries, and the vendor ran the test on its own models.
Write the invariant down
A logic bug is software behaving in conflict with the implicit rules that govern how it should work. Anthropic calls those rules invariants. Crashes and sanitizers rarely catch them, because usually nothing crashes.
The informed results point at where the work is. When the model was handed the invariant, agentic review went from 11 to 20 and informal proofs went from 8 to 21. Anthropic's own reading is that testing a hypothesis is not the hard part. Forming the hypothesis from source alone is.
For a team, the takeaway is practical. The rules a project expects to be true already live in people's heads, in repo conventions, and in old PR comments. Writing them down moves a review toward the informed setting, though Anthropic supplied the exact invariant for each bug, which a team list will not match.
6 invariants worth writing down
Anthropic's post does not publish a list of six. The six below are my own lessons from reading it, aimed at what a reviewer, human or agent, should be told. Treat them as examples to adapt, not as findings.
1. Who may call what
Permission and ownership rules are the classic implicit invariant. Say a function should only run for the resource owner. If the rule is not stated, a reviewer sees valid-looking code and moves on. Write it as one sentence a reviewer can check.
2. Ordering and state transitions
Many logic bugs are valid steps in the wrong order. Say an order cannot move from shipped back to pending. List the legal transitions for each stateful object, because a reviewer cannot infer a forbidden path from the allowed ones.
3. Units, bounds, and limits
A value can be the right type and still be wrong. Seconds versus milliseconds, inclusive versus exclusive ranges, and maximum sizes all fall here. State the unit and the bound next to the field so a reviewer has something to compare each change against.
4. Error handling contracts
Decide what a function does on failure and say it. Does it return an error, retry, or fail closed? A reviewer who does not know the contract cannot tell a deliberate shortcut from a bug. One line per module is enough.
5. Data that must never be logged or stored
Some fields should never leave memory, such as tokens, personal data, or raw payloads. A bug here compiles and passes every functional check. Name the fields and the places they must never appear, so a reviewer can flag a new log line quickly.
6. Behavior that must stay backward compatible
Public behavior is a promise to callers you may never meet. Say which outputs, formats, and defaults are frozen. A change that looks like a cleanup can break that promise, and only a reviewer who knows the promise exists will notice.
Putting the rules to work
Once Rule enforcement is on, Qodo, the AI Code Review Platform, reviews pull requests in connected repositories against your team's rules and the context of the codebase. Qodo also supports local review inside your coding agents before a branch opens a pull request.
Qodo flags; your team decides. Anthropic's results do not mention Qodo, and nothing here claims a score for any product. The point is narrower: a reviewer has more to check against when the invariant is stated, whether the reviewer is a person or an agent.
What I would do first
Anthropic's own advice is to start simple. Run agentic code review and informal correctness proofs on your codebase before reaching for specialized tooling. I would add one step: write down your top invariants before the first run, then compare what the review finds with and without them.
Qodo is the AI code review platform with high-precision PR review, full codebase context, enforceable rules, and local review inside your coding agents.



