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
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