secrets-guard
Skill33 starsChanged 8 months agoMITView on GitHub
Finds exposed secrets, API keys, tokens, and credentials in codebase. Checks .env files, git history, hardcoded values. Don't use for runtime security monitoring.
- Reads credentials
1 other project uses a version of this.
Adopted by
Most recently taken up by
- AL-JANEF/janef-forgetheir own version, first seen Sep 19, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- AL-JANEF/janef-forge★ 1same 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 repository56 other files it gives its agents.
- claude/CLAUDE.mdCLAUDE.md
- ml-trainingSkill
- cost-estimateSkill
- marketingSkill
- productSkill
- apifySkill
- data-analysisSkill
- graphitiSkill
- nimbleSkill
- scrapingSkill
- componentsSkill
- mobile-designSkill
- react-bitsSkill
- screen-coderSkill
- ui-ux-pro-maxSkill
- backendSkill
- claude-contextSkill
- databaseSkill
- frontendSkill
- mobileSkill
- pythonSkill
- react-doctorSkill
- cicdSkill
- deploySkill
- dns-sslSkill
- dockerSkill
- instructorSkill
- monitoringSkill
- server-setupSkill
- adversarial-reviewSkill
- adversarial-specSkill
- gemini-advisorSkill
- gemini-mcpSkill
- gpt-advisorSkill
- llm-councilSkill
- local-modelsSkill
- batchSkill
- code-reviewSkill
- integrationSkill
- simplifySkill
- agent-guardSkill
- auth-patternsSkill
- code-securitySkill
- git-guardrails-claude-codeSkill
- git-guardrailsSkill
- ship-safeSkill
- supply-chainSkill
- app-storeSkill
- browser-testingSkill
- e2e-testsSkill
- unit-testsSkill
- disputeSkill
- interviewSkill
- planningSkill
- self-improveSkill
- skill-creatorSkill
The file
Files
Secrets Guard
Scan for exposed secrets:
1. Hardcoded Secrets in Code
Search for patterns:
- API keys:
[A-Za-z0-9_-]{20,} - JWT secrets:
secret,jwt_secret,TOKEN - Database URLs with passwords
- AWS keys:
AKIA[0-9A-Z]{16} - Private keys:
-----BEGIN.*PRIVATE KEY-----
2. Environment Files
- .env committed to git (should be in .gitignore)
- .env.example containing real values
- docker-compose.yml with hardcoded passwords
3. Git History
git log --all -p | grep -i "password\|secret\|api_key\|token"- Previously committed then removed secrets (still in history)
4. Configuration Files
- config.json/yaml with credentials
- CI/CD configs with exposed secrets
- Dockerfile with ARG containing secrets
Output
SECRETS FOUND: N
[For each]
TYPE: api-key/password/token/private-key
FILE: path:line
VALUE: [first 4 chars]****[last 2 chars]
RISK: What could be compromised
FIX: How to rotate and secureDoes 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.

