{"slug": "anthropic-plain-agentic-code-review-found-11-of-21-logic-bugs-blind-fuzzing-and", "title": "Anthropic: Plain Agentic Code Review Found 11 of 21 Logic Bugs Blind; Fuzzing and Symbolic Execution Found None", "summary": "Anthropic research published December 2, 2026 found that a plain Claude Code-style agentic code review rediscovered 11 of 21 historical logic bugs with no hints, while LLM-guided fuzzing and LLM-driven symbolic execution each found 0 of 21 in the same blind setting. The post by Marius Fleischer, Alex Matrosov, Nicholas Carlini and Milad Nasr tested four methods against 21 since-patched bugs in SQLite (9), zstd (3), brotli (1) and image-png (8) disclosed between 2016 and 2026, and also reported four new bugs in Caliptra, macOS, the Rust compiler and the Linux eBPF verifier. When an invariant was supplied, informal correctness proofs found 21 of 21 and agentic review 20 of 21, leading Anthropic to advise teams to try agentic code review and informal proofs before specialized tooling.", "body_md": "Anthropic says the best way to find logic bugs with an LLM is also the simplest one: give a coding agent the source code and let it review. In research published on December 2, 2026, [Claude Code-style agentic review rediscovered 11 of 21 historical logic bugs with no hints](https://www.anthropic.com/research/finding-logic-bugs?ref=explainx). LLM-guided fuzzing and LLM-driven symbolic execution rediscovered none in the same blind setting.\n\nThe post, by Marius Fleischer, Alex Matrosov, Nicholas Carlini and Milad Nasr, also reports four new bugs in Caliptra, macOS, the Rust compiler and the Linux eBPF verifier. This article explains the method, the numbers, the caveats, and what a team can try this week.\n\n## TL;DR: what the research says\n\n| Question | Answer from Anthropic's post | \n|---|---|\n| What is the problem? | Logic bugs break implicit rules and rarely crash, so general bug oracles like sanitizers miss them | \n| What was tested? | LLM oracles for fuzzing, LLM-driven symbolic execution, agentic code review, informal correctness proofs | \n| Benchmark | 21 since-patched bugs: SQLite (9), zstd (3), brotli (1), image-png (8), disclosed 2016 to 2026 | \n| Blind result, Claude Mythos 5 | Agentic review 11, informal proofs 8, symbolic execution 0, fuzzing 0 | \n| Informed result (invariant supplied) | Informal proofs 21, agentic review 20, symbolic execution 13, fuzzing 1 | \n| Advice | Try agentic code review and informal proofs before specialized tooling | \n\n## What is a logic bug, and why do tools miss it?\n\nAnthropic defines a logic bug as software that \"behaves in conflict with the implicit rules that govern how it should work\", meaning its invariants. A sanitizer can flag an invalid memory access in any program, because that is a bug everywhere. A logic bug depends on what this specific program was meant to do, and that intent is usually written nowhere.\n\nThat is why discovery has leaned on human code review, which does not scale to big codebases. The post's argument is that LLMs fill this gap because they can infer intent from code, state a hypothesis about an invariant, and then test it with an input.\n\nThis builds on earlier Anthropic work on memory-safety bugs. Our coverage of the [Claude Mythos Preview cybersecurity results](https://explainx.ai/blog/claude-mythos-preview-cybersecurity-glasswing) shows the same pattern: point an agent at code, give it tools, grade what it submits.\n\n## How the four methods worked\n\nEach method was run three times per bug. The model could submit up to 1,000 inputs per run and got no feedback on whether an input triggered the target bug. Grading compared the behavior of the unpatched and patched commits: a different return value or output counted as a hit.\n\n| Method | What the LLM does | Result in blind setting | \n|---|---|---|\n| LLM oracles for fuzzing | Writes assert statements as invariants; a fuzzer runs eight hours, with triggered asserts removed hourly | 0 of 21 | \n| LLM-driven symbolic execution | Writes the harness and asserts; an SMT solver tries to break them | 0 of 21 | \n| Agentic code review | Reads source, runs inputs against the compiled code, submits proof-of-concept inputs | 11 of 21 | \n| Informal correctness proofs | Writes a natural-language proof of properties; each unproven claim becomes a test input | 8 of 21 | \n\nThe informal proof method is worth a second look. The proof is not formally checked and does not need to be right. It is a device that forces the agent to list assumptions, and each assumption it cannot discharge from the code becomes a concrete test.\n\n## Why did simple beat complex?\n\n*Image: [Anthropic](https://www.anthropic.com/research/finding-logic-bugs?ref=explainx)*\n\nAnthropic's reading is that the fancy pipelines forced the model through a fixed channel. In the informed setting, symbolic execution found 13 bugs, but the authors say the LLM found them while reading source to write the harness and then submitted inputs directly. The solver confirmed two and added nothing beyond the review. A fuzzing variant with control over seeds and harnesses reached 15 of 21, and again every one was the LLM spotting the bug and forcing the fuzzer toward it.\n\nThe authors also name limits of the tools themselves. Fuzzers only exercise functionality reachable through the harness and see behavior at the granularity of their instrumentation. Symbolic execution is limited by its engine's fixed strategies and the solver's heuristics. An agent can form hypotheses and pick its own tools, \"as a human researcher would\".\n\nFor a practitioner the lesson is cheap to act on: before wiring a new analysis stack, run the agent the way you already run it. Our look at [how Claude Opus 5.5 found 418 bugs in CPython with Lean](https://explainx.ai/blog/opus-5-5-cpython-lean-formalization-418-bugs-2026) points the same way, and so does the [Project Zero fuzzer-versus-agent comparison](https://explainx.ai/blog/project-zero-fuzzilli-vs-bigsleep-v8-bugs-llm-agent-vs-fuzzer-tie-2026), where an LLM agent and a classic fuzzer tied.\n\n## Blind versus informed: where the hard part sits\n\nTwo settings matter. In the blind setting the model sees only the unpatched source. In the informed setting it also gets the invariant the bug violates, which mimics a human researcher steering the agent.\n\nWhen the invariant was supplied, agentic review found 20 of 21 and informal proofs found all 21. So testing a hypothesis is not the hard step. Forming the right hypothesis from source alone is. In the blind setting the best method reached 11 of 21.\n\nThis is the number to quote carefully. The headline \"11 of 21\" is a blind rediscovery of historical bugs, with Claude Mythos 5, on four open-source projects, graded by behavioral difference. It is not a claim that an agent will find 52 percent of the logic bugs in your product.\n\n## Which models improved, and how fast?\n\n*Image: [Anthropic](https://www.anthropic.com/research/finding-logic-bugs?ref=explainx)*\n\nAnthropic ran agentic code review in the blind setting across models from Sonnet 4.5 to Claude Mythos 5.2. The benchmark counts, out of 21 bugs: Sonnet 4.5 found 1, Opus 4.5 found 5, newer Opus models 9 to 13, and Claude Mythos models 11 to 15. Our write-up of the [Fable 5.2 and Mythos 5.2 launch](https://explainx.ai/blog/claude-fable-5-2-mythos-5-2-launch-pricing-api-2026) covers the model lineup.\n\nOutside the benchmark, the gap is bigger. Mythos models found 54 to 241 verified bugs in total, against 17 to 18 for the Claude 4.5 generation. Claude Mythos Preview found 95 logic bugs out of 118, and Claude Mythos 5.2 found 216 logic bugs out of 241. All generations found a similar number of specification conformance bugs, so the growth is in logic bugs.\n\nAcross all techniques and models, the experiments surfaced 316 unique bugs on outdated versions of the targets. Replaying them on current versions showed 189 already fixed or known. Anthropic says it is reporting the remaining 127 to the maintainers.\n\n## Is it memorization? Anthropic's own check\n\nBecause the bugs are historical, a model might remember them rather than find them. Anthropic asked each model about each of the 21 bugs in plain conversation, without source code. The Claude 4.5 models remembered none. Sonnet 5 remembered three, about as often as it claimed to remember bugs the team made up. Claude Opus 5 and later remembered 8 to 10 of the 10 bugs public between 2016 and 2024, and at most one of the 11 later bugs.\n\nMemory also did not decide the outcome: Opus 4.5 rediscovered 4 of the 10 older bugs without remembering any. On the nine bugs no model remembers, the Claude 4.5 models and Sonnet 5 rediscovered zero to one, while Opus 5 and later rediscovered two to five. The trend holds, though the absolute numbers on that subset are small.\n\n## Four zero-day examples\n\nAnthropic describes four findings that were not public when found.\n\n- **Caliptra (open-source silicon root of trust).** Agentic review found a time-of-check-to-time-of-use bug in the ROM firmware update flow. The ROM verifies an image from a staging area, then reads the same area again to load it, so a compromised component on the chip could swap the contents in between. Maintainers assigned CVE-2026-11835 and patched it. The codebase is written in Rust and had been audited by product security teams and outside auditors.\n- **macOS DesktopServicesHelper.** Claude independently found CVE-2026-43783, now patched. The root helper accepted a request from any sandboxed caller, and any process can sandbox itself with one unprivileged call. The handler then changed file ownership to the caller without checking the path, which could be used to take ownership of a file such as the su PAM configuration and spawn a root shell. The post notes Apple's pointer authentication and Memory Integrity Enforcement stop memory corruption but not this class.\n- **Rust compiler.** Using informal proofs on the claim that safe Rust is type-safe, Claude found several dozen type-safety issues. The post shows one where the compiler accepts a program that uses freed memory, because it misses the link between an ownership move inside an index expression and the borrow of the same array. Maintainers are working on a patch. The authors call these bugs, not security vulnerabilities.\n- **Linux eBPF verifier.** Informal proofs surfaced over a hundred soundness bugs, all reported. One, CVE-2026-98041, comes from a 2020 rule that treated a 32-bit comparison of a map pointer like a 64-bit null check, so the verifier skipped a path that can run. It allows local privilege escalation.\n\n## What to do with this: a practical starting plan\n\nThe post's recommendation is direct: start with the simple methods on your own code. A reasonable first pass for a team:\n\n1. Choose a component with strong implicit rules and weak automated checks: authorization, parsers, state machines, update flows.\n2. Give a coding agent the source and a way to build and run it. Ask it to state the invariants it infers, then to produce inputs that violate them.\n3. Ask for a proof-style document too. Turn each assumption it cannot support into a test.\n4. Require a runnable input for every claim. The study graded on a triggering input, not on the agent's confidence.\n5. Triage with a human who knows the intended behavior. The authors say even recent models are limited by their ability to generate useful invariants and benefit from human help.\n\nTeams already using review agents will recognize this. Our post on [Claude BugHunter red-team skills](https://explainx.ai/blog/claude-bughunter-red-team-skills-bug-bounty-github-install-2026) shows one way to package such prompts. If you want hands-on practice, see the [live workshops on explainx.ai](https://explainx.ai/workshops).\n\n## What the research does not show\n\n- It is four open-source targets plus four featured zero-days, not a sample of all software.\n- The benchmark is 21 bugs, so one bug moves a score by about five points.\n- Grading by a behavioral difference between patched and unpatched code assumes the input reasoned about the right invariant. The authors say the grader did not verify this directly, but that their experiments suggest it holds.\n- Fuzzing was not tested where it is strongest, on memory-safety bugs with sanitizers.\n- Findings are Anthropic's own and have not been independently replicated.\n\nTriage load is the other cost. When we covered [9,791 AI findings that became 99 verified reports](https://explainx.ai/blog/github-microsoft-mdash-9791-ai-findings-99-reports-november-2026), maintainers' time was the bottleneck. The [HAProxy maintainers' view on AI bug reports](https://explainx.ai/blog/haproxy-willy-tarreau-ai-bug-reports-maintainers-opus-glm-mythos-oss-scanner-cla-2026) makes the same point. Anthropic's 127 pending reports add to that queue.\n\nFor the defense-versus-offense angle, see the comparison of [GPT-6 Cyber and Claude Mythos 5 on Glasswing](https://explainx.ai/blog/gpt-6-cyber-vs-claude-mythos-5-glasswing-claude-security-comparison-2026). The same capability that helps defenders helps attackers, which is why patch speed matters.\n\n## Related reading\n\n- [Claude Mythos Preview and Project Glasswing](https://explainx.ai/blog/claude-mythos-preview-cybersecurity-glasswing)\n- [Claude Opus 5.5 and 418 CPython bugs with Lean](https://explainx.ai/blog/opus-5-5-cpython-lean-formalization-418-bugs-2026)\n- [Project Zero: LLM agent versus fuzzer on V8 bugs](https://explainx.ai/blog/project-zero-fuzzilli-vs-bigsleep-v8-bugs-llm-agent-vs-fuzzer-tie-2026)\n- [GPT-6 Cyber versus Claude Mythos 5](https://explainx.ai/blog/gpt-6-cyber-vs-claude-mythos-5-glasswing-claude-security-comparison-2026)\n- [GitHub and Microsoft: 9,791 AI findings, 99 verified reports](https://explainx.ai/blog/github-microsoft-mdash-9791-ai-findings-99-reports-november-2026)\n- [HAProxy maintainers on AI bug reports](https://explainx.ai/blog/haproxy-willy-tarreau-ai-bug-reports-maintainers-opus-glm-mythos-oss-scanner-cla-2026)\n- Anthropic's earlier red-team post: [Finding bugs with Claude and property-based testing](https://red.anthropic.com/2026/property-based-testing/?ref=explainx)\n\n*Figures and CVE details are as stated in Anthropic's December 2, 2026 post and may change as maintainers publish patches.*", "url": "https://wpnews.pro/news/anthropic-plain-agentic-code-review-found-11-of-21-logic-bugs-blind-fuzzing-and", "canonical_source": "https://explainx.ai/blog/anthropic-finding-logic-bugs-agentic-code-review-beats-fuzzing-symbolic-execution-december-2026?utm_source=rss&utm_medium=feed&utm_campaign=blog", "published_at": "2026-12-03 00:00:00+00:00", "updated_at": "2026-12-03 11:14:43.735732+00:00", "lang": "en", "topics": ["ai-agents", "ai-research", "ai-safety", "large-language-models", "ai-tools"], "entities": ["Anthropic", "Claude Code", "Marius Fleischer", "Alex Matrosov", "Nicholas Carlini", "Milad Nasr", "SQLite", "Rust"], "also_reported_by": [], "takeaway": "A plain agentic code review found 11 of 21 historical logic bugs blind versus 0 for LLM-guided fuzzing and LLM-driven symbolic execution, and informal correctness proofs reached 21 of 21 once an invariant was supplied.", "recommendation": {"advice": "Run agentic code review and informal correctness proofs before building fuzzing or symbolic-execution pipelines; in Anthropic's blind test they found 11 and 8 of 21 logic bugs versus 0 for both specialized methods.", "playbook": "evals-testing", "playbook_url": "https://wpnews.pro/playbooks/evals-testing"}, "alternates": {"html": "https://wpnews.pro/news/anthropic-plain-agentic-code-review-found-11-of-21-logic-bugs-blind-fuzzing-and", "markdown": "https://wpnews.pro/news/anthropic-plain-agentic-code-review-found-11-of-21-logic-bugs-blind-fuzzing-and.md", "text": "https://wpnews.pro/news/anthropic-plain-agentic-code-review-found-11-of-21-logic-bugs-blind-fuzzing-and.txt", "jsonld": "https://wpnews.pro/news/anthropic-plain-agentic-code-review-found-11-of-21-logic-bugs-blind-fuzzing-and.jsonld"}}