[PR #8088] [MERGED] fix(install): align Node LTS bootstrap pins with October security release #8093

Closed
opened 2026-10-24 04:10:19 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/8088
Author: @SpicyMarinara
Created: 10/22/2026
Status: ✅ Merged
Merged: 10/22/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/node-october-security-pins-20261022


📝 Commits (2)

  • 58b2d5f chore: start Node security pin correction
  • b356e7e fix(install): pin Windows Node downloads to security release 24.22.1

📊 Changes

3 files changed (+5 additions, -5 deletions)

View changed files

📝 .nvmrc (+1 -1)
📝 win/installer/install.bat (+2 -2)
📝 win/installer/installer.nsi (+2 -2)

📄 Description

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch or a same-repository hotfix/* branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issue

Closes #8087
Owner: @SpicyMarinara.

Why this change

Windows prerequisite downloads selected Node.js 24.21.0, before the October 2026 security fixes, while .nvmrc selected Node.js 25 instead of the LTS baseline. New prerequisite installations should select the patched release.

What changed

  • Point both Windows bootstrap downloads to Node.js 24.22.1 and synchronize their SHA-256 pins with the official MSI. Preserve the existing hash and Authenticode verification paths.
  • Set .nvmrc to the Node.js 24 LTS line, matching the repository's CI/runtime baseline.

The diff is three files, five insertions and five deletions. Existing runtime detection still accepts supported major versions without enforcing a security patch floor. Existing global Node installations are not upgraded by this PR; no release artifacts are rebuilt and no staging-to-main promotion is included.

Validation

  • pnpm check passes locally
  • Container (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.md

Local validation at b356e7e65, macOS with the existing Node.js 24.16.0 installation:

  • pnpm install --frozen-lockfile: passed.
  • pnpm check: passed, with the existing serverRun hook-dependency warning in HomeProfessorMariChat.tsx and existing production bundler advisory.
  • node scripts/check-windows-installer-layout.mjs: passed. PowerShell is unavailable locally; native prerequisite command execution remains a Windows CI/manual proof boundary.
  • node scripts/regressions/launcher/update.regression.mjs: passed.
  • pnpm version:check: passed; application version remains 2.5.1.
  • Cross-compiled the NSIS installer with makensis: passed. The proof executable is retained outside the repository in /tmp.
  • Downloaded the actual official node-v24.22.1-x64.msi and independently computed SHA-256 3bda4baf1ee709b33cf920dd633106ddb23951e322bff9c03ec9f64ab8981b01, matching the official checksum list. Both source URL/hash pairs match; hash and Authenticode checks remain present.
  • Complete-branch local CodeRabbit review: completed with zero findings across all three changed files at this exact head.

Manual verification notes

  • Manually verify a Windows installation downloads Node.js 24.22.1, validates its hash and Authenticode signature, and installs successfully.
  • Manually verify the active runtime with node --version on existing source, Windows and Termux installations; an accepted older patch remains the operator's installed runtime.
  • No browser or GPU behavior changed. No new container build was required: the staging full and Lite container runtime had already been independently verified at Node.js 24.22.1 in #8074.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README) as needed
  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] follow-up issue opened
  • Version/release files updated (only if this PR includes a version bump)

The installation/configuration/troubleshooting/FAQ documentation was checked together; its existing Node.js 24 LTS baseline remains accurate. No user-facing documentation, application version, changelog or translated documentation changed.

UI evidence (if applicable)

No client 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/8088 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 10/22/2026 **Status:** ✅ Merged **Merged:** 10/22/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/node-october-security-pins-20261022` --- ### 📝 Commits (2) - [`58b2d5f`](https://github.com/Pasta-Devs/Marinara-Engine/commit/58b2d5f5378e42645d444fe6a2edf1bada7e7962) chore: start Node security pin correction - [`b356e7e`](https://github.com/Pasta-Devs/Marinara-Engine/commit/b356e7e65c03075afe07c95651439c9516713ef0) fix(install): pin Windows Node downloads to security release 24.22.1 ### 📊 Changes **3 files changed** (+5 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `.nvmrc` (+1 -1) 📝 `win/installer/install.bat` (+2 -2) 📝 `win/installer/installer.nsi` (+2 -2) </details> ### 📄 Description > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch or a same-repository `hotfix/*` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. ## Linked issue Closes #8087 Owner: @SpicyMarinara. ## Why this change Windows prerequisite downloads selected Node.js 24.21.0, before the [October 2026 security fixes](https://nodejs.org/en/blog/vulnerability/october-2026-security-releases), while `.nvmrc` selected Node.js 25 instead of the LTS baseline. New prerequisite installations should select the patched release. ## What changed - Point both Windows bootstrap downloads to Node.js 24.22.1 and synchronize their SHA-256 pins with the official MSI. Preserve the existing hash and Authenticode verification paths. - Set `.nvmrc` to the Node.js 24 LTS line, matching the repository's CI/runtime baseline. The diff is three files, five insertions and five deletions. Existing runtime detection still accepts supported major versions without enforcing a security patch floor. Existing global Node installations are not upgraded by this PR; no release artifacts are rebuilt and no staging-to-main promotion is included. ## Validation - [ ] `pnpm check` passes locally - [ ] Container (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.md` Local validation at `b356e7e65`, macOS with the existing Node.js 24.16.0 installation: - `pnpm install --frozen-lockfile`: passed. - `pnpm check`: passed, with the existing `serverRun` hook-dependency warning in `HomeProfessorMariChat.tsx` and existing production bundler advisory. - `node scripts/check-windows-installer-layout.mjs`: passed. PowerShell is unavailable locally; native prerequisite command execution remains a Windows CI/manual proof boundary. - `node scripts/regressions/launcher/update.regression.mjs`: passed. - `pnpm version:check`: passed; application version remains 2.5.1. - Cross-compiled the NSIS installer with `makensis`: passed. The proof executable is retained outside the repository in `/tmp`. - Downloaded the actual official `node-v24.22.1-x64.msi` and independently computed SHA-256 `3bda4baf1ee709b33cf920dd633106ddb23951e322bff9c03ec9f64ab8981b01`, matching the [official checksum list](https://nodejs.org/dist/v24.22.1/SHASUMS256.txt). Both source URL/hash pairs match; hash and Authenticode checks remain present. - Complete-branch local CodeRabbit review: completed with zero findings across all three changed files at this exact head. ### Manual verification notes - Manually verify a Windows installation downloads Node.js 24.22.1, validates its hash and Authenticode signature, and installs successfully. - Manually verify the active runtime with `node --version` on existing source, Windows and Termux installations; an accepted older patch remains the operator's installed runtime. - No browser or GPU behavior changed. No new container build was required: the staging full and Lite container runtime had already been independently verified at Node.js 24.22.1 in #8074. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened - [ ] Version/release files updated (only if this PR includes a version bump) The installation/configuration/troubleshooting/FAQ documentation was checked together; its existing Node.js 24 LTS baseline remains accurate. No user-facing documentation, application version, changelog or translated documentation changed. ## UI evidence (if applicable) No client UI changes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-24 04:10:19 +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#8093
No description provided.