MODULE DETAIL
External Corpus Validation (OWASP Benchmark) Third-party
Classification claim · 501 test cases · tool: 1.171.0
This corpus is unmodified code from an independent third-party project, not something QShield's team generated — see the corpus notes below for provenance, licensing, and how ground truth was derived.
Every test case in this module: the expected result (ground truth -- for aws_discovery this includes the exact Moto resource configuration each case was scored against) paired with what the real scanner/collector actually reported, for all 501 cases -- not just the false positive/negative samples shown below.
Precision, recall, and F1 are not applicable here — this corpus has no positive cases (0 true positives + false negatives), so those metrics are mathematically undefined (0/0), not zero. Specificity and accuracy are what a negative-only corpus like this one actually measures.
CONFUSION MATRIX
Outcome counts
RUN NOTES
Notes
- semgrep available: True
- 501 files vendored unmodified from OWASP-Benchmark/BenchmarkJava (GPL-2.0, pinned commit 79b9bd6177e07991a9c11dc19e457c840e229931) -- see benchmark/corpus/vendor/owasp_benchmark/NOTICE.md
- Pure specificity/false-positive-rate check: every case's ground truth is expected_vulnerable=False by construction (independently verified via GitHub code search that none of these files reference RSA/EC/DH/DSA); precision/recall/F1 are degenerate here, see the specificity figure in the confusion matrix instead.
SAMPLE EVIDENCE
Individual cases
The first cases from this run -- see the full download above for all of them.
| Case | Outcome | Detail |
|---|---|---|
| owasp_specificity:BenchmarkTest00006 | TN | OWASP category 'cmdi' (CWE-78) is unrelated to asymmetric cryptography; independently verified via GitHub code search to contain no RSA/EC/DH/DSA usage anywhere in the upstream repository. |
| owasp_specificity:BenchmarkTest00051 | TN | OWASP category 'cmdi' (CWE-78) is unrelated to asymmetric cryptography; independently verified via GitHub code search to contain no RSA/EC/DH/DSA usage anywhere in the upstream repository. |
| owasp_specificity:BenchmarkTest00092 | TN | OWASP category 'cmdi' (CWE-78) is unrelated to asymmetric cryptography; independently verified via GitHub code search to contain no RSA/EC/DH/DSA usage anywhere in the upstream repository. |
| owasp_specificity:BenchmarkTest00171 | TN | OWASP category 'cmdi' (CWE-78) is unrelated to asymmetric cryptography; independently verified via GitHub code search to contain no RSA/EC/DH/DSA usage anywhere in the upstream repository. |
| owasp_specificity:BenchmarkTest00175 | TN | OWASP category 'cmdi' (CWE-78) is unrelated to asymmetric cryptography; independently verified via GitHub code search to contain no RSA/EC/DH/DSA usage anywhere in the upstream repository. |
| owasp_specificity:BenchmarkTest00294 | TN | OWASP category 'cmdi' (CWE-78) is unrelated to asymmetric cryptography; independently verified via GitHub code search to contain no RSA/EC/DH/DSA usage anywhere in the upstream repository. |
| owasp_specificity:BenchmarkTest00304 | TN | OWASP category 'cmdi' (CWE-78) is unrelated to asymmetric cryptography; independently verified via GitHub code search to contain no RSA/EC/DH/DSA usage anywhere in the upstream repository. |
| owasp_specificity:BenchmarkTest00308 | TN | OWASP category 'cmdi' (CWE-78) is unrelated to asymmetric cryptography; independently verified via GitHub code search to contain no RSA/EC/DH/DSA usage anywhere in the upstream repository. |
CORPUS
Corpus composition
- semgrep available: True
- 501 files vendored unmodified from OWASP-Benchmark/BenchmarkJava (GPL-2.0, pinned commit 79b9bd6177e07991a9c11dc19e457c840e229931) -- see benchmark/corpus/vendor/owasp_benchmark/NOTICE.md
- Pure specificity/false-positive-rate check: every case's ground truth is expected_vulnerable=False by construction (independently verified via GitHub code search that none of these files reference RSA/EC/DH/DSA); precision/recall/F1 are degenerate here, see the specificity figure in the confusion matrix instead.
MISCLASSIFICATIONS
False positives & false negatives
None observed in this run.