vm2 3.10.3

vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules.

vm2@3.10.3 was published on 2026-01-25. Its manifest declares 2 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=6.0.

All vm2 versions · Permanent reference to 3.10.3 · Latest release

Package specifications

Version3.10.3
License declarationMIT
Published2026-01-25T23:09:29.850Z
Node.js requirement>=6.0
Type declarationsBundled declarations
Runtime dependency count2
Peer requirement count0
Optional dependency count0
Minified sizeMeasurement not available yet
Minified + gzipMeasurement not available yet
Unpacked distribution size220.73 KiB
Published file count21
Package typeNot declared
ES module entryNot declared
Default entryindex.js
Side effects declarationfalse
Direct advisories54
Resolved graph dependencies2
Repository stars4109
Repository forks334

Install vm2 3.10.3

npm install vm2@3.10.3
pnpm add vm2@3.10.3
yarn add vm2@3.10.3

Runtime dependencies

Peer requirements

  • None declared

Optional dependencies

  • None declared

Resolved dependency graph

This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.

How to interpret the specifications

Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.

Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.

Known direct advisories

OpenSSF repository checks

Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.

Code-Review0/10 — Found 1/30 approved changesets -- score normalized to 0
Security-Policy10/10 — security policy file detected
Maintained10/10 — 29 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Token-Permissions9/10 — detected GitHub workflow tokens with excessive permissions
Dangerous-Workflow10/10 — no dangerous workflow patterns detected
Binary-Artifacts10/10 — no binaries found in the repo
CII-Best-Practices0/10 — no effort to earn an OpenSSF best practices badge detected
Pinned-Dependencies2/10 — dependency not pinned by hash detected -- score normalized to 2
License10/10 — license file detected
Fuzzing0/10 — project is not fuzzed
Branch-Protection3/10 — branch protection is not maximal on development and all release branches
Packaging10/10 — packaging workflow detected
SAST0/10 — SAST tool is not run on all commits -- score normalized to 0

Evidence and freshness