CommentInject v2: matched-pair benchmark of adversarial code comments against LLM vulnerability detectors

Exploratory release; labels author-adjudicated, independent review requested and not yet reported. Matched pairs of vulnerable and minimally fixed Python functions under 14 comment conditions (clean, a neutral doc comment, and 12 adversarial strategies). Core set: 27 pairs, 13 CWEs, 756 cases. Extended set: 30 pairs, 14 CWEs, 840 cases (adds three CWE-22 pairs whose fixes leave a documented residual race). Reports TPR/FPR, balanced accuracy and signal-detection d-prime and criterion shifts with pair-clustered bootstrap intervals and TOST equivalence, so that a detector that loses discrimination can be told apart from one that only becomes less willing to flag. Includes one Phase 2 run at temperature 0 (seed 0) on four local open-weight models, a comment-blind SAST control (Bandit), a 5-pair frontier-model probe, a scorer for any detector, and local integrations for Inspect/inspect evals, garak, promptfoo, Microsoft PyRIT and RealVuln. Every pair was adjudicated by the author; six fixed twins were revised after outcome data were available. The rc3 reading of a discrimination loss for qwen3.5:4b is withdrawn (see CHANGELOG). Code: MIT; data: CC-BY-4.0.

Link
https://doi.org/10.5281/zenodo.24694365
Found by
DataCite
Authors
Sunny Chokshi
Organizations
University of the Cumberlands
Categories
benchmark
Published
2026-11-30
Last seen by the radar
2026-12-01
Citations
0
Downloads
0
Views
0
Radar score
35.07 / 100 (how it is scored)
Why it scored so
Matched: benchmark; Primary record: DataCite
Related links
https://zenodo.org/doi/10.5281/zenodo.24694365
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by DataCite