OpenMoat 0.16.0
Released 2026-11-06. GitHub release v0.16.0.
Security
Section titled “Security”- Agent logins are denied inside every OS sandbox. The agents’ login and key files (
agent-credentials) are now denied to the commands an agent runs, so a test, package script or downloaded binary can no longer read another agent’s token, or the agent’s own under Claude Code’s, Codex’s and Cursor’s sandboxes. The agents still sign in.openmoat run, which holds the agent itself, keeps the login of the agent it starts readable (run.own-login) and denies the others’.openmoat sandbox showlists both (Agent logins, #735). - Instructions planted in what the agent read need review. When Claude Code reports what a call returned (the new
PostToolUseentry) and the output is untrusted (a fetched page, web search results, an MCP result,gh issue view, acurlof an unlisted host), OpenMoat keeps fingerprints of its hosts, outside paths and commands, never the text. A later shell command or write that uses one of them, such ascurlto the host an issue body named, needs review (injected-input), and the reason names the source. What the policy allows on its own stays allowed (Injected input, #737). - More instruction files after untrusted content. After the session read untrusted content, writes to
.agents/skills/**,.windsurfrules,.windsurf/rules/**and.github/instructions/**need review, asCLAUDE.mdandAGENTS.mdalready did. In a clean session they stay ordinary edits (#737). - MCP data carried from one server into another needs review.
openmoat mcp proxykeeps hashed pieces of each wrapped server’s results (addresses, email addresses, long tokens, runs of eight words). A later call that carries one into another server’s tool that writes or sends needs review (mcp-cross-server), naming both servers.mcp: { flow_trusted: [...] }exempts a server (MCP data between servers, #733). - A repository’s review no longer softens your deny. A committed
.moat/policy.yamlwithreview: [{net: ['*']}]turned every host yournet: denydefault refuses into a review a person could approve; per action the stricter of the two policies now wins (#734). - The pull request check reads what added lines do, offline, each finding with a rule id, its level and the line: near-miss and off-registry dependencies, install scripts, lockfile hashes changed while the version stays, GitHub workflows a pull request can take over, printed secrets, downloaded or decoded code that runs,
.pthstartup files, DockerfileADDof a URL without a checksum, long base64 blobs, private keys, real-looking.envvalues, and every new host your network allow list does not name.check_diff.levelssets any of them todeny,revieworoff(Check a pull request, #736). - Agents cannot write OpenMoat’s provenance record.
openmoat provenance --write-notesfrom an agent is denied (kernel-self); an agent’sgit noteson theopenmoatref andgit update-refofrefs/notes/openmoatneed review (provenance-notes) (#738). openmoat policy check-diffno longer reads a diff cut off right after a hunk header as complete; such a diff is now an error (#734).openmoat mcp proxydrops a server response that has noid, which the agent could take for the answer to any request it was waiting for (#734).
- Which lines of a commit an agent wrote.
openmoat provenanceshows which files of your commits an agent session wrote, from this machine’s audit log, and where one recorded write made the whole change, which added lines. For each file it names the agent, the session and the time, and whether the session had read web content, an MCP result or a file such a session wrote first.--write-noteskeeps a note per commit onrefs/notes/openmoat;--verifychecks the notes against the log. The pull request check and its Action show the notes as review-level lines that never change the exit code (Provenance, #738).
Changed
Section titled “Changed”- One readable layout for
openmoat doctor,statusandinit: what needs you first, each with its fix after→, one line per agent, then OpenMoat’s own state, with the same marks everywhere (✔ ! ✗ · –) and paths as~/….--verboseshows each check with its paths, each agent’s known gaps and the hook entriesinitwrites (openmoat init --verboseis new).--format jsonand exit codes are unchanged (#732). openmoat initasks less. It no longer asks about an agent whose files already have everything, and ends with the agents protected and only the steps left to you, such as trusting the changed hook in Codex (#732).openmoat policy upgradegroups the changes (new protections, fewer interruptions, renames, comment updates counted) instead of printing the whole diff;dat the question, or the new--diff, shows the diff. After applying it writes the agents’ sandboxes asopenmoat sandbox syncdoes (#732).- Brace patterns reach the sandboxes as separate paths:
~/.codex/{auth.json,.credentials.json}becomes two paths in Claude Code’sdenyReadand Codex’s profile (#735). - Library crates:
openmoat-coreMcpSettingsgainsflow_trustedandPolicygainscheck_diff, with the newmcp_flowanddiffscanmodules. See the changelog (#733, #736).