Home▸Cybersecurity▸WebAssembly Sandbox Memory Trap Simulator

🧱 WebAssembly Sandbox Memory Trap 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.

Cybersecurity3DModerate60 FPS
WebAssembly Sandbox Memory Trap Simulator ↗ Open standalone

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.

⚙ Under the hood

Control memory writes and import calls within a bounded WebAssembly sandbox. Monitor page usage, trapped overflows, and granted capabilities.

Three.jscybersecurityWebAssemblyWASMsandboxinglinear memorycapability-based security

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)