[GH-ISSUE #8450] [Issue]: Validated dependency updates and deepmerge security backport #8360

Closed
opened 2026-11-07 16:42:28 +07:00 by bsakaguchi · 1 comment
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

The requested Dependabot sweep has six compatible updates, but their shared dependency graph also contains deepmerge@4.3.1 with prototype poisoning (GHSA-gcqx-w48m-w2h4) and no published patched release. The MCP SDK override also prevents its existing version-bump PR from actually resolving the newer SDK.

Owner: @SpicyMarinara. This issue coordinates the maintainer-requested integration; the existing Dependabot PRs were inspected for overlapping work.

Expected behavior

Compatible updates resolve to their intended versions and pass application, build, security, and platform checks together. The known deepmerge behavior is repaired without weakening audit or regression guards. Existing security backports and ONNX backend alignment remain intact.

Actual behavior

  • Compatible updates are proposed in #8431, #8432, #8433, #8434, #8435, and #8436.
  • #8433 changes the manifest range while the workspace override still fixes MCP SDK at 1.32.1.
  • deepmerge@4.3.1 can give a nested result an attacker-supplied prototype when its target is null, primitive, or has a null prototype. The current dependency path is build tooling through Workbox/Rollup; application exploit reachability has not been demonstrated.
  • #8437 independently updates ONNX Web away from the exact backend required by Transformers and fails the existing shared-runtime regression. The current upstream Transformers release still requires the existing backend.

Steps to reproduce

  1. Inspect the dependency PRs and resolved staging lockfile/overrides.
  2. Run the configured audit and check GHSA-gcqx-w48m-w2h4.
  3. With unpatched deepmerge@4.3.1, merge { session: null } with JSON-parsed { "session": { "__proto__": { "admin": true } } }; the nested result inherits admin although it has no own admin property. Ordinary merge and global-prototype negative controls are required for the backport.

Environment

  • Marinara Engine version: 2.5.1, staging 387abb65c8
  • Install type: source dependency graph
  • OS + version: dependency-level reproduction; no platform-specific exploit claim
  • Browser or app shell: not applicable to the package-level reproduction

Logs, screenshots, or video

Additional context

The six compatible updates will be integrated and validated together in one maintainer PR because they share the lockfile, the MCP override needs correction, and the audit backport must accompany installation. Original compatible bot PRs will be closed as superseded after delivery; the incompatible standalone ONNX bump will be closed with its specific reason.

Open fast-uri alerts #84–87 are already remediated on staging by #8074. Their default-branch reports must be labeled accurately as fix started while main awaits its normal promotion; this work does not promote main.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Oct 29, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8450 Originally assigned to: @SpicyMarinara on GitHub. ## Summary The requested Dependabot sweep has six compatible updates, but their shared dependency graph also contains `deepmerge@4.3.1` with prototype poisoning (GHSA-gcqx-w48m-w2h4) and no published patched release. The MCP SDK override also prevents its existing version-bump PR from actually resolving the newer SDK. Owner: @SpicyMarinara. This issue coordinates the maintainer-requested integration; the existing Dependabot PRs were inspected for overlapping work. ## Expected behavior Compatible updates resolve to their intended versions and pass application, build, security, and platform checks together. The known `deepmerge` behavior is repaired without weakening audit or regression guards. Existing security backports and ONNX backend alignment remain intact. ## Actual behavior - Compatible updates are proposed in #8431, #8432, #8433, #8434, #8435, and #8436. - #8433 changes the manifest range while the workspace override still fixes MCP SDK at 1.32.1. - `deepmerge@4.3.1` can give a nested result an attacker-supplied prototype when its target is null, primitive, or has a null prototype. The current dependency path is build tooling through Workbox/Rollup; application exploit reachability has not been demonstrated. - #8437 independently updates ONNX Web away from the exact backend required by Transformers and fails the existing shared-runtime regression. The current upstream Transformers release still requires the existing backend. ## Steps to reproduce 1. Inspect the dependency PRs and resolved staging lockfile/overrides. 2. Run the configured audit and check GHSA-gcqx-w48m-w2h4. 3. With unpatched `deepmerge@4.3.1`, merge `{ session: null }` with JSON-parsed `{ "session": { "__proto__": { "admin": true } } }`; the nested result inherits `admin` although it has no own `admin` property. Ordinary merge and global-prototype negative controls are required for the backport. ## Environment - Marinara Engine version: 2.5.1, staging 387abb65c83f56b0c90ef7cd91930cfefb33617d - Install type: source dependency graph - OS + version: dependency-level reproduction; no platform-specific exploit claim - Browser or app shell: not applicable to the package-level reproduction ## Logs, screenshots, or video - Advisory: https://github.com/advisories/GHSA-gcqx-w48m-w2h4 - Maintained upstream backport: https://github.com/pnpm/pnpm/blob/63c0b8eede90d9658c5395a47890c24c18ca711e/.config/pnpm/patches/deepmerge%404.3.1.patch - ONNX shared-runtime failure: https://github.com/Pasta-Devs/Marinara-Engine/actions/runs/40819538726/job/123270301732 ## Additional context The six compatible updates will be integrated and validated together in one maintainer PR because they share the lockfile, the MCP override needs correction, and the audit backport must accompany installation. Original compatible bot PRs will be closed as superseded after delivery; the incompatible standalone ONNX bump will be closed with its specific reason. Open fast-uri alerts #84–87 are already remediated on staging by #8074. Their default-branch reports must be labeled accurately as fix started while main awaits its normal promotion; this work does not promote main. ## Template check - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-11-07 16:42:28 +07:00
Author
Owner

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

Delivered to staging by #8451, merge 090ecb1f3c93f10f2f7089e457b197877366285e. The merged source tree exactly matches reviewed head 650f2359 and the hosted Android-tested merge tree.

  • The six compatible updates from #8431–#8436 are installed. Dependabot recognized the merged versions and closed the original PRs; each has a supersession link. #8437 was closed with its specific Transformers/ONNX runtime incompatibility.
  • All eight required checks and final-head Dottore Review passed before merge. The combined change passed the Android debug APK build and release-signing rejection guard, plus full/lite AMD64 and ARM64 container runtime checks.
  • Post-merge regression checks, CodeQL, and staging container publication all succeeded on this exact merge. All three publication jobs executed login-action v4.7.0 successfully.
  • Published ghcr.io/pasta-devs/marinara-engine:staging at sha256:326beb7184b42d420788f005164475af554e26be6357d99120b4abbc0b89ed81, with AMD64/ARM64 manifests and provenance. Lite publication remains release-only and was not dispatched; its build/runtime validation passed.

Fresh security verification finds zero open Dependabot alerts and no unsuppressed configured-audit advisories. The unchanged registry version metadata still matches Deepmerge (low) and Zod (high), both covered by installed source backports with strict 20-control and 56-control regressions. Developer MCP audit reports zero vulnerabilities.

Fast-uri alerts #84–#87 are accurately dismissed as fix_started: #8074 already fixed staging, but default main remains at e5ead06a and awaits normal release promotion. This maintenance task did not promote main or claim that its affected lockfile was fixed.

<!-- gh-comment-id:6496204782 --> @SpicyMarinara commented on GitHub (Oct 29, 2026): <!-- dependency-sweep-delivered-8451 --> Delivered to staging by #8451, merge `090ecb1f3c93f10f2f7089e457b197877366285e`. The merged source tree exactly matches reviewed head `650f2359` and the hosted Android-tested merge tree. - The six compatible updates from #8431–#8436 are installed. Dependabot recognized the merged versions and closed the original PRs; each has a supersession link. #8437 was closed with its specific Transformers/ONNX runtime incompatibility. - All eight required checks and final-head Dottore Review passed before merge. The combined change passed the Android debug APK build and release-signing rejection guard, plus full/lite AMD64 and ARM64 container runtime checks. - Post-merge [regression checks](https://github.com/Pasta-Devs/Marinara-Engine/actions/runs/40868800198), [CodeQL](https://github.com/Pasta-Devs/Marinara-Engine/actions/runs/40868800288), and [staging container publication](https://github.com/Pasta-Devs/Marinara-Engine/actions/runs/40868800270) all succeeded on this exact merge. All three publication jobs executed login-action v4.7.0 successfully. - Published `ghcr.io/pasta-devs/marinara-engine:staging` at `sha256:326beb7184b42d420788f005164475af554e26be6357d99120b4abbc0b89ed81`, with AMD64/ARM64 manifests and [provenance](https://github.com/Pasta-Devs/Marinara-Engine/attestations/61273709). Lite publication remains release-only and was not dispatched; its build/runtime validation passed. Fresh security verification finds zero open Dependabot alerts and no unsuppressed configured-audit advisories. The unchanged registry version metadata still matches Deepmerge (low) and Zod (high), both covered by installed source backports with strict 20-control and 56-control regressions. Developer MCP audit reports zero vulnerabilities. Fast-uri alerts #84–#87 are accurately dismissed as `fix_started`: #8074 already fixed staging, but default `main` remains at `e5ead06a` and awaits normal release promotion. This maintenance task did not promote main or claim that its affected lockfile was fixed.
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#8360
No description provided.