Concepts
Secrets Detection
Detect and protect private keys, API keys, tokens, and environment credentials
PasteGuard detects secrets before PII detection and can block, mask, or route requests containing sensitive credentials.
Secrets are replaced with placeholders and restored in the response (like PII masking).
Request is rejected with HTTP 400. The secret never reaches the provider.
Requests with secrets are sent to your local LLM instead.
If secrets were masked: