Repository navigation
π‘οΈ WASM-Sandbox v1.0.0 β Production Stable Release
We are proud to announce the v1.0.0 Production Release of WASM-Sandbox, the lightweight, micro-isolated WebAssembly environment for safely executing untrusted code with deterministic limits on memory, CPU fuel, and network capabilities.
π Key Highlights in v1.0.0
- β‘ Blistering Performance:
- 0.187ms Warm Execution (~5,336 ops/sec) in persistent sessions.
- < 0.55ms Throughput with pre-warmed
SandboxPool. - 0.64ms Cold Start (QuickJS) and 1.49ms Cold Start (Lua 5.4).
- ~3.4 MB Base Footprint (40xβ130x lighter than Docker/micro-VMs).
- π Multi-Language Guest Runtimes:
- JavaScript via QuickJS WebAssembly engine.
- Lua 5.4 via native WebAssembly Lua VM (
LuaSandbox).
- π Deterministic CPU Fuel Metering & ReDoS Protection:
- Halts infinite loops and CPU exhaustion deterministically at instruction level.
- Dual-layer watchdog guard mitigating catastrophic regular expression backtracking.
- π Ephemeral In-Memory Virtual Filesystem (VFS):
- Ephemeral RAM filesystem (
readTextFile,writeFile,listDir,removeFile,stat) with zero host filesystem contamination.
- Ephemeral RAM filesystem (
- π‘οΈ Zero-Trust Capability Broker & Anti-SSRF:
- Deny-by-default network policy with advanced SSRF protection neutralizing standard, octal (
0177.0.0.1), hex (0x7f000001), and integer (2130706433) bypasses as well as cloud metadata endpoints (169.254.169.254).
- Deny-by-default network policy with advanced SSRF protection neutralizing standard, octal (
- π Pre-Warmed
SandboxPool:- Built-in connection pool recycling sandboxes with automatic state clearing for high-concurrency cloud backends.
- π» Production CLI Tool:
- Run
npx wasm-sandbox eval "..."ornpx wasm-sandbox run script.lua --lang lua.
- Run
- π§ͺ 100% Test Coverage:
- 18 automated unit, integration, and parallel concurrency tests passing.
βοΈ Dual-Licensing & Commercial Inquiries
WASM-Sandbox is available under a Dual-Licensing Model:
- Open Source (GNU AGPLv3): Free for open-source projects complying with AGPL-3.0 copyleft terms.
- Commercial & Enterprise License: Available for proprietary, closed-source SaaS applications and OEM distribution without copyleft obligations.
- Full Project Acquisition (Buyout): Open for corporate infrastructure acquisition inquiries.
For commercial licensing and enterprise acquisition, see COMMERCIAL.md or contact Manoj Rollo (@MRJonam91) at fbxmano@gmail.com.
π Sponsorship & Donations
- GitHub Sponsors: github.com/sponsors/MRJonam91
- Ko-fi: ko-fi.com/mrjonam
- Buy Me A Coffee: buymeacoffee.com/mrjonam
- PayPal: paypal.me/manorollo