Skip to main content

Module security

Module security 

Source
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 text holds anything that looks like a secret. Nothing is posted to GitHub when it does
redact
text with every secret replaced by [REDACTED:{rule}]
redact_posted_body
scan
Every leaked secret in text, with its rule and line