{"adoption": {"forks": 328, "observed_at": "2026-08-28T04:08:34.646712+00:00", "stars": 4093}, "canonical_url": "https://ross.abutalabs.com/products/vm2", "card": {"archived": false, "artifact_type": "library", "description": "Advanced vm/sandbox for Node.js", "domain": ["security", "developer-tools", "backend"], "enriched": true, "function": ["security", "interpreter"], "health_score": 100, "homepage": null, "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["patriksimek/vm2"], "name": "patriksimek/vm2", "platform": [], "pushed_at": "2026-08-24T22:16:08+00:00", "repo": "patriksimek/vm2", "stars": 4093, "tags": ["sandbox", "vm", "untrusted-code", "isolation", "nodejs", "javascript"], "topics": ["javascript", "sandbox", "vm", "security", "node-js"], "urls": [], "use_cases": ["run untrusted user-submitted JavaScript safely", "execute plugin code with restricted module access", "sandbox third-party scripts in a Node.js app", "evaluate dynamic expressions from untrusted sources", "create a jail for guest JavaScript code"], "what_it_is": "vm2 is a Node.js library that provides an in-process sandbox for running untrusted JavaScript code with whitelisted access to built-in modules. It uses Proxies to mediate interactions between the sandbox and host environment, though it is known to be vulnerable to sandbox escapes.", "when_to_avoid": ["you need strong security guarantees against hostile code", "you cannot tolerate sandbox escape vulnerabilities", "you can use process-level isolation like isolated-vm, containers, or separate workers"], "when_to_choose": ["you need fast, synchronous communication with host objects", "the untrusted code comes from a relatively trusted source", "you accept the risk of sandbox escapes and keep the library updated"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/vm2", "repo": "patriksimek/vm2", "role": "main", "score": 99}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:34.646712+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:23:20.502125+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "35e6923feb75b8ebda1e53fe47e5377335f6ed9a0501766eed5db843433502b0", "fetched_at": "2026-08-28T04:08:34.646712+00:00", "kind": "readme", "missing": false, "url": "https://github.com/patriksimek/vm2"}, {"content_hash": "9182f772853fa4925be9a9927b3e7003e64cf27ed89ea6d45e66e7bdb1102219", "fetched_at": "2026-08-29T09:15:18.414930+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/vm2"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:34.646712+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:23:20.502125+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "35e6923feb75b8ebda1e53fe47e5377335f6ed9a0501766eed5db843433502b0", "fetched_at": "2026-08-28T04:08:34.646712+00:00", "kind": "readme", "missing": false, "url": "https://github.com/patriksimek/vm2"}, {"content_hash": "9182f772853fa4925be9a9927b3e7003e64cf27ed89ea6d45e66e7bdb1102219", "fetched_at": "2026-08-29T09:15:18.414930+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/vm2"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:23:20.502125+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "35e6923feb75b8ebda1e53fe47e5377335f6ed9a0501766eed5db843433502b0", "fetched_at": "2026-08-28T04:08:34.646712+00:00", "kind": "readme", "missing": false, "url": "https://github.com/patriksimek/vm2"}, {"content_hash": "9182f772853fa4925be9a9927b3e7003e64cf27ed89ea6d45e66e7bdb1102219", "fetched_at": "2026-08-29T09:15:18.414930+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/vm2"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:08:34.646712+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:34.646712+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:34.646712+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:23:20.502125+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "35e6923feb75b8ebda1e53fe47e5377335f6ed9a0501766eed5db843433502b0", "fetched_at": "2026-08-28T04:08:34.646712+00:00", "kind": "readme", "missing": false, "url": "https://github.com/patriksimek/vm2"}, {"content_hash": "9182f772853fa4925be9a9927b3e7003e64cf27ed89ea6d45e66e7bdb1102219", "fetched_at": "2026-08-29T09:15:18.414930+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/vm2"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:34.646712+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:34.646712+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:23:20.502125+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "35e6923feb75b8ebda1e53fe47e5377335f6ed9a0501766eed5db843433502b0", "fetched_at": "2026-08-28T04:08:34.646712+00:00", "kind": "readme", "missing": false, "url": "https://github.com/patriksimek/vm2"}, {"content_hash": "9182f772853fa4925be9a9927b3e7003e64cf27ed89ea6d45e66e7bdb1102219", "fetched_at": "2026-08-29T09:15:18.414930+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/vm2"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:34.646712+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:34.646712+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:34.646712+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:23:20.502125+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "35e6923feb75b8ebda1e53fe47e5377335f6ed9a0501766eed5db843433502b0", "fetched_at": "2026-08-28T04:08:34.646712+00:00", "kind": "readme", "missing": false, "url": "https://github.com/patriksimek/vm2"}, {"content_hash": "9182f772853fa4925be9a9927b3e7003e64cf27ed89ea6d45e66e7bdb1102219", "fetched_at": "2026-08-29T09:15:18.414930+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/vm2"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:34.646712+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:34.646712+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:23:20.502125+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "35e6923feb75b8ebda1e53fe47e5377335f6ed9a0501766eed5db843433502b0", "fetched_at": "2026-08-28T04:08:34.646712+00:00", "kind": "readme", "missing": false, "url": "https://github.com/patriksimek/vm2"}, {"content_hash": "9182f772853fa4925be9a9927b3e7003e64cf27ed89ea6d45e66e7bdb1102219", "fetched_at": "2026-08-29T09:15:18.414930+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/vm2"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:23:20.502125+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "35e6923feb75b8ebda1e53fe47e5377335f6ed9a0501766eed5db843433502b0", "fetched_at": "2026-08-28T04:08:34.646712+00:00", "kind": "readme", "missing": false, "url": "https://github.com/patriksimek/vm2"}, {"content_hash": "9182f772853fa4925be9a9927b3e7003e64cf27ed89ea6d45e66e7bdb1102219", "fetched_at": "2026-08-29T09:15:18.414930+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/vm2"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:23:20.502125+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "35e6923feb75b8ebda1e53fe47e5377335f6ed9a0501766eed5db843433502b0", "fetched_at": "2026-08-28T04:08:34.646712+00:00", "kind": "readme", "missing": false, "url": "https://github.com/patriksimek/vm2"}, {"content_hash": "9182f772853fa4925be9a9927b3e7003e64cf27ed89ea6d45e66e7bdb1102219", "fetched_at": "2026-08-29T09:15:18.414930+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/vm2"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:23:20.502125+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "35e6923feb75b8ebda1e53fe47e5377335f6ed9a0501766eed5db843433502b0", "fetched_at": "2026-08-28T04:08:34.646712+00:00", "kind": "readme", "missing": false, "url": "https://github.com/patriksimek/vm2"}, {"content_hash": "9182f772853fa4925be9a9927b3e7003e64cf27ed89ea6d45e66e7bdb1102219", "fetched_at": "2026-08-29T09:15:18.414930+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/vm2"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 99}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4614, "days_push": 9, "days_rel": 9, "gap_med": 8, "n_releases_24m": 14}, "score": 99, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}