Skip to content

fix(build): refresh ko static base to resolve critical vulnerability - #2681

Merged
jbeda merged 1 commit into
mainfrom
fix/refresh-ko-static-base
Nov 4, 2026
Merged

jbeda merged 1 commit into
mainfrom
fix/refresh-ko-static-base

Conversation

@jbeda

@jbeda jbeda commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Refresh .ko.yaml's shared Chainguard static base from d6a97eb4… to fc42af33…, the current upstream multi-architecture index (Linux amd64 and arm64).
  • Fix the mecak8s continuous main build's vulnerability gate failure in run 41886835283. The old base contains ca-certificates-bundle 20251003-r3, flagged for critical CVE-2026-91403; the scanner lists 20260909-r3 as fixed.
  • The shared default also refreshes mecated. The mecatui base override, scanner policy, and severity threshold are unchanged.

The ko static-base pin had not been refreshed since introduction. Dockerfile pins have received Renovate updates, but .ko.yaml lacks that coverage (previously noted in #2133). Adding automation is outside this narrowly scoped fix.

Verification

  • Grype v0.118.0 with --only-fixed --fail-on critical: the old base reproduces the exact CI findings and fails; the new base and rebuilt mecak8s image pass with no findings under those scan options.
  • Inspected the new index: Linux amd64 and arm64 are present.
  • task ko:build:k8s passes (local amd64 build; no registry push).
  • Built image runs as UID 65532; --version passes with a read-only root filesystem, all capabilities dropped, and no-new-privileges.
  • task test, task lint, and task test:race pass.
  • Offline go run ./cmd/mecademo passes, including tool call/result and permission ask/approval.
  • git diff --check passes.

API compatibility

No wire, Go API, or stored-data contract changes. Runtime base-image refresh only; no API major or feature identifier changes, and no client upgrade is required.

Update the shared mecak8s/mecated Chainguard static base to the current multi-architecture index. The old base fails the fixable-critical vulnerability gate; the replacement and rebuilt mecak8s image pass.

Co-authored-by: Mecatl <[email protected]>
@jbeda
jbeda enabled auto-merge (squash) November 4, 2026 21:11
@jbeda
jbeda merged commit 1f97fea into main Nov 4, 2026
42 checks passed
@jbeda
jbeda deleted the fix/refresh-ko-static-base branch November 4, 2026 21:22
@toolhive-release-app toolhive-release-app Bot mentioned this pull request Nov 18, 2026
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant