ZeroHour
arXiv cs.AI / cs.LG / cs.CLpublished ()ingested Aman Priyanshu

Vulnerability Localization Benchmark: Measuring Agentic Security Analysis at Repository Scale

infoAI researchimportance 50
AI summary · glm-5.3

VLoc Bench tests 27 language models at locating vulnerable files in 290 repositories; best system reaches 0.229 File F1 and 38.4% of tasks unsolved.

The Vulnerability Localization Benchmark (VLoc Bench) contains 500 real-world vulnerabilities from 290 repositories across six package ecosystems and 147 CWE categories, pairing pre-fix and post-fix repository snapshots. Agents receive only a CWE description and read-only terminal access to identify affected files, and must confirm absence on patched snapshots. The strongest of 27 language models and four static-analysis tools achieves just 0.229 File F1; 38.4% of tasks receive no correct localization, and effective localizers still report unsupported locations on patched repositories.

  • 500 real vulnerabilities across 290 repositories, six ecosystems, 147 CWE categories
  • Agents localize from CWE description plus read-only terminal on pre-fix snapshots
  • Best of 27 models and 4 static-analysis tools reaches only 0.229 File F1
  • 38.4% of tasks receive no correct localization from any evaluated model
  • Strong localizers still report unsupported locations on patched repositories
Full article219 words · extracted from arxiv.org · click to collapse

Language-model agents increasingly operate over complete software repositories, yet cybersecurity evaluations primarily measure whether they can detect, reproduce, or repair vulnerabilities rather than whether they can locate the relevant code. We study vulnerability localization: given a weakness class and an unfamiliar repository, identify the implementation files associated with that weakness. We introduce the Vulnerability Localization Benchmark (VLoc Bench), comprising 500 real world vulnerabilities from 290 repositories across six package ecosystems and 147 CWE categories. Each task pairs repository snapshots immediately before and after a security fix. On the vulnerable snapshot, an agent receives only the CWE description and read-only terminal access and must return the affected files; on the patched snapshot, it must determine that the recorded vulnerability is no longer present. We evaluate 27 language models and four static-analysis tools under a common agent interface. Repository-scale vulnerability localization remains difficult: the strongest system achieves 0.229 File F1, and 38.4% of tasks receive no correct localization from any evaluated model. We further find that stronger localization does not imply reliable behavior after remediation: systems that identify vulnerable files effectively can still report unsupported locations on patched repositories. These results establish vulnerability localization as a distinct repository-scale capability and provide a setting for studying both how security agents search for vulnerable code and when they should refrain from reporting it.

Text extracted automatically; images, tables and formatting may be missing. Original: https://arxiv.org/abs/2609.15939