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

Release candidate (exploratory). 30 matched pairs of vulnerable and minimally fixed Python functions (14 CWEs) under 14 comment conditions (clean, a neutral doc comment, and 12 adversarial strategies): 840 cases. 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 Phase 2 seed-0 results 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. Human blinded review of the twins is in progress and may change pairs. Code: MIT; data: CC-BY-4.0.

Link
https://doi.org/10.5281/zenodo.24517927
Found by
DataCite
Authors
Sunny Chokshi
Organizations
University of the Cumberlands
Categories
benchmark
Published
2026-11-25
Last seen by the radar
2026-11-26
Citations
0
Downloads
0
Views
0
Radar score
30.69 / 100 (how it is scored)
Why it scored so
Also found via DataCite; Matched: benchmark; Primary record: DataCite
Related links
https://zenodo.org/doi/10.5281/zenodo.24517927
https://doi.org/10.5281/zenodo.24517327
https://zenodo.org/doi/10.5281/zenodo.24517327
https://doi.org/10.5281/zenodo.24517328
https://zenodo.org/doi/10.5281/zenodo.24517328
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