Skip to content

Make scan comparisons coverage-aware and expose per-finding evidence - #94

Merged
spk-c merged 23 commits into
mainfrom
feature/scan-diff-evidence-states
Oct 21, 2026
Merged

spk-c merged 23 commits into
mainfrom
feature/scan-diff-evidence-states

Conversation

@spk-c

@spk-c spk-c commented Oct 21, 2026

Copy link
Copy Markdown
Owner

Summary

Addresses community feedback about false remediation signals in scan comparisons.

  • Add explicit per-finding states new, still_present, severity_changed, not_observed, not_checked, and scan_failed.
  • Never generate resolved automatically from an absent model finding.
  • Fail closed when follow-up scanner was unselected, failed, partial, not attributable, or lacks structured completion metadata.
  • Check saved raw scanner output to keep findings marked still_present when the model omitted them but original evidence persists.
  • Attach bounded exact-matched finding evidence, source attribution, scan date, and banner-based scanner version when available.
  • Surface provenance in scan diff JSON/HTML/PDF, regular HTML findings, JSON and SARIF exports.
  • Add offline regression tests, document limitations and backward-compatible legacy absent-findings key.

Caveats

not_observed_findings is retained for backward compatibility as the previous list of report-absent findings. Consumers must use finding_states and finding_state_counts for trustworthy status classification. Raw evidence and versions may be unavailable for historical findings. Redaction of scan diff exports is not automatic.

Verification

  • Run CI offline regression tests
  • Review diff exports for personal/sensitive data
  • Manual Windows scanner/report acceptance pending

No active scanning or exploit execution is part of this change.

spk-c added 23 commits October 21, 2026 02:33
@spk-c
spk-c marked this pull request as ready for review October 21, 2026 01:01
@spk-c
spk-c merged commit ad21266 into main Oct 21, 2026
13 checks passed
@spk-c
spk-c deleted the feature/scan-diff-evidence-states branch October 22, 2026 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant