Repository navigation
0.6.0 - 2026-10-19
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
File provenance taint, package name checks and release age, agents cannot read OpenMoat's state, audit anchors, signed policy packs, and fixes. Breaking for the library crates' API; the moat command is unchanged for users.
Security
- Session taint follows the files a tainted session writes. A file written by a session that read untrusted content is recorded in the audit log (with the content's hash for
Write); a later session that reads or runs it (Read,cat,source,bash run.sh,./run.sh,python x.py) while it still holds that content is tainted too, so its writes to CI, build and agent files ask, with a reason naming the file and the session that wrote it. No new asks of its own; a cleanWriteof the file clears it, andtaint: { provenance: false }turns it off (#577). - An install of a package whose name is one typo or a common trick away from a popular package (
pip install reqeusts,npm i lodahs,npm i react_dom,pip install python-requests) asks, naming the package that was probably meant (package-near-miss). The check is offline, against a bundled list of popular names for npm, PyPI, crates.io, RubyGems and Go; popular names and names that resemble none are decided exactly as before.moat allow --alwaysfor such an install also answers its near-miss ask. Existing policies get the group withmoat policy upgrade(#577). moat runkeeps npm and uv off package versions published in the last 7 days (npm_config_before,UV_EXCLUDE_NEWER), so a malicious release taken down within days does not reach the agent;sandbox.package_min_release_age_dayssets the days and0turns it off. A cut-off you set yourself is kept, and a project with auv.lockis left alone (#577).kernel-selfdenies the agent reads of OpenMoat's state beside the policy: the audit log (audit.db*),policy.lock,hosts.json,approvals.json,trust.json,allowed_signersand the MCP pins inmcp/, whereverMOAT_HOMEputs them. The host sandboxes andmoat runcarry the same denies;policy.yamlstays readable.sqlite3 -readonly ~/.moat/audit.dbis now denied rather than left to the agent. Existing policies get it withmoat policy upgrade(#577).- A policy pack is installed only when its OpenSSH signature verifies against a key a person trusted, and is pinned by the lock, so a pack changed after install denies every call (
kernel-integrity) (#577). moat audit anchoris denied to agents (kernel-self). Existing policies get it withmoat policy upgrade(#577).
Added
moat audit anchor --git <repo>commits the audit log's head (event, hash, time) onrefs/moat/anchorsin a repository you name, and--file <path>appends it to a file you keep; nothing is pushed or sent anywhere.moat audit verify --against <repo|file>checks today's log against every anchor and fails, naming the first anchor whose event was deleted or rewritten.moat doctorshows when you last anchored (#577).- Signed policy packs:
moat policy trust-key <key.pub> --name <who>trusts an SSH key to sign policy,moat policy install <pack.yaml> [--sig …]verifies the pack with the systemssh-keygen -Y verify(namespaceopenmoat-policy) and merges its rules aspack:<name>:<id>, andmoat policy removetakes it out. Withrequire_signed_repo_policy: truein the policy, a repository policy's allow rules apply only when it is signed by a trusted key (.moat/policy.yaml.sig): a signed one needs nomoat trust, and an unsigned one, or one signed by another key, is not trusted even aftermoat trust. Without it nothing changes (#577).
Changed
- The push check gives git 10 s instead of 2 s before a push asks as unchecked (
push-unchecked): starting git can take seconds on Windows and on a loaded machine (#577). - The audit database moves to schema version 4 to record file provenance. Older
moatbuilds cannot open a version-4 audit database (#577). moat run's first line names its proxy's loopback port again (network only through OpenMoat's proxy on 127.0.0.1:<port>) (#578).
Install openmoat 0.6.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/crocodile-labs/openmoat/releases/download/v0.6.0/openmoat-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/crocodile-labs/openmoat/releases/download/v0.6.0/openmoat-installer.ps1 | iex"Install prebuilt binaries via Homebrew
brew install crocodile-labs/tap/moatDownload openmoat 0.6.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>