chore(security): suppress sigstore CVE-2026-48815 in npm's bundle#62
Merged
Conversation
Trivy fails the docker job on sigstore 3.1.0 (CVE-2026-48815, HIGH) at usr/lib/node_modules/npm/node_modules/sigstore — npm's own bundled provenance dependency, not project code and unreachable by package.json overrides. The image never invokes sigstore.verify() with certificateOIDs, so the bypass is not exercised. Add a targeted .trivyignore entry mirroring the existing picomatch precedent.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add a targeted
.trivyignoreentry forCVE-2026-48815so thedockerjob's Trivy scan stops failing CI on a HIGH CVE inside npm's own bundled dependency.Motivation
Closes #61. The
dockerjob fails on every open PR and onmasterat the Trivy step — the only finding issigstore@3.1.0/CVE-2026-48815(HIGH) atusr/lib/node_modules/npm/node_modules/sigstore/package.json. That's npm's internal bundle (NodeSource Node 22 / npm 10), not project code, and unreachable bypackage.jsonoverrides — identical to the existing picomatch precedent. The image never invokessigstore.verify()withcertificateOIDs, so the (integrity-only) bypass is not exercised. This also unblocks the 6 Dependabot PRs (#55–#60), which are red solely because of this shared job.Changes
CVE-2026-48815targeted-ignore entry to.trivyignore, scoped tousr/lib/node_modules/npm/node_modules/sigstore/package.json, with a justification comment (mechanism, reachability, why overrides can't fix it, removal condition).Test plan
.trivyignoredocker/Trivy job going green is the verificationNotes for reviewers
fix/pebble-trivy-cvesbranch has 2 unmerged commits removing pebble for Go stdlib CVEs — out of scope here.master; I'll surface it.