Repository navigation
Security: enforce trust-store floors and upgrade production dependencies - #22
Conversation
Node 22 images still ship npm 10 with brace-expansion, picomatch, ip-address, pacote, and sigstore below the advisory floors. Install npm 12.2.1 or newer at build time and refuse the image if that tree regresses. Remove oxlint-tsgolint and the TypeScript native preview from runtime images; their newest binaries were built with Go 1.26.0, before the 1.26.10 trust-store floor.
Deleting the package directories left content-addressed tsgolint and tsgo copies in the pnpm store, so image scans still reported Go 1.26.0. Remove the nested binaries and prune the store after install.
Advisory baseline coverageBaseline: 22 Oct 2026. Floors are minimums (
Runtime images also drop Scanners
Tests and smoke
Not merged. |
Advisory baseline coverageChecked again against §10 HTTP/3 QPACKNo HTTP/3 server is shipped.
§11 BIND 9 GSS-TSIGNo BIND server is present. Dockerfiles, workflows, install scripts, and docs do not install Exact pinsImage tags float ( Two exact versions remain because the toolchain requires them:
setup-node / setup-python
Node jobs still run Floors (before → after)
Scanners: Not merged. |
Verification on 5765dc9Local proof on Full test suiteCommand: Exit 0.
Image rebuilds and smoke testsRemote-base images:
Not merged. |
Summary
node:22-trixie,node:22-trixie-slim,golang:1.27-trixie,debian:trixie-slim) and runapt-get upgrade. Ubuntu 24.04 install images stay. CI usessetup-node22.xwithcheck-latest: true.enginesis>=22.23.4 <23 || >=24.22.1 <25 || >=26.12.1withengine-strict=true. The runtime guard still rejects Node 18, 20, 23, and 25. pip and certifi stay>=floors. ca-certificates, OpenSSL, and (on Ubuntu 24.04) curl are compared per codename; bookworm fails closed. Go language line staysgo 1.26.10and the Docker toolchain is Go 1.27. pnpm is 10.34.7 (HIGH floor 10.34.5). Production dependencies move to current releases, including qs 6.16.1, DOMPurify 3.4.17, sanitize-html 2.18.1, and express 5.3.0.2026.2.16.@buape/carbon0.14.0. Generateddocs/zh-CN/**. The installer default in the siblingopenclaw.airepo. Bun (no vendor fix; still installed aslatestafter the CA upgrade). express 4.22.1 stays where a parent still requires 4.x (no in-window advisory; direct dependency is 5.3.0).@mariozechner/pi-coding-agent0.52.12 stays because the audit high has no patched release.Change Type (select all)
Scope (select all touched areas)
Linked Issue/PR
User-visible / Behavior Changes
openclaw-sandbox:trixie-slim(browser and common tags follow). Existing configs that set the oldbookworm-slimtag need to rebuild and point at the trixie tag.enginesnow also rejects the 23 and 25 lines.nodejs/golang-go. The browser sandbox replaces Debian Node 18 (pulled in by noVNC) with that official Node binary.patches/simple-git@4.0.2.patchsonode-llama-cppcan still import the default export. CorepackpackageManageris the exact pinpnpm@10.34.7.Security / Threat Model
3.5.7-1~deb13u3and ca-certificates20250419+deb13u1.node openclaw.mjs).fly.tomlbuildsDockerfile) and Render (render.yamldocker) need an image rebuild and redeploy, not only a process restart. Merging tomaindoes not deploy either platform. It does run.github/workflows/docker-release.yml, which publishes images to GHCR.Tests / Verification
Local proof on
5765dc974b5d8476063a42617d9a4d3011031923(host Node v22.23.4, pnpm 10.34.7). GitHub checks on this fork for that SHA are Workflow Sanity (no-tabs) and Sandbox Common Smoke. The fullci.ymlsuite does not complete here, so the counts below are from the local run.OPENCLAW_TEST_VM_FORKS=0 OPENCLAW_TEST_PROFILE=low node scripts/test-parallel.mjsexited 0.vitest.unit.config.ts, maxWorkers 2): 674 files, 5665 tests passedvitest.extensions.config.ts, maxWorkers 1): 109 files, 1093 tests passed, 1 skippedvitest.gateway.config.ts, forks, maxWorkers 1): 46 files, 435 tests passeddocker build --pull --no-cache. Smoke is an outbound fetch ofhttps://example.com(HTTP 200). Node images that ship npm report npm 12.2.1 and Node v22.23.4.openclaw-cleanup-smokeentrypoint (build, reset, uninstall) printed OK.openclaw-sandbox-commonuses local baseopenclaw-sandbox:trixie-slim, so--pulldoes not apply to that tag.node:22-trixie-slimandgolang:1.27-trixiewere pulled, then the image was built--no-cache. Result: Node v22.23.4, npm 12.2.1,go1.27.3, TLS 200.sandboxandnodefetch both returned TLS 200. Node is v22.23.4.openclaw-sandbox:trixie-slim--pull --no-cachesha256:50fbbfebc66ed1dbeae5d9287262b0d6e5c75d85b95f937e8c841f9c4ba9c17eopenclaw-sandbox-browser:trixie-slim--pull --no-cachesha256:e8e869e7762f283eae022ee4e33a00fd181941c159645117dadcfc327f7b2f2eopenclaw-install-nonroot:floor--pull --no-cachesha256:a97a54f6c94aaab183c3ee35b49314580e7e35e763e7d0f276b9782fb17c62dcopenclaw-install-smoke:floor--pull --no-cachesha256:85b62d6447b462d19f5435a54db0b25f9c49545d9e9f3f7087f8e1431d7eed8bopenclaw-install-e2e:floor--pull --no-cachesha256:e9b15d8283557d3db27680f48c26465f309a721d5c45e5d3a3557439479b1e6dopenclaw-cleanup-smoke:floor--pull --no-cachesha256:9506efe711309c88707046f7bbf0fe173d6e6766b77e1ea1775c47c76b5d14b2openclaw-e2e:floor--pull --no-cachesha256:9ef700f0eb326c4c88a387a67e5328fa35bbe719f1ce67ed207275345051a019openclaw-e2e-qr:floor--pull --no-cachesha256:80d7ad1021e79251bf1af3244c788ff33c155f56584dd887c45122894893fc18openclaw:floor--pull --no-cachesha256:7011f46939b82dacd69b08a9e41b19fe9adf7206c9b1524faf6cba3233c42aefopenclaw-sandbox-common:trixie-slim--no-cacheafter pullingnode:22-trixie-slimandgolang:1.27-trixiesha256:b0f48d6f2d8c5e14bd006076ec2461b048e14f0e966b6f738800b72c2a19e50cImage rebuilds finished at 2026-10-22T11:45:32Z. This PR is not merged.