The Nefarious Plan of vm2
Comments
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Summary
vm2, a sandbox for running untrusted code in Node.js, has shipped a string of security fixes, and the author argues these form a pattern rather than isolated bugs. The sandbox works by wrapping host-facing objects from a hand-maintained list, which lags new JavaScript language features and V8 internals.