Skip to content

docs: propose a hermetic Node.js runtime - #1

Draft
longlho wants to merge 1 commit into
hermeticbuild:mainfrom
longlho:agent/hermetic-node-rfc
Draft

docs: propose a hermetic Node.js runtime#1
longlho wants to merge 1 commit into
hermeticbuild:mainfrom
longlho:agent/hermetic-node-rfc

Conversation

@longlho

@longlho longlho commented Jul 15, 2026

Copy link
Copy Markdown

Summary

This adds an RFC for an opt-in hermetic Node.js runtime driven by an immutable
execution manifest and a process-wide virtual host.

The proposal keeps Node independent of any build system, gives node:fs, CJS,
ESM, workers, and loaders one logical filesystem, and lays out focused patches
for startup policy, filesystem enforcement, module identity, ambient inputs,
and a strict runtime target.

It also keeps the security boundary explicit: Node can govern Node-owned
access, while native addons, FFI, and arbitrary child executables still require
OS isolation.

Validation

Documentation-only change. git diff --check passes, and the RFC is wrapped to
the repository's existing Markdown style.

@longlho

longlho commented Jul 16, 2026

Copy link
Copy Markdown
Author

@dzbarsky 1st pass :)

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