0
Secrets scan
Sızan sırlar, API anahtarları, belirteçler ve kimlik bilgileri için kod tabanını tarayın.
yazan kuscubasiece·8 Eylül 2026
Kaynak: rohitg00/awesome-claude-code-toolkit · Apache-2.0
Sızan sırlar, API anahtarları, belirteçler ve kimlik bilgileri için kod tabanını tarayın.
Kaynak: rohitg00/awesome-claude-code-toolkit · Apache-2.0
mkdir -p .claude/commands && curl -sL https://www.antrophiclove.com/api/kaynak/secrets-scan/raw -o .claude/commands/secrets-scan.mdHedef dosya: .claude/commands/secrets-scan.md
Scan the codebase for leaked secrets, API keys, tokens, and credentials.
AKIA[0-9A-Z]{16}, aws_secret_access_key.sk-[a-zA-Z0-9]{32,}, api[_-]?key\s*[:=].ghp_, gho_, github_pat_, xoxb-, xoxp-.-----BEGIN (RSA|EC|OPENSSH) PRIVATE KEY-----.(postgres|mysql|mongodb)://[^:]+:[^@]+@.password\s*[:=]\s*["'][^"']+["'], secret\s*[:=].git ls-files (skip binary files)..env files that may not be tracked..env.example)..gitignore properly excludes sensitive files (.env, *.pem, *.key).Secrets Scan Results
====================
CRITICAL (immediate action required):
- <file>:<line> - <type>: <masked-value>
WARNING (review needed):
- <file>:<line> - <type>: <description>
.gitignore check:
- [ ] .env files excluded
- [ ] Key files excluded
Remediation:
1. Rotate <credential type>
2. Add <pattern> to .gitignore
git log -p --all -S..gitignore additions for any unprotected secret file patterns.