Glossary
Verdicts
Section titled “Verdicts”| Term | Means |
|---|---|
| allow | The call runs without a prompt, OpenMoat’s or the agent’s. How it decides |
| defer | OpenMoat has no rule for the call and leaves it to your agent’s own permission prompt, as without OpenMoat. In auto-approve modes a deferred call runs. Auto-approve and CI |
| review | OpenMoat holds the call for a person, tagged with the rule (moat: review [git-internals] — …); your agent shows it in its own prompt. Agents that cannot prompt turn it into a deny you approve with openmoat allow --last. Exit code 3 of openmoat policy check. Something was blocked |
| ask | The name of review before 0.14.0. A policy that says ask: still loads; openmoat policy upgrade renames it. Upgrading from ask to review |
| deny | The call is blocked, with the rule and the reason. No allow, openmoat allow or repository overrides it. How it decides |
The policy
Section titled “The policy”| Term | Means |
|---|---|
| policy | ~/.moat/policy.yaml: your rules, for every agent and project. The policy file |
| rule, rule id | A named group of patterns in deny, allow, review or defer (secrets-paths); the id is shown in every message and in the audit log. The four verdicts |
defaults, default, default.net, default.fetch |
What decides when no rule matches; the rule shown is then default, or default.net for a host and default.fetch for a fetch. The four verdicts |
project, ${project} |
The git repository the agent runs in, or the folder itself when there is none; never your home folder. The project folder |
project-fs, dev-shell |
The default rules that allow reading and editing the project, and builds, tests and everyday git. Use it in your projects |
runs-later |
Holds for review a write to files something runs later, outside any sandbox: CI workflows, commit hooks (.git/hooks and folders such as .githooks/), the agent’s hooks (Cline’s .clinerules/hooks/ too), skills and MCP settings. The project folder |
approved-N |
A rule openmoat allow --always, --dir or --site added to ~/.moat/policy.d/approved.yaml. Every allow |
| session grant | What openmoat allow --last gives: that one call, for that agent session, for 24 hours; a command only in its project. Shown as rule approved-session. Every allow |
repository policy, repo:<id> |
A repository’s committed .moat/policy.yaml; its rules show up with the prefix repo:. Repository policies |
| trust, tightening only | openmoat trust lets a repository policy’s allow rules apply, for that exact file; until then, or after it changes, only its deny and review rules apply (“tightening only”). Use it in your projects |
policy pack, pack:<name>:<id> |
A team’s signed rules installed for every project with openmoat policy install. Signed policy packs |
| trusted key | An SSH public key you trusted with openmoat policy trust-key to sign packs and repository policies. Signed policy packs |
| policy upgrade | openmoat policy upgrade: takes the rules a new release’s default policy gained, keeping your own lines. Change the rules |
Protection
Section titled “Protection”| Term | Means |
|---|---|
| agent, host, host id | The coding agent OpenMoat protects (Claude Code, Codex, …); --hosts takes its id (claude-code, codex, …). Supported agents |
| hook | The agent’s own setting that runs openmoat guard before each tool call it reports. Supported agents |
| OS sandbox | The operating system’s confinement of every process a command starts, written from the same policy. OS sandboxes |
| hook + OS sandbox, hook only, not protected | What openmoat status says per agent: both layers, the hook alone, or no working hook. Supported agents |
| Standard, Lightweight, Isolated | The sandbox tiers: the agent’s own sandbox, openmoat run (Lightweight), and the Isolated tier, which openmoat run starts by default on Linux where bubblewrap works. OS sandboxes |
| policy lock, pin | ~/.moat/policy.lock: the SHA-256 of the policy, the hook files and the agents’ settings; each file in it is pinned. Self-protection |
| drift, re-pin, accept | A pinned file that no longer matches the lock is drift, and every call is denied (kernel-integrity) until you accept it (openmoat, openmoat doctor --accept), which re-pins. Self-protection |
kernel-self |
Denies the agent writing OpenMoat’s files and settings, reading its state, and running the commands only a person may run. Self-protection |
kernel-error |
OpenMoat could not decide (missing state, an unreadable policy, a repository policy that does not parse) and denied the call. Troubleshooting |
| person-only command, terminal | A command that changes what agents may do; it runs only in a terminal, never when an agent started it. Commands |
executables |
Programs pinned to the paths they resolved to at openmoat init; one found elsewhere is denied. Self-protection |
unchecked, unparseable |
A call OpenMoat can see but not fully check, and a part of a command it cannot read; neither is ever allowed. Shell command checks |
Secrets, network and MCP
Section titled “Secrets, network and MCP”| Term | Means |
|---|---|
| brokered secret, placeholder | A token kept by OpenMoat: programs the agent runs hold a placeholder, and the value is put into requests to one host only. Token broker |
token-egress |
Denies a well-known token sent to a host that is not its service’s. Tokens to the wrong host |
card-egress |
Denies a payment card number sent to a host off this machine, allowed hosts included, when the call’s own text shows the number; processors’ test numbers are left out. Card numbers sent out |
@pii-egress |
The atom personal data on its way out becomes: @pii-egress card <host> (which card-egress denies) or @pii-egress emails <host> (ten or more mail addresses in one send, which no default rule names). Card numbers sent out |
| egress proxy | openmoat proxy: lets sandboxed commands reach only allowed hosts, and refuses metadata and private addresses. Egress proxy |
| session taint, untrusted content | After a session read a secret, or a web page or MCP result (untrusted content), some of its later calls need review. Session taint |
| provenance (file taint) | Taint that follows a file a tainted session wrote to the next session that reads or runs it. How it decides |
| provenance (commits), provenance notes | openmoat provenance: which files and lines of your commits an agent session wrote, from the audit log; --write-notes keeps them on refs/notes/openmoat. Provenance |
injected input, injected-input |
A later command or write that uses a host, path or command untrusted output named needs review, with the source named. Injected input |
mcp-cross-server, flow_trusted |
Data one wrapped MCP server returned, sent into another server’s tool that writes or sends, needs review; mcp.flow_trusted exempts a server. MCP data between servers |
runs-later, persistence, container-host, managed-settings |
Writes to what runs after the session, and containers handed the host, need review; the agents’ system-wide settings are denied. Code that runs later |
staging, @staging-egress |
A send after the session read many files outside the project, recorded in the log and counted by openmoat report; no default rule decides it. Other keys |
MCP pin, mcp-server-changed |
The recorded definition of each MCP server; a changed or new one is held until openmoat mcp accept. MCP pinning |
| MCP proxy, wrap | openmoat mcp proxy, which openmoat mcp wrap puts in front of a stdio server to pin each tool. Tool pinning |
MCP gateway, mcp-unattributed |
The same proxy passing a call only when the agent’s hook decided exactly that call; a call nobody checked is refused. The MCP gateway |
page open, browser_open |
A browser MCP call that only opens a page, checked like WebFetch; mcp: { browser_open: net } keeps it a connection. Browser page opens |
encoded-egress |
Denies a URL carrying 80 or more characters of base64 or hex once the session read a secret. Session taint |
session credential, proxy-session |
What each request to openmoat proxy must carry, issued to one agent session; a request without one gets 407. Agent sessions only |
TLS termination, proxy CA, proxy-secret-route |
openmoat run’s proxy decrypting HTTPS to a tls: terminate secret’s host with its own certificate authority, and refusing requests the secret’s allow rules do not name. Secrets over HTTPS |
| SDK | openmoat-sdk and @openmoat/sdk: OpenMoat’s decision engine as a library for your own agent. It decides; your code enforces. The SDK |
Records
Section titled “Records”| Term | Means |
|---|---|
| audit log, hash chain | Every decision in ~/.moat/audit.db, each event chained to the one before by its hash, so a change in the middle shows. Audit log |
| anchor | The log’s newest event recorded outside it (openmoat audit anchor), to catch a log cut short later. Audit log |
block message, title, why |
What the agent and you read when a call is denied or held: the rule’s title, the call, the moat: line, why the rule exists, one next step. Something was blocked |
| watch, why | openmoat watch follows the agents’ calls live; openmoat why --last explains a deny or review. Watch and why |
MOAT_HOME, ~/.moat |
Where OpenMoat keeps its state; MOAT_HOME moves it. The policy file |
| compliance evidence | openmoat audit evidence: the audit log for a window, per control of OWASP Top 10 for LLM Applications 2025, SOC 2 and ISO/IEC 27001:2022. Evidence, not a certification. Compliance evidence |
pull request check, check-diff |
openmoat policy check-diff and the GitHub Action: every file a change touches, decided by the policy before it is merged, and the content checks of its added lines (diff-package-near-miss, diff-ci-injection, diff-new-host, …; levels in check_diff.levels). Check a pull request |
| MoatBench | The bundled scenarios openmoat bench scores a hook against. Audit and diagnostics |