A portable, zero-setup sandboxed execution tool that bundles a WASM runtime and a WASM module into a single executable file. It features capability-based policy and Erlang-style mailbox messaging.
Download execsandbox-build_<tag>_<GOOS>_<GOARCH> (.exe for Windows
only) matching your environment from
Releases. No Go
toolchain required.
chmod +x execsandbox-build_*
A .sha256 file is bundled alongside it, so it's a good idea to verify
before using it.
sha256sum -c execsandbox-build_*.sha256
# Embed a WASM module into a single executable
./execsandbox-build -o mydb mymodule.wasm
# Launch it. Nothing is allowed by default (filesystem, network,
# environment variables, and so on are all blocked unless explicitly
# permitted at launch).
./mydb -s out -- hello
- Interactive guide (Gemini Notebook) — a notebook you can query interactively
docs/tour/README.md— an introductory guide for first-time users. Read top to bottomdocs/usage/execsandbox.md— the list of launch options for the generated executabledocs/usage/execsandbox-build.md— how to use the builderdocs/examples/README.md— examples, with working code and actual outputdocs/spec/execsandbox_spec.md— the specification (includes the rationale behind design decisions)
MIT. The generated executable also contains
wazero's code (Apache-2.0), so
distributing it to a third party carries both licenses' attribution
obligations. The output itself can print the required text via -L, --print-licenses.
日本語版は README_ja.md を参照してください。