Commit a36d9b3
committed
Fix dedup clustering: only strong matches cluster
Moderate matches (same package, different CWE/version/files) were being
union-find merged into clusters, causing unrelated advisories targeting
the same repo to appear as duplicates. Now only strong matches (package
AND cwe/version/files overlap) cluster. Moderate and weak matches are
still reported as informational signals for the agent's semantic
analysis layer.
Found via live testing against anticomputer/vulnerable-test-app: an AI
slop report (CWE-94, version <= 99.0.0) was incorrectly clustered with
two legitimate SQL injection reports (CWE-89, version <= 0.0.1) because
all three shared the same Go package.1 parent 0f243d9 commit a36d9b3
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
453 | 453 | | |
454 | 454 | | |
455 | 455 | | |
456 | | - | |
| 456 | + | |
457 | 457 | | |
458 | 458 | | |
459 | 459 | | |
| |||
0 commit comments