smoketest/scenarios/60-security.sh runs a script as opencode, Hermes and
Cline Desktop would run, through sandbox/bin's wrappers, and checks what
it can't do: read secrets (~/.ssh, ~/.gnupg, the keyring, Bitwarden,
~/.winboat, /etc/coredesktop/smb through sudo), write outside its folder
(home, ~/.bashrc, ~/.local/bin, systemd units, autostart, the sandbox's
own config, its project's git hooks and config), reach domains, LAN
addresses or loopback servers that aren't allowed, or see other
processes and the D-Bus session bus. Each check also runs outside the
sandbox, so a pass means the sandbox blocked it, not that nothing was
there. A write counts only if it reached the real file: srt puts an
empty, writable folder over a hidden one.
It found that agents could read ~/.config/coredesktop, which has the
Core's domain and user name; base.json now hides it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
srt 0.0.82 optionally depends on @microsoft/mxc-sdk, for Windows
sandboxes, whose koffi and node-pty have install scripts that npm 12
blocks, so every update warned about them (report CD-GB29BZ). srt has
no install scripts of its own and loads that SDK only on Windows, so
--ignore-scripts drops the warning and changes nothing on Linux.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The gateway reads its sandbox rules and loads new dependencies only when it
starts, and hermes update restarts it only for new code. Restart it at the end
of the sandbox update step instead of before hermes update runs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>