LS-AI-001: Anthropic API Key¶
| Severity | HIGH |
| Blast radius | API usage and billing abuse |
| Rotate at | https://console.anthropic.com/settings/keys |
--verify |
GET https://api.anthropic.com/v1/models |
If this leaks¶
Allows making Claude API calls billed to the account owner, potentially racking up large usage charges or exhausting rate limits.
What to do¶
- Rotate or revoke the credential at https://console.anthropic.com/settings/keys.
- Check the provider's audit logs for use you don't recognise.
- Remove it from git history (
leakscan purge --help) and load it from an environment variable or secret manager instead.
Pattern¶
sk-ant-[0-9a-zA-Z\-_]{40,}
Suppress¶
On one line: # leakscan:ignore LS-AI-001. For the whole project:
disable_rules: [LS-AI-001]