Skip to content

fix(docker): container images ship Node 24.16 / OpenSSL 3.5.6 flagged by scanners - #312

Merged
william-antoline-boon merged 1 commit into
boonfrom
fix/eng-21868-node-24-22-base
Oct 28, 2026
Merged

william-antoline-boon merged 1 commit into
boonfrom
fix/eng-21868-node-24-22-base

Conversation

@william-antoline-boon

@william-antoline-boon william-antoline-boon commented Oct 28, 2026 •

Copy link
Copy Markdown
Collaborator

Related: ENG-21868

What Problem This Solves

Resolves a problem where container images built on the openclaw base (including boon-agent-signup-container) ship Node v24.16.0 with bundled OpenSSL 3.5.6. AWS Inspector flags them, and they make up the remaining critical and most of the high findings in Vanta's AWS Container tests. apt-get upgrade can't fix these because Node isn't a Debian package.

Why This Change Was Made

  • Bumps the pinned node:24-bookworm and node:24-bookworm-slim multi-arch manifest-list digests in Dockerfile (image + base.digest label ARG) to the current Node 24.22.1 builds.
  • The test-harness Dockerfiles under scripts/docker/* and scripts/e2e/* pinned the same slim digest, so they move with it to keep test and runtime on the same base.
  • src/dockerfile.test.ts pins are updated to match.

Why the digests drifted: Dependabot can't see them. The Dockerfile comment says "Dependabot refreshes these blessed digests", but dependabot-core's docker parser only matches literal FROM <image>[:tag][@sha256:...] lines (FROM_LINE regex in docker/lib/dependabot/docker/file_parser.rb). Here the digests live in ARG defaults used as FROM ${OPENCLAW_NODE_BOOKWORM_IMAGE}, so the parser skips them. target-branch is not the cause: boon is the repo's default branch. Every Dependabot PR on this fork so far has been an ungrouped security update; none were grouped version updates, which suggests version updates also aren't running on the fork. The durable fix is tracked separately.

User Impact

None functionally. This is a Node patch-train update (24.16 → 24.22) on the same Debian bookworm base. It clears the Node/OpenSSL container-scan findings once a release is cut and the signup container is rebuilt.

Evidence

  • New digests resolved from Docker Hub (docker-content-digest of the manifest list):
    • node:24-bookworm → sha256:6449e19d8184d84062525b6a7524def03146c2cb04a7f08b076680d0e8e4240a
    • node:24-bookworm-slim → sha256:8579e5fce559544b50072d05cc5d3b84b6a14d0989ae56c331d9e983a36a21f1
  • docker buildx imagetools inspect <digest> --format '{{json .Image}}': NODE_VERSION=24.22.1 on linux/amd64, linux/arm64 and linux/ppc64le for both digests.
  • node scripts/run-vitest.mjs src/dockerfile.test.ts → 25/25 passed.
  • Gap: I couldn't run node --version / process.versions.openssl in a container locally because the local Docker daemon was unresponsive. CI's docker build covers the image build.

🤖 Generated with Claude Code


Summary by cubic

Bumps the pinned Node.js base image digests from Node 24.16.0 (bundled OpenSSL 3.5.6) to Node 24.22.1 to clear the remaining AWS container scan findings that apt-get upgrade can't fix.

Dependencies

  • Refreshes the node:24-bookworm and node:24-bookworm-slim manifest-list digests in the main Dockerfile and the matching pins in src/dockerfile.test.ts.
  • Moves the shared slim pin in the scripts/docker/* and scripts/e2e/* test-harness Dockerfiles so tests run on the same base.
  • No functional impact; same Debian bookworm base, Node patch-train update only.

Written for commit 91b2ee6. Summary will update on new commits.

View guided diff Turn on auto-fix

Refresh the pinned node:24-bookworm and node:24-bookworm-slim
multi-arch manifest-list digests from Node 24.16.0 (bundled OpenSSL
3.5.6) to Node 24.22.1 to clear container-scan Node/OpenSSL findings.
Test-harness Dockerfiles share the same slim pin and move with it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@william-antoline-boon
william-antoline-boon requested a review from a team October 28, 2026 03:56

@boon-hermes-bot boon-hermes-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Summary

Verdict: Approved

Verification

  • Manifest digests verified directly against Docker Hub registry (docker-content-digest):
    • node:24-bookworm -> sha256:6449e19d8184d84062525b6a7524def03146c2cb04a7f08b076680d0e8e4240a
    • node:24-bookworm-slim -> sha256:8579e5fce559544b50072d05cc5d3b84b6a14d0989ae56c331d9e983a36a21f1
  • Both multi-arch manifest lists confirm NODE_VERSION=24.22.1 on linux/amd64 and linux/arm64.
  • All 8 matching Dockerfiles and test harnesses (Dockerfile, scripts/docker/*, scripts/e2e/*, src/dockerfile.test.ts) are synchronized. No leftover stale digests found across the repo.
  • Tests verified locally (src/dockerfile.test.ts: 25/25 passed).
  • CI status: all CI check runs and workflows passed green.

LGTM!

@william-antoline-boon
william-antoline-boon merged commit 3c3ec09 into boon Oct 28, 2026
252 of 253 checks passed
@william-antoline-boon
william-antoline-boon deleted the fix/eng-21868-node-24-22-base branch October 28, 2026 05:11

@boon-hermes-bot boon-hermes-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review Summary

Verdict: Approved

  • Base Image Digests Verified: Validated multi-arch manifest lists directly against Docker Hub for both node:24-bookworm (sha256:6449e19d8184d84062525b6a7524def03146c2cb04a7f08b076680d0e8e4240a) and node:24-bookworm-slim (sha256:8579e5fce559544b50072d05cc5d3b84b6a14d0989ae56c331d9e983a36a21f1).
  • Node / OpenSSL Versioning: Inspected image config layers confirming NODE_VERSION=24.22.1 bundled with OpenSSL 3.5.9, directly addressing the OpenSSL 3.5.6 scanner findings (ENG-21868).
  • Scope & Consistency: Pinned digests correctly synchronized across Dockerfile, unit test assertions in src/dockerfile.test.ts, and test harnesses in scripts/docker/* and scripts/e2e/*.
  • Commit Signature: GPG signature verified for commit 91b2ee69867dbc4c4bb5cf7d9f3d4cfe80f71580 ([email protected]).
  • CI Status: All required CI check suites passed on head 91b2ee6.

orswn added a commit that referenced this pull request Nov 2, 2026
Cut the fork release for the 6 PRs merged to boon since
v2026.6.35-boon.2:

- #313 (ENG-21904, ENG-21905): no fallback after the run deadline, no
  late replies from timed-out sub-agents, and no false error notice
  after a recovered context precheck.
- #314 (ENG-21269): a parent that yielded keeps finished sub-agent
  results on later wakes.
- #315 (ENG-21129): skip the failure notice on channels that report
  their own turn outcome, and say the work continues while the failed
  turn's sub-agents still run.
- #311: qs override 6.16.1 (CVE-2026-82417).
- #317: follow-redirects override 1.16.2 (GHSA-mrwp-f3q8-3g9p).
- #312: Docker base digests to Node 24.22.1.

Bump the root package.json and npm-shrinkwrap.json, all 136 bundled
plugin manifests (scripts/sync-plugin-versions.ts), and the version and
openclaw peer floor in every extension npm-shrinkwrap.json. Add the
2026.6.35-boon.3 CHANGELOG.md section. No source or dependency change
beyond what already merged in the PRs above.
orswn added a commit that referenced this pull request Nov 2, 2026
Cut the fork release for the 6 PRs merged to boon since
v2026.6.35-boon.2:

- #313 (ENG-21904, ENG-21905): no fallback after the run deadline, no
  late replies from timed-out sub-agents, and no false error notice
  after a recovered context precheck.
- #314 (ENG-21269): a parent that yielded keeps finished sub-agent
  results on later wakes.
- #315 (ENG-21129): skip the failure notice on channels that report
  their own turn outcome, and say the work continues while the failed
  turn's sub-agents still run.
- #311: qs override 6.16.1 (CVE-2026-82417).
- #317: follow-redirects override 1.16.2 (GHSA-mrwp-f3q8-3g9p).
- #312: Docker base digests to Node 24.22.1.

Bump the root package.json and npm-shrinkwrap.json, all 136 bundled
plugin manifests (scripts/sync-plugin-versions.ts), and the version and
openclaw peer floor in every extension npm-shrinkwrap.json. Add the
2026.6.35-boon.3 CHANGELOG.md section. No source or dependency change
beyond what already merged in the PRs above.
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.

2 participants