Repository navigation
Revert syft to v1.21.0 to reduce CLI binary size (AST-188320) - #1594
Merged
Merged
Conversation
Keeps Go 1.26.10 and the small direct dependency bumps; drops the syft v1.42.3 bump that pulled in go-getter, AWS/GCS SDKs and containerd v2. Binary: 119.4 MB -> 86.0 MB. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
cx-aniket-shinde
approved these changes
Oct 22, 2026
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.
Changes
anchore/syft(and its transitive graph) to v1.21.0; keep Go at 1.26.10Binary size (CGO_ENABLED=0, -ldflags="-s -w", windows/amd64)
Security tradeoff
syft 1.42.3 fixed GO-2026-4809 (syft) and removed GO-2025-4020 (rardecode, no fix). Reverting reintroduces both; govulncheck reports 9 vulns vs 7 on main. No suppressions added, so the govulncheck/Trivy checks may fail. Needs security sign-off.
Testing
🤖 Generated with Claude Code