Skip to content

0.5.3 - 2026-10-15

Choose a tag to compare

@github-actions github-actions released this 16 Oct 04:11
78d6d06

Alpha: the hook's decisions are not enforced by the operating system (ADR-013). Only commands inside the host sandboxes moat init configures, or under moat run, are confined by the OS. Elsewhere an allowed call runs with your permissions, so a classifier mistake is a security bug.

Release Notes

Two security fixes: a path that steps up (..) after a symlink is checked where the OS really goes, and a shell variable whose value names itself can no longer crash the guard, which let Claude Code and Codex run a command unchecked.

Security

  • A path that steps up (..) after a symlink is checked where the OS really goes: with c linked to ~/.config, cat c/../.ssh/id_rsa and a file-tool read of it were allowed as project files; they are denied, and so is cd -P c/.. && cat .ssh/id_rsa (#536).
  • A shell variable whose value names itself (e='${e}'; cat $e) was expanded again and again until the guard crashed; a crashed guard is not a deny, so Claude Code and Codex ran the rest of the command unchecked. A value is now expanded once, as the shell does (#539).

Install openmoat 0.5.3

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/crocodile-labs/openmoat/releases/download/v0.5.3/openmoat-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://github.com/crocodile-labs/openmoat/releases/download/v0.5.3/openmoat-installer.ps1 | iex"

Install prebuilt binaries via Homebrew

brew install crocodile-labs/tap/moat

Download openmoat 0.5.3

File Platform Checksum
openmoat-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
openmoat-x86_64-apple-darwin.tar.xz Intel macOS checksum
openmoat-x86_64-pc-windows-msvc.zip x64 Windows checksum
openmoat-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
openmoat-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum
openmoat-aarch64-unknown-linux-musl.tar.xz ARM64 MUSL Linux checksum
openmoat-x86_64-unknown-linux-musl.tar.xz x64 MUSL Linux checksum

Verifying GitHub Artifact Attestations

The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be verified by using the GitHub CLI:

gh attestation verify <file-path of downloaded artifact> --repo crocodile-labs/openmoat

You can also download the attestation from GitHub and verify against that directly:

gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation>