feat(secrets): add detection for API keys, JWT tokens, and Bearer tokens
authormaximiliancw <redacted>
Fri, 9 Jan 2026 14:52:56 +0000 (15:52 +0100)
committermaximiliancw <redacted>
Fri, 9 Jan 2026 14:52:56 +0000 (15:52 +0100)
commitc4c90052d3793351ed852d796a620febee14baf4
tree03f32f06afc0b0ffb6a3b90123780269db743cf9
parentbe80f0898e69514b0e8027e5bd694aa54dcfc44a
feat(secrets): add detection for API keys, JWT tokens, and Bearer tokens

- Add new secret entity types: API_KEY_OPENAI, API_KEY_AWS, API_KEY_GITHUB, JWT_TOKEN, BEARER_TOKEN
- Extract pattern detection into reusable helper function
- Add comprehensive tests for all new secret types with false positive checks
- Update config schema with typed entity enum
src/config.ts
src/secrets/detect.test.ts
src/secrets/detect.ts
git clone https://git.99rst.org/PROJECT