Analysis · DiggingBeagle record
The security result improved. Which denominator did the experiment actually measure?
Trace-based grading, privacy-specific reviews, vulnerable-line labels, AI-generated Linux bug reports and a merged agent fix each measure different stages of security work. Comparing their headline percentages as one prevention score would misstate the evidence.
- Published
- Nov 16, 2026
Overview
A developer reads five encouraging results: a grader reaches 0.90 F1, privacy-specific prompts catch nearly 90% of selected flaws, a new dataset localizes 99.3% of a missed class, an AI research system finds thousands of Linux bug candidates, and a Copilot patch passes 78 tests. None of those figures proves that a deployed application became safer. They measure different objects, at different stages, against different reference truths.
The mismatch is not merely academic. If a security team uses a detection metric to justify autonomous code merging, or a passing test suite as evidence that an archive cannot contain unauthorized files, it crosses an unverified decision boundary. The proper question is which evidence remains after every conversion from candidate to verified effect.
A good grader can still be a bad alarm system
An agent-evaluation study examined frozen tool traces from two analytics agents. Among 72 manually labeled examples, a trace-aware evaluator recorded 30 true positives, four false positives, three misses and 35 true negatives, yielding about 0.896 F1. An output-only comparison recorded 29 true positives but 19 false positives, about 0.716 F1; the rule-based comparator flagged every benign control in that test. The false-positive denominator is the 39 benign examples, not all model outputs. The researchers also found 24 additional failures through functional and adversarial tests that did not overlap.
The agent-evaluation dossier therefore supports a specific procurement conclusion: inspect tool traces and budget for erroneous alerts, but demand an independent receipt before claiming a flagged tool action caused a real effect. F1 scores from frozen tests do not estimate how many production attacks a monitor prevented.
An explicit review objective can change recall more than a model upgrade
PrivacyPR collected 4,131 historical pull requests, including a manually labeled subset of privacy-related fixes. On the reported small controlled split, ordinary code-review instructions detected around 42% to 51% of selected privacy defects, while explicit privacy-review instructions detected roughly 88% to 91%, with false alarms around 11% to 15% on controls. These rates depend on the sample, prompt and reference labels. The corpus includes questions of data retention, accidental logging and consent that a generic 'find bugs' prompt may never ask.
The PrivacyPR Case concerns task specification and measurement. It does not convert an LLM's GDPR classification into a legal finding or prove that a production reviewer will have 90% recall across unseen repositories.
A labeled vulnerable line is not a detected vulnerability
VulSpot addresses a subtler denominator. Many vulnerability datasets mark deleted lines in a security patch as the vulnerable location. When a patch only adds a guard, it deletes no original unsafe statement, so a naive diff may fail to label the real cause. VulSpot's reported 99.3% is recovery of previously unlocalized functions in this add-only-fix situation. It is not accuracy of an AI vulnerability scanner, 99.3% exploit detection or validation of every one of the approximately 24,000 CVEs represented in the corpus.
The VulSpot dossier also points to code-clone and future-version leakage: a model can score well after seeing near-identical code or later fixes during training. Chronological and repository-separated tests should accompany line-level labels, and a claim that a vulnerability was repaired still requires a differential witness.
The vulnerability funnel has at least six stages
Microsoft's FORGE Lab reported 26,502 raw Linux findings, 11,769 screened candidates, 621 proof-backed cases, 59 accepted reports, 33 CVEs and 38 mainline fixes in its November account. The stages count different things. The team identified duplicate root causes, lower-priority findings and previously fixed issues before reporting. Eight selected lab scenarios demonstrated working root privilege escalation, but none of the raw discovery totals denotes known exploitation in the wild. Human triage and upstream review were material parts of the work.
One implication of the FORGE record is that security automation should report its conversion funnel, not just the cost of running the model. A merged fix requires another stage before it is present in a distribution release, and a released package still needs adoption by the affected fleet.
Even a green repair can have a second artifact problem
The gh-aw archive repair offers a concrete final-stage example. A Copilot-authored patch stopped leading-dash filenames from being interpreted as zip options, passed 78 checks and was merged. A later review warned that a root-directory entry might still cause the archiver to include unselected files. That second concern was a reported possible issue, not confirmed data exfiltration. Its relevance is the test oracle: did the test confirm that the actual generated archive contained exactly the permitted files, or only that the originally malicious filename was rejected?
| Reported number | Unit of observation | What it can support | What it cannot support by itself |
|---|---|---|---|
| 0.896 F1 | 72 labeled frozen agent traces | Relative evaluator behavior for that test set | Prevented field compromise |
| 88% to 91% | Selected privacy-review benchmark examples | Detection under a specified prompt | Legal compliance or generalized future recall |
| 99.3% | Previously unlocalized add-only-fix functions | Improved dataset labeling coverage | Scanner exploit recall |
| 59 accepted | FORGE coordinated Linux reports | Reviewed vulnerability findings | 59 field victims or patched deployments |
| 78 passing checks | Tests in a particular gh-aw repair | Assertions exercised by that suite | Exhaustive archive-content authorization |
Replace the single score with a chain of evidence
For a security program, record separately the candidate, its distinct root cause, exploit or failure witness, adjudicated label, reviewed patch, verified post-patch effect and deployed version. At each stage disclose the population, negative controls and open exclusions. An agent-generated issue can be valuable even before publication readiness, but it should not inherit a later stage's confidence merely because the same model or project name appears on the result.
These November findings support better measurement, not a prediction that AI code security is futile. The defensible improvement is to count verified harmful effects removed per unit of human and machine review, while preserving the ability to inspect each original claim and its supporting evidence.