Expand description
Leak detection for agent output before it is posted to GitHub. It uses the strict rules of
secret-redact, so a low-confidence pattern blocks a post as much as a known token does
Modules§
- secret_
ref - Config values that name a secret instead of holding it, so the config file holds no secret.
passbox:<name>is read once through passbox,${NAME}reads an environment variable, any other value is used as written. A reference is the whole value, never part of a longer one
Functions§
- has_
leaks - Whether
textholds anything that looks like a secret. Nothing is posted to GitHub when it does - redact
textwith every secret replaced by[REDACTED:{rule}]- redact_
posted_ body - scan
- Every leaked secret in
text, with its rule and line