Scans your codebase for hardcoded credentials like AWS keys, GitHub tokens, Stripe keys, private keys, and database passwords. You can run it on specific directories, enable entropy detection for unknown formats, or even scan git history for secrets that were committed and later removed. The pattern library covers major providers (AWS, GCP, Stripe, Slack, Twilio) with both high-confidence exact matches and fuzzier generic patterns. Output shows severity levels and remediation steps. The ignore system handles false positives in test fixtures and docs. Good for that moment when you realize someone might have committed real credentials, or before open sourcing a private repo.

skills.sh installs
385
GitHub stars
182
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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:

Sponsors

Details

Repository
github.com/jwynia/agent-skills
Categories
Backend & APIs, AI & Agent Building
First seen
Jun 3, 2026

More from jwynia/agent-skills

All 118
1umbraco avatarumbraco-playwright-testhelpersumbraco/umbraco-cms-backoffice-skillsReference for @umbraco/playwright-testhelpers package - fixtures, API helpers, and UI helpers for E2E testing384skills.sh installs
2levnikolaevich avatarln-772-error-handler-setuplevnikolaevich/claude-code-skillsConfigures global exception handling middleware. Use when adding centralized error handling to .NET or Python backends.382skills.sh installs
3tomlord1122 avatargolang-architecttomlord1122/tomtom-skillSoftware Architect specializing in Go projects. Use when designing any Go application — backend services, CLI tools, libraries, infrastructure tooling, or distr382skills.sh installs
4umbraco avatarumbraco-msw-testingumbraco/umbraco-cms-backoffice-skillsMSW (Mock Service Worker) patterns for testing Umbraco backoffice extensions with mocked APIs379skills.sh installs
5levnikolaevich avatarln-771-logging-configuratorlevnikolaevich/claude-code-skillsConfigures structured JSON logging with Serilog (.NET) or structlog (Python). Use when adding logging to backend projects.376skills.sh installs
6kernel avatarkernel-python-sdkkernel/skillsBuild and debug Python browser automation with the Kernel SDK, including browser lifecycle, server-side Playwright, CDP, profiles, proxies, and reliable cleanup373skills.sh installs