Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Google Project Zero 9 min read Opinion easyNovice

How to fix a bug in a fix

Emergency vulnerability patching is usually bottlenecked by testing and delivery rather than triage or fix development, so vendors should build rapid-remediation mechanisms before they need them. Four approaches are compared: feature flags (pre-testable, tiny payloads, e.g. disabling Group FaceTime or Meta's dual-stack WebRTC), filtering of untrusted input (Android Intent Firewall, Defender, Play Protect), alternate update channels (APEX, dlopen-loaded libraries), and hotpatching (Linux Livepatch, Windows hotpatch). Each trades flexibility against up-front testing, performance cost and new attack surface such as unverified library downloads or W+X pages.

Assumes: software update pipelinesfeature flags

Related posts

  • Behind the Scenes Hardening Firefox with Claude Mythos Preview

    Mozilla Hacks mediumAdept

    Mozilla 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.

  • 1Password's AI patching benchmark is misleading

    Trail of Bits mediumAdept

    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.

  • GPT-5.5-Cyber built a zlib fuzzing lab in a day

    Trail of Bits mediumAdept

    GPT-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.

  • A thousand fewer paths to root

    OpenAI mediumAdept

    An autonomous five-stage pipeline (scouting, static analysis, KASAN-based dynamic validation, exploit development, patch generation, then human review) scanned the Linux kernel and produced 948 distinct working local privilege escalation exploits plus 291 info-leak PoCs from 2,308 candidate findings, at about $1.2M in API cost (~$1,279 per LPE). Scout agents narrowed the audit to 7% of the kernel, triage agents reproduced 74.7% of candidates with only 3.1% reflecting incorrect analysis, and exploits were developed against SMEP, SMAP, KASLR and HARDENED_USERCOPY. Because validation costs similar amounts for true and false positives, filtering false positives early is the main cost lever. The practical takeaway is to treat unpatched low-privilege access as effectively root, invest in sandboxing such as Firecracker and gVisor, and plan for automated patch generation and repeated scans with each model generation.

  • Introducing AutoPatchBench: A Benchmark for AI-Powered Security Fixes

    Meta Engineering hardMaster

    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.

The quest for software engineering knowledge.

Look:
Layout: