# Counting What It Found · Rob Hunter

Source: https://robhunterworks.com/writing/counting-what-it-found/
Author: Rob Hunter
Published: 2026-11-19
Updated: 2026-11-20

Count what a tool combines, then check that no distinct issue disappeared.

## How many separate things?

In my field study of Capital One's VulnHunter, an AI tool that proposes vulnerabilities in source code and writes a test for each one, I ran it against a local copy of OWASP crAPI, a deliberately vulnerable API. Its generated tests observed the predicted behavior for 39 of 46 candidate packages, each a claimed flaw plus its test ([Capital One's VulnHunter x OWASP crAPI: independent field study](https://github.com/robhunter-labs/vulnhunter-crapi-field-study)). In *[When the Machine Finds More](https://robhunterworks.com/writing/when-the-machine-finds-more/)*, I noted a limit I keep coming back to: those tests did not establish 39 human-accepted findings or 39 distinct exposures. That limit says more about counting than about the tool. Some of the 39 may describe one weakness from different angles; some may be steps along one longer path.

So before asking whether a finding is real, there's a plainer question: how many separate things did the tool find? With several tools, each reporting in its own words and at its own grain, the answer gets harder. When software tries to give it, the step is usually called correlation. In a real program, that answer would set the size of the review queue, the scope of the report and the list someone is asked to fix. **The count is a claim too, and it deserves the same checking as any finding.**

## Two ways to be wrong

The counting step can fail in two directions, and I don't think they cost the same.

A false merge folds a real issue into a duplicate's label, so the reviewer never sees it. It's like a bug tracker closing a report as a duplicate of a ticket that turns out to be a different bug: the second problem drops off every list anyone checks. In a real engagement, that would be a finding that never reaches the delivered report, so nobody is asked to fix it.

A false split leaves two copies of one issue in the queue. The reviewer checks it twice, and the copies can end up with different outcomes, one closed and one still open. That costs the time and consistency correlation was meant to save, but nothing disappears.

[Figure 1: Figure 1: two panels. False merge: two different issues become one queue item, and the second is out of view. False split: one issue becomes two queue items, one closed and one still open.](https://robhunterworks.com/art/counting-figure-1-two-ways-to-be-wrong.png)

Two panels. False merge: two different issues become one queue item, and the second is out of view. False split: one issue becomes two queue items, one closed and one still open.

> Every merge, right or wrong, makes the number go down. A wrong one takes a real finding with it, and the smaller queue still looks like success.

A system tuned only to shrink the queue can quietly trade the cheap mistake for the expensive one. One habit helps with both: keep every original candidate and make each merge reversible, so a reviewer who doubts one can undo it. That's a design choice to build in, not something I've seen measured across tools in a deployed product. **A false merge costs a finding; a false split costs time. Ask what the queue lost, not only how much it shrank.**

## A shared fix isn't one issue

To see what a queue lost, it helps to name what correlation decides. A **candidate** is anything a tool reports before a person has checked it. Correlation sorts candidates three ways; *[Proof Outside the Model](https://robhunterworks.com/writing/proof-outside-the-model/)* separated the first two, and here I add the third.

- A **merge** says two candidates are the same exposure: the same defect at the same affected instance, so one piece of evidence proves both, even when different names point to it, like several hostnames that redirect to one site. Two runs or two models reporting one captured effect are one finding seen twice; their agreement isn't, by itself, an independent witness.
- A **group** keeps distinct instances that share one root cause or fix and says how many were proven. The same missing header on 40 separately deployed hosts is a group of 40, and so is one middleware flaw exposed on several routes: one change can close them all, but each exposure still needs its own proof. A builder would know the shape: three ceiling stains under one leaking pipe are one repair and three places to check.
- A **chain** says several distinct issues combine into a path that none of them could reach alone.

[Figure 2: Figure 2: three panels. Merge: two tool reports of the same defect at the same instance become one item. Group: three stains under one leaking pipe, one repair and three places to check. Chain: separate issues linked into one path to a target.](https://robhunterworks.com/art/counting-figure-2-merge-group-chain.png)

Three panels. Merge: two tool reports of the same defect at the same instance become one item, correct when one proof covers both; it counts as one. Group: like three ceiling stains under one leaking pipe, one repair and three places to check; it counts as three under one fix. Chain: separate issues link into one path to a target, with credit only if the whole path is walked end to end; three issues, plus one path. A note below: a shared fix makes a group, not a merge; only the same defect at the same instance merges.

Each can go wrong in either direction. I'd watch most for a group counted as a merge, because it looks tidy: the report would show one issue where there are 40 exposed hosts, and a fix that missed one could still look complete. **A shared fix makes a group, not a merge. Keep every instance in the count, each with its own proof.**

## What the smaller number doesn't show

Tools already make these calls, and across tools the work is well underway. Cloudflare's harness asks an agent whether one fix would close several candidates and folds those away as duplicates ([Build your own vulnerability harness, Stage 2, Deduping](https://blog.cloudflare.com/build-your-own-vulnerability-harness)). In this piece's terms, that removes them from the count the way a merge does, even where a shared fix would only make a group. DefectDojo matches findings from two tools when both hash the same chosen fields to identical values, and its Pro edition adds more cross-tool options ([How DefectDojo Deduplicates Findings Across Security Tools](https://docs.defectdojo.com/triage_findings/finding_deduplication/deduplication_across_tools/)). A harness AWS engineers shared raises its confidence when two independent scanners report a finding ([Building your AI vulnerability harness, Part 1](https://aws.amazon.com/blogs/security/building-your-ai-vulnerability-harness-part-1/), Layers 1 and 2). For chains in identity environments such as Active Directory, attack-path tools connect directed relationships between identities and machines into the paths an attacker could walk ([About BloodHound Edges](https://bloodhound.specterops.io/resources/edges/overview)).

What I went looking for was a measure of how often those calls are right. Cloudflare reports folding 5,442 findings as duplicates ([Build your own vulnerability harness, How we tell it's working](https://blog.cloudflare.com/build-your-own-vulnerability-harness)). That's a real reduction; how often a fold was wrong isn't reported, and that wasn't the post's purpose. One benchmark report I read called its findings de-duplicated, with no answer key I could find to check the merges.

Where researchers have checked, the risk has shown up. In fuzzing, the closest security-adjacent precedent I found, one experiment traced 595 distinct crash stack hashes back to 9 actual bugs, and about 16% of the hashes matched more than one bug, so deduplicating by stack hash would have thrown real bugs away ([Evaluating Fuzz Testing, §7.2 to §7.3, Table 3](https://arxiv.org/abs/1808.09700)). The same step overcounted and hid findings at once.

Sound methods can also find very different things. In Anthropic's study of one model's agents searching the same 15 projects, a coordinated group spent about four times the tokens and found 266 vulnerabilities; agents assigned to specific directories found 21, and only 12 appeared in both. About half of the 266 came from outside the assigned directories ([Patterns and problems in emerging multiagent systems, Measuring coordination](https://www.anthropic.com/research/multiagent-systems)). The authors read the two methods as "largely complementary." When sound methods can diverge that much, a merge across tools is a strong claim.

For security findings from several tools, nothing I read measured together whether correlation kept every real issue, whether a proposed chain held, and whether it saved review time. If one exists, I'd like to hear about it. **Ask for the wrong-merge rate beside any reduction count. Without it, a smaller queue can't show what it cost.**

## How it could be measured

Measuring a lost finding needs an answer key. Cupel, the small lab inside my own system, is built to score tools against a key that mixes real bugs with planted decoys. I haven't used it to measure how well a security tool finds real vulnerabilities, but the idea could extend to correlation with four kinds of planted case:

- **Duplicates:** one issue at one location, reported in different words or by different tools. A correct step merges them.
- **Siblings:** the same root cause at different locations. A correct step groups them and keeps each instance.
- **Look-alikes:** the same symptom from different root causes. A correct step keeps them apart; merging them loses a finding and counts against the tool.
- **Noncomposing links:** real issues that don't chain into a working path, next to a set that does. A correct step doesn't report the first set as a chain.

[Figure 3: Figure 3: four kinds of planted case for measuring correlation, with what a correct step does and the costly mistake for each.](https://robhunterworks.com/art/counting-figure-3-four-planted-cases.png)

Four kinds of planted case for measuring correlation (duplicates, siblings, look-alikes, noncomposing links), with what a correct step does and the costly mistake for each.

The score is built so a tool can't win by merging everything or nothing. On a fixed set of known pairs, it computes two shares, true duplicates merged and look-alikes kept apart, and reports the lower one with both counts. False merges are reported on their own as the costlier error, and merging siblings counts as a false merge too, since it drops an instance. A chain earns credit only if it's walked end to end in the planted environment, and anything the key can't settle is reported as unknown, not as a pass. **Score correlation against look-alikes, report the weaker number, and count false merges on their own.**

## What two small studies showed

Cupel has run two small correlation studies. The first was a narrow pilot: 16 synthetic findings by one author, with 16 of the 120 possible pairings designated in advance as eight duplicates and eight look-alikes. Merging everything and merging nothing each scored zero on their weak side, as the lower-of-two rule intends. The method under test scored perfectly at first, which said more about the cases than the method, because the same author had shaped both. Challenged with renamed aliases and missing fields, it missed a duplicate and crashed on two inputs; a revised version handled those, then merged two distinct issues in new cases. The measurement caught the very failure this piece is about. In a live queue, that false merge would have made the number smaller.

The second study tested grouping, not merging, on alerts from two open-source scanners, Nuclei and ZAP, run against two small, isolated synthetic web targets authored inside my lab, with an answer key an independent author sealed before scoring. The method had something an ordinary queue doesn't: before-and-after responses for controlled changes to each target. With them, it sorted all 253 pairs correctly and kept every raw alert. A simple rule that grouped alerts by the property they reported, without those responses, made 30 wrong calls, all among the 127 pairs from alerts on the same target. The 253 pairs are every pairing of 23 alerts, not 253 independent cases.

| Comparison | First pilot | Second study |
| --- | --- | --- |
| Question | Can the scoring catch a false merge? | Which scanner alerts share a fix, and which only look alike? |
| Inputs | 16 synthetic findings, one author | Raw Nuclei and ZAP output from two synthetic targets |
| Answer key | Written by the same author | Sealed by an independent author before scoring |
| Result | The method passed, then merged two distinct issues when challenged | All 253 pairs from 23 alerts sorted correctly, with before-and-after responses as extra input |
| What it doesn't show | That any correlation method works | That the alerts were real, that review got faster, or that chains can be scored |

The result, at its actual size, is narrow: on two synthetic targets, with that extra access, shared fixes could be told apart from look-alike symptoms, and one simple rule that grouped by what the alerts reported wasn't enough. Whether review gets faster without getting worse needs real reviewers, timed on raw and correlated queues with matched cases and the order swapped, so the second pass isn't faster just for coming second, and scored on what each missed as well as how long it took. I haven't run that test. **Alerts that read alike can need different fixes. Here, grouping held when it rested on what changed in the target, and broke when it rested on what the alerts said.**

## A test on your own queue

You don't need a lab to start. Take the raw tool output from your last engagement and try three things:

1. Count the candidates that came in, then the distinct exposures left after merging, then the groups and the chains.
2. Reopen 10 merges at random and check whether each one hid a different issue. Then look for the reverse: one issue in the queue twice, closed in one place and open in the other. If your tooling keeps no record of its merges, that absence is the first thing to note.
3. For each chain your tooling proposed, ask whether someone confirmed the whole path or only the links.

The gap between the first count and the second is the thing to talk about. If it's large, correlation is doing a lot of quiet work on your behalf, and quiet work is the kind worth measuring. **If your tooling can't show what it merged, you can't tell what your report left out.**

## The honest limit

This rests on one tool against one target, two small synthetic studies, and a correlation method that hasn't been tried on real-world findings. None of it measures review time, and none of it scores how well a tool finds real vulnerabilities. The four planted cases are a design for a test, not a result. I still can't say how many separate things those 39 were. I can say how I'd go about finding out.

## Next credible question

*How would you know a merge hid a real issue, if nobody ever reopened it?*

If you run correlation in your own pipeline, or try the three steps above, I'd like to hear what you find, especially a merge that turned out to hide something. [Write to me](mailto:hello@robhunterworks.com).

---

## Appendix: notes on the sources

**The field study.** One tool, one local target. The tests observed the predicted behavior for 39 candidate packages, and 7 stayed conditional; none had completed human review, so none is an accepted finding, and the number of distinct exposures among them is unknown.

**The crash-deduplication study.** It measured fuzzing crashes, not security findings from several tools, which is why I treat it as a precedent rather than an answer.

**The unnamed benchmark.** I've left it unnamed because the point is the pattern, not the tool.

**Cupel's correlation studies.** The first was a synthetic, same-author pilot: its controls passed, and the method failed challenges it hadn't been shaped for. The second tested grouping by shared fix, not exposure identity: raw Nuclei and ZAP output from two related, isolated synthetic targets authored inside my lab, an answer key sealed by an independent author, and controlled before-and-after responses given to the method as extra input. A later check on the same records left out the server-version alerts, the class most open to debate; the method still matched the key on all 57 remaining within-target pairs, including the 30 between the two scanners, and all 30 of the property rule's errors fell among those 57. That was a second look at the same two targets, not a new validation. Neither study validated the alerts as vulnerabilities, measured reviewer time, scored a chain detector, or tested real-world findings.

*Revised November 20, 2026: shortened and reorganized around its lessons, with the two Cupel studies in their own section; one supporting source and some supporting detail were trimmed. No finding or reported figure changed.*
