security-audit
Skill1 starsChanged 2 months agoMITView on GitHub
Audit the whole git history and working tree for leaked secrets and unsafe files before sharing or publishing the repo
- Reads credentials
140 other projects use a version of this.
Adopted by
Most recently taken up by
- HunLuanZhiZhu/Game-Studios-Plugintheir own version, first seen Oct 5, 2026
- morodomi/dev-crewtheir own version, first seen Oct 5, 2026
- PostHog/posthogtheir own version, first seen Oct 4, 2026
- PostHog/posthog-fosstheir own version, first seen Oct 4, 2026
- louisbrulenaudet/monorepo-templatetheir own version, first seen Oct 2, 2026
- MaxMiksa/Auto-Companytheir own version, first seen Oct 2, 2026
Used with
Projects with it also use asset-spec, create-control-manifest and 10 more.
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.
cenconq25Skillasset-spec
Generates per-asset visual specifications and AI-generation prompts from PRDs and the design bible. Produces structured spec files and updates a master asset manifest. Use after design bible is approved and a UX spec or PRD identifies assets to produce. Output: design/assets/<asset>.md plus design/assets/manifest.md.
Also in 5 projects that use this
cenconq25Skillcreate-control-manifest
Produces a flat, immediately-actionable rules sheet — do this, never do that, per system and per layer — extracted from accepted ADRs, technical preferences, and framework reference docs. More directly usable than ADRs for day-to-day implementation. Run after /architecture-review passes.
Also in 5 projects that use this
- +10 more from cenconq25
Other versions140 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 140
- ruvnet/ruflo★ 74ksame name
- PostHog/posthog★ 40ksame name
- Donchitos/Claude-Code-Game-Studios★ 26ksame name
- cloudflare/security-audit-skill★ 24ksame name
- maximhq/bifrost★ 8.6ksame name
- MaxMiksa/Auto-Company★ 3.1ksame name
- marketcalls/openalgo★ 2.8ksame name
- theopenco/llmgateway★ 1.7ksame name
- laolaoshiren/claude-code-skills-zh★ 876same name
- decebals/claude-code-java★ 747same name
130 more not listed
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.
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 118 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Files ever tracked: must not include .env, .env.* (other than .env.example), *.local.json, *.pem or *.key.
- Very specific: line 15
Check GitHub too: gh api repos/<owner>/<repo>/commits/<old-sha> returning a commit means orphaned commits are still fetchable even if no …
- Distinctive: line 17
If a real secret is in history:
- Distinctive: line 21
Delete old Vercel deployments or the project if their uploaded source contained the secret.
“Common” is measured: kept by at least 6 in 10 of the 118 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
Scan output (secret values are never printed):
!bash ${CLAUDE_SKILL_DIR}/scan.sh
Interpret the result:
- Files ever tracked must not include
.env,.env.*(other than.env.example),*.local.json,*.pemor*.key. Any such file in history is a leak. - Pattern hits (Discord bot tokens, Apify tokens, GitHub tokens, private keys, cloud keys, long values assigned to
*_KEY/*_TOKEN/*_SECRET/*_PASSWORD): open each hit withgit show <rev>:<path>only to decide whether it is a real secret or a placeholder. Do not paste real values into the conversation. - Known-secret hits compare the values in your current environment (
MCP_API_KEY,DISCORD_BOT_TOKEN,APIFY_TOKEN,GMAIL_APP_PASSWORD) against every revision. Any count above 0 is a confirmed leak. - Check GitHub too:
gh api repos/<owner>/<repo>/commits/<old-sha>returning a commit means orphaned commits are still fetchable even if no branch reaches them.
If a real secret is in history:
- Rotate it at the provider now (Discord: Reset Token; Apify: regenerate; Google: revoke the app password; new
MCP_API_KEYvia Vercel env and redeploy). - Deleting the secret from history is not enough. Create a fresh repository, push the cleaned history there, and delete the old repository (
gh auth refresh -s delete_repothengh repo delete). - Delete old Vercel deployments or the project if their uploaded source contained the secret.
- Re-run this audit and confirm zero hits.
Also confirm: .gitignore still covers .env* (except the example), .capes.local.json and .claude/settings.local.json; git status shows nothing sensitive untracked.
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.

