wasm_run_vm_sandbox
Execute JavaScript code safely in a sandboxed VM with enforced timeout and zero filesystem access to prevent harmful operations.
Instructions
Executes JavaScript in an isolated Node.js VM context with strict execution timeout and zero filesystem access
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | JavaScript code string to evaluate | |
| timeoutMs | No | Execution timeout in ms (default: 2000) |