Update Go toolchain, dependencies and action pins - #2
Merged
Merged
Conversation
govulncheck reported five standard-library vulnerabilities reachable from this code on go1.26.4 — GO-2026-6218, -6090, -5972, -5856 and -5026 — all fixed by go1.26.6. The released binary is statically linked, so the standard library ships inside the artifact rather than being resolved at run time. - go directive 1.26.4 -> 1.26.7 - testify 1.11.1 -> 1.12.1, which internalises go-spew and difflib and moves to go.yaml.in/yaml/v3, taking three indirect deps down to one - golang.org/x/sys 0.46.0 -> 0.47.0 - checkout v7.0.0 -> v7.0.1, setup-go v6.5.0 -> v7.0.0, attest-build-provenance v4.1.1 -> v4.2.2, action-gh-release v3.0.1 -> v3.0.2 govulncheck reports no vulnerabilities afterwards. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.
Pre-release dependency review.
govulncheckflagged five standard-library vulnerabilities that this codeactually reaches on go1.26.4 — GO-2026-6218 (
net/url), GO-2026-6090 andGO-2026-5856 (
crypto/tls), GO-2026-5972 (encoding/asn1) and GO-2026-5026(
net/http). All are fixed by go1.26.6. This matters more than usual herebecause the release binary is statically linked, so the standard library ships
inside the artifact rather than being picked up from the host at run time.
1.26.4→1.26.7, the current patch release of the same minorstretchr/testify1.11.1→1.12.1, which internalisesgo-spewanddiffliband moves togo.yaml.in/yaml/v3— three indirect deps become onegolang.org/x/sys0.46.0→0.47.0checkoutv7.0.0 → v7.0.1,setup-gov6.5.0 → v7.0.0,attest-build-provenancev4.1.1 → v4.2.2,action-gh-releasev3.0.1 →v3.0.2, all re-pinned by commit SHA
setup-gov7 is a major bump but the changelog is an ESM migration and a cachedependency update;
go-version-fileandcacheare unchanged.Staying on the 1.26 line rather than moving to 1.27.0 keeps this a security-only
change ahead of a release. Worth doing 1.27 deliberately as its own PR.
Test plan
make test(-count=2),make vet,gofmt -l .,make build-allongo1.26.7
govulncheck ./...— was 5 reachable, now reports none🤖 Generated with Claude Code