Skip to content

fix: patch runtime dependency locks - #399

Merged
danny-avila merged 1 commit into
mainfrom
danny-avila/dependabot-remediation
Nov 15, 2026
Merged

danny-avila merged 1 commit into
mainfrom
danny-avila/dependabot-remediation

Conversation

@danny-avila

@danny-avila danny-avila commented Nov 15, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

I updated the locked dependency graphs used by the API, service, and extraction worker. The API npm lock already contains the Dependabot fix, but its Bun lock still installs vulnerable body-parser and qs versions.

  • Align the API npm and Bun locks on body-parser 2.4.0 and qs 6.17.1.
  • Update the service to body-parser 1.20.9, decode-uri-component 0.5.1, qs 6.16.1, fast-xml-parser 5.12.1, and follow-redirects 1.16.3.
  • Bump lxml from 6.1.0 to 6.1.3.
  • Move the macOS ARM storage and packed-worker checks from the retired macos-14 runner to macos-15.

Closes #385. Related merged dependency fixes: #345, #380, #381, and #367.

Change Type

  • Bug fix (non-breaking change which fixes an issue)

Testing

  • Pass 92 API route, request-validation, and lifecycle tests.
  • Pass 82 service HTTP, workspace-router, metrics, and sandbox-backend tests.
  • Pass 79 native sandbox and policy tests with a canonical temporary directory on macOS.
  • Build the API and service successfully.
  • Pass seven PDF/DOCX extraction fixtures, including empty-document rejection and decompression limits.
  • Pass Python dependency compatibility checks and pip-audit with no reported Python vulnerabilities.
  • Confirm npm audit reports zero API vulnerabilities and only the existing Zod advisory for the worker package.

All GitHub CI checks passed, including the full Linux suites, extraction container checks, and packed Linux/macOS consumers. Exact-head Codex review is clean at 82abce15586eb5708c45dff71041ca2db58434de. Broad local macOS runs include platform-sensitive mount-table and startup tests; the local checks above are scoped to the affected integrations.

Remaining audit work

The remaining Dependabot alert is Zod through sandbox-runtime; #383 tracks the compatible SDK migration. The current SDK uses Zod 3 types, and the latest SDK release still declares Zod 3. An isolated forced-Zod-4 test produces 122 SDK declaration errors under strict TypeScript checking; #383 contains the migration acceptance criteria. The patched Zod line starts at 4.6.6.

The service Bun audit also retains deepmerge, minimatch, and stream-json findings. These need an unpublished compatible patch or upstream dependency/API migrations: MinIO still requires stream-json 1.x, while its advisory is fixed in 3.x; TypeScript ESLint still requires minimatch below the fixed 11.x line. Deepmerge and affected minimatch paths are development dependencies.

Checklist

  • My code adheres to this project's style guidelines
  • I have performed a self-review of my own code

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-15T14:34:16.279908Z 82abce1 Manual request
ℹ️ 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.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep them coming!

Reviewed commit: 82abce1558

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@danny-avila

Copy link
Copy Markdown
Collaborator Author

@codex review

Please review the current PR head 82abce1. Confirm that this exact commit is the reviewed commit and ignore findings that apply only to earlier heads.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep them coming!

Reviewed commit: 82abce1558

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@danny-avila
danny-avila merged commit 6325771 into main Nov 15, 2026
32 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.

Replace retired macos-14 in verified npm release matrix

1 participant