Case · DiggingBeagle record

A vulnerability benchmark found that add-only fixes defeat naive defect localization

VulSpot assembled more than 500,000 functions from about 24,000 registered CVEs and identifies safety-guard additions that conventional diff-only labels cannot localize. Its reported 99.3% is labeling coverage, not model security recall.

Published by DiggingBeagle:

Scope

Controlled construction and labeling of a vulnerability-detection benchmark for AI and non-AI code analysis; no observed deployed exploitation or measured field-wide model recall.

Assessment profile

Assessment method
Setting
research demonstration
Exploitation
not established
Evidence
Grade B
Remediation
not applicable
AI role
WITH AI
Basis and provenance

Primary research/advisory evidence supports the enumerated scope and outcomes, but no independent field-wide exploitation or loss denominator exists. Impact band remains unassigned; no publication or exploitation claim is inferred from the research setup. Controlled construction and labeling of a vulnerability-detection benchmark for AI and non-AI code analysis; no observed deployed exploitation or measured field-wide model recall.

Assessed Nov 17, 2026 using diggingbeagle.assessment/1.

At a glance

Mechanism and trust boundary

  1. 01

    Label construction

    A code fix inserts a protective check without deleting a vulnerable original statement.

    Boundary: patch representation to benchmark truth

  2. 02

    Potential distortion

    Diff-only localization misses the unsafe statement and silently biases model training and evaluation.

    Boundary: measurement artifact to claimed detector capability

  3. 03

    Control

    VulSpot links the new guard to the protected old statement and records label confidence and chronology.

    Boundary: benchmark construction to independent validation

Claims & evidence

CLM-DB255-VULSPOT-ADDThe authors localized 99.3% of previously unlocalized functions affected by add-only patch patterns; this statistic concerns labeling, not downstream detector recall.supported

Basis: reported finding

Link to claim
CLM-DB255-VULSPOT-SIZEVulSpot reports over 500,000 functions in 21 languages drawn from approximately 24,000 registered CVEs.supported

Basis: reported finding

Link to claim
CLM-ENRICH256-VULSPOT-LABEL-COVERAGEVulSpot reports 99.3% recovered localization for functions missed by deletion-only diff labelling on add-only guard patches; the percentage is annotation coverage, not model vulnerability detection recall.supported

Basis: reported finding

Link to claim

Implications

A defensible AI code-security report should disclose how vulnerability labels were obtained, whether near-clone and future-version leakage were eliminated, and whether an exploit witness still succeeds before and after the proposed repair. VulSpot is a valuable candidate benchmark, but published dataset statistics are not validated real-world prevention rates. Report vulnerable-function localization and actual exploit or bad-effect detection as different metrics. Check chronological and clone-separated holdouts before drawing conclusions about production code-review performance.

Controls and mitigations

  • Audit add-only repairs manually for original vulnerable statement and actual preconditions.
  • Split evaluation data by time and code clone, not only randomly.
  • Require differential reproduction before and after a proposed fix, with false-positive costs and execution side effects recorded.

Unknowns and contradictions

  • Independent audit of all automatic labels and monthly refresh accuracy is not provided in the paper.
  • No field-wide performance or operational cost estimate is established.

Sources and citation

Material revision history

  1. Nov 16, 2026 · Published version · first publication · revision 257