- release
- corpus
- methodology
Release 2026.11.22: Every Framework in Its API Generations
BenchProctor 2026.11.22 draws its 21 framework targets in their legacy, long-term-support and modern API generations: 15,372 standalone cases in 46 folders, at least three sink forms per class, exact vetted dependencies, and 368 applications that were built and run before release.
7 min read
Release 2026.11.22 is out. It keeps the shape of the curated releases, the same 11 languages, 21 framework targets and weakness classes, and changes three things about the code inside them. Every framework is now drawn in the API generations people actually run, not only the newest one. Every weakness class ends in at least three different sink statements per side. And every dependency is pinned to an exact, vetted version. The applications grew too, and before this release they were built, started and sent real requests.
Since the last post
Two releases went out on 2026.11.19 without a post here, so first a short catch-up.
- 2026.11.19 published the release as plain files instead of ZIPs, raised the sampling from 3 to 20 vulnerable and 20 safe cases per framework and class pair, grew the applications from 60 over four service graphs to 368 over six, and gave every standalone framework its dependency manifest.
- 2026.11.19.1 drew C and C++ again, deeper, with three sink forms per memory-safety class and three more classes: double free, memory leak and use of an uninitialized variable. The scorer also learned to score a declared scope with
--categoriesand--skip-categories.
Earlier releases stay available: each one is a single zip in the repository’s archive/ folder, with its checksums.
What ships
- 15,372 standalone cases in all 11 languages across 21 framework targets, written in 46 generation folders: 21 legacy, 4 long-term support and 21 modern. There are 25 weakness classes, each mapped to its own CWE ID. Every framework and class pair holds 20 vulnerable and 20 safe cases (30 and 30 in C, 24 and 24 in C++), split across the framework’s generations: 366 pairs, 7,686 vulnerable and 7,686 safe, with every pair and every generation folder balanced.
- 368 two-service applications over six service graphs, in TypeScript, JavaScript, Python, Java and C++, holding 5,284 labeled flows: 1,460 vulnerable and 3,824 safe.
The release is published as plain files under Benchmarks/, one folder per language and one for the applications: 27,529 files and 76.1 MiB, with a SHASUMS256.txt that lists the SHA-256 of every file.
API generations
A SAST tool does not only meet code written last month. Enterprise Java still runs on Spring Boot 2.7 with javax.*, many Node services are on Express 4 with body-parser, and plenty of Python is on pydantic 1 and SQLAlchemy 1.4. A benchmark drawn only from the newest releases measures one slice of the code a tool is pointed at.
From this release on, each framework target is drawn in each of its API generations, side by side: the modern line (spring), an older line that is still widely deployed (spring-legacy), and the long-term-support line where the project has one (spring-lts). Spring, Jakarta EE, Django and Symfony have all three; the other targets have legacy and modern. The modern generation is on current releases: Java 25 with Spring Boot 4.1 and Jakarta EE 11, Node 24 with Express 5 and NestJS 12, Python 3.14 with Django 6.1 and FastAPI 0.161, PHP 8.5 with Laravel 13 and Symfony 8.1, Ruby 4.0 with Rails 8.1, Go 1.27 and Rust edition 2024.
A class is written in each generation the way that line writes it: its framework release, its language level and its library APIs, including the deprecated APIs an older line still uses, such as javax.* on Java 11, io/ioutil on a go 1.20 module, C99 and C++14. The labels and the controls are the same in every generation; only the way the code is written changes. Each generation folder has its own answer key, build files and pins, and holds its own cases, so a tool can be scored one generation at a time. A score that drops on a framework’s legacy folder says the tool’s rules know the current APIs better than the ones still in production.
The release did not grow to pay for this. A framework’s 20 cases per side are split across its generations, 10 and 10 over two or 7, 7 and 6 over three, so the release keeps its scale.
Three sink forms per class
In earlier releases most classes outside C and C++ ended in a single sink statement per side. Every Python SQL injection case, for example, called cursor.execute on a concatenated string. A tool that models that one call scored the whole class, and a tool that does not scored zero, whatever else it knew about SQL injection. Each class now ends in at least three distinct sink statements per side (for SQL injection, a prepared statement built by concatenation and an ORM raw query beside the plain query), and no single form is more than 60% of a side. The few exceptions are where a language’s own tools offer fewer forms, and the changelog names each one.
Exact, vetted dependencies
Every dependency manifest in the release pins exact versions: package.json, requirements.txt, composer.json, Gemfile, pom.xml, go.mod and Cargo.toml. The applications’ Node services ship a package-lock.json and their Python services a hashed requirements.lock, and every container image is pinned by tag and digest. Versions are the newest stable release of their line published on or before 2026-10-22, and a later release is taken only where it fixes a published advisory. The legacy and long-term-support folders use their own lines’ releases, so a dependency scanner will report the advisories still open in those lines. They are not part of the ground truth.
Applications that were run
The 368 applications span six service graphs: Express (TypeScript) to Flask, NestJS to Spring, Express (JavaScript) to Django, Express (TypeScript) to cpp-httplib, FastAPI to Spring, and Jakarta EE to NestJS. Each application is written in one generation of both its services, and each graph’s applications are split between legacy and modern.
Before this release, applications on every service graph and in both generations were built from their own Dockerfiles, started with their own docker-compose.yml, and sent one request at the entry service carrying a marker. A run counted only when the marker showed up at the far end of the chain: in the backend service’s own log, or, when the scored sink is a database query, in the database’s own statement log. Eleven of the twelve graph and generation pairs passed. On the legacy generation of Express (TypeScript) to cpp-httplib, no candidate backend’s sink writes anything a log can show, so no run there can pass; a copy of one of those applications with a single print added at the sink showed the marker arriving.
Running the applications found real defects, and some of them had shipped in 2026.11.19. The Jakarta EE services never started, and the Express and NestJS entry services parsed no form or multipart body, so a handler that read one received nothing. Both are fixed. Every TypeScript service of the applications was also installed from its own lockfile and type-checked against its installed type packages.
Fixes worth knowing
A few safe cases in 2026.11.19 could be defeated, and this release fixes them:
- Some safe open redirect and request forgery cases checked the host with a parser that read a URL differently from the browser or the HTTP client: a backslash in Python and PHP, userinfo in Bash. Their checks now refuse those URLs.
- Some PHP safe SQL injection cases quoted a column name with hand-written ANSI double quotes, which MySQL and MariaDB in their default mode read as a string, where a backslash in the value ends it early. Ten such cases shipped in 2026.11.19. They now quote in the connection’s own dialect.
- Bash integer-overflow safe cases could be defeated by a 19 or 20 digit value. Their safe sides now bound the length first.
One more fix changed no label but mattered: C and C++ safe cases declared a variable named safe, and some Java cases used names such as safeMapper, so a text search could sort them. They now use neutral names, and the release build refuses any identifier that names its label. The full list is in the changelog.
How the labels were checked
Every source file went through its language’s native toolchain at its generation’s settings, with nothing sampled: javac at Java 11, 21 or 25, go build and go vet over each generation’s module, cargo check against locked dependencies, tsc in strict mode with TypeScript 5.9 for legacy and 7.0 for modern, a parse and an undefined-name check for Python, and syntax checks for JavaScript, PHP, Ruby, C, C++ and Bash, the C and C++ files at C99 or C17 and C++14 or C++20. A suite of deterministic gates, with no AI and no LLM judge, then checked that every vulnerable case carries a real source-to-sink flow, that every safe twin neutralizes it for that sink, and that the recorded sink line matches the scored operation.
Last, every bundle was scored with the scorer shipped in it against a perfect answer. Every standalone folder scored +100%, and on every application graph every flow was judged right, every CWE named and every service-graph edge recovered.
Get started
git clone https://github.com/TheAuditorTool/BenchProctor
cd BenchProctor
your-tool scan Benchmarks/standalone/java/spring/testcode --format sarif -o results.sarif
python Benchmarks/standalone/java/score_sarif.py results.sarif \
Benchmarks/standalone/java/spring/expectedresults-2026.11.22.csv
spring is the modern generation; spring-lts and spring-legacy beside it are scanned and scored the same way, each against its own answer key. The applications have their own scorer, score_apps.py, which reports flow judgment, CWE identification and chain reconstruction side by side. Everything is in the BenchProctor repository under Apache-2.0. If you think a label is wrong, open a ground-truth challenge naming the case, its published label and why you dispute it. A published answer key is never silently replaced.