OpenMoat 0.17.0
Released 2026-11-07. GitHub release v0.17.0.
Security
Section titled “Security”- Containers handed the host need review. A
docker,podmanornerdctlcommand that gives a container the host (--privileged, a host namespace,--cap-add,--device,--security-opt, the host’s root or the Docker socket mounted in) needs review (container-host); other container runs still defer (Code that runs later, #754). - Claude Code in VS Code and JetBrains.
openmoat initnow finds the Claude Code the VS Code extension bundles (and the same extension in VS Code Insiders, VS Code Server, Cursor, Windsurf and VSCodium), so a person who uses only the extension gets a hook that blocks the call when it fails.openmoat statusanddoctorlist each bundled copy and warn about one too old, and about Claude Code before 2.1.310 on Windows (Editors, #754). - The editor tools are decided by what they do.
getDiagnosticsreads the file itsurinames, so a secret’s diagnostics are denied like aReadof it;executeCode, which runs Python in the notebook’s kernel, needs review (#754). - The editors’ project configuration needs review. An agent’s writes to all of
.vscode/(before, onlytasks.json),*.code-workspace, all of.idea/and JetBrains’ shared*.run.xmlneed review (runs-later), since the editor runs what they name. Reading them stays allowed (#754). - Cursor runs Claude Code’s hooks too: OpenMoat now reads such a call as Cursor’s and answers a review there as a deny, since Cursor would run a call answered
ask(#754). - Cursor’s Tab is checked.
openmoat initinstallsbeforeTabFileRead, which refuses Tab reading a secret and lets every other file through (#754). - Injected input for more agents. The MCP gateway now keeps what a wrapped server’s tool returned, for every agent, and the Cline CLI’s new
PostToolUsefile reports what each call returned. A later call of the session that uses a host, path or command that untrusted output named needs review (injected-input) (Injected input, #754). - Injected input in other spellings of the same request. A host in other case or with a trailing dot, an IPv4 address in any numeric form (
3405803783is203.0.113.7), an uncompressed IPv6 address, and a subdomain of a host a URL named (collect.evil.exampleafterhttps://evil.example/…) are linked, unless your policy allows the parent. A planted command run throughsudo,env,nohuporsh -c, or afterVAR=value, is linked too;rm -r -f xis still notrm -rf x(#755). - The agents’ system-wide settings are denied. Writes to Claude Code’s managed settings folder, Gemini CLI’s system settings and Codex’s
/etc/codex, which outrank yours and can turn every hook off, are denied (managed-settings) (#754). - Package-manager and build configuration that runs code (
.npmrc,.yarnrc,.yarnrc.yml,.cargo/config.toml,.cargo/config,bunfig.toml) needs review in a clean session too (runs-later), and so do pip’s and uv’s user configuration and~/.bunfig.toml(persistence) (#754). - Virtual environments and dev containers. Writes to
.venv/bin/andvenv/bin/, which the editor’s Python extension starts outside any sandbox, and to.devcontainer/or.devcontainer.json, whoseinitializeCommandruns on this machine, need review (runs-later) (#754). - Repository git configuration that runs a program.
openmoat doctorandopenmoat statusname the current repository’s git settings that make git run a program (core.fsmonitor, a hooks path, a pager or editor, diff and merge drivers, filters, a credential helper,!aliases, includes), which background git runs before any hook (#754).
- Block messages that say why. When OpenMoat denies a call or holds it for review, the agent and you read the rule’s title, the call (secrets masked), the line earlier releases sent, why the rule exists, one next step for you, and
openmoat why --lastwith the rule’s page (Something was blocked, #751). title:andwhy:on rules. Every deny and review rule of the default policy has both, andopenmoat policy upgradeadds them to your policy.openmoat policy lintnames the deny and review rules without a title (#751).openmoat watchfollows your agents’ calls as they happen, one line each, in a second terminal: what ran, what was denied and what waits for you.--host,--only deny|review,--session,--no-follow(Watch and why, #751).openmoat whyexplains one decision (--last, an event id or a time): the rules that decided it and where they are in your policy, how your policy decides each part of the call now, the session’s context, and how to change it (#751).- Collection before a send is recorded (ADR-061, proposed). A send after the session read many files outside the project, or packed them, carries
@staging-egress <host>in the audit log, andopenmoat reportcounts these sends per session and per active hour. No default rule decides it, so no decision changes; the optionalstaging:section sets the thresholds (Audit log, #754).
Changed
Section titled “Changed”- One set of verdict marks. Every command shows
✓ allow,→ defer,? review,✕ deny(policy check,demo,show,replayandwatch).audit verify,audit anchorandprovenance --verifymark a failure✗, asstatusanddoctordo (#761). - One
injected-inputreason per source, naming each part once: “the command…, the host…and the path…came from the page fetched from …” (#761). - Library crates:
Decisiongainsnotice,RuleGroupgainstitleandwhy,Policygainsstaging,HostSpecgainsbundled. See the changelog (#751, #754).
- The Cline CLI’s npm package is
cline. It was named as@cline/cli, Cline’s separate experimental CLI. OpenMoat also recognises the compiled Cline binary theclinewrapper starts (#754). openmoat policy upgradeno longer refuses a policy started from an older default with an edit near the top of a rule list (“the upgraded policy does not lint”). It now merges each rule with the same one in the new default; only a rule both you and the default changed is left for you (#754).