Commit e4cecd4
committed
security: enhance secret scanner to catch more patterns and scan markdown files
- Add detection for Vercel tokens (VERCEL_TOKEN)
- Add detection for PostgreSQL connection strings with passwords
- Add detection for Stripe webhook secrets (whsec_*)
- Add detection for Stripe publishable keys (pk_*)
- Add detection for Currents.dev API keys
- Include .md files in scan (previously only scanned code files)
This would have prevented the secrets exposure in SCRATCHPAD.md that
required git history rewrite in commit 3ceef43.1 parent 3ceef43 commit e4cecd4
1 file changed
+22
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
17 | 33 | | |
18 | 34 | | |
19 | | - | |
| 35 | + | |
20 | 36 | | |
21 | 37 | | |
22 | 38 | | |
23 | | - | |
| 39 | + | |
24 | 40 | | |
25 | 41 | | |
26 | | - | |
| 42 | + | |
27 | 43 | | |
28 | 44 | | |
29 | 45 | | |
| |||
42 | 58 | | |
43 | 59 | | |
44 | 60 | | |
45 | | - | |
46 | | - | |
| 61 | + | |
| 62 | + | |
47 | 63 | | |
48 | 64 | | |
49 | 65 | | |
| |||
0 commit comments