Skill · Published 2026-08-08

secret-scanner

Download secret-scanner.zip 100% test coverage Ported from rules::secrets

A Claude Skill, not a hosted service: download it, drop it wherever your agent looks for skills, and it runs entirely on your own machine. No network call, no account, no data leaves your machine to run a scan.

What it checks

Six literal, well-known secret shapes: AWS access keys, GitHub personal access tokens, Slack tokens, JWTs, PEM private-key blocks, and database connection strings with an embedded password.

python3 scan_secrets.py <file-or-directory>
python3 scan_secrets.py --stdin

Findings print redacted by default — only the first and last few characters of a match, never the full value — so running the scan and sharing its output isn’t itself a way to leak something.

Where this came from

Ported from the same rule pack that runs inside PinkyAI’s own local security engine (rules::secrets) — not a marketing-only rewrite. It’s re-implemented independently in dependency-free Python and carries its own full test suite, currently at 100% statement coverage.

Honest scope

This is a shape check, not a live-validity check: a match means “this looks like a real credential,” not “this credential is currently active.” Only the account that issued it can confirm that — rotate first, verify after. Like any pattern-based scanner, it’s built to catch a secret in its plain, ordinary form; it isn’t a substitute for a full secret-management workflow.

Preview the real source

Read straight out of this skill's own source directory, unedited — the exact bytes that ship inside secret-scanner.zip, not a rewritten excerpt. Switch tabs to read a file before downloading, or use Copy to paste it somewhere else.

Choose a file to preview

← Back to skills