Finding logic bugs without general-purpose bug oracles anthropic.com · 12 points...
HN Best 200 @best
Finding logic bugs without general-purpose bug oracles anthropic.com · 12 points · 2 comments · HN thread
TL;DR Anthropic reports on testing several LLM-based methods for finding logic bugs, which lack the crash or memory-error signals that sanitizers and fuzzers rely on. On a benchmark of 21 historical bugs from SQLite, zstd, brotli and image-png, plain agentic code review (Claude Code) and informal correctness proofs performed best, and the post describes several 0-day logic bugs found in Caliptra, macOS, the Rust compiler and the eBPF verifier.
- Benchmark of 21 historical logic bugs (SQLite 9, zstd 3, brotli 1, image-png 8); models saw only unpatched source and were graded by whether an input changed output versus the patched commit.
- Agentic code review rediscovered 11 of 21 bugs in the blind setting with no hints; LLM-driven fuzzing and symbolic execution found none without invariant hints, and the informed variants mostly succeeded only because the LLM found the bug itself.
- Blind-setting results improved with newer models: Claude Sonnet 4.5 found 1 bug and Opus 4.5 found 5, versus 9 to 13 for newer Opus and 11 to 15 for Claude Mythos models.
- Reported 0-days include a time-of-check-to-time-of-use bug in Caliptra's firmware update flow (CVE-2026-11835), a macOS DesktopServicesHelper privilege escalation (CVE-2026-43783), a Rust compiler borrow/move soundness bug, and an eBPF verifier 32-bit null-check bug (CVE-2026-98041).
- Across all experiments 316 unique extra bugs were found on outdated targets; 189 were already fixed or known, and the remaining 127 were being reported to maintainers.
- Authors conclude defenders should first apply simple agentic code review to their own code before building specialized tooling, and note memorization of public bugs was tested and controlled for.
Discussion The thread is very small, with only two comments, and both are short jokes rather than substantive engagement. One riknos314 compares the article's claim that simpler techniques work best to a butter vendor saying its recipes taste better, implying the result is self-serving. mococa jokingly reads the Rust finding as Anthropic proving Rust is not memory safe. The mood is skeptical and lighthearted, with no technical discussion of the benchmark or methods.
- Vendor's own evaluation of its product is self-serving (a few): One commenter treats the claim that simple agentic review beats fuzzing and symbolic execution as marketing, comparing it to a butter seller praising its own butter. No methodological critique is offered.
- Rust logic bug undermines its memory safety claim (a few): One commenter jokingly suggests the reported Rust compiler soundness bug shows Rust is not memory safe. The post itself says the bug is a logic error in the compiler's guarantees, not a memory-safety vulnerability in typical use.
#LLMs #logicBugs #vulnerabilityResearch #Anthropic #Rust #eBPF