mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6830] [MERGED] chore(deps): apply Undici and network security updates #7346
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#7346
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/6830
Author: @dependabot[bot]
Created: 9/29/2026
Status: ✅ Merged
Merged: 9/29/2026
Merged by: @SpicyMarinara
Base:
staging← Head:dependabot/npm_and_yarn/npm_and_yarn-609dc27061📝 Commits (7)
12a0acddocs: remove duplicate root guide and obsolete task brief on main (#6506)203e9bfchore(deps): bump undici in the npm_and_yarn group across 1 directory93ccbc6Merge remote-tracking branch 'origin/staging' into codex/review-6830c8fe43bdocs: note Undici security patch update32b018ffix(deps): refresh vulnerable URL and IP dependency pinse308275Merge remote-tracking branch 'origin/staging' into codex/review-6830c04b54eMerge remote-tracking branch 'origin/staging' into codex/review-6830📊 Changes
4 files changed (+28 additions, -26 deletions)
View changed files
📝
CHANGELOG.md(+2 -0)📝
package.json(+3 -3)📝
packages/server/package.json(+1 -1)📝
pnpm-lock.yaml(+22 -22)📄 Description
Linked issue
Closes #6845.
Why this change
The server's Undici dependency needs its upstream security patch. The dependency audit also fails because existing overrides pin vulnerable fast-uri and ip-address releases. Updating those pins clears the audit while keeping each dependency on its existing major version.
Upstream references: Undici 7.29.1, fast-uri port validation and authority parsing, and ip-address link-local classification and NAT64 classification.
What changed
This PR targets staging and includes its current changes. The net diff is limited to four files: the root/server manifests, lockfile, and changelog. No application code, new dependency, or application version bump is introduced.
Validation
pnpm checkpasses locallyCONTRIBUTING.mdLocal integration results for
c04b54ec35fdfeb969a0984cf2474cde94f62928, including staging merge808b5739a28d7a911b1aacf10008f5ea0ff3558c:pnpm installandpnpm checkpassed, including localization, formatting, lint/types, and production builds.pnpm audit --audit-level lowpassed with no known vulnerabilities; before the override updates it reported four high and two moderate findings.pnpm version:checkpassed; the app version remains 2.4.6.mari/review-cards.regression.tspassed (1/1).pnpm smoke:productionpassed on desktop Chromium, mobile Chromium, and mobile WebKit (3/3).docker build -t marinara-pr-6830:refresh .passed. A disposable container returned HTTP 200 for/api/healthand the compiled frontend; it was then removed.Dependency regression evidence from
e308275e44ba58f01b2ae4bde5c8f0352f6d006fremains applicable: all three dependency files are identical in the latest revision. The subsequent merge brought in staging's Mari review-card cleanup and resolved only a changelog conflict; it did not alter this dependency patch.pnpm regression:securitypassed all 19 regression-file runs on that revision.node scripts/run-regressions.mjs --filter <file>passed forprovider-compat.regression.ts,image-generation-timeout.regression.ts,image-result-url-security.regression.ts,swarmui-timeout.regression.ts, andswarmui-video-origin.regression.ts(5/5). These exercise provider HTTP/streaming, slow and aborted image requests, URL restrictions, and a real local SwarmUI WebSocket exchange.32b018faewith zero findings. The three dependency files remain identical to that reviewed revision; the changelog retains the same release note below newer staging entries.Hosted review is still a merge gate: CodeRabbit currently reports Review skipped for this bot-authored PR. Manual review/full-review commands and its retry control have been invoked; no hosted review has been posted yet. The green skipped status must not be mistaken for a completed review.
Manual verification notes
No live model-provider account or real SwarmUI instance was exercised; the existing regressions use local HTTP/WebSocket fixtures. Manually verify image generation against a configured SwarmUI instance when available. Browser checks above are automated, not physical-device testing.
The Undici package update does not replace Node's bundled fetch implementation. The audit result covers known dependency advisories, not a broader application security audit.
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue openedOnly CHANGELOG.md needs a release note. No user-facing documentation, localization strings, storage format, or application version changes.
UI evidence (if applicable)
Not applicable: no UI changes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.