mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8451] [MERGED] chore: validate dependency updates and backport deepmerge security fix #8610
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#8610
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/8451
Author: @SpicyMarinara
Created: 10/29/2026
Status: ✅ Merged
Merged: 10/29/2026
Merged by: @SpicyMarinara
Base:
staging← Head:chore/dependabot-security-sweep-20261029📝 Commits (2)
95a54a8chore: start validated dependency maintenance (#8450)650f235chore: validate dependency updates and backport deepmerge security fix (#8450)📊 Changes
11 files changed (+337 additions, -71 deletions)
View changed files
📝
.github/workflows/build-container-lite.yml(+2 -2)📝
.github/workflows/build-container.yml(+2 -2)📝
android/build.gradle(+1 -1)📝
packages/client/package.json(+1 -1)📝
packages/server/package.json(+3 -3)➕
patches/deepmerge-security-backport.md(+11 -0)➕
patches/deepmerge@4.3.1.patch(+93 -0)📝
pnpm-lock.yaml(+102 -54)📝
pnpm-workspace.yaml(+8 -5)➕
scripts/regressions/deepmerge-security-backport.regression.mjs(+111 -0)📝
scripts/regressions/zod-security-backport.regression.mjs(+3 -3)📄 Description
Linked issue
Closes #8450
Supersedes #8431, #8432, #8433, #8434, #8435 and #8436 after delivery. The incompatible standalone ONNX update #8437 was closed with the actual runtime-contract failure.
Why this change
The maintainer requested all feasible Dependabot updates and vulnerability reports to be addressed. These updates share a lockfile, and the MCP version change also needs its workspace override corrected to take effect. A fresh audit found a real deepmerge prototype-poisoning issue with no released fixed version; the supported maintenance path is a tested source backport rather than leaving the dependency vulnerable or hiding an unpatched advisory.
What changed
__proto__keys are rejected while ordinary merge, cloning, symbols and constructor/prototype data retain their behavior.Validation
Completed locally on
650f2359b320cbe8ab26bf597ae5d3900bd829b4:pnpm checkandpnpm version:checkpass. Existing warnings remain.REGRESSION_CONCURRENCY=4 pnpm regression:security: 36/36 file executions pass, including Deepmerge's 20 controls and the existing Zod backport's 56 controls.pnpm smoke:ui: 7/7 pass unchanged on replay. The first run hit local ENOSPC during browser-context cleanup; original log/traces/data were retained, completed validation caches were reclaimed, and no source, assertion or timeout changed.pnpm smoke:production: 3/3 pass on desktop Chromium, mobile Chromium and mobile WebKit..patchis byte-identical to pnpm's maintained source, including literal unified-diff context whitespace; non-patch source whitespace checks pass.Security claim boundaries:
Configured
pnpm auditexits 0 with no unsuppressed advisories. Raw registry/version metadata still matches two advisories: locally patched Deepmerge and the existing locally patched Zod API-1 alias. This does not claim the unmodified upstream versions are safe.Deepmerge belongs to the PWA build chain through Workbox/Rollup. The package-level exploit was reproduced before the patch; an application attack path has not been demonstrated.
The four open fast-uri reports were already repaired on staging by #8074 and are now accurately marked
fix_started. Defaultmainstill awaits normal promotion; this PR does not promote it.pnpm checkpasses locallyContainer (Docker / Podman) built and ran without issue
Ran the app, clicked through the changes manually
Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
Above manual verification completed (describe below)
Read and followed
CONTRIBUTING.mdManual verification notes
387abb65, with JDK 17.0.21+9 and Gradle 9.8.2. Debug assembly, unsigned-release exact-message rejection and APK artifact upload all passed. A positively signed production release and physical-device execution remain manual.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue openedDeveloper patch notes record the upstream source, affected entrypoints, reachability limits, audit exception and removal criteria. No user-facing installation, configuration or UI contract changed, so no translated guide change is needed.
UI evidence (if applicable)
No UI design changed. Existing shell and compiled-frontend browser smoke suites were exercised with the updated localization dependency.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.