Skip to content

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

Trail of Bits 5 min read Case study mediumAdept

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

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.

Assumes: fuzzing basicssanitizers (ASan/UBSan)C build configuration

Related posts

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

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

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

  • Coding Agent Horror Stories: The CVE That Did Not Exist

    Docker mediumAdept

    A self-hosted, read-only AI code review bot running on Ollama answered a routine PostgreSQL 16.11→16.13 patch bump with a 1,500-word report alleging an "architectural takeover". The report cited a nonexistent CVE, named Kubernetes resources that did not exist and urged revoking all IAM access. Read-only permissions stopped the agent from acting, but its output could still push a human with real access into causing an outage, so agent output should be treated as untrusted input. The walkthrough moves the reviewer into a Docker Sandbox microVM with the repo mounted read-only, no credentials, and deny-all networking except the model port. It also adds a CI step that checks every cited CVE ID against the NVD API and flags the review when any ID is fake.

  • Auditing in the age of (good enough) AI

    Trail of Bits hardMaster

    Before auditing the Miden zero-knowledge VM, Trail of Bits spent six months using Claude and Codex agents to build tooling for its custom stack-based assembly language (MASM): an LSP server, a decompiler with a reusable IR, an abstract-interpretation static analysis engine, and a Lean model of the VM executor. The analyses flagged 400+ locations with missing type validation and a high-severity bug where an unvalidated prover-supplied remainder in mod_12289 would let a malicious prover forge Falcon signatures and drain accounts. Agents also produced 95 machine-checked Lean correctness proofs covering the core library's binary arithmetic, uncovering edge-case bugs in rotr and wrapping_mul. The broader point is that capable agents make exploratory, hard-to-justify tooling projects cheap enough to pursue routinely.

The quest for software engineering knowledge.

Look:
Layout: