Skip to content

Node.js 22.23.4 for the October 2026 security release (v0.8.18) - #187

Merged
deepdivekr merged 4 commits into
mainfrom
security/node-22.23.4
Oct 22, 2026
Merged

deepdivekr merged 4 commits into
mainfrom
security/node-22.23.4

Conversation

@deepdivekr

Copy link
Copy Markdown
Owner

Owner 2026-10-22: review and patch Agent Office against the Node.js October 21, 2026 security releases.

Review

  • The release fixes the runtime itself: four high (TLS hostname bypass with fullwidth or loosely resolving IP hosts, Brotli decoder OOB write, dns.resolve NUL truncation), three medium, three low, plus Undici/OpenSSL/c-ares/SQLite/CA updates. Office pinned 22.22.0, which is affected.
  • Office's code uses none of the affected APIs directly: no rejectUnauthorized:false / NODE_TLS_REJECT_UNAUTHORIZED, no custom checkServerIdentity, no dns.resolve, no Brotli decoding, no Permission Model, no startup snapshot or SEA, no direct undici dependency. Every outgoing fetch still goes through the runtime's TLS, Undici and Brotli, so the fix is the runtime.

Changes

  • Pin Node.js 22.23.4 in install.sh, engines and CI. The installer still downloads from nodejs.org and checks SHA-256; a system Node of another version is not used.
  • The sandbox preflight in verify-files.ts compares with process.version instead of the literal v22.22.0; the installer test compares the pin with package.json engines.
  • hono 4.13.9 → 4.13.13 (transitive via the MCP SDK) for GHSA-5r4p-p66f-jhc7 (moderate). Office does not serve files through hono; this clears npm audit --omit=dev --audit-level=low.
  • Release v0.8.18.

Verified on Node 22.23.4

  • npm ci, build, full quick suite: 2241/2243 before the test fix; the two were the installer pin literal (fixed) and the fixed-port test that fails locally because the real Control Center holds 4600.
  • npm audit --omit=dev: 0 vulnerabilities. MCP suites 43/43.

🤖 Generated with Claude Code

deepdivekr and others added 4 commits October 22, 2026 11:44
The installer, engines and CI move from 22.22.0 to 22.23.4, which fixes
TLS hostname check bypasses, a Brotli decoder out-of-bounds write and
dns.resolve NUL truncation in the runtime every outgoing request uses.
The sandbox preflight and the installer test compare with the running or
declared version instead of a fixed string.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The agent-office command names the Node.js it runs on, so after the Node
pin moved every upgrade stopped with "Will not overwrite another
agent-office command" (release install check, upgrade from v0.3.1). A
one-line launcher that runs this install's CLI is now updated; anything
else is still refused.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@deepdivekr
deepdivekr merged commit 6ec65d2 into main Oct 22, 2026
4 checks passed
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