Skip to content

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
View on GitHub

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 --entropy mode for high-randomness strings and --git-history to find secrets committed then removed
  • Supports scoping with --scope and --exclude, plus .secrets-scan-ignore and inline ignore comments to suppress false positives
  • Integrates with CI through a --fail-on-findings exit code and with pre-commit hooks using --staged

Install

$ npx -y skills add jwynia/agent-skills --skill secrets-scan -y

Installs 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:

TypePattern ExampleProvider
AWS Access KeyAKIA... (20 chars)AWS
AWS Secret Key40 char base64AWS
GitHub Tokenghp_, gho_, ghu_, ghs_, ghr_GitHub
GitLab Tokenglpat-...GitLab
Slack Tokenxoxb-, xoxp-, xoxa-Slack
Stripe Keysk_live_, rk_live_Stripe
TwilioSK... (34 chars)Twilio
SendGridSG. followed by base64SendGrid
Private Key-----BEGIN (RSA|EC|DSA)?PRIVATE KEY-----Various
Google API KeyAIza... (39 chars)Google

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

Similar to Secrets Scan

More Security