Commit 4fab46a
authored
feat: detect hardcoded Anthropic (Claude) API keys (#20)
Adds a new security rule to detect hardcoded Anthropic (Claude) API
keys.
- Regex-based detection for `sk-ant-*` keys
- High severity with remediation guidance
- Includes an example file demonstrating detection
This expands AI/LLM credential leakage coverage.1 parent 8dfaa90 commit 4fab46a
2 files changed
Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2142 | 2142 | | |
2143 | 2143 | | |
2144 | 2144 | | |
2145 | | - | |
| 2145 | + | |
| 2146 | + | |
| 2147 | + | |
| 2148 | + | |
| 2149 | + | |
| 2150 | + | |
| 2151 | + | |
| 2152 | + | |
| 2153 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
0 commit comments