agentleFS
neuron-oneneuron-one/GODMODE/skills/security/secrets-guard/SKILL.md

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

The file

Files
SKILL.md

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 secure

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.