Secret Value Disclosure
secret_disclosure
Opt-in protection against secret-manager commands that expose credential values through agent-visible output or agent-chosen files.
- 11blocking rules
- 2safe patterns
- 11High
[packs]
enabled = ["secret_disclosure"]Evaluated when a command contains infisical, doppler, vault, aws, secretsmanager, ssm, op.
Blocking rules
Each rule ID is secret_disclosure:<name>. Use it in allowlists and [policy.rules].
Highaws-secretsmanager-read-outputaws secretsmanager get-secret-value and batch-get-secret-value print stored secret values.
Explanation
Do not print Secrets Manager values into an agent transcript. Inject the value directly into the intended process through a protected runtime path.
Highaws-ssm-decrypted-read-outputaws ssm decrypted parameter reads print SecureString values.
Explanation
Decrypted SecureString values become transcript data when printed. Pass them directly to the consuming process instead.
Highdoppler-secrets-outputdoppler secrets get/list/download emits secret values.
Explanation
Use `doppler run -- <command>` to inject values without printing them into the agent transcript.
Highinfisical-dynamic-lease-create-outputinfisical dynamic-secrets lease create emits newly issued credentials.
Explanation
A newly created lease returns credential values. Running this in an agent shell places those credentials in the transcript.
Highinfisical-export-outputinfisical export emits a complete set of secret values.
Explanation
Export output contains live credentials and can enter the agent transcript or an unprotected file. Prefer process injection with `infisical run`.
Highinfisical-secrets-get-outputinfisical secrets get prints requested secret values to stdout.
Explanation
Reading values through stdout records them in the agent transcript. Use `infisical run -- <command>` when the value is needed by a process.
Highinfisical-secrets-list-outputinfisical secrets prints all selected secret values to stdout.
Explanation
The bare secrets command emits values into the terminal and agent transcript. Use `infisical run -- <command>` to inject values directly into a child process.
Highonepassword-document-get-outputop document get emits protected document contents.
Explanation
Protected document contents should not be printed into an agent transcript. Retrieve them only through a deliberately protected workflow.
Highonepassword-item-get-outputop item get can print secret fields to stdout.
Explanation
Use `op run -- <command>` for value injection, or request only non-secret metadata outside an agent transcript.
Highonepassword-read-outputop read prints a 1Password field value to stdout.
Explanation
Use `op run -- <command>` or a secret reference consumed directly by the target process so the value does not enter the agent transcript.
Highvault-read-outputvault read/kv get can print secret values to stdout.
Explanation
Avoid returning Vault values through an agent-visible terminal. Deliver values directly to the consuming process through a protected injection workflow.
Safe patterns
Checked first. A command that matches one is never blocked by this pack.
secret-cli-dashed-helpaws-secret-read-help