Skip to content

About

PentestBench

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PentestBench

PentestBench is OpenHack's benchmark for white-box vulnerability discovery in web applications. This repository contains the 17-application source corpus used in the November 16, 2026 evaluation, covering 761 planted vulnerabilities across 11 frameworks.

The release contains application source, dependency manifests, seed data, and the Docker configuration present in the evaluated snapshots. It does not include the private vulnerability catalog, scoring tools, scanner results, or OpenHack's evaluation harness.

Applications

Application Stack Planted vulnerabilities Docker Compose
ArtVault Ruby / Rails 45 Included
BoardSync TypeScript / SvelteKit 45 Included
BudgetBee Python / Flask 45 Included
Casa TypeScript / Next.js 50 Not included
ClinicADB Python / Django 45 Included
DataPulse Python / FastAPI 45 Included
Devils Advocate TypeScript / Next.js 34 Included
EduStream TypeScript / Next.js 46 Included
FreightFlow TypeScript / Express 45 Included
MedFlow Java / Spring Boot 45 Included
MediVault TypeScript / Next.js 49 Included
Proplist TypeScript / Next.js 43 Included
RentEase PHP / Laravel 44 Included
ShipDash TypeScript / Fastify 45 Included
TeamForge TypeScript / Next.js 46 Included
TrailGuard Go / Gin 45 Included
VaultPay TypeScript / Next.js 44 Included
Total 761

Counts describe the evaluation catalog; they are not a complete inventory of every possible vulnerability. Stack names above are read from application dependencies. The original benchmark manifest's stack labels for BudgetBee, ClinicADB, and ShipDash were inaccurate; the application source itself has not been changed.

Using the corpus

For source-code analysis, point your scanner at one directory under apps/. Evaluate each application separately. The sealed vulnerability catalog is not part of this repository, so this release alone cannot reproduce the benchmark's official recall, precision, or F1 scores.

These applications are intentionally vulnerable. Run them only in disposable, isolated environments with synthetic data and no production credentials. The supplied Compose files publish ports; review their network bindings before starting them and do not expose these applications to the public internet.

Sixteen apps include a Dockerfile and docker-compose.yml. Their configuration generally uses host port 3000, so run one application at a time unless you explicitly change the port mappings. Devils Advocate also publishes PostgreSQL on host port 5444.

Runtime setup is preserved as supplied, rather than standardized in this release:

  • BoardSync, FreightFlow, and ShipDash: their Compose files reference a local .env file, which is not included. Supply appropriate test-only values after reviewing each app's configuration.
  • Casa: no Docker configuration is included. Its package.json defines development/build commands, and its Prisma SQLite datasource expects DATABASE_URL.
  • Other applications: inspect their dependency manifests, Dockerfiles, entrypoints, and seed files for setup details.

The release has been checked for source integrity, not validated by building or launching every application. Some framework versions and dependencies may need a compatible runtime environment. Application code and dependency manifests are preserved, with one publication redaction: the embedded Slack webhook URL in apps/teamforge/src/lib/webhook-service.ts is replaced by an inert REDACTED placeholder. All other application files match the evaluated source. Do not rely on the redacted webhook for runtime delivery tests.

Verify the snapshot

With Python 3.9 or newer, run from the repository root:

python3 scripts/verify_corpus.py

corpus.json records the file count and SHA-256 tree checksum for each app. All checksums match the benchmark's source manifest except TeamForge, whose published checksum reflects the webhook redaction. Its original checksum is retained as evaluated_tree_sha256, and release_changes records the difference. Each checksum hashes files with relative paths sorted lexicographically by path component (Python pathlib.Path order), as path + NUL + contents + NUL; paths use /, and .git directories are excluded. Empty directories and file permissions are not hashed.

Run verification before installing dependencies or generating local databases inside apps/, since additional files will change the checksum. To keep a clean reference, use a separate working copy for runtime experiments.

License

See LICENSE.

About

PentestBench

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages