Skip to content

chore(template): move the control box to Node 24.22.1 - #6

Merged
OndrejDrapalik merged 1 commit into
mainfrom
chore/control-node-24.22.1
Oct 23, 2026
Merged

OndrejDrapalik merged 1 commit into
mainfrom
chore/control-node-24.22.1

Conversation

@OndrejDrapalik

@OndrejDrapalik OndrejDrapalik commented Oct 23, 2026 •

Copy link
Copy Markdown
Collaborator

What changed

templates/control.ts moves the control box's Node from v24.21.0 to v24.22.1. The driver runs driver/e2b-helper.mjs on this Node for every E2B call (create, connect, list, kill), carrying the E2B API key. Node verifies TLS against its own bundled roots, not the box's ca-certificates, so 24.21.0 still trusts the compromised eMudhra intermediates. 24.22.1 is the patched 24.x in the disclosure: https://emudhra.we-have-a-problem.com/.

This is the follow-up to #5. #5 patched the Rust driver's rustls-webpki, but the driver only uses rustls for its gRPC link to the gateway on 127.0.0.1, under per-session certificates it generates itself. The public-CA path to E2B goes through this Node.

How I verified it

  • Both official tarballs passed sha256sum -c against nodejs.org's SHASUMS256.txt.
  • A TLS probe (https.get, with NODE_OPTIONS and NODE_EXTRA_CA_CERTS unset) against the disclosure's test hosts:
    • v24.21.0: dv-g3b-emudhra.we-have-a-problem.com is trusted (HTTP 200).
    • v24.22.1: the same host and dv-g3b-aaa-emudhra... are both rejected (CERT_REVOKED).
    • Both versions still reach api.e2b.app.
  • I copied the template's helper setup on Node 24.22.1: npm install e2b@2.51.0 and e2b-helper.mjs. Then I ran the read-only list op against prod E2B, which returned {"ok":true,"sandboxes":[]}.
  • CodeQL is green. The repo has no other CI.

Residual risk

@cla-bot cla-bot Bot added the cla-signed label Oct 23, 2026
@OndrejDrapalik
OndrejDrapalik merged commit b7b884c into main Oct 23, 2026
4 checks passed
@OndrejDrapalik
OndrejDrapalik deleted the chore/control-node-24.22.1 branch October 23, 2026 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant