rivet-dev/secure-exec
Secure Node.js Execution Without a Sandbox A lightweight library for secure Node.js execution. No containers, no VMs — just npm-compatible sandboxing out of the box.
Leverages V8 isolates (the same isolation primitive powering Cloudflare Workers) to achieve sub-20ms cold starts and ~3.4 MB per execution—enabling 50+ concurrent runtimes on modest hardware where container sandboxes require 256 MB minimums. Integrates with AI frameworks like Vercel AI SDK and LangChain through a composable permissions model that grants granular control over filesystem, network, child processes, and environment variables, all deny-by-default.
Available on npm.
Stars
10
Forks
—
Language
TypeScript
License
Apache-2.0
Category
Last pushed
Mar 18, 2026
Commits (30d)
0
Dependencies
2
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/agents/rivet-dev/secure-exec"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Featured in
Higher-rated alternatives
e2b-dev/E2B
Open-source, secure environment with real-world tools for enterprise-grade agents.
alibaba/OpenSandbox
OpenSandbox is a general-purpose sandbox platform for AI applications, offering multi-language...
e2b-dev/infra
Infrastructure that's powering E2B Cloud.
boxlite-ai/boxlite
Sandboxes for every agent. Embeddable, stateful, snapshots, and hardware isolation.
always-further/nono
Secure, kernel-enforced sandbox CLI and SDKs for AI agents. Capability-based isolation with...