Skip to content

chore: bump golang.org/x/crypto to fix all 13 Dependabot alerts - #31

Merged
ayoubfaouzi merged 1 commit into
mainfrom
chore/bump-vulnerable-deps
Aug 3, 2026
Merged

chore: bump golang.org/x/crypto to fix all 13 Dependabot alerts#31
ayoubfaouzi merged 1 commit into
mainfrom
chore/bump-vulnerable-deps

Conversation

@ayoubfaouzi

Copy link
Copy Markdown
Member

Summary

Sixth item from the improvement backlog. All 13 open Dependabot alerts (7 critical, 2 high, 4 moderate) are advisories against a single package: golang.org/x/crypto < 0.52.0, present as an indirect dependency at v0.48.0. The advisories are largely in its SSH implementation.

  • go get golang.org/x/crypto@latest → v0.54.0, comfortably past the first patched version (0.52.0). x/sys and x/text were upgraded alongside as transitive requirements.
  • Worth noting for reviewers: go mod why golang.org/x/crypto reports the main module doesn't compile any of its packages — it's only in the module graph (via sprig's crypto template funcs) — so the CLI binary was never actually exposed. The bump clears the alerts and keeps the graph clean.

Test plan

  • go build ./... && go vet ./... && go test -race ./... passes locally after the bump; go mod tidy applied.

🤖 Generated with Claude Code

All open alerts (7 critical, 2 high, 4 moderate) point at
golang.org/x/crypto < 0.52.0, an indirect dependency. Upgrade it to
v0.54.0 (x/sys and x/text follow along). Note the vulnerable packages
are not actually compiled into the binary — go mod why reports the
main module does not need x/crypto — so this is hygiene rather than a
live exposure.
@ayoubfaouzi
ayoubfaouzi merged commit 759b2d3 into main Aug 3, 2026
3 checks passed
@ayoubfaouzi
ayoubfaouzi deleted the chore/bump-vulnerable-deps branch August 3, 2026 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant