Skip to content

0.3.0 - 2026-10-10

Choose a tag to compare

@github-actions github-actions released this 10 Oct 21:04
1bc2f3f

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

Security

  • moat guard denies calls to tools outside the policy while a pinned file has drifted, and blocks every Claude Code settings change then; moat init keeps the first backup of a host file (#447).
  • moat proxy records a CONNECT it cannot answer, replaces a secret header the client set itself, no longer reads names such as db.internal:5432 as addresses, and refuses zero or overflowing limits; the audit log redacts host, session, call ids and tool names too (#443).
  • Glob operands the shell would match differently (cat notes[*) ask, hosts with _ in a subdomain are checked against network rules, and moat policy lint warns about fetch exclusions a net pattern still matches (#446).
  • Unknown Cursor tools with a write-shaped name, indented Codex apply_patch headers and MCP paths in nested lists are checked as the writes and reads they are (#445).
  • The shell classifier fails closed on unbalanced parentheses, printf/echo text with escapes piped into a shell, sh long options and sed -f FILE; a remote scp/rsync destination is no longer a local write (#444).

Changed

  • Breaking for the library crates: public error enums and Verdict, Kind, Action, AtomicAction, HookEvent, BreakKind, Refusal and Forbidden are #[non_exhaustive]; a match outside their crate needs a _ arm, which should fail closed (#449).

Install openmoat 0.3.0

Install prebuilt binaries via shell script

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

Install prebuilt binaries via powershell script

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

Install prebuilt binaries via Homebrew

brew install crocodile-labs/tap/moat

Download openmoat 0.3.0

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>