vm2
Safely run untrusted JavaScript code inside Node.js applications
All Skills in This Repository (4)
Pure Emerald Level Indicatorsfix-vulnerability
Automate vm2 vulnerability remediation from GHSA or CVE advisories.
hacker
Identify and exploit vm2 sandbox escape vectors with reproducible test cases.
maintainer
Triages, deduplicates, and manages GitHub Security Advisories for the vm2 repository.
merge-fix
Squash-merge confirmed vm2 vulnerability fixes from private GHSA forks into local main.
Frequently Asked Questions
FAQPage SchemaHow to install vm2?โผ
Run `npx skills add patriksimek/vm2 --all -g -y` in your terminal to install all skills in this suite globally.
What does vm2 do?โผ
vm2 lets you run untrusted JavaScript code in a sandboxed environment inside Node.js, blocking access to the host process, filesystem, and modules unless you explicitly allow them.
Is vm2 safe for running arbitrary user code?โผ
vm2 patches known escapes actively, but in-process sandboxing has limits. For fully untrusted code, combine it with stronger isolation like containers or separate processes.
How do the AI agent skills help maintain vm2?โผ
The skills let an AI agent triage security advisories, reproduce and patch vulnerabilities, red-team the sandbox for new escapes, and merge confirmed fixes safely.
Does vm2 support TypeScript or CoffeeScript?โผ
Yes. You can pass a compiler option to run TypeScript or CoffeeScript inside the sandbox, as long as the matching compiler package is installed.
Related Repositories in Software Engineering
View All in Software Engineeringโopenclaw
Run a personal AI assistant across your devices and chat apps
superpowers
Gives coding agents a disciplined workflow from idea to merged code
react
AI agent skills for building, testing, and porting React core