GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore/deps: patch Trivy and Dependabot findings preparing for release by marcleblanc2 · Pull Request #1383 · sourcegraph/src-cli

Conversation

@marcleblanc2

@marcleblanc2 marcleblanc2 commented Oct 30, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

The next src-cli release is blocked on vulnerability scanning: trivy fs --severity HIGH,CRITICAL on main reports 12 HIGH findings across go.mod and lib/go.mod, and the repository has six open Dependabot alerts. All of them are transitive Go dependencies; no code changes are needed.

This bumps every flagged module to its first patched version (or the minimum version the upgrade graph requires) in both go.mod and the vendored lib/go.mod, and lets go mod tidy pull the transitive closure along:

Module Before After Findings
golang.org/x/crypto v0.54.0 v0.57.0 CVE-2026-56854
golang.org/x/net v0.57.0 v0.60.0 CVE-2026-78669
golang.org/x/text v0.40.0 v0.42.0 CVE-2026-56851
golang.org/x/mod v0.37.0 v0.41.0 CVE-2026-56864
github.com/klauspost/compress v1.18.0 v1.18.7 CVE-2026-63209 (Dependabot #95, #96)
github.com/go-jose/go-jose/v4 v4.1.4 v4.1.6 CVE-2026-116587
google.golang.org/grpc v1.82.1 v1.83.2 CVE-2026-84304, CVE-2026-84445, CVE-2026-84303 (Dependabot #91, #92, #93)
go.opentelemetry.io/otel/sdk v1.43.0 v1.45.0 CVE-2026-81870 (Dependabot #94)

x/crypto, x/text, and x/mod land above their first patched versions because golang.org/x/[email protected] requires them. grpc goes to v1.83.2 rather than v1.83.1 because Trivy still flags v1.83.1 for CVE-2026-84445.

This also fixes renovate.json, which has had a doubled comma after the "$schema" key since #1179. Renovate refused to parse it and stopped opening dependency PRs for this repository, which is part of why these findings piled up. Fixes #1345.

Test Plan

  • go build ./..., go vet ./..., and go test ./... pass on this branch.
  • trivy fs --exit-code 1 --severity LOW,MEDIUM,HIGH,CRITICAL . exits 0 with no findings in go.mod, lib/go.mod, or npm-distribution/package-lock.json (before: 12 HIGH).
  • npx --package renovate renovate-config-validator renovate.json reports Config validated successfully.
  • The open Dependabot alerts (Use $EDITOR to define campaign name/desc if not given #91–a8n: add branch flag for creating campaigns #96) should auto-close once this merges, and Renovate should resume opening PRs.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@marcleblanc2
chore/deps: patch all open Trivy and Dependabot findings
69e8301
Bump golang.org/x/{crypto,net,text,mod}, github.com/klauspost/compress,
github.com/go-jose/go-jose/v4, google.golang.org/grpc, and
go.opentelemetry.io/otel/sdk in go.mod and lib/go.mod so that
`trivy fs --severity HIGH,CRITICAL` is clean and Dependabot alerts
#91-#96 close. No code changes.
@github-actions

github-actions Bot commented Oct 30, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Open the Diff Tour for this PR in Sourcegraph

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@marcleblanc2
chore/renovate: fix invalid JSON in renovate.json
e9add8e
A doubled comma after the "$schema" key made renovate.json unparseable,
so Renovate stopped opening PRs for this repository.

Fixes #1345
@marcleblanc2 marcleblanc2 changed the title chore/deps: patch all open Trivy and Dependabot findings chore/deps: patch all Trivy and Dependabot findings, fix renovate.json Oct 30, 2026
@marcleblanc2 marcleblanc2 changed the title chore/deps: patch all Trivy and Dependabot findings, fix renovate.json chore/deps: patch Trivy and Dependabot findings preparing for release Oct 30, 2026
@marcleblanc2 marcleblanc2 mentioned this pull request Oct 30, 2026
ci: fix build cache, drop duplicated test run #1385
Merged
@marcleblanc2 @ampagent
snapshot upload: use option.WithAuthCredentialsFile
8a922ae
google.golang.org/api v0.264.0 deprecates option.WithCredentialsFile
(staticcheck SA1019), which failed the go-lint job. The credentials file
is a service account key, so load it as that type explicitly.

Amp-Thread-ID: https://ampcode.com/threads/T-01a18b16-df86-7399-a300-979289761a30
Co-authored-by: Amp <[email protected]>
@marcleblanc2 marcleblanc2 mentioned this pull request Oct 30, 2026
chore/deps: update Go to 1.27.3 and all dependencies to latest #1386
Merged
@marcleblanc2
Merge branch 'main' into marc/patch-vulnerable-deps
e90a05c
@marcleblanc2
marcleblanc2 added this pull request to stack #1387 October 30, 2026 06:28
@marcleblanc2
marcleblanc2 enabled stacked auto-merge (squash) October 30, 2026 08:22
@marcleblanc2
marcleblanc2 requested a review from a team October 30, 2026 08:25
stacked auto-merge was automatically disabled October 30, 2026 08:28

Replaced by a newer auto-merge request

@marcleblanc2
marcleblanc2 enabled stacked auto-merge (squash) October 30, 2026 08:28
DaedalusG
DaedalusG approved these changes Nov 3, 2026
View reviewed changes
@marcleblanc2
marcleblanc2 merged commit d613971 into main Nov 3, 2026
9 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@marcleblanc2
marcleblanc2 deleted the marc/patch-vulnerable-deps branch November 3, 2026 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@DaedalusG DaedalusG DaedalusG approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Action Required: Fix Renovate Configuration

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@marcleblanc2 @DaedalusG
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.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.