bash_exec
Run bash scripts in a sandboxed in-memory filesystem overlay, preventing real file modification, with configurable network access and optional Python/JS runtimes.
Instructions
Execute a bash script in a sandboxed virtual filesystem mounted at the project root. Writes go to an in-memory overlay and do NOT touch the real filesystem unless committed. Network is disabled unless JUST_BASH_NETWORK_ALLOW is set. Supports: cat/cp/ls/find/grep/awk/sed/sort/uniq/jq/sqlite3/xan/yq/tar/tee, optional python3 (CPython WASM) and js-exec (QuickJS) runtimes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | Bash script to execute | |
| timeout | No | Timeout in ms (max 30000) |