Repository navigation
chore(deps): upgrade golang.org/x/crypto to v0.55.0 - #44
Merged
Merged
Conversation
- Bump golang.org/x/crypto from v0.54.0 to v0.55.0 to fix CVE-2026-56854 (golang.org/x/crypto/ssh) - Refresh transitive golang.org/x/{net,sys,text} versions via go mod tidy
There was a problem hiding this comment.
🟢 Approval recommended
The diff is a straightforward dependency/metadata update (go.mod/go.sum only) that removes the old vulnerable version reference and aligns checksums with the new resolved versions.
Pull request overview
This PR updates the root Go module’s dependency metadata to remediate a reported vulnerability in golang.org/x/crypto and unblock the failing scheduled Trivy Security Scan workflow, with changes limited to go.mod/go.sum.
Changes:
- Bumped
golang.org/x/cryptofromv0.54.0tov0.55.0(indirect) ingo.mod. - Refreshed transitive Go
x/*dependencies viago mod tidy(notablygolang.org/x/texttov0.41.0). - Updated
go.sumchecksums to match the new resolved module versions.
File summaries
| File | Description |
|---|---|
| go.mod | Updates indirect golang.org/x/crypto to v0.55.0 and refreshes related x/* versions. |
| go.sum | Updates module checksums corresponding to the new dependency graph. |
Review details
- Files reviewed: 1/2 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
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
The daily Trivy Security Scan workflow on the default branch has been failing because
golang.org/x/cryptov0.54.0 is affected by CVE-2026-56854 (CRITICAL,golang.org/x/crypto/ssh).golang.org/x/cryptoto v0.55.0 in everygo.modof this repository (including example modules).go mod tidyrefreshed the transitivegolang.org/x/*versions that v0.55.0 requires. Onlygo.mod/go.sumfiles changed.Related issues
AI authorship
go.mod/go.sumfiles in this PR (generated withgo get+go mod tidy)Change classification
Dependency-only bump; no source code changed.
Plan reference
Goal: make the Trivy Security Scan workflow pass on the default branch by upgrading the vulnerable dependencies to their fixed versions. Scope:
go.mod/go.sumonly.Verification
trivy fs --scanners vuln,secret,misconfig --severity CRITICAL,HIGH,MEDIUM --ignore-unfixed --exit-code 1 .(same flags as CI, vulnerability DB dated 2026-09-05): pass, 0 findingsgo build ./...in every module: passgo test ./...in the root module: pass for unit testsSecurity check
Risk and rollback
Reviewer guide
go.mod.go.sumhash updates are mechanical output ofgo mod tidy.