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.

50
/ 100
Established

This is for developers building Node.js applications that need to execute untrusted code safely and efficiently. It allows you to run external JavaScript code within an isolated environment, much like a sandbox, but without the overhead of containers or virtual machines. You feed it Node.js code, and it executes that code with strict control over permissions and resources, returning the execution result.

10 stars and 16,903 monthly downloads. Available on npm.

Use this if you are a Node.js developer building platforms that execute user-provided code, such as an AI agent that generates and runs code, or a serverless function platform.

Not ideal if you need to run arbitrary operating systems, install system-level packages, or require persistent disk storage for your executed code.

Node.js development API development AI agent development Serverless functions Code execution environments
Maintenance 13 / 25
Adoption 15 / 25
Maturity 22 / 25
Community 0 / 25

How are scores calculated?

Stars

10

Forks

Language

TypeScript

License

Apache-2.0

Last pushed

Mar 18, 2026

Monthly downloads

16,903

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.