Skip to content

chore: drop the eMudhra CA filter and incident TLS probes - #35

Merged
ThatXliner merged 1 commit into
mainfrom
chore/drop-emudhra-workarounds
Nov 8, 2026
Merged

ThatXliner merged 1 commit into
mainfrom
chore/drop-emudhra-workarounds

Conversation

@ThatXliner

Copy link
Copy Markdown
Contributor

Why

PRs #33 and #34 added a server-side filter that removes the four compromised eMudhra roots from Node's default CA store. They also added a CI step and a script that probe the incident hosts. Node 22.23.4, 24.22.1 and 26.12.1, and Vercel's managed Node (22.x is now v22.23.4, 24.x is v24.22.2, 26.x is v26.13.0), no longer ship those roots, so the filter has nothing left to remove. The probe script tests the incident hosts, not this app, and it will break when those hosts go away.

What changed

  • Deleted apps/nextjs/security/emudhra-default-ca.mjs.
  • apps/nextjs/src/instrumentation.js: removed the trust-filter call. Sentry setup is unchanged, and the file stays in src/, where Next 15 finds it (Activate Node auth middleware and CA startup under src #34).
  • apps/nextjs/src/middleware.ts: removed the trust-filter import and call. runtime: "nodejs" and the Supabase cookie handling are unchanged. Activate Node auth middleware and CA startup under src #34 added the Node runtime for this filter, but switching middleware back to Edge is a separate behavior change, so I left it alone.
  • Deleted scripts/test-http-security.mjs, the test:security and verify:tls scripts, and the "HTTP security contracts" CI step.
  • scripts/check-node.mjs: kept as the preinstall gate for the Node floor, with the incident wording removed from its error message.
  • Unchanged: engines (^22.23.4 || ^24.22.1 || >=26.12.1) and .nvmrc (22.23.4).

Verification

🤖 Generated with Claude Code

PRs #33 and #34 added a server-side filter that removes the four compromised eMudhra roots from Node's default CA store. They also added a CI step and a script that probe the incident hosts. Node 22.23.4, 24.22.1 and 26.12.1, and Vercel's managed Node (22.x is now v22.23.4, 24.x is v24.22.2, 26.x is v26.13.0), no longer ship those roots, so the filter has nothing left to remove. The probe script tests the incident hosts, not this app, and it will break when those hosts go away.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ThatXliner
ThatXliner merged commit b5308d6 into main Nov 8, 2026
0 of 3 checks passed
@ThatXliner
ThatXliner deleted the chore/drop-emudhra-workarounds branch November 8, 2026 19:06
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