mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4581] [Issue]: Upgrade the pinned pnpm release and refresh it during launcher updates #2499
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#2499
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?
Originally created by @SpicyMarinara on GitHub (Aug 4, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4581
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Marinara Engine pins pnpm 10.33.2, which falls within the affected range of multiple pnpm security advisories fixed in 10.34.5. An already-running launcher also retains the old runner after pulling updated Engine files, so it must not be allowed to install the newly updated workspace.
Expected behavior
Fresh installs and updated launchers should select the exact repository-pinned pnpm 10.34.5 release before installing dependencies. Corepack should verify the pinned release digest, and fallback paths should reject arbitrary globally installed pnpm versions.
For users updating through an already-running 10.33.2 launcher, the first run should fail closed before dependency installation. After relaunch, the refreshed launcher should obtain and verify 10.34.5, then continue normally.
Actual behavior
The repository and distribution paths currently pin pnpm 10.33.2. The Windows, macOS/Linux, and Termux launchers resolve that version before Git updates the checkout, then reuse the stale runner for the post-update dependency installation. Some install paths also accept a different globally installed pnpm version.
Steps to reproduce
Environment
Logs, screenshots, or video
No runtime log attached. The behavior is visible in the launcher control flow: pnpm selection occurs before the Git update and the already-running script cannot safely replace its own runner implementation.
Additional context
Target the exact patched pnpm 10.34.5 release and pin its SHA-512 digest for Corepack. Keep the dependency lockfile unchanged, update every hard-coded distribution pin, reject mismatched global versions, and add narrow launcher regression coverage. Relevant upstream advisories include GHSA-vq4v-j7r6-jq4m, GHSA-c59q-g84q-2gj5, and GHSA-vx52-2968-3vc6.
The active August 4 npm supply-chain incident was audited separately: the locked Engine dependencies do not match the confirmed poisoned versions, and this change must not refresh the lockfile.
Template check
@SpicyMarinara commented on GitHub (Aug 4, 2026):
Claimed by @SpicyMarinara via PR #4582. I am implementing the exact pnpm 10.34.5 pin and first-update launcher handoff on
agent/pnpm-10-34-5.