Repository navigation
fix(deps): bump x/net, x/crypto and grpc for CVEs - #18
Merged
Merged
Conversation
golang.org/x/net 0.57.0 -> 0.60.0, golang.org/x/crypto 0.55.0 -> 0.57.0, google.golang.org/grpc 1.79.3 -> 1.83.1. grpc 1.83 pulls newer cloud.google.com/go/storage, OpenTelemetry and genproto modules and raises the go directive to 1.26.0 (the Dockerfile builds with golang:1.26.10). Co-Authored-By: TRM Agent <noreply@trmlabs.com>
v2.4.0 is built with Go 1.25 and refuses a go.mod targeting 1.26.0. v2.15.0 adds govet hostport and staticcheck QF1012 findings, fixed here: net.JoinHostPort for the proxy dial addresses (IPv6-safe) and fmt.Fprintf into the strings.Builder in a test. Co-Authored-By: TRM Agent <noreply@trmlabs.com>
thevijayshekhawat
approved these changes
Nov 12, 2026
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.
What
Bumps three Go modules flagged by Wiz and Dependabot:
golang.org/x/netgolang.org/x/cryptox/net0.60.0 requires 0.57.0)google.golang.org/grpcWhy
These are the open critical and high findings on this repo. All three modules are indirect dependencies, pulled in through
cloud.google.com/go/storage.How
Ran
go getfor the three modules, thengo mod tidy. grpc 1.83 requires newer versions of other modules, so this also upgrades:cloud.google.com/go/storage1.43.0 → 1.56.0google.golang.org/apiand genprotoIt also raises the
godirective from 1.25.0 to 1.26.0. The Dockerfile already builds withgolang:1.26.10, and CI reads the Go version fromgo.mod. Besidesgo.modandgo.sum, the PR changes the CI lint version and makes the small lint fixes listed under Testing.Testing
make testpasses (142 passed, 0 failed)make lintpasses. CI moves from golangci-lint v2.4.0 to v2.15.0, because v2.4.0 is built with Go 1.25 and refuses ago.modtargeting 1.26. v2.15.0 reported five issues, fixed here:net.JoinHostPortfor the dial addresses inmain.goandpg_main.go, andfmt.Fprintfinstead ofWriteString(fmt.Sprintf(...))in one test.go build ./...passes