TokenFuzz benchmark
How do language models discover security bugs — and what does each one contribute?
Every model audits the same live, unfixed target for the same time budget, twice: inside the tokenfuzz harness, and as a plain prompt that is its own control. Below: what each surfaced, what no other did, when, and how it reasoned — every count a reviewed, duplicate-merged problem linked to its evidence. One run is one sample, and a finding is a lead until a maintainer confirms it; what this does not settle has the rest.
What each model surfaced
Every condition on a revision, harness and plain prompt in one list, ordered by distinct problems and then Medium-or-higher — a starting point, not a verdict. The bar splits each row into problems no other condition reached (unique) and problems others reached too (shared); coverage is its share of every problem any run has reported here. Both are relative to the runs on this page and move as models and repeats are added.
| # | Model · condition | Distinct problems unique to it ▮ · shared ▯ | Coverage of all known | Medium+ | Harness vs its control | Security findings | Security crashes | Top crash | Wall | Cost |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | tokenfuzz claudeclaude-opus-4-8 · 20260916-141941 | 1 unique · 6 shared · 1 unjudged | 100% | 61 unique | +1 vs direct | 2 (2 M+, 1 class) | 5 (4 M+, 1 unjudged) | High | 0.50/0.50h | ~$34 |
| 2 | claude-opus-4-8-direct claudeclaude-opus-4-8 · 20260916-141941 | 0 unique · 6 shared | 86% | 60 unique | — | 1 (1 M+, 1 class) | 5 (5 M+) | High | 0.09/0.50h | $3 |
Models side by side
One comparison per target revision, joined problem by problem: when each model surfaced what, where each looked, and which strategies each reached for. With one run per model, a difference here is a hypothesis to test with another run, not yet a trait.
samples/sample-c 1 run · 2 conditions
Every condition on one clock: colour is the backend, solid is tokenfuzz, dashed is the model on its own, each step one distinct problem that held up. Drag the slider to see what each had surfaced by that hour; it replays every run section below too.
| Distinct problems by hour | 1h |
|---|---|
| claude claude-opus-4-8 · tokenfuzz ≈ | 7 |
| claude claude-opus-4-8 · direct ≈ | 6 |
≈ marks a condition with one or more discovery times parked at its wall.
Every distinct problem any run reported on this revision, against every condition. A dot is a find, with its hour. looked N: the harness opened N hypotheses on that file and did not file this problem — a miss with a trace behind it. · N nearby: it filed N other problems in that same file. A dash: it never looked. The control leaves no trace, so its empty cell is unknowable, not a miss. Click a row for the problem's story.
| Problem | Type | Severity | claude claude-opus-4-8 · tokenfuzz | claude claude-opus-4-8 · direct | Found by |
|---|---|---|---|---|---|
| heap-buffer-overflow in handle_arrayrcfg.c:122 · sanitizer crash | crash | High | 0.1h | 0.1h | 2/2 shared |
| double-free in rcfg_decodercfg.c:169 · sanitizer crash | crash | High | 0.1h | 0.1h | 2/2 shared |
| stack-buffer-overflow in handle_strrcfg.c:86 · sanitizer crash | crash | High | 0.0h | 0.1h | 2/2 shared |
| stack-buffer-overflow in handle_blobrcfg.c:98 · sanitizer crash | crash | High | 0.0h | 0.1h | 2/2 shared |
| The RCF decoder's CHECK handler copies a self-check field into a fixed 32-byte buffer inside the decode conte…src/rcfg.c:198 · stack-buffer-overflow | finding | High | 0.1h | 0.1h | 2/2 shared |
| heap-buffer-overflow in handle_slicercfg.c:147 · sanitizer crash | crash | Medium | 0.1h | 0.1h | 2/2 shared |
| CHECK handler bounds an untrusted length with a debug assert onlysrc/rcfg.c:197 · stack-buffer-overflow | finding | High | 0.2h | 1/2 only |
Hypotheses opened per subsystem, shaded by the share of that model's attention, with the problems it kept there. Same places, different yield is a difference in judgement; different places is a difference in strategy; much attention and no yield from every model marks a subsystem for a different approach. A control shows found only.
| Subsystem | claude claude-opus-4-8 · tokenfuzz | claude claude-opus-4-8 · direct |
|---|---|---|
| src | 36 looked · 2 found | 1 found |
| (no path) | 10 looked · 5 found | 5 found |
| targets | 5 looked | · |
| include | 1 looked | · |
The harness offers every model the same strategy lanes; the mix it actually opens hypotheses in, and how many of each became artifacts, is the model's own. Hover a segment for its lane.
The same dimensions for every condition, each bar scaled to the best on this target. Read it as a profile, not a score: a model that files few problems and holds every claim and one that files many mostly-Low ones are different kinds of researcher. A dash is a dimension that condition cannot report.
| Behaviour | claude claude-opus-4-8 · tokenfuzz | claude claude-opus-4-8 · direct |
|---|---|---|
| Distinct problems more is better | ||
| Medium+ share more is better | ||
| Bug classes more is better | ||
| Claims that held up more is better | ||
| First admitted less is better | ||
| Hypotheses opened context | — | |
| Hypotheses that became artifacts more is better | — | |
| Median idea lifetime context | — | |
| Subsystems explored context | — | |
| Probes per crash less is better | — | |
| Cost per confirmed less is better | — | |
| Budget spent context |
Run by run
Each run in full: replay it, see what each side surfaced, and read the harness's reasoning hypothesis by hypothesis — the ideas that paid off and the ones that did not, in the agents' own words.
samples/sample-c claude 20260916-141941
Drag, or press play, to watch the run unfold: every panel below shows only what existed by that hour — the problems found so far, the curves, the activity, and the hypotheses the agents had opened.
One dot per distinct problem after duplicate merging. Row is the bug class, column is who reached it, colour is severity, shape is the evidence: a sanitizer crash with a reproducer, a source-backed finding. Hover for the site; click to open the report.
Every hypothesis an agent opened, as a bar from written to resolved, one row per agent. Colour is the outcome; ticks above a bar are the sanitizer probes it drove, coloured by verdict; a dot at the end marks one that became a filed artifact. Hover for the idea in the agent's words; click for its reasoning, probes, and notes. The control leaves no such trace.
What the agents were doing, in quarter-hour bins on the run's clock: hypotheses by strategy lane, probes by verdict, artifacts filed, and output tokens. The control writes no hypotheses or probes, so its strip shows only what it filed and generated.
The harness's hypotheses name a file, so its attention is placed by top-level directory beside the merged results that landed there. The control's attention is not observable, so it has a found column and nothing else.
| Subsystem | Hypotheses | Probes | Became artifacts | Kept · tokenfuzz | Kept · direct | Rejected |
|---|---|---|---|---|---|---|
| src | 36 | 64 | 26 | 2 | 1 | — |
| (no path) | 10 | 1 | — | 5 | 5 | — |
| targets | 5 | 2 | 1 | — | — | — |
| include | 1 | 1 | — | — | — | — |
Reference detail: this run's own discovery curve, what survived review, lane yield, effort, and cells
Cumulative distinct results on the run's clock: each step is one problem that held up, at the hour it was first seen; a flat tail found nothing new. Solid is tokenfuzz, dashed the model on its own; ticks below the axis are rejected results.
Every claim, then how far it got: evidence on disk, a validation verdict, and finally reportable under the declared attacker controls. The gap between the first bar and the last is what the raw count would have overstated.
Hypotheses the harness opened per strategy lane, and how many led to an admitted artifact. tokenfuzz only — the control has no lanes.
| Strategy lane | Hypotheses | Productive | Rate |
|---|---|---|---|
| S2 Invariant negation | 11 | 9 | 82% |
| S3 Spec vs. implementation | 11 | 7 | 64% |
| S5 Lifetime and state | 19 | 2 | 11% |
| S7 Adversarial input | 9 | 7 | 78% |
| S8 Property oracles | 2 | 2 | 100% |
| All lanes | 52 | 27 | 52% |
Medians over completed repeats. A dash is unrecorded, never zero; ≤ marks a seat count that is a floor because the backend delegated or cannot show its fan-out.
One row per repeat. Raw counts include candidates later rejected and count each report once; the reviewed numbers are in the ledger.
| Cell | Condition | Status | Agents | Findings (raw) | Crashes (raw) | Wall |
|---|---|---|---|---|---|---|
| harness-r1 | tokenfuzz | done | 3 | 4 | 19 | 0.50h |
| model-direct-r1 | claude-opus-4-8-direct | done | — | 1 | 6 | 0.09h |
Ledger
The reference table: one row per target, backend, condition, and run; re-runs keep their own rows. Click a heading to sort; click a count to open its evidence.
| Target · backend | Condition · run | Wall (h) | Reps | Rejected findings | Security findings | Rejected crashes | Security crashes | Top crash | Input | Output | Cost |
|---|---|---|---|---|---|---|---|---|---|---|---|
| samples/sample-c claude | tokenfuzz20260916-141941 | 0.50/0.50h | 1/1 | 0 | 2 (2 M+, 1 class) | 0 | 5 (4 M+, 1 unjudged) | High | 2.2M | 424k | ~$34 |
| samples/sample-c claude | claude-opus-4-8-direct20260916-141941 | 0.09/0.50h | 1/1 | 0 | 1 (1 M+, 1 class) | 0 | 5 (5 M+) | High | 327k | 43k | $3 |
How to read this page
The comparison
The page is built for studying how language models discover security problems: across models, and within each model the harness against a plain prompt. Each run audits one target at one commit with one model and one wall-clock budget, twice: tokenfuzz is the full harness — a ranked work queue, several agents, sanitizer probes, review, duplicate merging, exported reproducers — and <model>-direct is the control: the same model and budget given one plain request to find vulnerabilities and none of that machinery. Both sides are then held to the same evidence bar, so the two counts mean the same thing. Every target is audited on live, unfixed code; there is no planted bug to re-find.
Findings and crashes
A crash counts only when sanitizer output and reproducer material are on disk; what an agent claimed is not evidence. A finding is a security issue reported without a crash behind it — real and possibly serious, but the evidence is an argument, so read one as a lead until its report names a concrete boundary and shows how a caller crosses it. Both are merged so one problem reported several times counts once, but findings and crashes are merged separately, as the ledger counts them: a crash whose site was also written up as a finding is one problem in each lane, not one problem. Labels read N (M M+, C classes): N distinct problems, M scored Medium or higher, spread across C bug classes. One mechanism at thirty sites is thirty findings and one class; that is not the same result as thirty classes.
A K unjudged term means K reports never reached a verdict before the run was published; they earn no credit, so read the cell as a floor. A leading ≥ means the unjudged remainder outnumbers the verdicts and the count is a lower bound, not a result to compare. K retained appears only on runs finalized before the current rule and counts reproduced crashes a reviewer placed outside the declared attacker controls and kept in the cell uncredited; a current run rejects those with a threat-model: reason instead, so they count as rejected crashes. up to N on a rejected count is an upper bound where duplicates could not be merged. bin/benchmark --regenerate finishes an unfinished gate.
The rejected and accepted columns are merged separately, so one problem can be reportable in one write-up and rejected in another. Do not divide them into a pass rate.
Severity
One scorer rates findings and crashes on the same scale, so impact can be compared rather than report count. Top crash severity is the strongest reportable crash in the row. A ‡ on a run means its severities came from a superseded scorer and its M+ counts are not on the current scale.
Effort
Wall is spent/granted hours, the median across finished repeats; time parked on a provider reset counts as neither. The harness usually spends the whole grant; the control stops when the model decides it is done, so a short numerator beside a count means that count came from a shorter experiment. Replicates is done/total; (Np) repeats never came back and are excluded, (Nt) repeats stopped early on a terminal backend exit but are counted. The wall contains every second the harness spent deciding what to look at next — housekeeping between iterations is steering, not overhead — and only provider-withheld capacity is subtracted.
Tokens and cost
Token columns are normalised so backends can be compared: Input is tokens charged at the full input rate (Claude's fresh input plus cache writes; running totals from Codex and Gemini have cache reads subtracted back out). Output includes tool-call payloads where reported. Cost prices each backend's own billing buckets at its published list rates and rounds to whole dollars; a ~ prefix marks a figure estimated from character counts because the backend reported no usage. Each backend's own ledger keeps the cents.
Unique, shared, and coverage
A problem is unique to a condition when no other condition on the same target revision reached it — the model's own control included, because a problem the plain prompt also found is not the harness's contribution. Coverage is a condition's share of every distinct problem any run has reported on the revision: the union of all runs is the closest thing to an answer key a live target has, and it grows as more models run, so coverage is comparable within a revision and only there.
What makes this comparable
There is no answer key. Planted-bug suites score a model on re-finding a known defect at a known site; every target here is live, unfixed code, so a result is a problem nobody had filed, held to the same evidence bar on both sides — a reproducing sanitizer crash, or a source-backed report that names a boundary and a caller that crosses it — and merged so the same problem counts once however many times it was written up. The control is the same model with the same budget and a plain prompt, so the difference between the two rows is the harness and nothing else. The trace panels show the process that produced the numbers, from the audit's own state streams, so a reader can see not only what was found but what was tried, refuted, and dropped along the way.
What this does not settle
A run is one sample: models vary between runs, budgets and revisions change what is reachable, and a difference between two rows on one run is a lead to test with another run, not a ranking. The pool of known problems is only what these runs have surfaced, so unique and coverage move as more models and repeats are added. Findings without a crash remain arguments until a maintainer confirms them, unjudged and retained remainders are shown rather than resolved, and no figure here is precision — that needs a ground-truth key this kind of target cannot have. The page is a fair, evidence-backed record to reason from, alongside conventional fuzzing, code review, and the judgement of the people who know the code.
Timing and activity
Discovery times come from the audit's own event stream, joined to the merged clusters, and placed on the cell's start clock; a result that cannot be placed lands at the end of the run and the panel says timing approximate. The activity strip reads the hypothesis, probe, event, and usage streams each cell wrote while it ran; events after the wall are review, not activity, and are not drawn. Multiple repeats are summed.