fix code scanning alerts - #904
Open
tejaswin98 wants to merge 2 commits into
Open
tejaswin98 wants to merge 2 commits into
tejaswin98 wants to merge 2 commits into
Conversation
tejaswin98
requested review from
a team,
adimoft,
daveroge,
manilk1x and
shanedonohue
as code owners
September 22, 2026 17:59
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Executable checks, malformed-UTF-8 handling, and Go toolchain compatibility remain unresolved.
Get a fresh assessment by requesting another Copilot review.
Review effort: Lite
Findings: 3
Open (3)
What changed in this PR
This pull request addresses code-scanning findings and updates dependency and build-validation logic.
Changes:
- Upgrades
golang.org/x/cryptotov0.56.0. - Refreshes Go module checksums and metadata.
- Improves template error handling and executable validation.
| File | Summary |
|---|---|
go.sum |
Refreshes dependency checksums. |
go.mod |
Updates Go and crypto dependency versions. |
.github/skills/image-composer-custom/scripts/customize-template.py |
Adds error handling and build preflight validation. |
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
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.

Merge Checklist
Description
Resolves Code Scanning findings by:
golang.org/x/cryptofromv0.55.0tov0.56.0, resolving CVE-2026-78662 and CVE-2026-56855.sudoexecutable and Image Composer Tool binary before invoking the build command.Any Newly Introduced Dependencies
No new dependencies introduced.
Updated existing dependency:
golang.org/x/cryptotov0.56.0How Has This Been Tested?
python3 -m py_compile .github/skills/image-composer-custom/scripts/customize-template.pybandit -q .github/skills/image-composer-custom/scripts/customize-template.pygo test ./...Note:
go test ./...has one pre-existing failure ininternal/image/imageinspect/TestInspectSBOM_ReadsExt4InPlace, which also fails on unchangedmain.