[PR #6076] [MERGED] fix(deps): adopt upstream ZIP security fixes #7051

Closed
opened 2026-10-23 04:16:06 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/6076
Author: @SpicyMarinara
Created: 9/12/2026
Status: ✅ Merged
Merged: 9/12/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/dependency-security-20260912


📝 Commits (3)

  • 8bf635e Track upstream ZIP security fix for issue 6075
  • 585f170 Upgrade adm-zip and remove the temporary audit exception
  • 9cc5e15 Merge remote-tracking branch 'origin/staging' into fix/dependency-security-20260912

📊 Changes

6 files changed (+29 additions, -21 deletions)

View changed files

📝 CHANGELOG.md (+2 -0)
📝 package.json (+2 -2)
📝 packages/server/package.json (+1 -1)
📝 pnpm-lock.yaml (+9 -9)
📝 pnpm-workspace.yaml (+0 -9)
📝 scripts/regressions/archive-extraction-security.regression.ts (+15 -0)

📄 Description

Linked issue

Closes #6075

Why this change

adm-zip 0.6.1 provides the upstream destination-symlink extraction fix that was unavailable for #6037. Adopt it across the workspace and remove the temporary audit exception while retaining private installer directories.

What changed

  • Upgrade both direct adm-zip dependencies to 0.6.1 and reuse the workspace override for transitive versions below 0.6.1. The lockfile contains only 0.6.1, including ONNX Runtime.
  • Remove the GHSA-vwc7-r8mq-g2x9 audit exception; the audit now reports zero vulnerabilities, including its raw metadata.
  • Extend the existing archive regression with whole-archive and single-entry destination-symlink rejection plus a normal single-entry extraction control. Retain its installer, private-permission, retry, and cleanup coverage.
  • Keep private installer directories and the small ONNX patch: download paths need isolation as well as ZIP extraction.
  • Sharp 0.35.4 from #6051 and the other patched alert versions already exist on staging. #6051 is closed as superseded by #5848; the alerts remain open on main.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Manually verify ZIP import/export and a Windows sidecar runtime install
  • Read and followed CONTRIBUTING.md

Manual verification notes

The CI results below cover head 9cc5e15ba7d9ae3ee7d697f184343a5af5ffb3bc, including staging PR #6067. Local project checks, archive regression, and both selected browser checks were repeated after the base update. The dependency diff is unchanged.

Completed locally:

  • pnpm install, pnpm check, pnpm version:check, and git diff --check passed.

  • The new direct symlink regression fails with adm-zip 0.6.0 (missing expected rejection) and passes with 0.6.1. The existing installer regression remains green.

  • pnpm why adm-zip -r resolves the root, server, and ONNX consumer to 0.6.1.

  • pnpm audit --json reports zero vulnerabilities with no audit exception.

  • All 250 Node regression scripts passed in CI. In the local full-suite run before the base update, 238 passed initially; the other 12 passed after rerunning with isolated DATA_DIR / FILE_STORAGE_DIR and a short canonical TMPDIR. Those initial failures were development-data writer locks and macOS temporary-path behavior; no code changes were needed.

  • Two desktop Chromium checks passed: preset import/save/export and streamed profile/full-backup ZIP round-trips through import preview.

  • The production Dockerfile build and project/security checks passed in CI. The local Docker build exhausted disk space and was stopped; its temporary cache was removed and Docker/disk space restored. No successful local container build or boot is claimed.

  • CodeRabbit completed its review of 9cc5e15ba7d9ae3ee7d697f184343a5af5ffb3bc with no actionable comments.

All ten browser shards and their aggregate checks passed in the full regression matrix on the final head. Manually verify a physical Windows GPU/runtime installation; that hardware path was not exercised here.

Docs and release impact

An Unreleased changelog entry is included. No release version bump or main promotion is included. Dependabot alerts on the default branch remain until the fixes reach main.

UI evidence (if applicable)

No UI changes.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/6076 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 9/12/2026 **Status:** ✅ Merged **Merged:** 9/12/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/dependency-security-20260912` --- ### 📝 Commits (3) - [`8bf635e`](https://github.com/Pasta-Devs/Marinara-Engine/commit/8bf635e52a72935442b9dcf63267346e7d113bb7) Track upstream ZIP security fix for issue 6075 - [`585f170`](https://github.com/Pasta-Devs/Marinara-Engine/commit/585f170cc76287b13e197aa93d601b1ee254ff43) Upgrade adm-zip and remove the temporary audit exception - [`9cc5e15`](https://github.com/Pasta-Devs/Marinara-Engine/commit/9cc5e15ba7d9ae3ee7d697f184343a5af5ffb3bc) Merge remote-tracking branch 'origin/staging' into fix/dependency-security-20260912 ### 📊 Changes **6 files changed** (+29 additions, -21 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+2 -0) 📝 `package.json` (+2 -2) 📝 `packages/server/package.json` (+1 -1) 📝 `pnpm-lock.yaml` (+9 -9) 📝 `pnpm-workspace.yaml` (+0 -9) 📝 `scripts/regressions/archive-extraction-security.regression.ts` (+15 -0) </details> ### 📄 Description ## Linked issue Closes #6075 ## Why this change adm-zip 0.6.1 provides the upstream destination-symlink extraction fix that was unavailable for #6037. Adopt it across the workspace and remove the temporary audit exception while retaining private installer directories. ## What changed - Upgrade both direct adm-zip dependencies to 0.6.1 and reuse the workspace override for transitive versions below 0.6.1. The lockfile contains only 0.6.1, including ONNX Runtime. - Remove the GHSA-vwc7-r8mq-g2x9 audit exception; the audit now reports zero vulnerabilities, including its raw metadata. - Extend the existing archive regression with whole-archive and single-entry destination-symlink rejection plus a normal single-entry extraction control. Retain its installer, private-permission, retry, and cleanup coverage. - Keep private installer directories and the small ONNX patch: download paths need isolation as well as ZIP extraction. - Sharp 0.35.4 from #6051 and the other patched alert versions already exist on staging. #6051 is closed as superseded by #5848; the alerts remain open on main. ## Validation - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Manually verify ZIP import/export and a Windows sidecar runtime install - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes The CI results below cover head `9cc5e15ba7d9ae3ee7d697f184343a5af5ffb3bc`, including staging PR #6067. Local project checks, archive regression, and both selected browser checks were repeated after the base update. The dependency diff is unchanged. Completed locally: - `pnpm install`, `pnpm check`, `pnpm version:check`, and `git diff --check` passed. - The new direct symlink regression fails with adm-zip 0.6.0 (missing expected rejection) and passes with 0.6.1. The existing installer regression remains green. - `pnpm why adm-zip -r` resolves the root, server, and ONNX consumer to 0.6.1. - `pnpm audit --json` reports zero vulnerabilities with no audit exception. - All 250 Node regression scripts passed in [CI](https://github.com/Pasta-Devs/Marinara-Engine/actions/runs/34693950273). In the local full-suite run before the base update, 238 passed initially; the other 12 passed after rerunning with isolated `DATA_DIR` / `FILE_STORAGE_DIR` and a short canonical `TMPDIR`. Those initial failures were development-data writer locks and macOS temporary-path behavior; no code changes were needed. - Two desktop Chromium checks passed: preset import/save/export and streamed profile/full-backup ZIP round-trips through import preview. - The production Dockerfile build and project/security checks passed in [CI](https://github.com/Pasta-Devs/Marinara-Engine/actions/runs/34693950284). The local Docker build exhausted disk space and was stopped; its temporary cache was removed and Docker/disk space restored. No successful local container build or boot is claimed. - CodeRabbit completed its review of `9cc5e15ba7d9ae3ee7d697f184343a5af5ffb3bc` with no actionable comments. All ten browser shards and their aggregate checks passed in the [full regression matrix](https://github.com/Pasta-Devs/Marinara-Engine/actions/runs/34693950273) on the final head. Manually verify a physical Windows GPU/runtime installation; that hardware path was not exercised here. ## Docs and release impact An Unreleased changelog entry is included. No release version bump or main promotion is included. Dependabot alerts on the default branch remain until the fixes reach main. ## UI evidence (if applicable) No UI changes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:16:06 +07:00
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#7051
No description provided.