Skip to content

fix(security): standardize standalone runtimes on Node 24.22.1 - #6365

Merged
OmarMcAdam merged 3 commits into
devfrom
nodejs-security-stuffs-october-21
Oct 22, 2026
Merged

OmarMcAdam merged 3 commits into
devfrom
nodejs-security-stuffs-october-21

Conversation

@OmarMcAdam

Copy link
Copy Markdown
Member

What is this about?

Standardize standalone OpenWork runtimes on Node.js 24.22.1 and update separately installed Undici security releases.

What problem does it solve?

Untrusted provider and MCP responses reach networking and decompression code affected by the October Node security advisories.

What was the situation before?

Server images used floating Node 22 tags, some sandboxes used Node 20 or older Node 24 patches, and installers accepted unsupported runtimes.

How is this implemented?

  • Pin Docker bases, CI, sandbox defaults, and verified runtime downloads to 24.22.1.
  • Require patched Node 24 in package engines and bootstrap/server launchers; preserve checksum verification for installer downloads.
  • Update Undici dependencies, overrides, and lockfile to 6.29.1 / 7.30.1.
  • Check the deployed Den API runtime in the existing Helm test hook and enforce source-pin consistency during image publication.
  • Document rebuild, snapshot refresh, and deployment verification in docs/node-runtime-security.md; Electron's embedded runtime remains separate.

What else changed?

none.

Release note

Standalone server and bootstrap installations now require Node.js 24.x version 24.22.1 or newer; the bootstrap installer downloads a private supported runtime when needed.

Evidence

No E2E: this is a runtime/deployment update. Launcher and installer integration tests, rendered Helm-hook tests, and service builds cover the change. scripts/tests/node-runtime-baseline.test.mjs — before: outdated runtime pins; after: consistent patched Node 24 pins and Undici releases.

Pin runtime images, CI and downloads to the October security release; preserve artifact verification and require patched Node 24 in standalone launchers. Update standalone Undici, add runtime baseline and Helm probe regression coverage, and document the separate rebuild/deployment and Electron follow-ups.
@mintlify

mintlify Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
differentai 🟢 Ready View Preview Oct 22, 2026, 4:48 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

@vercel

vercel Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

4 Skipped Deployments
Project Deployment Actions Updated
openwork-app Ignored Ignored Preview Oct 22, 2026 4:57pm UTC
openwork-den Ignored Ignored Preview Oct 22, 2026 4:57pm UTC
openwork-diagnostics Ignored Ignored Preview Oct 22, 2026 4:57pm UTC
openwork-landing Ignored Ignored Preview Oct 22, 2026 4:57pm UTC

Request Review

…-october-21

# Conflicts:
#	docs/computer-use/workbot.md
#	evals/packages/open-workplace/README.md
#	evals/packages/open-workplace/package.json
@github-actions

github-actions Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

OpenWork evidence

Status Commit Preview Updated
🟢 Ready · evidence passed 80537e7 Open preview 2026-10-22 17:08:33 UTC

Run details · Open the preview to inspect evidence and sandbox options.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying openwork with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2874768
Status: ✅  Deploy successful!
Preview URL: https://625d49e2.openwork.pages.dev
Branch Preview URL: https://nodejs-security-stuffs-octob.openwork.pages.dev

View logs

@diff-warden

diff-warden Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Warden: needs a human approval

This PR changes Warden itself, so Warden can't approve it. Changed: .github/workflows/warden-check-backfill.yml.

Reviewed 80537e747df6 · Warden run · Updates after every Warden run.

Resolve the security review by replacing the mutable v6 action ref with its verified full commit SHA. Add a regression check that rejects mutable setup-node refs in the package-write workflow; retain Warden's human-approval safeguard.
@OmarMcAdam
OmarMcAdam deployed to pr-internal-specs October 22, 2026 16:57 — with GitHub Actions Active
@OmarMcAdam
OmarMcAdam merged commit f055691 into dev Oct 22, 2026
52 of 53 checks passed

This branch was successfully deployed

7 active (5 outdated) deployments
Evidence / PR 6365 — 80537e74 Deployed Oct 22, 2026 by github-actions[bot]
Preview – openwork-den — 28747683 Deployed Oct 22, 2026 by vercel[bot]
Preview – openwork-app — 28747683 Deployed Oct 22, 2026 by vercel[bot]
Preview – openwork-landing — 28747683 Deployed Oct 22, 2026 by vercel[bot]
Preview – openwork-diagnostics — 28747683 Deployed Oct 22, 2026 by vercel[bot]
staging - packages/docs — 28747683 Deployed Oct 22, 2026 by mintlify[bot]
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