Skip to content

fix(control): refresh patched Zod runtime dependency - #339

Merged
abruption merged 1 commit into
mainfrom
fix/node-runtime-audit-40329921935
Oct 26, 2026
Merged

abruption merged 1 commit into
mainfrom
fix/node-runtime-audit-40329921935

Conversation

@abruption

Copy link
Copy Markdown
Owner

Summary

The scheduled Node dependency audit fails because Control's lockfile selects Zod 4.6.5, affected by GHSA-mrhx-c7xc-m3w5. Refresh only its version, tarball URL and integrity to patched 4.6.7; a clean install and both runtime/full audits now pass with zero reported vulnerabilities.

Refs #338. better-auth and @better-auth/core retain their ^4.5.4 Zod ranges; better-call retains its optional ^4.0.0 peer. No direct dependency, override, audit exception or workflow change. This PR does not change the Python version; the owner-authorized v1.3.1 preparation follows separately.

Control passes auth requests to Better Auth. Exploitability against deployed endpoints was not assessed or reproduced. The dependency fix does not deploy or restart a running Control service, and a Python package update alone does not deploy this Node component.

Validation

macOS arm64, Node 24.22.1/npm 11.19.1:

  • Clean npm ci, typecheck, production/client/server build and 123 tests across 18 Control test files pass.
  • npm audit --omit=dev and complete npm audit: zero vulnerabilities reported; npm ls zod resolves all three dependency relationships to 4.6.7.
  • Python 3.13.7, opt-in Node/Python loopback contract integration: 11 tests pass. Uses private test state, not production accounts or services.
  • git diff --check passes. Only control/package-lock.json changes (3 insertions/3 deletions).

Ubuntu/macOS Node 22/24 CI and automatic PR reviews remain pending when this PR is created. A successful scheduled-audit dispatch on protected main will be checked after merge before #338 is closed.

Independent review

Before PR creation, Claude Code 2.1.310 (requested and response-confirmed claude-opus-5-5) and Codex CLI 0.164.0 (isolated default; backend model name unexposed) reviewed identical frozen source evidence in parallel without tools/tests/network/edit authority. Both completed successfully and found no mandatory source correction. Input SHA-256 remained d06661d698f2c95d0ec7528ccf8f24c2f4743f9c2f2416b794b4cfe72720876c.

The coordinator checked findings against the actual dependency graph, audit workflow and original artifact. Descriptions distinguish dependency remediation, pending platform CI and deployed-service acceptance; no claim of app non-exposure follows from the absence of a direct Zod import. These reviews are static evidence, not exploit reproduction or deployment validation.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-26T23:20:46.138458Z 7ef41b8 PR opened
🔒 Security Review ✅ Completed 2026-10-26T23:22:06.472192Z 7ef41b8 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@abruption abruption added this to the v1.3.1 milestone Oct 26, 2026
@abruption
abruption merged commit 7cb4d95 into main Oct 26, 2026
28 checks passed
@abruption
abruption deleted the fix/node-runtime-audit-40329921935 branch October 26, 2026 23:23
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