Every audit tool gets demoed on one repository its author picked. That proves the tool runs. It says nothing about how often the tool finds the bugs that judges actually paid for.
So I built a benchmark that asks a narrower question. Take code that was frozen for a public audit contest. Take the high and medium findings the judges accepted. Run a pipeline against that code and count: how many judged findings show up in its output, how many of its own high and medium reports are real, how often it files the same bug twice, and what it cost.
The project is called audit-replay-bench. Slither and Aderyn ship as the baselines, because any AI audit agent should have to beat a number that was actually produced, not a number from a slide.
The curated set is 27 contests: 15 from Code4rena and 12 from Sherlock. 23 are Solidity, 3 are Rust and 1 is Move. Together they hold 319 judged findings: 101 highs and 218 mediums.
Every contest is pinned to a commit and tagged two ways.
Split. Contests that ended before 2024-10-01 are train (18 contests). Contests that ended on or after that date are test (9 contests). If you build a pipeline, you tune on train and quote test.
Contamination. 12 contests are tagged
likely_contaminatedbecause they ended before May 2024, inside the published training cutoffs of common models and inside years of Solodit and blog mirroring. 10 areuncertain. Only 5 aretemporally_cleaner, meaning they ended in 2025 or later.
That last tag matters more than any score. A language model can recite a 2023 Code4rena report without opening the code. If an agent "finds" a bug on a contaminated contest, I don't treat that as discovery.
Matching is deterministic. A reported finding has to share a file and a function with a judged finding, and then its root cause has to overlap. A second report of the same judged bug counts as a duplicate, not a second hit.
Recall is the share of judged high and medium findings that were touched at all.
Precision is the share of the tool's own high and medium reports that were the first match to a judged finding.
Duplicate rate is how often the tool re-reports a bug it already hit.
Low and informational reports stay out of precision. A static analyzer emits hundreds of them, and counting them would bury the signal.
I ran Slither 0.11.6 and Aderyn 0.6.8 in host mode, because the machine had no Docker daemon. Here is everything that scored:
Contest | Tool | Judged H+M | Recall | Precision | Duplicate rate | Reported |
|---|---|---|---|---|---|---|
yieldoor (test, 2025) | Slither | 17 | 0.824 | 0.132 | 0.644 | 132 |
yieldoor (test, 2025) | Aderyn | 17 | 0.824 | 0.022 | 0.545 | 308 |
yearn-ybold (test, 2025) | Aderyn | 3 | 0.667 | 0.048 | 0.246 | 57 |
alchemix (train, 2024) | Aderyn | 1 | 1.000 | 0.000 | 0.035 | 877 |
On yieldoor, both tools touched 14 of the 17 judged findings. That looks impressive until you read the next two columns. Only 13.2% of Slither's own high and medium reports were real first matches, and it re-filed bugs it had already hit at a duplicate rate of 0.64. Aderyn's precision was 2.2% across 308 reports.
On alchemix, Aderyn "recalled" the single judged finding and produced 877 reports doing it. Precision was zero.
Splitting by severity on the test slice, Slither recalled 0.571 of highs and 1.000 of mediums. Aderyn recalled 0.778 of highs and 0.818 of mediums.
Recall here counts a match at any reported severity. Aderyn files most of its hits as low. So it can "recall" a judged high while labelling it the way it labels hundreds of style notes. No triager reads 877 reports to find the one that matters.
The real lesson is the ratio. A tool that touches 82% of judged bugs while being right about one in eight of its own serious claims hasn't found those bugs. It has sprayed enough of the file that the matcher got a hit. The file-and-function matcher is deliberately generous, and I know that inflates recall.
This is the part demos leave out. Slither produced no JSON on alchemix, yearn-ybold and zivoe. Aderyn failed to compile zivoe. Those runs are recorded as errors, not as a recall of zero, and they're left out of the averages.
Put plainly, the scored baselines cover 3 of the 27 contests and 21 of the 319 judged findings. Compilation is a real filter. An agent that only runs where compilation is easy is being scored on an easier subset, and any honest result has to say which contests ran.
I also ran my own pre-submission filter, viability-gate 0.5.0, over the tools' false positives. It killed 4 of 44 Aderyn high/medium false positives on yieldoor and 8 of 80 on alchemix. It killed none of Slither's 46 on yieldoor, because those reports are too terse for a prose filter to read. It killed none of the true positives. A modest, honest result: a gate helps at the margin, and it doesn't turn a detector into an auditor.
Static analyzers are a floor, not a finder. They touch many bugs and are rarely right about severity.
Economic and cross-function bugs are outside every detector set. A low recall there is expected.
Any agent claim should report recall, precision and duplicate rate on the test split, with contamination tags. Recall alone is marketing.
The sample is small. A one-finding swing on a contest with three judged highs is a big move in the ratio and a small move in the world. I report no confidence interval, because I don't have one.
The benchmark exists so the next AI audit demo has to beat a real number on code it couldn't have memorized.
Written by Yuriy Khomenkov at khomdev.org.

