1votes
BashBox: A Sandboxed Bash Interpreter for AI Agents in PHP
BashBox is a bash interpreter written in pure PHP by Pushpak Chhajed, who also built the Grant roles and permissions package. It runs scripts that AI agents generate without calling proc_open, exec, or shell_exec. Each command is a PHP class that works against a virtual filesystem, and every execution runs under limits you can configure.