- benchmarks
- methodology
- comparison
How Old Is the Answer Key Your Scanner Is Graded Against?
The best-known Java SAST benchmark grades tools against an answer key dated June 2016. Stability has value, but a key that never changes can be learned.
4 min read
A vendor slide shows a tall green bar: a top score on a well-known SAST benchmark. Your team nods. Nobody asks the question that matters most, because it sounds pedantic: when was that answer key written, and how long has every rules team in the industry been able to read it?
Open the answer key of the most widely used Java benchmark and the first line tells you. It is dated June 2016.
Two respected suites, read closely
Credit first, because both of these projects earned it.
OWASP Benchmark for Java is a fully runnable web application, so the same suite can test static, dynamic and
interactive tools. Its stated intent is that every vulnerability it scores is actually exploitable. It ships
scorecard generators for a long list of open-source and commercial tools, and its headline score, the Benchmark
Accuracy Score, is in its own words essentially a Youden index, the same arithmetic BenchProctor uses. Version 1.2
holds 2,740 test cases: 1,415 real vulnerabilities and 1,325 safe ones, across 11 CWE categories, all in Java. The
first line of its answer key reads Benchmark version: 1.2, 2016-06-1.
The same project has a younger sibling, OWASP Benchmark for Python. Its key is dated January 2026, it holds 1,230 cases (452 of them vulnerable) across 14 categories, and its README is candid that it is a preliminary first release.
NIST’s Juliet test suite for C and C++, version 1.3, lists 64,099 test cases on the NIST Software Assurance Reference Dataset. It is in the public domain in the United States, it spans a wide range of CWEs, and it varies the control and data flow around each weakness. Its case descriptions name their parts plainly, “BadSource”, “GoodSource”, “BadSink”, and the cases were first added more than a decade ago.
2016-06
date on the OWASP Benchmark for Java answer key
2,740
cases in that key, one language
64,099
cases in NIST Juliet for C and C++
What an old key costs
Age is not a defect. A suite that never changes lets you compare a tool’s score in 2018 with its score today, and that is real value. The cost is quieter, and it compounds.
A public answer key that has not changed in years is, by now, familiar to everyone who builds a scanner. Its cases have been read, discussed, written about and fixed against. Every false positive a vendor ever saw on it has had years to become a special case. Nobody needs to cheat for this to happen. Engineers fix what their tests show them, and the most visible test in the field keeps showing the same cases.
AI makes the cost explicit. Anything that has been on the public internet for years is likely to sit in a model’s training data. An AI reviewer graded on a suite it may already have read is being graded on recall of the suite, partly, and you cannot tell how much.
A fixed key does not get easier. It gets familiar, and familiarity scores like skill.
The code ages too. A suite frozen in one year speaks that year’s frameworks and idioms. Real repositories move, and a tool tuned to the old idioms can look stronger on the suite than it is on the code you actually ship.
The other way to keep scores comparable
Comparability does not require the same files. It requires the same contract.
That is the design BenchProctor is built on. Every release is drawn fresh, with its own seed. A new release keeps the languages, the frameworks, the weakness classes, the difficulty and the scoring rules, and emits different code and different identifiers. What carries over from one release to the next is the yardstick, not the cases. A tool that learned last release’s files gains much less on this one. A tool that learned the weakness classes keeps its score, which is exactly what you want to reward.
The rest of the design follows from taking the same question seriously.
- The label is not in the file name. File names are shuffled IDs; nothing in a path tells you which class a case belongs to or whether it is safe, and the labels sit in a separate answer key. We wrote about why an answer key you cannot grep for matters.
- Flag everything, score zero. Scores use Youden’s J, the same arithmetic as OWASP’s, so a tool that flags every case scores exactly zero. Vulnerable and safe cases also come in equal numbers.
- Your score, on your machine. The scorer is a single standard-library Python file. You run it on your own SARIF; nobody else holds the key to your result.
None of this makes a fixed suite useless. Run OWASP Benchmark and Juliet; they measure real things, and their long history is a comparison nothing new can offer. Then ask what each score was graded against, and when.
We first wrote about why static benchmarks rot in May. The answer has not changed: keep the yardstick, change the cases. See how BenchProctor is built on benchproctor.com.