Read-only shell
- Accept a full command line (`command`) and parse it without /bin/sh:
quotes, escapes, ~, pipes between allowed programs, ; && ||, globs in
absolute paths; 2>&1 and 2>/dev/null are tolerated. Pipeline stages run
with strictly single-quoted, pre-validated literals only.
- Per-program option policies that understand combined short flags,
--opt=value and GNU abbreviations. Closes bypasses: ip abbreviations
(ip a a / ip r d / ip link s), dmesg -c/-Tc/--console-level=, ss -tK/-D,
date operands, sort -o, uniq output file, file -C.
- Block credential files (shadow, SSH private keys, mua.conf, admin token,
/proc/*/environ, docker config.v2.json); redact password hashes, private
PEM keys and WireGuard keys in output. MUA API key and admin token are
never emitted by any tool.
- More diagnostic programs (echo, printf, sort, uniq, cut, tr, findmnt,
sensors, zpool/zfs read verbs, mdcmd status, ...). grep without matches
is reported as no_match instead of an error.
Process handling
- Spawn every child in its own process group; timeouts kill the whole
tree. The MCP hard timeout kills exactly the processes of that call.
- Async jobs: command in its own file (exit no longer loses the exit
code), new unraid_system_job_cancel, finished jobs pruned after 7 days.
Other
- Cache toolbox discovery briefly; validate and bound session IDs; /health
shows version/port only with a valid token; constant-time admin token
check; auto-granted tools are logged and shown in the WebGUI.
- Remove the legacy PHP server (mcp/), drop old packages from dist/, pin
@types/bun.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>