← Every rule
✕ denyin the default policy

env-secrets

Reading a secret environment variable.

What the agent, and you, read
OpenMoat blocked: reading a secret environment variable
call …
rule moat: deny [env-secrets] — secret environment variable: …
why its value is a credential, and once printed it stays in the agent's context
next if you need this, do it yourself in your own terminal
more openmoat why --last · https://openmoat.dev/r/env-secrets

Why

Its value is a credential, and once printed it stays in the agent's context.

What you can do

A deny is never offered for approval, so the agent cannot talk its way past it. If you need this, do it yourself in your own terminal. If the rule is wrong for your work, change your policy: openmoat why --last shows where the rule is.

In your own terminal

Not through the agent: agents are denied every command that changes OpenMoat.

$ openmoat why --last # the full reason, and where the rule is in your policy
$ openmoat show # the latest decisions

Something was blocked: every message and the command that gets you moving · The policy file: this rule is in the default policy, and you can change it.