Skip to content
MediumNews

Critical flaw patched in popular JavaScript sandbox used in AI projects

Published
Record updated
View JSON

Summary

A critical sandbox escape in isolated-vm, a library for running JavaScript in an isolated process, was patched. Endor Labs researcher Cris Staicu found it, describing it as a type confusion in the library's C++ glue code that passes data into V8, not in V8's Isolate mechanism itself. Exploitation could let attackers hijack the host's control flow and enable remote code execution, and the library is used by AI agent frameworks such as n8n, Sim.ai, Mastra, and Activepieces.

Mitigation

Fixed in 7.0.1 and 6.2.0.