1Password's AI patching benchmark is misleading
Trail 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.
Related posts
- Introducing AutoPatchBench: A Benchmark for AI-Powered Security Fixes
Meta Engineering hardMasterAutoPatchBench 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.
- 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.
- Fixing security vulnerabilities with AI
GitHub Engineering mediumAdeptCopilot Autofix turns CodeQL security alerts into LLM-suggested fixes by building a prompt from the query help, the alert message, and code snippets along the data-flow path. The model returns a natural-language explanation, before/after code blocks (chosen over raw diffs because models miscompute line numbers), and a list of needed dependencies. Post-processing then applies fuzzy matching, syntax and semantic checks, and package-registry vetting. An automated harness over 1,400+ JavaScript/TypeScript alerts with test coverage counts a fix as successful only if it clears the alert, adds no new alerts or syntax errors, and leaves test outcomes unchanged; iterating against it tripled the success rate while cutting LLM compute sixfold.
- 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.
- 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.