inferwire
/
AI·5 min read

AgentFlow: Self-Tuning Agent Teams Find Ten Chrome Zero-Days

AgentFlow rewrites the harness that wires LLM agents together, guided by coverage and sanitizer feedback. Driven by Kimi K2.5, it found ten Chrome vulnerabilities that Google accepted.

TL;DR

  • AgentFlow automatically redesigns the harness that wires LLM agents together, and reached 84.3% on TerminalBench-2 with Claude Opus 4.6 [^1].
  • Run on Google Chrome with the open-weight model Kimi K2.5, it found ten previously unknown vulnerabilities, including two Critical sandbox escapes [^1].

Background

LLM-based bug finders rarely work as a single agent. The job is split among specialists, such as an analyst, an explorer and a verifier, and a program called the harness decides which roles exist, which tools each may call, how they pass information and when they retry [^1]. The harness matters: on the public TerminalBench-2 leaderboard, three systems running the same Claude Opus 4.6 model span pass rates from 20% to 80% [^1]. Most harnesses are still written by hand [^1].

What happened

The paper, by researchers from UC Santa Barbara, UC San Diego, Fuzzland and World Liberty Financial, presents AgentFlow, a system that designs harnesses automatically [^1]. It writes each harness as a program in a typed graph language: nodes are agents, edges carry data or retries, and roles, prompts, tools, topology and coordination are all editable fields, so one step can add an agent, rewire the graph and adjust a prompt at once [^1]. A type check discards broken candidates before they run; on TerminalBench-2 it rejected roughly 20% of proposals [^1]. Instead of a bare pass/fail verdict, the outer loop reads signals from the target program itself, such as error output, line coverage and reports from memory checkers like AddressSanitizer, to work out which part of the harness failed and rewrite it [^1].

On TerminalBench-2, a set of 89 long-horizon terminal tasks, the synthesized harness passed 75 tasks, or 84.3%, with Claude Opus 4.6 [^1]. That is 2.9 points above ForgeCode, the strongest hand-built entry at 81.4%, and 7.9 points above Meta-Harness, the strongest earlier automated optimizer at 76.4%; Claude Code in its default setup scored 60.9% [^1]. The campaign climbed from 35.2% by first fixing tools and coordination, then adding specialist agents and retries, and finally turning the harness into a parallel ensemble that cross-checks its attempts [^1]. With structural edits disabled the score fell to 76.4%, with prompts frozen to 51.8% [^1].

The authors then ran the same loop on Google Chrome, more than 35 million lines of C/C++, using Kimi K2.5, an open-weight model they call substantially cheaper per token than Claude Opus 4.6 and not among the top-ranked frontier models [^1]. The campaign ran for 7 days on 24 cloud nodes with 192 H100 GPUs, and its final harness had 18 agent roles and 192 parallel explorers across seven Chrome subsystems [^1]. It produced ten previously unknown vulnerabilities, all accepted through the Chrome Vulnerability Reward Program: two Critical, seven High and one Medium [^1]. The Critical ones, CVE-2026-5280 in WebCodecs and CVE-2026-6297 in the proxy code, are use-after-free bugs that the authors say allow an escape from an attacker-controlled page to code execution on the user's machine [^1].

Why it matters

The paper's core claim is that the scaffolding around a model can decide as much as the model itself, and the ablations support it on the benchmark: disabling any one family of edits cost between 7.9 and 32.5 points [^1]. The Chrome run suggests the method carries over to a very different target and a mid-tier model, though the authors present it as a case study, not a compute-matched comparison with other systems [^1]. It was also no small run: a week on 192 H100 GPUs [^1].

The setup has clear limits. AgentFlow assumes the analyst has the source and can build it with instrumentation, which the authors call the standard precondition for source-level analysis such as coverage-guided fuzzing and sanitizer-instrumented CI [^1]. The optimizer is open source, but the Chrome-specific configuration and all proof-of-concept inputs are withheld, and all ten bugs were reported to Google before the paper was submitted [^1]. For defenders, that means the raw material AgentFlow learns from, coverage and sanitizer output, is the same material a fuzzing setup already produces.

Practical example

Say Noor's team runs a photo-upload service that decodes HEIF images with an old copy of libheif that still contains CVE-2020-23109, the bug the paper uses as its worked example [^1]. The flaw sits in color conversion: the code reads an 8-bit alpha plane but copies it as if it were 16-bit, so it reads past the end of the buffer [^1]. Noor builds libheif with coverage and AddressSanitizer and points AgentFlow at it.

In the first round, one generic agent writes an 815-byte HEIF file. The binary exits cleanly, but its error output says the file failed an early format check, so the buggy code never ran [^1]. AgentFlow reads that message and splits the job: an analyzer studies the parser's source and describes a valid HEIF file, and a crafter turns that description into bytes [^1]. The new 817-byte file passes the check, and coverage shows the color conversion function ran, but not the branch that handles 8-bit alpha [^1].

In the third round AgentFlow adds a verifier that starts from a real HEIF image, changes only the alpha bit-depth field and keeps retrying while AddressSanitizer watches every memory access. Within a handful of tweaks, AddressSanitizer reports an out-of-bounds read at the copy call [^1]. Noor now has a small, reproducible file that triggers the overflow, which goes into the bug report and the test suite before anyone outside finds the same input.

Related gear

We recommend this book because it teaches how to audit C and C++ code for buffer overflows and other memory-corruption bugs, the kind of flaws AgentFlow found in Chrome.

AdvertisementAmazon

The Art of Software Security Assessment: Identifying and Preventing Software Vulnerabilities

Sources

  1. [1]arXiv — Synthesizing Multi-Agent Harnesses for Vulnerability Discovery