anb_redact
Scrub text by replacing secrets and high-entropy tokens with placeholder values to prevent data leakage before logging or output.
Instructions
Scrub text: replace known secret values and high-entropy tokens with agent-vault:key placeholders. Read-only, idempotent, no side effects, and needs no Bob connection. Fail-safe by design — may over-redact, never under-redact. Use before logging or returning any text that might contain a secret.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | text to scrub; known secret values and high-entropy tokens become <agent-vault:key> placeholders |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| redacted | Yes | the input with secrets replaced by placeholders |