# Data sources and provenance This release combines four source subsets. `MANIFEST.json` gives the record totals and SHA-256 of each distributed JSONL file. Every record carries its source URL/path, source revision, source-code checksum, license metadata, and selection policy in `provenance_json`. No blanket license is applied to the complete repository. ## OWASP Juice Shop code-fix challenges Source repository: [juice-shop/juice-shop](https://github.com/juice-shop/juice-shop), pinned to commit [`c9f99228d9d56afb5f5ca7925376292f7fa44b13`](https://github.com/juice-shop/juice-shop/tree/c9f99228d9d56afb5f5ca7925376292f7fa44b13). The selected first-party TypeScript and YAML files are from `data/static/codefixes/`. Each has matching `.info.yml` challenge metadata, numbered alternatives, and a paired solution ending in `_correct`. Files with explicit SPDX/copyright notices in their first 30 lines or common secret-like patterns were excluded. The pinned root [MIT license](https://raw.githubusercontent.com/juice-shop/juice-shop/c9f99228d9d56afb5f5ca7925376292f7fa44b13/LICENSE) is included at [`LICENSES/OWASP-JUICE-SHOP-MIT.txt`](LICENSES/OWASP-JUICE-SHOP-MIT.txt). The subset has 83 records across 33 challenge groups: 71 TypeScript and 12 YAML. Each record keeps the candidate, challenge-marked solution and metadata URLs and SHA-256 checksums. `_correct` means the upstream challenge marked that option correct; other alternatives are not automatically vulnerable. No unsupported CWE labels are added. See [source audit evidence](SOURCE_AUDIT.md) for inspected source examples. ## OpenZeppelin Contracts v5.7.0 The five selected files are `contracts/token/ERC20/ERC20.sol`, `contracts/access/Ownable.sol`, `contracts/access/AccessControl.sol`, `contracts/utils/ReentrancyGuard.sol`, and `contracts/utils/Pausable.sol` from [OpenZeppelin Contracts v5.7.0](https://github.com/OpenZeppelin/openzeppelin-contracts/tree/v5.7.0). Each has an `SPDX-License-Identifier: MIT` header. The exact source URL and SHA-256 for each file are retained in its record provenance. The upstream [MIT license text](https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v5.7.0/LICENSE) is included as [`OPENZEPPELIN-MIT.txt`](OPENZEPPELIN-MIT.txt). These five records are component references, not vulnerability labels, a complete application, or evidence that an integration has been audited. ## OWASP WebGoat SQL-injection review subset Source repository: [WebGoat/WebGoat](https://github.com/WebGoat/WebGoat), pinned to commit [`4e98f1cbbf896fdd06edcc9930515ebe0ade7c69`](https://github.com/WebGoat/WebGoat/tree/4e98f1cbbf896fdd06edcc9930515ebe0ade7c69). The selected complete Java files carry file-level `SPDX-License-Identifier: GPL-2.0-or-later` and WebGoat authors' copyright notices. Their raw source URLs and SHA-256 values are embedded in the records. | Record | Selected source file and SHA-256 | Verification test and SHA-256 | Use in this dataset | |---|---|---|---| | `webgoat-sqli-lesson-5a` | [`SqlInjectionLesson5a.java`](https://github.com/WebGoat/WebGoat/blob/4e98f1cbbf896fdd06edcc9930515ebe0ade7c69/src/main/java/org/owasp/webgoat/lessons/sqlinjection/introduction/SqlInjectionLesson5a.java) — `c9e59f1accc15d5b5b8161d7c5727ab46201f417005d8783e9e3cccebd1ca9fa` | [`SqlInjectionLesson5aTest.java`](https://github.com/WebGoat/WebGoat/blob/4e98f1cbbf896fdd06edcc9930515ebe0ade7c69/src/test/java/org/owasp/webgoat/lessons/sqlinjection/introduction/SqlInjectionLesson5aTest.java) — `a8ce98a56fc0c4d13d76c67b4f9b77826d665e96cbedd5c1b3a1b2f3a90f27d5` | Intentionally vulnerable review example; the test demonstrates an OR-based injection. There is no directly paired fixed source file in this revision. The parameterized-query redesign is curator-authored and marked illustrative. | | `webgoat-sqli-dynamic-order-by` | [`Servers.java`](https://github.com/WebGoat/WebGoat/blob/4e98f1cbbf896fdd06edcc9930515ebe0ade7c69/src/main/java/org/owasp/webgoat/lessons/sqlinjection/mitigation/Servers.java) — `12edc65052421ffb180ef9b9137c5ef33bf4c7e65e7a575f76766da7e6be67e7` | [`SqlInjectionLesson13Test.java`](https://github.com/WebGoat/WebGoat/blob/4e98f1cbbf896fdd06edcc9930515ebe0ade7c69/src/test/java/org/owasp/webgoat/lessons/sqlinjection/mitigation/SqlInjectionLesson13Test.java) — `4a8684a8f1a477fe56f61466cb0a25f6c54d54312c2fb9b968b2ba3dbb1e4df0` | Intentionally vulnerable review example; the test includes caller-controlled SQL expressions for the sort parameter. Its allowlist snippet is curator-authored, not an upstream patch. | | `webgoat-sqli-prepared-statement-reference` | [`SqlInjectionLesson13.java`](https://github.com/WebGoat/WebGoat/blob/4e98f1cbbf896fdd06edcc9930515ebe0ade7c69/src/main/java/org/owasp/webgoat/lessons/sqlinjection/mitigation/SqlInjectionLesson13.java) — `60a88672f13a18f6f436aa962eaab426563014bd6b1015b3290a95f6c39f4f3f` | [`SqlInjectionLesson13Test.java`](https://github.com/WebGoat/WebGoat/blob/4e98f1cbbf896fdd06edcc9930515ebe0ade7c69/src/test/java/org/owasp/webgoat/lessons/sqlinjection/mitigation/SqlInjectionLesson13Test.java) — `4a8684a8f1a477fe56f61466cb0a25f6c54d54312c2fb9b968b2ba3dbb1e4df0` | Narrow secure-code reference for binding SQL values. It is not a whole-application security label. | The pinned upstream [`LICENSE.txt`](https://raw.githubusercontent.com/WebGoat/WebGoat/4e98f1cbbf896fdd06edcc9930515ebe0ade7c69/LICENSE.txt) identifies `GPL-2.0-or-later`; its SHA-256 is `2fea812568866fdb6ff99671ad70465bfc25ab77f86129795d08d961c30d2ca1`. An exact copy is included at [`LICENSES/WEBGOAT-UPSTREAM-LICENSE.txt`](LICENSES/WEBGOAT-UPSTREAM-LICENSE.txt). The full GPLv2 text is included at [`LICENSES/GPL-2.0-or-later.txt`](LICENSES/GPL-2.0-or-later.txt), copied from the SPDX license-list repository pinned to commit [`ab9b0904b43db6f4b67431efd8821feb821f1c8b`](https://github.com/spdx/license-list-data/tree/ab9b0904b43db6f4b67431efd8821feb821f1c8b); its SHA-256 is `aaf135472f81c5b4a0dca9367e5bb5e9750032b5bebe5442b36e4c0a47430df3`. Only the three listed WebGoat source files are copied into the new subset. Their source code is included verbatim, with original SPDX/copyright headers; test files are linked and hashed but not copied. The labels, instructions, explanatory text, and any remediation snippet are curator-authored and clearly identified as such. No AI/ML-specific grant or restriction was found in the inspected source notices or upstream license. That absence does not create separate training permission; the code remains subject to the applicable GPL terms. ## OWASP BenchmarkJava v1.2 security test cases Source repository: [OWASP-Benchmark/BenchmarkJava](https://github.com/OWASP-Benchmark/BenchmarkJava), pinned to commit [`10dfcc54ad02dcfcb358b0ba4a0fef8c919a6d17`](https://github.com/OWASP-Benchmark/BenchmarkJava/tree/10dfcc54ad02dcfcb358b0ba4a0fef8c919a6d17). The subset contains 22 complete Java source files from `src/main/java/org/owasp/benchmark/testcode/`. Each selected file has a file-level notice identifying the OWASP Benchmark Project and expressly permitting redistribution and modification under GNU GPL version 2. The matching full GPLv2 license from that pinned commit is included at [`LICENSES/OWASP-BENCHMARK-GPL-2.0.txt`](LICENSES/OWASP-BENCHMARK-GPL-2.0.txt); its SHA-256 is `c03cea027b4b40e4402fabd08557736727ec3d5bc54ad64ab6472de432198cad`. Labels are taken directly from the pinned [`expectedresults-1.2.csv`](https://raw.githubusercontent.com/OWASP-Benchmark/BenchmarkJava/10dfcc54ad02dcfcb358b0ba4a0fef8c919a6d17/expectedresults-1.2.csv), whose SHA-256 is `1809f6a690c6cf7dd6685df6ebe2eef8fe3ca93d19a7ca0ce45987ca4f5d78e1`. The 22 selected test IDs, categories, and CWE values are: | Category | Expected vulnerable | Expected not vulnerable | CWE | |---|---|---|---| | `cmdi` | `BenchmarkTest02613` | `BenchmarkTest02714` | CWE-78 | | `crypto` | `BenchmarkTest02663` | `BenchmarkTest02662` | CWE-327 | | `hash` | `BenchmarkTest02677` | `BenchmarkTest02678` | CWE-328 | | `ldapi` | `BenchmarkTest02472` | `BenchmarkTest02572` | CWE-90 | | `pathtraver` | `BenchmarkTest02569` | `BenchmarkTest02669` | CWE-22 | | `securecookie` | `BenchmarkTest02710` | `BenchmarkTest02711` | CWE-614 | | `sqli` | `BenchmarkTest02656` | `BenchmarkTest02740` | CWE-89 | | `trustbound` | `BenchmarkTest02624` | `BenchmarkTest02726` | CWE-501 | | `weakrand` | `BenchmarkTest02708` | `BenchmarkTest02721` | CWE-330 | | `xpathi` | `BenchmarkTest02189` | `BenchmarkTest02457` | CWE-643 | | `xss` | `BenchmarkTest02608` | `BenchmarkTest02712` | CWE-79 | This is a small balanced review subset: one expected-positive and one expected-negative test for each of the 11 benchmark categories. Every record includes the source path and URL, source commit, code SHA-256, license-file SHA-256, expected-results URL and SHA-256, category, expected status, and CWE. These are benchmark test labels, not paired fixes or production incident assessments. A negative result means only that the benchmark does not expect that specific test case to trigger its designated vulnerability; it is not a general safety claim about the full file or application. The selected source files and GPLv2 text contain no AI/ML-specific grant or restriction. The files themselves state the GPLv2 redistribution/modification terms, which remain applicable. This is not a separate legal determination about a particular model-training workflow or downstream distribution. The code is copied verbatim and has not been compiled or executed.