VulValidate: Auditing Function-Level Vulnerability Labels with Executable Evidence
Abstract
Reliable learning-based vulnerability detection requires high-quality labels, yet datasets built from vulnerability-fixing commits may label functions as vulnerable simply because they were changed by a security patch. We present VulValidate, a framework that uses LLM agents to coordinate dynamic analysis tools and construct vulnerability-triggering experiments from runtime feedback. Given a labeled function and its fixing patch, VulValidate reconstructs vulnerable and fixed revisions, selects suitable tools and execution paths, refines triggering inputs, and compares runtime behavior to assess function-level attribution. We audit all 35,849 instances originally labeled vulnerable in BigVul, PrimeVul, and DiverseVul. We confirm 20,510 (57.2%), correct 6,819 labels (19.0%), leave 7,981 attacked but undecided (22.3%), and cannot successfully measure 539 (1.5%). After conflict resolution and byte-exact deduplication, the corrected release contains 15,890 distinct confirmed vulnerable function bodies. In a blinded review of 581 sampled decisions, expert consensus supports 90.0%--92.0% of confirmations and 92.6%--99.0% of label corrections. With model parameters fixed, corrected evaluation lowers F1 for all five tested detectors on both BigVul and DiverseVul; retraining with corrected labels improves F1 for four of five detectors on each dataset. We also release a reusable VulValidate skill, corrected datasets, and reproducible evidence for future vulnerability-detection research.
Create a lesson
Metadata
- Categories
- cs.CR, cs.AI, cs.SE
- Comments
- 21 pages
Related papers
Show, Don't Tell: Making Execution Evidence a Prerequisite for Tool Use
Shared title terminologycs.CRChuanqi Shi
The Revision Is the Evidence: Evolution-Aware Retrieval for Auditing 5G Security Standards
Shared title terminologycs.CRGuangyuan Dong, Zidong Yu, Guohao Qi et al.
Does AI Help Cyber Attackers or Defenders? Evidence from Nonpublic Vulnerabilities and Subsequent Attacks
Shared title terminologycs.CRTobias Heldt, Matt Turk, Christoph Landolt et al.
Correct Verdicts, Flawed Reasoning: Structured Auditing of LLM-based Vulnerability Reasoning
Shared title terminologycs.CRBoyue Caroline Hu, Kaivalya Ahir, Ronghao Ni et al.
Localize-and-Detect: Auditing Task-Level Poisoning in Instruction-Tuned Models
Shared title terminologycs.CRLuze Sun, Cristina Nita-Rotaru, Alina Oprea
Evidence Coverage for Intent-Bound Execution: Scope, Obligations, and Cutoff Reasoning
Shared title terminologycs.CRMengting Wu, Lin Wang, Yong Zhang et al.