1 个仓库
Tools and interfaces for inspecting and debugging code executing within an isolated sandbox.
Distinct from Code Execution Sandboxes: Focuses on the debugging process (breakpoints, debugger keywords) inside the sandbox, not the sandbox environment itself.
Explore 1 awesome GitHub repository matching devops & infrastructure · Sandbox Debugging. Refine with filters or upvote what's useful.
vm2 是一个 Node.js JavaScript 沙箱和运行时虚拟化器,旨在执行不受信任的代码。它作为一个安全的代码评估器和模块隔离器,通过创建一个对 Node.js 运行时访问受限的隔离执行环境来保护宿主进程。 该系统通过一个安全框架脱颖而出,该框架利用对象代理和深度冻结来防止沙箱脚本修改宿主全局上下文或共享对象。它使用允许列表和路径限制来实现严格的模块访问控制,以管理可以加载哪些内置或外部依赖项。 该项目涵盖了广泛的功能领域,包括资源管理,其中它限制了缓冲区的内存分配并强制执行执行超时以防止拒绝服务攻击。它还提供文件系统访问限制,以及用于跨沙箱互操作性和控制台输出重定向的工具。 提供了一个命令行界面,用于直接在隔离的沙箱环境中执行 JavaScript 文件。
Enables inspecting executing scripts using breakpoints and debugger keywords to analyze behavior within the isolated process.