Securing the runtime

esrun app.js grants nothing. A service therefore does not run until its command line says what it may reach. This guide turns that deny-by-default model into a practical deployment workflow.

The security model explains why the boundary is shaped this way. The CLI reference is the complete flag list and grammar.

Or let esdev write it for you

esdev --trace-permissions server.js runs the program with everything granted, watches every capability it reaches for, and prints the esrun line that grants those capabilities. You still need to narrow list-valued grants.

Read the guide in order

What this guide assumes

The esrun CLI, running a service you control.

Last updated on
Edit this page