Skip to content

security(deps): bump x/crypto, x/sys, Go toolchain, and npm transitives - #9

Merged
trietphm merged 2 commits into
mainfrom
build/bump-vulnerable-deps
Aug 3, 2026
Merged

security(deps): bump x/crypto, x/sys, Go toolchain, and npm transitives#9
trietphm merged 2 commits into
mainfrom
build/bump-vulnerable-deps

Conversation

@trietphm

@trietphm trietphm commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

What

Fixes all 22 open Dependabot alerts plus local pnpm audit findings. Dependency and toolchain bumps only, no code changes.

Go (go.mod / go.sum)

  • golang.org/x/crypto: 2021 pseudo-version -> v0.54.0. Clears 20 alerts (7 critical, 4 high, 9 medium), mostly ssh/agent auth bypasses and DoS, including GHSA-jppx-rxg9-jmrx, GHSA-x527-x647-q7gg, GHSA-5cgq-3rg8-m6cv, GHSA-v778-237x-gjrc.
  • golang.org/x/sys: 2021 pseudo-version -> v0.47.0 (GHSA-p782-xgp4-8hr8, medium).
  • toolchain go1.26.5 pinned so CI/release builds pick up Go stdlib fixes flagged by govulncheck as reachable from this code (GO-2026-5856 crypto/tls, GO-2026-5039 net/textproto, GO-2026-5037 crypto/x509). CI already resolves Go via go-version-file: go.mod, and setup-go honors the toolchain directive.

npm (pnpm-lock.yaml, dev tooling only)

Both are in-range lockfile refreshes, no overrides.

Verification

  • go build ./..., go vet ./..., go test ./... all pass
  • govulncheck ./...: 0 vulnerabilities affecting this code. Only remaining informational finding is GO-2026-5932 (x/crypto/openpgp unmaintained, no fixed version, not imported here)
  • pnpm audit: no known vulnerabilities

🤖 Generated with Claude Code

CI

  • golangci-lint bumped v2.6.2 -> v2.12.2: the old binary was built with go1.25 and refused the go1.26.5 toolchain target

Fixes all 22 open Dependabot alerts plus pnpm audit findings:

- golang.org/x/crypto 2021 pseudo-version -> v0.54.0 (20 alerts: 7 critical,
  4 high, 9 medium, mostly ssh/agent auth bypass and DoS)
- golang.org/x/sys 2021 pseudo-version -> v0.47.0 (1 medium)
- toolchain pinned to go1.26.5 so CI/release builds pick up stdlib fixes
  (GO-2026-5856 crypto/tls, GO-2026-5039 net/textproto, GO-2026-5037
  crypto/x509), setup-go reads it via go-version-file: go.mod
- fast-uri 3.1.3 -> 3.1.5 (high, GHSA-v2hh-gcrm-f6hx)
- brace-expansion 1.1.15 -> 1.1.18 (high, GHSA-mh99-v99m-4gvg +
  GHSA-3jxr-9vmj-r5cp)

govulncheck now reports 0 vulnerabilities affecting this code. The only
remaining informational finding is GO-2026-5932 (x/crypto/openpgp is
unmaintained), which has no fixed version and is not imported by this code.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request updates several dependencies across Go and Node.js package managers. Specifically, it introduces Go toolchain version 1.26.5, upgrades the 'golang.org/x/crypto' and 'golang.org/x/sys' Go modules, and updates the 'brace-expansion' and 'fast-uri' packages in 'pnpm-lock.yaml'. There are no review comments, and I have no feedback to provide.

v2.6.2 was built with go1.25 and refuses to load config when the target
Go version (toolchain go1.26.5) is newer than its own build toolchain.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@trietphm
trietphm merged commit e4d1ce3 into main Aug 3, 2026
5 checks passed
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.

2 participants