Secrets Scan
Scans source code and git history for hardcoded credentials across cloud, payment, and messaging providers.
- CCM score
- 52 of 100
- skills.sh installs
- 410
- GitHub stars
- 195
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers high-confidence patterns for AWS, GitHub, GitLab, Slack, Stripe, Twilio, SendGrid, and private keys, plus medium-confidence generic secrets
- Includes an optional
--entropymode for high-randomness strings and--git-historyto find secrets committed then removed - Supports scoping with
--scopeand--exclude, plus.secrets-scan-ignoreand inline ignore comments to suppress false positives - Integrates with CI through a
--fail-on-findingsexit code and with pre-commit hooks using--staged
Install
$ npx -y skills add jwynia/agent-skills --skill secrets-scan -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Secrets Scan
Deep detection of hardcoded credentials and sensitive data in source code.
Quick Start
/secrets-scan # Scan current directory
/secrets-scan --scope src/ # Scan specific path
/secrets-scan --entropy # Include high-entropy detection
/secrets-scan --git-history # Check git commit history
What This Skill Detects
High-Confidence Patterns
Patterns with very low false positive rates:
| Type | Pattern Example | Provider |
|---|---|---|
| AWS Access Key | AKIA... (20 chars) | AWS |
| AWS Secret Key | 40 char base64 | AWS |
| GitHub Token | ghp_, gho_, ghu_, ghs_, ghr_ | GitHub |
| GitLab Token | glpat-... | GitLab |
| Slack Token | xoxb-, xoxp-, xoxa- | Slack |
| Stripe Key | sk_live_, rk_live_ | Stripe |
| Twilio | SK... (34 chars) | Twilio |
| SendGrid | SG. followed by base64 | SendGrid |
| Private Key | -----BEGIN (RSA|EC|DSA)?PRIVATE KEY----- | Various |
| Google API Key | AIza... (39 chars) |
Medium-Confidence Patterns
May require context validation:
Details
- Repository
- github.com/jwynia/agent-skills
- Categories
- Security, Git & Releases
- First seen
- Jun 3, 2026
Questions
What does the secrets-scan skill do?
secrets-scan detects API keys, passwords, tokens, and other secrets hardcoded in source code. It covers high-confidence patterns for providers such as AWS, GitHub, GitLab, Slack, Stripe, and Google, plus medium-confidence patterns like generic API keys and connection strings.
How do I install the secrets-scan skill?
Run npx -y skills add jwynia/agent-skills --skill secrets-scan -y in a project to install secrets-scan. Once installed, secrets-scan lets the agent scan a directory with the /secrets-scan command, optionally adding entropy detection or checking git history.
Which skills lead the Security category, and where does secrets-scan stand?
secrets-scan sits in the Security category on Claude Marketplaces, next to azure-compliance, entra-agent-id, firebase-security-rules-auditor, security-audit, and cloudflare-one. Its focus is narrower than those: it hunts hardcoded credentials and sensitive data in code rather than auditing cloud or identity setups.
Can secrets-scan check git history for leaked credentials?
Yes, secrets-scan can scan git commit history with the --git-history option, and it can limit that scan with --since. This finds secrets that were committed and removed later, which a scan of the current files would miss.
How does secrets-scan handle false positives?
secrets-scan reads a .secrets-scan-ignore file for path patterns to skip, such as test fixtures and docs. It also honors inline secrets-scan-ignore comments for example values like AKIAIOSFODNN7EXAMPLE.
More from jwynia/agent-skills
All 118- Technology Impact408
- Perspectival Constellation407
- List Builder402
- Paradox Fables402
- Underdog Unit402
- Xlsx Generator401
- Skill Integrator399
- Dependency Scan393
- Research387
- Scraper Builder384
- Claim Investigation379
- Agile Workflow378
- Config Scan373
- Agent Bootstrap359
- Agile Coordinator346
- Non Fiction Revision341
- Npm Package341
- Blind Spot Detective337
- Devcontainer332
- Gitea Coordinator324
- Github Agile320
- Web Search Brave317
- Npx Cli315
- Media Meta Analysis289
Similar to Secrets Scan
More Securityghost-scan-secretsghostsecurity/skills5.1K installsScans codebases for leaked credentials via a poltergeist-driven pipeline with per-candidate analysis and severity-rated findings.
secret-scanninggithub/awesome-copilot4.7K installsGuide for configuring GitHub secret scanning, push protection, custom patterns, and alert remediation.
credential-scanneruseai-pro/openclaw-skills-security532 installsPre-run scanner that detects exposed API keys, tokens, private keys, and database credentials before file-reading skills execute.
security-scanjwynia/agent-skills511 installsComprehensive codebase security scanner covering OWASP Top 10, secrets, and misconfigurations with severity-ranked findings.
secrets-managementwshobson/agents14.2K installsSecrets management patterns for CI/CD using Vault, AWS Secrets Manager, and native platform stores, without hardcoded credentials.