Repository navigation
0.3.0 - 2026-10-10
Alpha: the hook's decisions are not enforced by the operating system (ADR-013). Only commands inside the host sandboxes
moat initconfigures, or undermoat 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 guarddenies calls to tools outside the policy while a pinned file has drifted, and blocks every Claude Code settings change then;moat initkeeps the first backup of a host file (#447).moat proxyrecords a CONNECT it cannot answer, replaces a secret header the client set itself, no longer reads names such asdb.internal:5432as 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, andmoat policy lintwarns aboutfetchexclusions anetpattern still matches (#446). - Unknown Cursor tools with a write-shaped name, indented Codex
apply_patchheaders 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/echotext with escapes piped into a shell,shlong options andsed -f FILE; a remotescp/rsyncdestination is no longer a local write (#444).
Changed
- Breaking for the library crates: public error enums and
Verdict,Kind,Action,AtomicAction,HookEvent,BreakKind,RefusalandForbiddenare#[non_exhaustive]; amatchoutside 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 | shInstall 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/moatDownload 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/openmoatYou 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>