[GH-ISSUE #6035] [Issue]: Restore the dependency audit before retrying deferred npm updates #3344

Closed
opened 2026-10-21 06:02:09 +07:00 by bsakaguchi · 3 comments
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

The Engine dependency audit currently fails with five known advisories, blocking ordinary npm maintenance PRs. The September 10 dependency sweep is deferring #6013–#6017 until this audit can pass without suppressing advisories.

Expected behavior

Current staging and compatible dependency updates pass pnpm audit --audit-level low with the existing security gate intact.

Actual behavior

The audit reports one high and four moderate advisories: js-yaml needs 4.3.2 or later, Hono needs 4.13.5 or later, and adm-zip 0.6.0 has an advisory with no patched release listed as of September 10, 2026.

Steps to reproduce

  1. Install the Engine staging dependency lockfile with pnpm install --frozen-lockfile.
  2. Run pnpm audit --audit-level low.
  3. Observe exit code 1 and the five advisories below.

Environment

  • Marinara Engine version: 2.4.5 dependency set (unchanged through staging 1411d71dad).
  • Install type: source; also reproduced by dependency PR CI.
  • OS + version: local macOS and GitHub Actions Ubuntu; exact runner image is recorded in the linked CI run.
  • Browser or app shell: not applicable.

Logs, screenshots, or video

Failed dependency audit.

Additional context

Follow-up ownership: @SpicyMarinara. Refresh the patched js-yaml and Hono overrides, then resolve adm-zip through an upstream fix or a separately reviewed replacement with archive/import/backup/sidecar regression proof. Do not downgrade to old vulnerable archive releases or add audit ignores merely to clear the gate.

The deferred proposed versions are tsx 4.23.13, @tailwindcss/vite 4.3.3, react-i18next 17.0.13, @anthropic-ai/claude-agent-sdk 0.3.263, and typescript-eslint 8.69.0. This is an audit blocker, not a finding that those proposed versions introduced the advisories. Re-evaluate the versions and keep Tailwind's compiler and Vite plugin aligned when retrying.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Sep 10, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6035 Originally assigned to: @SpicyMarinara on GitHub. ## Summary The Engine dependency audit currently fails with five known advisories, blocking ordinary npm maintenance PRs. The September 10 dependency sweep is deferring #6013–#6017 until this audit can pass without suppressing advisories. ## Expected behavior Current staging and compatible dependency updates pass `pnpm audit --audit-level low` with the existing security gate intact. ## Actual behavior The audit reports one high and four moderate advisories: js-yaml needs 4.3.2 or later, Hono needs 4.13.5 or later, and adm-zip 0.6.0 has an advisory with no patched release listed as of September 10, 2026. ## Steps to reproduce 1. Install the Engine staging dependency lockfile with `pnpm install --frozen-lockfile`. 2. Run `pnpm audit --audit-level low`. 3. Observe exit code 1 and the five advisories below. ## Environment - Marinara Engine version: 2.4.5 dependency set (unchanged through staging 1411d71dadbc1c55959269e5829deec726999dd7). - Install type: source; also reproduced by dependency PR CI. - OS + version: local macOS and GitHub Actions Ubuntu; exact runner image is recorded in the linked CI run. - Browser or app shell: not applicable. ## Logs, screenshots, or video [Failed dependency audit](https://github.com/Pasta-Devs/Marinara-Engine/actions/runs/34438544511/job/102748578374). - [js-yaml merge CPU limit](https://github.com/advisories/GHSA-2883-xcg3-v3hh) - [Hono static generation containment](https://github.com/advisories/GHSA-gqvv-2mrq-wpjv) - [Hono body nesting](https://github.com/advisories/GHSA-g6gw-c38x-mqfc) - [Hono query fragment parsing](https://github.com/advisories/GHSA-crvj-82cr-hjcx) - [adm-zip destination symlink extraction](https://github.com/advisories/GHSA-vwc7-r8mq-g2x9) ## Additional context Follow-up ownership: @SpicyMarinara. Refresh the patched js-yaml and Hono overrides, then resolve adm-zip through an upstream fix or a separately reviewed replacement with archive/import/backup/sidecar regression proof. Do not downgrade to old vulnerable archive releases or add audit ignores merely to clear the gate. The deferred proposed versions are tsx 4.23.13, @tailwindcss/vite 4.3.3, react-i18next 17.0.13, @anthropic-ai/claude-agent-sdk 0.3.263, and typescript-eslint 8.69.0. This is an audit blocker, not a finding that those proposed versions introduced the advisories. Re-evaluate the versions and keep Tailwind's compiler and Vite plugin aligned when retrying. ## Template check - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 06:02:09 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Sep 10, 2026):

Taking this on for @SpicyMarinara in the requested security-alert sweep. I checked the linked PRs, open PRs, branches, and project items; no active implementation targets this issue. Work will land through a draft PR to staging. The current plan is to update Hono/js-yaml and address the confirmed adm-zip destination-symlink path in both sidecar extraction and ONNX installation, with regression proof. Alert dismissals will be limited to traced, inapplicable execution paths; main-only alerts are not false positives merely because staging already has a patch.

<!-- gh-comment-id:5619796325 --> @SpicyMarinara commented on GitHub (Sep 10, 2026): Taking this on for @SpicyMarinara in the requested security-alert sweep. I checked the linked PRs, open PRs, branches, and project items; no active implementation targets this issue. Work will land through a draft PR to staging. The current plan is to update Hono/js-yaml and address the confirmed adm-zip destination-symlink path in both sidecar extraction and ONNX installation, with regression proof. Alert dismissals will be limited to traced, inapplicable execution paths; main-only alerts are not false positives merely because staging already has a patch.
Author
Owner

@SpicyMarinara commented on GitHub (Sep 10, 2026):

Security sweep for @SpicyMarinara, reviewed against Engine main 1a299369ac7025028c3ce1b80cc59f47b7b0691b and staging 78de74ef84c6595938ebbec6538cd6a0566ef977.

  • Marinara-Agents: no open Dependabot alerts.
  • Engine #27: numeric trustProxy is never enabled by buildApp; inapplicable.
  • Engine #28–#31, #33–#34, #36–#37: fast-uri serves JSON-schema references, not network/redirect/SSRF policy. safeFetch uses WHATWG URL and DNS checks; no async schema loader is installed. Inapplicable.
  • Engine #35 and #40: no comma:true parsing or hostile qs.stringify round-trip; inapplicable.
  • Engine #38: Browserslist receives finite build targets in short-lived Babel/Workbox jobs, not a stream of external queries; inapplicable.
  • Engine #42–#44: no Hono app/query/cache middleware, static generation or dot-enabled body parsing. Fastify serves the application; the SDK dependency's Hono adapter does not enable those APIs. Inapplicable.

Retained genuine alerts:

  • #32: capability packages can forward Fastify route options, so a blanket dismissal of primitive-body validation would be inappropriate. Fastify 5.12.1 is already pinned on staging.
  • #39: custom Browserslist stats are a build-input concern; kept open conservatively. Browserslist 4.28.7 is already pinned on staging.
  • #41: reproduced outside-file overwrites through pre-seeded extraction symlinks in the sidecar and ONNX installers. PR #6037 uses exclusive private temporary directories in both callers and preserves sidecar privacy through retries. There is no patched adm-zip release; the narrowly scoped audit exception is paired with a behavioral regression that fails on both original callers. Raw audit metadata still lists that upstream advisory; it is not an upstream library fix.

Hono 4.13.5 and js-yaml 4.3.2 are also applied in #6037. Main is intentionally untouched. Retained alerts are not dismissed merely because their fix/mitigation is on staging.

<!-- gh-comment-id:5620065565 --> @SpicyMarinara commented on GitHub (Sep 10, 2026): Security sweep for @SpicyMarinara, reviewed against Engine main `1a299369ac7025028c3ce1b80cc59f47b7b0691b` and staging `78de74ef84c6595938ebbec6538cd6a0566ef977`. - Marinara-Agents: no open Dependabot alerts. - Engine #27: numeric `trustProxy` is never enabled by `buildApp`; inapplicable. - Engine #28–#31, #33–#34, #36–#37: fast-uri serves JSON-schema references, not network/redirect/SSRF policy. `safeFetch` uses WHATWG URL and DNS checks; no async schema loader is installed. Inapplicable. - Engine #35 and #40: no `comma:true` parsing or hostile `qs.stringify` round-trip; inapplicable. - Engine #38: Browserslist receives finite build targets in short-lived Babel/Workbox jobs, not a stream of external queries; inapplicable. - Engine #42–#44: no Hono app/query/cache middleware, static generation or dot-enabled body parsing. Fastify serves the application; the SDK dependency's Hono adapter does not enable those APIs. Inapplicable. Retained genuine alerts: - #32: capability packages can forward Fastify route options, so a blanket dismissal of primitive-body validation would be inappropriate. Fastify 5.12.1 is already pinned on staging. - #39: custom Browserslist stats are a build-input concern; kept open conservatively. Browserslist 4.28.7 is already pinned on staging. - #41: reproduced outside-file overwrites through pre-seeded extraction symlinks in the sidecar and ONNX installers. PR #6037 uses exclusive private temporary directories in both callers and preserves sidecar privacy through retries. There is no patched adm-zip release; the narrowly scoped audit exception is paired with a behavioral regression that fails on both original callers. Raw audit metadata still lists that upstream advisory; it is not an upstream library fix. Hono 4.13.5 and js-yaml 4.3.2 are also applied in #6037. Main is intentionally untouched. Retained alerts are not dismissed merely because their fix/mitigation is on staging.
Author
Owner

@SpicyMarinara commented on GitHub (Sep 10, 2026):

Landed on staging through #6037, merge commit 3925273383c4f08a954ac751b5157c4971bd1f85. All 28 distinct checks and the actual final-commit CodeRabbit review passed before merging. The existing WebKit character-sheet test passed on the final run after its isolated earlier failure; no UI or test change was needed.

The sweep dismissed 15 inapplicable Engine alerts with individual applicability records. Marinara-Agents still has no open alerts. Engine alerts #32, #39, and #41 remain open because main is unchanged: staging already contains the Fastify/Browserslist version fixes, and now contains the caller mitigation for the unpatched adm-zip advisory plus the Hono/YAML updates. The single documented audit exception remains tied to that tested caller mitigation.

The staging tree matches the reviewed PR exactly. This issue stays marked fixed-in-staging pending the normal main promotion.

<!-- gh-comment-id:5620879059 --> @SpicyMarinara commented on GitHub (Sep 10, 2026): Landed on staging through #6037, merge commit `3925273383c4f08a954ac751b5157c4971bd1f85`. All 28 distinct checks and the actual final-commit CodeRabbit review passed before merging. The existing WebKit character-sheet test passed on the final run after its isolated earlier failure; no UI or test change was needed. The sweep dismissed 15 inapplicable Engine alerts with individual applicability records. Marinara-Agents still has no open alerts. Engine alerts #32, #39, and #41 remain open because main is unchanged: staging already contains the Fastify/Browserslist version fixes, and now contains the caller mitigation for the unpatched adm-zip advisory plus the Hono/YAML updates. The single documented audit exception remains tied to that tested caller mitigation. The staging tree matches the reviewed PR exactly. This issue stays marked `fixed-in-staging` pending the normal main 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#3344
No description provided.