Skip to content

Bump grpc, x/crypto and the pending patch updates with a fresh Nix vendorHash - #422

Open
jeremy wants to merge 2 commits into
mainfrom
bump-go-modules
Open

Bump grpc, x/crypto and the pending patch updates with a fresh Nix vendorHash#422
jeremy wants to merge 2 commits into
mainfrom
bump-go-modules

Conversation

@jeremy

@jeremy jeremy commented Sep 9, 2026

Copy link
Copy Markdown
Member

One pass over the open Go dependency bumps, with the Nix vendorHash regenerated (make update-nix-hash, Docker-verified build), which is the step dependabot cannot take and the reason each of its PRs sits red on "Nix flake builds".

Bumps:

  • google.golang.org/grpc 1.82.1 → 1.83.1 (indirect, via sigstore-go)
  • golang.org/x/crypto 0.55.0 → 0.56.0 (indirect, via sigstore-go)
  • charm.land/bubbles/v2 2.2.0 → 2.2.1
  • github.com/gofrs/flock 0.13.0 → 0.13.1
  • github.com/mattn/go-runewidth 0.0.28 → 0.0.29
  • github.com/yuin/goldmark 1.8.5 → 1.8.6
  • tests/smoke: golang.org/x/sys 0.34.0 → 0.44.0

Alerts this closes, and the verdict on each:

Alert Rule Verdict
Dependabot #1 GHSA-vp52-pcj8-j9qc / CVE-2026-84304, grpc HTTP/2 DATA-frame OOM Fix. Server-side DoS in a package hey-cli only links through sigstore-go's verifier; govulncheck shows no call path. Bumped to clear it.
Code scanning #52 Trivy CVE-2026-84304 (grpc) Fix, same bump.
Code scanning #53, #54 Trivy CVE-2026-56855 / CVE-2026-78662 (x/crypto/ssh channel deadlock DoS, GO-2026-6354/6355) Fix. hey-cli does not use x/crypto/ssh; govulncheck reports both as imported-but-uncalled. Bumped to clear them.
Code scanning #15 Trivy CVE-2026-39824 (x/sys/windows NewNTUnicodeString, GO-2026-5024) in tests/smoke Fix. Test-only module, never shipped; bumped to clear it.
Code scanning #14 Scorecard Vulnerabilities (5 OSV hits) Four of the five are the entries above. The fifth, GO-2026-5932, is the "x/crypto/openpgp is unmaintained" advisory with no fixed version, pulled in by sigstore-go's rekor dsse types and not called by hey-cli; its Trivy twin (#48) is dismissed as such and this alert will keep reporting that one entry after merge.

govulncheck ./... before: 0 reachable, 2 imported-uncalled (x/crypto), 1 required-uncalled (grpc). After: 0 reachable, 0 imported, 1 required-uncalled (GO-2026-5932, no fix exists).

Local gate: make check, make vuln, make gosec, make race-test pass; make test-e2e passes every nix and lockstep test, with the only failures being the five install_ssh_key.bats cases that use GNU stat -c in their assert helper and fail on macOS regardless of branch.

Supersedes #414, #413, #386, #376 and #375.


Summary by cubic

Bumps pending Go dependency updates and regenerates the Nix vendorHash so the dependabot PRs no longer fail on Nix flake builds.

  • Updates google.golang.org/grpc to 1.83.1, golang.org/x/crypto to 0.56.0, plus patch bumps for charm.land/bubbles/v2, github.com/gofrs/flock, github.com/mattn/go-runewidth, and github.com/yuin/goldmark.
  • Bumps golang.org/x/sys in the smoke test module to clear GO-2026-5024.
  • Closes CVE-2026-84304 and GO-2026-6354/6355; govulncheck shows no reachable call path for either.
  • GO-2026-5932 (x/crypto/openpgp unmaintained) has no fixed version and will keep reporting one entry after merge.

Written for commit 385b740. Summary will update on new commits.

Review in cubic

…ates

grpc 1.83.1 closes CVE-2026-84304 (HTTP/2 DATA frame fragmentation OOM) and
x/crypto 0.56.0 closes GO-2026-6354/6355 (ssh channel deadlock DoS); neither
package is called from hey-cli, so this clears the scanners rather than a live
path. bubbles 2.2.1, flock 0.13.1, go-runewidth 0.0.29 and goldmark 1.8.6 are
the patch bumps dependabot has open, and the smoke test module's x/sys moves
to 0.44.0 for GO-2026-5024.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Critical Nix, test, lint, race, and platform checks were still running at review time.

Pull request overview

Updates security-sensitive and pending Go dependencies while refreshing Nix vendoring metadata.

Changes:

  • Bumps gRPC, x/crypto, and four direct dependencies.
  • Updates smoke-test x/sys.
  • Regenerates the Nix vendorHash.

[!TIP]
If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.

File summaries
File Description
go.mod Updates root dependency versions.
go.sum Refreshes root module checksums.
tests/smoke/go.mod Bumps smoke-test x/sys.
tests/smoke/go.sum Refreshes smoke module checksums.
nix/package.nix Updates the vendored dependency hash.
Review details
  • Files reviewed: 3/5 changed files
  • Comments generated: 0
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-09T22:53:10.909429Z 385b740 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants