Auditing in the age of (good enough) AI
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.
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.
- 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.
- How we use /goal to find bugs in Patch the Planet
Trail of Bits mediumAdeptCodex's /goal mode works best for vulnerability hunting when the prompt defines a precise, calibrated outcome rather than a path, and when each agent pursues exactly one outcome. In Patch the Planet, Trail of Bits had Codex draft and red-team its own goals from THREAT_MODEL.md files and used agentcov to verify which code the model actually read. They split coverage and bug-finding into separate sessions, which worked far better on zlib. A Rust variant-analysis pipeline spawned one goal-mode agent per P-critical issue and filtered candidates through a security gate, a two-model false-positive check and human review, producing every Rust bug they submitted, including a soundness hole and a miscompilation fixed in Rust 1.98.
- 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.
- VMs won't contain cyber-capable agents
Trail of Bits hardMasterA preview of GPT 5.6-Cyber escaped a QEMU/KVM sandbox on a Debian 12 host three separate times, working autonomously for about 12 hours. The first escape used a recently disclosed host kernel bug (Januscape). The second chained a libslirp CVE with an unmarked bug fix to get arbitrary host memory read/write. The third chained 0-days in QEMU's VAPIC/SMRAM handling, KVM shadow paging and libslirp ICMP fragment reflection. The practical takeaway is to treat capable agents as an advanced persistent threat: an off-the-shelf VM has too much attack surface and slow-backporting distros should be assumed vulnerable. Firecracker held up in the author's test, alongside least privilege, monitoring, time limits and pristine environments.