← all rules

secret/anthropic-api-key

Anthropic API Key

criticalSecret patternsecretCWE-798

What it detects

Anthropic (Claude) API key. Incurs usage charges and grants model access.

How it runs

Run against every text file in the repo (with a binary-content filter and a `.repoguardignore` filter for fixtures). The matched value is masked before being persisted.

Found a false positive or want this rule tuned? File an issue. You can also suppress per-repo via a .repoguardignore line.