Skip to content

ci(osv): suppress prometheus/prometheus transitive CVEs (unreachable)#45

Merged
mastermanas805 merged 1 commit into
masterfrom
ci/osv-suppress-prometheus-transitive
May 21, 2026
Merged

ci(osv): suppress prometheus/prometheus transitive CVEs (unreachable)#45
mastermanas805 merged 1 commit into
masterfrom
ci/osv-suppress-prometheus-transitive

Conversation

@mastermanas805

Copy link
Copy Markdown
Member

Summary

Adds `osv-scanner.toml` to suppress 4 `prometheus/prometheus@v0.303.0` transitive CVEs that govulncheck (call-graph aware) already confirms unreachable. Per CLAUDE.md rule 25.

Why

`prometheus/prometheus` is the Prometheus server-binary module, not client_golang. The worker doesn't import or call it directly — it's pulled in transitively by OTel/Grafana consumers. govulncheck reports 0 reachable; OSV-Scanner has no reachability filter so it flags all 4.

Suppressions auto-lift when an upstream consumer upgrades past v0.303.0.

🤖 Generated with Claude Code

OSV-Scanner flags 4 CVEs in prometheus/prometheus v0.303.0 (the
server-binary module) but govulncheck confirms 0 reachable — the
worker never imports or calls any code from that module; it's
pulled in transitively by an OTel/Grafana consumer.

Per CLAUDE.md rule 25, suppressing in osv-scanner.toml with explicit
rationale rather than chasing a transitive bump that may not exist.
These suppressions will lift naturally when an upstream consumer
upgrades to prometheus > v0.303.0.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@mastermanas805 mastermanas805 merged commit 3432752 into master May 21, 2026
4 of 5 checks passed
@mastermanas805 mastermanas805 deleted the ci/osv-suppress-prometheus-transitive branch May 21, 2026 18:21
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