mirror of
https://github.com/norandom/OpenUltraSAST.git
synced 2026-10-18 04:29:27 +00:00
feat(real-world-vfc-slice): add labeled OpenSSL/Firefox/Chromium/curl pair corpus
Harvest 176 isolated vuln-vs-fix functions (109 CVEs, 352 training rows) into benchmarks/pairs/vfc with provenance and a JSONL training manifest. Score the slice as an honesty dashboard (ousast pairs --slice vfc); keep the pair gate on the local fixtures only.
This commit is contained in:
@@ -34,12 +34,19 @@ Pairs in this directory **must not** join `LANGUAGE_MANIFESTS`.
|
||||
- **sast** — OWASP Benchmark Java/Python true-vs-false files and Juliet
|
||||
bad-vs-good sinks (`benchmarks/pairs/sast/`). Score is Youden (TPR − FPR).
|
||||
Honesty dashboard, not a CI fail.
|
||||
- **vfc** — reviewed isolated functions from OpenSSL, Firefox, Chromium, and
|
||||
curl (`benchmarks/pairs/vfc/`). Overlay vs inventory scoreboard. Honesty
|
||||
dashboard, not a CI fail. Training labels (vuln vs fixed) are
|
||||
`vfc/training/manifest.jsonl` (vuln vs fixed, one snapshot per line).
|
||||
Grow with a blobless `git log --grep=CVE-202` mine plus `vfc/harvest.py`,
|
||||
then `vfc/generate_catalog.py` (maintainer, not CI).
|
||||
|
||||
## Commands
|
||||
|
||||
```bash
|
||||
uv run ousast pairs
|
||||
uv run ousast pairs --slice github --json
|
||||
uv run ousast pairs --slice vfc --json
|
||||
uv run python -m openultrasast.pair_gate
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user