Repository navigation
release: restrict uploaded assets - #2857
Merged
Merged
Conversation
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
golang.org/x/imageto v0.45.0 (and its requiredx/textv0.41.0), clearing GO-2026-6222SHA256SUMS--skip-buildescape hatch before uploadRationale
The current v0.8.2 draft assets were audited clean and match the immutable Actions artifact byte-for-byte. However, the shared uploader passes every top-level regular file in the local staging directory to
gh release upload, while the D2 download path previously replaced only expected filenames. A stale local file could therefore survive into a future upload. This change makes that path fail closed.The existing D2 source call graph does not reach the VP8L decoder affected by GO-2026-6222, but upgrading to the fixed
x/imageversion removes the module-level exposure and prevents future code from making it reachable.Validation
./make.sh fmt gen lint build test./make.sh racegovulncheck ./...: no vulnerabilitiesgovulncheck -mode=binaryon a fresh stripped release binary: no vulnerabilities