SkillSpector icon indicating copy to clipboard operation
SkillSpector copied to clipboard

SC4 uses confirmed-vulnerability wording for unknown versions and failed lookups

Open Spectorian opened this issue 2 months ago • 1 comments

Problem

SC4 already distinguishes some unknown-version cases as LOW and Unverifiable. However, the generic explanation and remediation can still assert known vulnerabilities and direct the user to a patched version. Lookup-failure findings can inherit the same misleading CVE language.

Reproduction

An offline test supplied a synthetic advisory for examplepkg with its installed version unknown. The finding said it could not determine whether the installed version was affected, but its generic explanation stated that the dependency had known vulnerabilities. A separate test simulated an OSV failure with no matching fallback advisory.

Both tests used controlled responses; neither reports a real package vulnerability or a live database outage.

Expected behavior

Clearly distinguish a known affected version, an unknown version and a failed lookup. Recommend a patched version only when the evidence supports it. Preserve genuine vulnerability findings, fallback evidence and incomplete-coverage reporting. An empty or failed lookup should not imply that all dependencies are safe.

Related work

PR #442 adds SC10 dependency-source analysis; this issue concerns SC4 reporting. Earlier version and lookup work is tracked in #42 and #102.

Relevant code

static_patterns_supply_chain.py:1982, static_patterns_supply_chain.py:2221, pattern_defaults.py:97.

Spectorian avatar Sep 29 '26 00:09 Spectorian

Merge-state update checked on 2026-10-06: PR #692 has merged, and GitHub automatically closed this issue as completed.

SC4 report guidance now distinguishes confirmed vulnerable versions, unknown versions, and lookup failures, retaining the supporting vulnerability evidence.

rng1995 avatar Oct 04 '26 10:10 rng1995