WASM module Write / call succeeded Trapped / rejected at boundary
⚠ Couldn't load the 3D engineThree.js failed to load from the CDN. Check your connection and reload.

WebAssembly Sandbox Security Simulator

Interactive WebAssembly (WASM) sandbox security simulator: a module runs inside a bounded linear-memory region and a capability-gated host boundary. Normal writes fill memory pages and calls to granted imports (console.log, math.sqrt) succeed as green beams. Trigger a memory-overflow attempt to see a write trapped exactly at the linear-memory bound, and an unauthorized syscall attempt to see a call rejected because the host never granted that capability. Toggle fs.open / net.connect live to grant or revoke a capability; process.spawn stays permanently locked since WASM has no raw syscall instruction.