Repository navigation
Releases
Releases · MRJonam91/WASM-Sandbox
v1.0.0 - Production Stable Release
🛡️ 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
v0.3.0-beta - Beta Release
🌟 WASM-Sandbox v0.3.0-beta Release
Major milestone release delivering Multi-Language Guest Runtimes (JavaScript & Lua 5.4 in WebAssembly) and High-Throughput Pre-Warmed SandboxPool.
🚀 Key Features in Beta
- 🌙 Native Lua 5.4 WebAssembly VM (
LuaSandbox): Complete support for untrusted Lua execution with print interception, isolated Ephemeral VFS (fs.readTextFile,fs.writeFile,fs.listDir), and Anti-SSRF capability broker. - 🏊 Zero-Latency
SandboxPool: Pre-warms and recycles sandboxes automatically, providing blistering < 0.55ms throughput for high-volume backend SaaS workloads. - 🛡️ ReDoS Catastrophic Backtracking Protection: Dual-layer halting via fuel counting + watchdog catches pathological regular expressions without locking the host.
- 💻 Multi-Language CLI Support: Run
wasm-sandbox eval --lang lua "..."orwasm-sandbox eval "..."interchangeably. - 📊 Updated Benchmarks: 0.187ms warm latency (~5,336 ops/sec), 0.64ms JS cold start, 1.49ms Lua cold start.
- 🧪 18/18 Automated Tests Passing: Concurrency stress tests, multi-language VFS, SSRF evasion detection, and pool recycling.
💖 Support & Licensing
- Dual-licensed under GNU AGPLv3 (Open Source) and Commercial Proprietary License (Enterprise / SaaS / Buyout).
- Sponsor development: GitHub Sponsors | Ko-fi | Buy Me A Coffee | PayPal
v0.2.0-alpha - Alpha Release
🚀 WASM-Sandbox v0.2.0-alpha Release
Major upgrade bringing WASM-Sandbox from prototype MVP to a high-performance Alpha version.
🌟 Key Alpha Features & Optimizations
- 🔥 Stateful Persistent Sessions: Run sequential evaluations preserving variable and module state with \sessionMode: 'persistent'.
- ⚡ Ultra-Fast Performance: 0.185ms warm execution latency (~5,395 ops/sec) and 0.66ms cold start (docs/BENCHMARKS.md).
- 🛡️ Hardened Anti-SSRF Defense: Detection and neutralization of octal (\
v0.1.0 - First MVP Release
🛡️ WASM-Sandbox v0.1.0 MVP Release
Micro-Isolated WebAssembly Environments for Safe Untrusted Code Execution.
Highlights
- ⚡ Cold Start in < 0.5ms: Ultra-lightweight WebAssembly micro-isolates with < 4MB base footprint.
- 🛑 Deterministic Fuel Metering: Halts infinite loops and CPU exhaustion deterministically without relying on host timers.
- 🔒 Linear Memory Hard Bounds: Strict memory quotas terminating memory bombs cleanly.
- 📁 Ephemeral In-Memory VFS: Safe virtual filesystem running entirely in RAM with path traversal prevention.
- 🛡️ Zero-Trust Capability Broker: Network deny-by-default with automatic SSRF prevention (blocking cloud metadata 169.254.169.254 and private subnets).
- 💻 CLI Tool Included: Run
px wasm-sandbox eval ''\ or
px wasm-sandbox run . - 💖 Sponsorship & Attribution: Integrated discreet CLI footer and .github/FUNDING.yml support.
- ⚖️ Dual Licensing: Open Source (AGPLv3) + Commercial Proprietary License available for enterprise/SaaS buyout.