Skip to content

Secrets detection for text your app plans to use

Flag locked credential patterns in retrieved or uploaded text. Detection, not prevention — your app decides how to review or omit a chunk.

Supported patterns

This rules prototype matches only the three patterns below. Unknown credential shapes do not produce a finding.

  1. AWS access key id — AKIA followed by 16 uppercase letters or digits.
  2. GitHub classic PAT — ghp_ followed by 36 alphanumeric characters.
  3. Stripe secret key — sk_live_ or sk_test_ followed by at least 24 alphanumeric characters.

What a finding looks like

# classify finding — SecretsScanner mvp-0
# stylized like home — not OpenAPI JSON (wire field: category)
decision: review
finding: secrets
detector: secrets-rules · version mvp-0
score: null
severity: high

# Detection, not prevention — your app decides.
# A secrets finding does not require the prompt-injection mock to match.

Limits and false positives

Back to home. Local docs live in apps/docs (Starlight). Deploy is tracked separately.