Skip to content

Repository files navigation

ExecSandbox

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.

Installation

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

Quick Start

# 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

Documentation

License

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 を参照してください。

About

Bundle a WASM module into a single self-contained binary with capability-based sandbox policy and Erlang-style mailbox messaging.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages