fix(security): retire the eMudhra TLS preload for Node 24.22.1's native fix by multipletwigs · Pull Request #2489 · solana-foundation/solana-developer-platform · GitHub
Skip to content

fix(security): retire the eMudhra TLS preload for Node 24.22.1's native fix - #2489

Merged
multipletwigs merged 3 commits into
mainfrom
chore/retire-emudhra-tls-mitigation
Oct 21, 2026
Merged

multipletwigs merged 3 commits into
mainfrom
chore/retire-emudhra-tls-mitigation

Conversation

@multipletwigs

@multipletwigs multipletwigs commented Oct 21, 2026 •

Copy link
Copy Markdown
Collaborator

Retires the temporary eMudhra TLS preload from #2465: Node v24.22.1 ships the native fix (nodejs/node#66871), a compiled-in blocklist of the eight compromised eMudhra/emSign intermediates.

  • Every runtime pinned to 24.22.1: all five Dockerfiles on node:24-slim@sha256:8cabefbd…86658 (the complete 24.22.1 index: amd64, arm64, ppc64le), CI setup-node on 24.22.1 (its manifest still stops at 24.22.0, so it falls back to nodejs.org), root engines >=24.22.1.
  • Removes the preload and all its wiring: tls-trust.cjs, the API/Next imports, the Docker preload stage, CI BASH_ENV, and the Turbo NODE_OPTIONS passthrough. Keeps scripts/check-tls-trust.mjs.
  • Vercel-hosted web/docs run Vercel's managed Node 24.x, whose patch version we can't pin: confirm a deploy logs 24.22.1.
  • The preload's refusal to boot with NODE_TLS_REJECT_UNAUTHORIZED=0 goes with it; Node itself still warns.
  • After merge: redeploy API + worker + web/docs.

Verification: check-tls-trust.mjs on the pinned digest with no preload, amd64 + arm64: 12/12 CERT_REVOKED, control connects (same check on 24.22.0 fails). typecheck 28/28, node --test scripts 230/230. Local app not launched.

@github-actions

github-actions Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

@vercel

vercel Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
sdp-docs Ready Ready Preview Oct 21, 2026 3:52pm UTC
sdp-web Ready Ready Preview Oct 21, 2026 3:52pm UTC

Request Review

@Windscar Windscar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. The preload removal is covered by the patched runtime pins.

Reviewed: Node's TLS fix, Docker image platforms, CI Node versions, remaining preload references, and package and build cleanup.

@greptile-apps

greptile-apps Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

@multipletwigs
multipletwigs merged commit 6718e51 into main Oct 21, 2026
66 checks passed
@multipletwigs
multipletwigs deleted the chore/retire-emudhra-tls-mitigation branch October 21, 2026 15:59

This branch was successfully deployed

2 active deployments
Preview – sdp-web — c3e82402 Deployed Oct 21, 2026 by vercel[bot]
Preview – sdp-docs — c3e82402 Deployed Oct 21, 2026 by vercel[bot]
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.

3 participants