secret-scan
Skill0 starsChanged 5 months agoMITView on GitHub
Scan a repository for committed secrets (API keys, tokens, private keys) including git history. Use when auditing a codebase for leaked credentials, before open-sourcing, or when reviewing an unfamiliar repo. Complements the security-audit surface scan, which only covers the current tree.
9 other projects use a version of this.
Adopted by
Most recently taken up by
- Vulnetix/pix-ai-coding-assistanttheir own version, first seen Sep 28, 2026
- PerryLink/dsh-skill-pack-securitytheir own version, first seen Aug 15, 2026
- matheuskotayko/skillstheir own version, first seen Aug 9, 2026
- KhaledSaeed18/dotclaudetheir own version, first seen Jul 4, 2026
- Quality-Max/free-qa-skillstheir own version, first seen Jul 2, 2026
- Archive228/loopkittheir own version, first seen Jun 29, 2026
Used with
Projects with it also use dependency-audit.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
fefogarciaSkilldependency-audit
Comprehensive dependency health auditing for JavaScript/TypeScript projects. Run npm audit, detect outdated packages, check for security advisories, and verify license compliance. Prioritises vulnerabilities by severity and provides actionable fix recommendations.
Also in 3 projects that use this
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- Archive228/loopkit★ 756same name
- PerryLink/dsh-skill-pack-security★ 19same name
- Quality-Max/free-qa-skills★ 11same name
- Vulnetix/pix-ai-coding-assistant★ 9same name
- KhaledSaeed18/dotclaude★ 5same name
- kronus-tech/kronus★ 4same name
- cognis-digital/skills★ 0same name
- matheuskotayko/skills★ 0same name
- vbrevik/claude_code_skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository72 other files it gives its agents.
- AGENTS.mdAGENTS.md
- templates/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- templates/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- agents-md-initSkill
- analytical-frameworksSkill
- appkit-accessibility-auditorSkill
- assess-security-controlsSkill
- audit-accessibilitySkill
- automated-security-reviewSkill
- changelogSkill
- check-ai-onboard-updatesSkill
- agents-sdkSkill
- cloudflare-email-serviceSkill
- cloudflare-oneSkill
- durable-objectsSkill
- sandbox-sdkSkill
- turnstile-spinSkill
- workers-best-practicesSkill
- wranglerSkill
- cobra-commandSkill
- competitive-intelSkill
- component-scaffoldSkill
- conduct-open-source-investigationSkill
- conduct-user-researchSkill
- conventional-commitSkill
- coordinate-data-viewsSkill
- core-data-expertSkill
- data-storytellingSkill
- datavizSkill
- debug-systematicallySkill
- define-brand-foundationSkill
- dependency-vuln-scanSkill
- design-and-build-websiteSkill
- design-product-contentSkill
- design-product-interfaceSkill
- develop-apple-platform-appSkill
- develop-test-firstSkill
- evolve-design-systemSkill
- gh-issueSkill
- gh-prSkill
- gh-releaseSkill
- identity-managementSkill
- input-sanitizationSkill
- manage-vulnerability-riskSkill
- map-attack-surfaceSkill
- market-researchSkill
- measure-product-experimentsSkill
- obsidianSkill
- pr-descriptionSkill
- preserve-web-evidenceSkill
- prisma-migrateSkill
- retrieve-technical-docsSkill
- secret-managementSkill
- secure-codingSkill
- security-auditSkill
- shape-product-opportunitySkill
- simplify-code-safelySkill
- swift-api-design-guidelinesSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 15
Run bash scripts/scan.sh [path].
- Distinctive: line 21
If a live secret is found: rotate it first.
- Distinctive: line 23
If it's in history, note that scrubbing requires a history rewrite (git filter-repo) *and* rotation.
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Secret scan
When to use
Hunting for committed secrets across the current tree and git history. Complements
security-audit's surface-scan.sh, which greps only the working tree.
Steps
- Run
bash scripts/scan.sh [path]. It prefers a real scanner and falls back to grep:gitleaks detect(tree + history) if installed — best.- else
trufflehog filesystemif installed. - else a best-effort grep over tracked files — tree only, history not covered (it says so).
- For each hit: confirm it's a real secret (not a placeholder or test fixture), and determine whether it's live.
- If a live secret is found: rotate it first. A committed secret must be assumed compromised — removing it from the code is not enough.
- If it's in history, note that scrubbing requires a history rewrite (
git filter-repo) and rotation; a new commit that deletes the file does not remove it from history.
Notes
- Rotate first, scrub second. Order matters.
- The grep fallback is shallow (tree only, limited patterns) — install
gitleaksfor real history coverage: https://github.com/gitleaks/gitleaks.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

