[GH-ISSUE #8230] [Issue]: Patch remaining dependency security warnings without breaking agent compatibility #8167

Closed
opened 2026-10-25 04:03:10 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @SpicyMarinara on GitHub (Oct 24, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8230

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Remaining dependency advisories need remediation on staging without changing the Zod 3 API promised to installed agent packages or imposing new import/export limits. The optional developer MCP tool also independently retains vulnerable Zod and body-parser versions.

Expected behavior

Use patched dependencies, preserve installed-package compatibility and unrestricted import/export behavior, and document any real blocker rather than hide an affected dependency.

Actual behavior

At staging f3b26cd0, the workspace audit reports Zod GHSA-mrhx-c7xc-m3w5, body-parser GHSA-27r3-jxmh-p828, three Undici advisories (GHSA-4qv8-2p9j-2685, GHSA-f72v-6w45-q472, GHSA-xjj6-f33q-929c), and serialize-javascript GHSA-m5mm-p8h7-m29v. The separate tools/dev-mcp npm lock still uses Zod 3.25.76 and body-parser 2.3.0.

Steps to reproduce

  1. Check out staging f3b26cd0e890e0b3ff630319235f4aaa6dfd55b5.
  2. Run pnpm audit --audit-level low --json.
  3. Inspect tools/dev-mcp/package-lock.json and Dependabot alert #83.

Environment

  • Marinara Engine version: staging, root version 2.5.1.
  • Install type: source dependency metadata audit; no running-user-system exploit attempted.
  • OS + version: macOS; package-metadata and bounded parser probes.
  • Browser or app shell: not applicable.

Logs, screenshots, or video

The exact staging lock audit reports six advisory groups: three high, two moderate, and one low. Six earlier alerts (#76–80 and #82) are already fixed on staging by #8074; main awaits its normal release promotion.

Additional context

Owner: @SpicyMarinara, with Codex handling implementation in fix/dependabot-security-20261024. Related #8221 / draft #8210 track the broader native Zod 4 migration. This work first handles independent patched transitive dependencies and the isolated developer MCP tool; a compatibility-preserving Zod backport is being assessed with bounded before/after proofs. No main changes, new import/export caps, or unsupported vulnerability dismissals.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Oct 24, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8230 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Remaining dependency advisories need remediation on staging without changing the Zod 3 API promised to installed agent packages or imposing new import/export limits. The optional developer MCP tool also independently retains vulnerable Zod and body-parser versions. ## Expected behavior Use patched dependencies, preserve installed-package compatibility and unrestricted import/export behavior, and document any real blocker rather than hide an affected dependency. ## Actual behavior At staging `f3b26cd0`, the workspace audit reports Zod `GHSA-mrhx-c7xc-m3w5`, body-parser `GHSA-27r3-jxmh-p828`, three Undici advisories (`GHSA-4qv8-2p9j-2685`, `GHSA-f72v-6w45-q472`, `GHSA-xjj6-f33q-929c`), and serialize-javascript `GHSA-m5mm-p8h7-m29v`. The separate `tools/dev-mcp` npm lock still uses Zod 3.25.76 and body-parser 2.3.0. ## Steps to reproduce 1. Check out staging `f3b26cd0e890e0b3ff630319235f4aaa6dfd55b5`. 2. Run `pnpm audit --audit-level low --json`. 3. Inspect `tools/dev-mcp/package-lock.json` and Dependabot alert #83. ## Environment - Marinara Engine version: staging, root version 2.5.1. - Install type: source dependency metadata audit; no running-user-system exploit attempted. - OS + version: macOS; package-metadata and bounded parser probes. - Browser or app shell: not applicable. ## Logs, screenshots, or video The exact staging lock audit reports six advisory groups: three high, two moderate, and one low. Six earlier alerts (#76–80 and #82) are already fixed on staging by #8074; main awaits its normal release promotion. ## Additional context Owner: @SpicyMarinara, with Codex handling implementation in `fix/dependabot-security-20261024`. Related #8221 / draft #8210 track the broader native Zod 4 migration. This work first handles independent patched transitive dependencies and the isolated developer MCP tool; a compatibility-preserving Zod backport is being assessed with bounded before/after proofs. No main changes, new import/export caps, or unsupported vulnerability dismissals. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [x] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-25 04:03:10 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Oct 24, 2026):

Completed on staging in #8231. All eight required PR gates passed; the latest staging descendant passed post-merge Regression Checks and CodeQL, and its AMD64/ARM64 Docker image is published with the security changes verified. All Dependabot alerts are handled with staging/main release status recorded. No new import/export limits were added. Native Zod 4 migration remains tracked separately in #8221; main receives these fixes through the normal release promotion.

<!-- gh-comment-id:6378356249 --> @SpicyMarinara commented on GitHub (Oct 24, 2026): Completed on staging in #8231. All eight required PR gates passed; the latest staging descendant passed post-merge Regression Checks and CodeQL, and its AMD64/ARM64 Docker image is published with the security changes verified. All Dependabot alerts are handled with staging/main release status recorded. No new import/export limits were added. Native Zod 4 migration remains tracked separately in #8221; main receives these fixes through the normal release promotion.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#8167
No description provided.