Skip to content

fix(security): migrate bundled npm to tar 8 - #6

Closed
beevelop wants to merge 1 commit into
latestfrom
fix/npm-tar-8
Closed

beevelop wants to merge 1 commit into
latestfrom
fix/npm-tar-8

Conversation

@beevelop

@beevelop beevelop commented Dec 4, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Replace bundled tar 7.5.22 with the SHA-512-verified tar 8.1.2 package while keeping Node.js, npm, Python, and all three supported platforms.
  • Reuse the tested npm 11.21.3 port on amd64 and arm64. Apply a separate npm 10.9.9 port on arm/v7, including the second pacote bundle used by npm's audit calculator. The build checks the original npm and tar versions and applies each patch with zero fuzz.
  • Run offline package pack, install, executable bin, diff, dependency tree, audit-calculator extraction, and local node-gyp header checks in the existing platform matrix.

Validation

  • The npm 10 patch applied cleanly to the exact Node.js 22.23.5 vendored npm source. JavaScript and shell syntax, actionlint, and whitespace checks passed.
  • The extended smoke test passed against the already-patched npm 11.21.3 bundle from the companion work. The exact PR workflow passed on linux/amd64, linux/arm64, and linux/arm/v7. The arm/v7 logs confirmed Node.js 22.23.5, npm 10.9.9, and tar 8.1.2 in both pacote bundles. Publishing was skipped on the PR.

Remove each port when its official Node base image ships npm with tar 8 support and the offline smoke tests pass without the local patch.

Bundled tar advisory · Tested npm 11 port

@beevelop beevelop closed this Dec 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant