Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

vm2

Sandbox for safely running untrusted code with controlled access to Node.js.

UtilitiesNPM

GitHubWebsite

1. License

License from npm.

github.com/patriksimek/vm2

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What vm2 does

Sandbox for safely running untrusted code with controlled access to Node.js.

vm2 popularity

43 / 100
Gid Score, #2821 overall
1.3M
downloads a week, npm
4,116
GitHub stars
1
agent projects use it
vm2: downloads per weeknpm, vm2 1,267,390
vm2: GitHub starspatriksimek/vm2 4,116

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How vm2 is used

  • vm2 joined the catalog on its public numbers (1,267,390 downloads a week on npm and 4,116 GitHub stars), not on our project count: it is a dependency in 5 public GitHub projects of our scan, 1 of them set up for AI coding agents.
  • Projects that use it most often also use dotenv (80.0%), Cheerio (60.0%), node-fetch (60.0%).

Often used with

In 80.0% of its projects
In 60.0% of its projects
In 60.0% of its projects
In 60.0% of its projects
In 60.0% of its projects
In 40.0% of its projects
In 40.0% of its projects
In 40.0% of its projects

More about vm2

More in Utilities

Alternatives

vm2 This page

MITGid 431.3M/wk

Compare vm2 with another tool

Get started

Install it.

npm install vm2

No step-by-step start for vm2 yet: we have not written its hand-checked card.