Repository navigation
fix(images): build yq with Go 1.27.4 in the tools images - #81
Merged
Merged
Conversation
Trivy reports HIGH CVE-2026-97054 in the Go 1.27.3 standard library of the yq binary that the OpenClaw and Hermes tools images build from source. Go 1.27.4 fixes it. The Hermes tools.3 publish run stopped on this finding. Pin the yq build stage of both tools images to golang:1.27.4-trixie by digest. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Derek Hsu <derekhsu@hotmail.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.
Summary
The Hermes
tools.3publish run (after #80) stopped on a new Trivy finding in the yq binary that the tools images build from source:Go 1.27.4 fixes it. This PR builds yq with Go 1.27.4 in both tools images.
Related Issue
Refs #79 (blocks the
tools.3release)Changes
Dockerfile.toolsandagents/hermes-01x/Dockerfile.tools: theyq-buildstage usesgolang:1.27.4-trixie@sha256:f18c3d73a184fb0582828510722e723b63a93f7188d11dd223d9be6f6880e65dinstead ofgolang:1.27.3-trixie. The digest is the multi-arch index that the1.27.4-trixietag resolves to.docs/modification/2026-10-31-openclaw-tools-image.mdandtools/openclaw-tools-image/artifacts.lock: the yq build notes now say Go 1.27.4.Type of Change
Quality Gates
Documentation Writer Review
docs-updateddocs/modification/2026-10-31-openclaw-tools-image.mdand thetools/openclaw-tools-image/artifacts.lockcomment. The review checked both against the Dockerfiles and the writing rules, and found no other mention of Go 1.27.3 outsideconductor/history. Verdict: pass, no fixes.DGX Station Hardware Evidence
Verification
Signed-off-by:line and every commit appears asVerifiedin GitHubpre-commit,commit-msg, andpre-pushhooks passed, ornpm run validate:prpassed after refreshingorigin/mainwhen hooks were skipped or unavailablenpm testfor broad runtime/test-harness changes;npm run checkfor repo-wide validation/coverage changes — command/result:npm run docsbuilds without warnings (doc changes only)Signed-off-by: Derek Hsu derekhsu@hotmail.com
🤖 Generated with Claude Code