Vibeleaderboard
← All Intel
Intel / article

Finding Logic Bugs

Source
anthropic.com
Publisher
Anthropic
Author
Anthropic research
Date
Why it matters

Logic bugs evade sanitizers and fuzzers. The result suggests plain agentic code review is a strong baseline for finding them, so you can try it before building specialized tooling.

Key takeaways · AI-distilled
  • On Anthropic's of 21 since-patched logic bugs in SQLite, zstd, brotli and image-png, Claude running in Claude Code rediscovered 11 with no hints, while -written fuzzing oracles and LLM-driven symbolic execution rediscovered none.
  • Given the violated invariant, agents found 20-21 of the 21 bugs, so the authors place the hard part in forming the hypothesis from source alone; blind rediscovery rose from 1 bug for Claude Sonnet 4.5 to 11-15 for Claude Mythos models.
  • When fuzzing or symbolic execution did succeed in the informed setting, the wins came from the LLM spotting the bug during source review and steering the tool to it, not from a better fuzzing or solver .
  • The simple methods found 0-days, including a time-of-check-to-time-of-use flaw in Caliptra's firmware update flow (CVE-2026-11835), a macOS DesktopServicesHelper -ownership bug (CVE-2026-43783) and over a hundred eBPF verifier soundness bugs.
  • In the informal correctness proof method, an agent writes a natural-language proof and turns each claim it cannot discharge from the code into a test input; asked to prove safe Rust type-safe, it surfaced several dozen type-safety issues in the compiler.
Terms in this piece · Glossary
  • Large language model — A model trained on large amounts of data to process and generate language.
  • Benchmark — A fixed set of tasks with a stated way of scoring them, used to compare models or setups.
  • Setup — The combination of a model, a harness, its connections and the path the task's data takes, considered together for a task.
  • File — A named unit of stored data that keeps its contents while no program is using it.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

Read the source www.anthropic.com
More from Anthropic research
Recommended reads