3 Commits
Author SHA1 Message Date
Mikei386andClaude Opus 5.5 b8d89ffd9c release: MUA 2026.11.20.r036
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>
2026-11-20 21:51:14 +01:00
Jean-Luc Picode f1df7f9f1c release: MUA 2026.11.05.r035
Offer explicit path-free Unraid WebGUI certificate reuse with validated generated-nginx/runtime-state discovery, named SNI choice, expert-path compatibility and no certificate generation or config execution. Preserve one-read PEM loading, trust/SAN verification, explicit restart and existing auth/tools; reject uncertain/stale configuration without fallback. Include publisher-derived fixtures for five Unraid versions, manual rollback-compatible writes and GUI-scoped discovery. Verified 109 source tests, 35 extracted-package transport tests, 52 PHP checks, 8 release gates and fresh-context independent review follow-up without blockers. No production installation or service/network/trust changes.
2026-11-05 19:19:30 +01:00
Jean-Luc Picode 4add04e94d release: MUA 2026.11.05.r034
Publish optional native HTTPS and explicit Unraid WebGUI PEM reuse from 1677894. Synchronize all release versions and TXZ/manifest/checksum, use transport-aware authenticated local post-install readiness, preserve r033, and document operator-only installation/trust/renewal. Verified 68 source tests, 31 extracted-r034 transport tests, 52 PHP checks and all 7 release/archive/hook gates; final independent fresh-context AI review passed without blocking security/logic findings. No production installation or configuration changes.
2026-11-05 17:50:41 +01:00