npm · npm:vm2
vm2 active
vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules.
The latest stable version of vm2 is 3.12.2, published on 2026-09-08. Verified by Vigia on 2026-11-12.
| Latest stable version | 3.12.2 |
|---|---|
| Published | 2026-09-08 16:28:43 UTC |
| Install | npm install vm2@latest |
| Requires (engines) | {"node":">=6.0"} |
| Peer dependencies | — |
| Dist-tags | latest: 3.12.2 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 12:27:44 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-09-08 16:28:43 UTC · 65 days ago |
| Stable releases in the last 12 months | 17 |
| Published versions | 83 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
3.12.2 | 2026-09-08 16:28:43 UTC |
3.12.1 | 2026-09-03 15:24:21 UTC |
3.12.0 | 2026-09-01 09:57:15 UTC |
3.11.8 | 2026-08-27 20:00:02 UTC |
3.11.7 | 2026-08-24 22:22:53 UTC |
3.11.6 | 2026-08-14 20:11:42 UTC |
3.11.5 | 2026-05-18 15:37:26 UTC |
3.11.4 | 2026-05-18 12:44:21 UTC |
3.11.3 | 2026-05-11 02:18:41 UTC |
3.11.2 | 2026-05-03 21:34:23 UTC |
3.11.1 | 2026-05-01 21:22:56 UTC |
3.11.0 | 2026-05-01 20:38:23 UTC |
3.10.5 | 2026-02-17 01:15:06 UTC |
3.10.4 | 2026-02-04 22:49:20 UTC |
3.10.3 | 2026-01-25 23:09:29 UTC |
3.10.2 | 2026-01-17 14:51:42 UTC |
3.10.1 | 2026-01-09 20:36:15 UTC |
3.10.0 | 2025-10-24 19:46:53 UTC |
3.9.19 withdrawn | 2023-05-16 05:29:13 UTC |
3.9.18 withdrawn | 2023-05-15 14:52:29 UTC |
Showing the 20 most recent of 83 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
node 16 | 3.12.2 |
node 18 | 3.12.2 |
node 20 | 3.12.2 |
node 22 | 3.12.2 |
node 24 | 3.12.2 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of vm2?
The latest stable version of vm2 is 3.12.2, published on 2026-09-08. Verified by Vigia on 2026-11-12.
How do I install the latest version of vm2?
Run npm install vm2@latest. The latest stable version is 3.12.2 (verified 2026-11-12).
Is vm2 deprecated?
No. vm2 is not marked as deprecated in the registry.
Which Node.js version does vm2 require?
vm2 3.12.2 declares this requirement: {"node":">=6.0"}.
Does vm2 3.12.2 have known vulnerabilities?
No known advisories affect vm2 3.12.2 according to the data Vigia checks.
Is vm2 still maintained?
vm2 published 17 stable releases in the last 12 months; the most recent was 65 days ago. Activity: active.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- node-environment-flags
- shell-exec
- @types/vinyl
- @types/cls-hooked
- @ethersproject/wallet
- @changesets/get-version-range-type
- @stoplight/ordered-object-literal
- string.fromcodepoint
- @opentelemetry/propagator-aws-xray
- react-slick
- svg-arc-to-cubic-bezier
- babel-helper-regex
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/vm2) [](https://vigia.coredls.cloud/npm/vm2) [](https://vigia.coredls.cloud/npm/vm2)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/vm2
GET https://vigia.coredls.cloud/v1/packages/npm/vm2/versions/{version}