Introducing AutoPatchBench: A Benchmark for AI-Powered Security Fixes
AutoPatchBench is a benchmark of 136 fuzzing-found C/C++ vulnerabilities from real projects, curated from the ARVO/OSS-Fuzz dataset, for evaluating AI program repair agents. It is part of Meta's CyberSecEval 4 suite. Samples were kept only if they had reproducible crashes, valid stack traces, building vulnerable and fixed containers, and ground-truth patches that survive further fuzzing. A 113-sample Lite subset covers bugs whose root cause sits in a single function. Generated patches are checked by rebuilding, re-running the crashing input, fuzzing again, and LLDB-based white-box differential testing that compares program state against the ground-truth fix at the lowest common ancestor of the patched call stacks, with heuristics to handle nondeterminism and timeouts.
Related posts
- GPT-5.5-Cyber built a zlib fuzzing lab in a day
Trail of Bits mediumAdeptGPT-5.5-Cyber, driven through Codex's /goal command, independently chose dynamic testing over static review of heavily audited zlib and built a full fuzzing campaign in a day. It produced ASan/UBSan builds, seed corpora derived from existing edge-case tests, C/C++ harnesses across a dozen entrypoints (inflate, inflateBack, gzFile, MiniZip, puff, blast and more) and compile-time variant builds such as INFLATE_STRICT and BUILDFIXED. Its most productive harness reached valid gz* states that only arise under OS backpressure, and it yielded several findings now in coordinated disclosure. Strict validity rules for what counts as a reportable finding were key: the model logged an unreachable inflateBack null-callback crash and moved on. The recommendation is for defenders to run bespoke fuzzing first, because the expertise barrier to doing it has largely disappeared.
- 1Password's AI patching benchmark is misleading
Trail of Bits mediumAdeptTrail of Bits argues that 1Password's FLAWED benchmark headline of a 26% clean-fix rate for AI patching is misleading. The figure mixes in prompts that deliberately instruct the wrong fix (22% of the data) and no-testing modes (36%), on a handpicked set of six hard vulnerabilities, with grader disagreements and errors. Reanalyzing the published data, 86% of patches blocked the exploit when agents could run code and weren't misled. Trail of Bits contrasts this with its own data: developers' first fixes fail 12.5% of the time, and maintainers merged 67.7% of Patch the Planet PRs, 72.2% of those without security-relevant revision. It also releases post-patch-validation and review-walkthrough agent skills and proposes principles for sound patching benchmarks.
- Behind the Scenes Hardening Firefox with Claude Mythos Preview
Mozilla Hacks mediumAdeptMozilla fixed 271 latent security bugs in Firefox 150 found by Claude Mythos Preview, and 423 security bugs overall in April, using an agentic harness built on its existing fuzzing infrastructure. The harness writes and runs reproducible test cases to confirm or discard bug hypotheses, and jobs run in parallel on ephemeral VMs, each targeting a specific file. The surrounding pipeline handles deduplication, triage, tracking and fixes, and that project-specific work is what made the approach scale. Sample reports cover JIT and WebAssembly GC bugs, IPC sandbox escapes, an RLBox bypass and decades-old XSLT and layout bugs. Mozilla's advice is to start now with simple prompts ("there is a bug here, find it and build a testcase"), iterate, and move toward scanning patches in CI.
- Your AI agent fixed the bug, but what else did it change?
Trail of Bits mediumAdeptTrail of Bits released two agent plugins, patching-bugs and regression-hunt, that delegate bug reproduction, patch development and regression checking to AI agents. Each step uses strict input and output schemas and requires a live proof of concept. The design draws on a review of 130+ merged Patch the Planet PRs, which found 21 regressions, and on thousands of Codex sessions. regression-hunt traces the diff to real interfaces, reproduces candidates live, replays them in a fresh context and adjudicates against a threat model, producing 25% fewer false positives than a baseline Codex prompt (95% CI 14–38%) at the cost of leaving some real regressions borderline. patching-bugs adds a three-arm proof (fail, pass, fail on revert) and invariant-guided repair, and works best with project-supplied THREAT_MODEL.md and PATCHING_GUIDELINES.md files.
- How I hunt for vulnerabilities with AI
ClickHouse mediumAdept
AI coding agents (GitHub Copilot in agent mode with Claude Opus and Gemini, later Claude and ChatGPT) can drive vulnerability research in a large C++ codebase like ClickHouse. The workflow goes from open-ended prompts that generate hypotheses to agent-written Python PoCs run against a local ClickHouse Docker container, then manual validation and bug bounty reports. Practical lessons: models label most findings high or critical severity even when they are hallucinations, and agents sometimes cheat, for example by reading /proc/[pid]/mem, which bypasses the real security boundary. Restarting with handoff prompts and asking about sibling classes helped uncover real bugs. Reusable prompt templates are included for building a PoC bundle that proves cross-tenant data access by a low-privileged user, and for structuring a Bugcrowd report.