agentleFS
JewgahJewgah/claude-code-skills/skills/security-audit/SKILL.md

security-audit

Skill2 starsChanged 3 months agoMITView on GitHub

Audit the codebase for common security vulnerabilities (OWASP, secrets, auth, injection)

  • Reads credentials

192 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use create-stories, story-done 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.
  • lilangMaxSkill

    create-stories

    Break a single epic into implementable story files. Reads the epic, its GDD, governing ADRs, and control manifest. Each story embeds its GDD requirement TR-ID, ADR guidance, acceptance criteria, story type, and test evidence path. Run after /create-epics for each epic.

    Also in 11 projects that use this

  • lilangMaxSkill

    story-done

    End-of-story completion review. Reads the story file, verifies each acceptance criterion against the implementation, checks for GDD/ADR deviations, prompts code review, updates story status to Complete, and surfaces the next ready story from the sprint.

    Also in 11 projects that use this

  • nicepkgSkill

    community-led-growth

    Expert in community-led growth (CLG) - leveraging user communities to drive acquisition, retention, and expansion. Covers building developer communities, user groups, ambassador programs, and turning customers into advocates. Knows the difference between community as a feature vs community as a growth engine, and how to measure community ROI. Use when "community-led, CLG, ambassador program, champion program, user community, developer community, word of mouth, user group, " mentioned.

    Also in 5 projects that use this

  • nicepkgSkill

    ph-community-outreach

    Engage Reddit, Indie Hackers, Hacker News and other communities for Product Hunt launches. Use this skill to identify relevant communities, craft appropriate posts, and drive cross-platform engagement without appearing spammy.

    Also in 5 projects that use this

  • +7 more from lilangMax
  • +1 more from nicepkg

The file

Show its rules and text

We split this skill into the rules it gives an agent

14 rules. 0 are common, 11 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 173 edited versions we read keep these.

  • 11

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Secrets & credentials: - search for hardcoded secrets, API keys, tokens, passwords:

    line 14
  2. Very specific:

    Check .gitignore covers .env*, credentials files, key files

    line 16
  3. Very specific:

    Check no .env file is tracked in git: git ls-files | grep -i env

    line 17
  4. Distinctive:

    Verify auth checks exist before sensitive operations

    line 20
  5. Distinctive:

    Check for missing auth middleware on routes/endpoints

    line 21
  6. Distinctive:

    Look for insecure session handling, missing CSRF protection

    line 22
  7. Distinctive:

    Check Firestore/database security rules if present

    line 23
  8. Distinctive:

    Injection vulnerabilities: - check for:

    line 25
  9. Distinctive:

    Webhook & API security: - if webhooks exist:

    line 31
  10. Distinctive:

    Verify signature validation (HMAC, etc.)

    line 32
  11. Distinctive:

    Check for replay attack protection

    line 33
  12. Distinctive:

    Verify input validation on all external-facing endpoints

    line 34
  13. Very specific:

    Dependencies: - run npm audit (if package.json exists) and flag high/critical vulnerabilities.

    line 36
  14. Distinctive:

    If no issues found in a category, skip it.

    line 54

“Common” is measured: kept by at least 6 in 10 of the 173 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Security Audit

Scan the codebase for common security vulnerabilities. Focus on $ARGUMENTS if provided, otherwise audit the full project.

Steps

  1. Secrets & credentials - search for hardcoded secrets, API keys, tokens, passwords:
    • Grep for patterns: API_KEY=, SECRET=, password, token, bearer tokens, base64-encoded strings that look like keys
    • Check .gitignore covers .env*, credentials files, key files
    • Check no .env file is tracked in git: git ls-files | grep -i env
  2. Auth & access control - review authentication and authorization:
    • Verify auth checks exist before sensitive operations
    • Check for missing auth middleware on routes/endpoints
    • Look for insecure session handling, missing CSRF protection
    • Check Firestore/database security rules if present
  3. Injection vulnerabilities - check for:
    • SQL injection (unparameterized queries)
    • XSS (unescaped user input rendered as HTML, dangerouslySetInnerHTML, innerHTML)
    • Command injection (exec, spawn with unsanitized input)
    • Path traversal (user input in file paths)
  4. Webhook & API security - if webhooks exist:
    • Verify signature validation (HMAC, etc.)
    • Check for replay attack protection
    • Verify input validation on all external-facing endpoints
  5. Dependencies - run npm audit (if package.json exists) and flag high/critical vulnerabilities.
  6. Report - output findings grouped by severity:
## CRITICAL (fix immediately)
- [description] - [file:line]

## HIGH
- ...

## MEDIUM
- ...

## LOW / INFO
- ...

If no issues found in a category, skip it. End with a one-line summary.

Do NOT

  • Modify any files - this is read-only
  • Report false positives from vendored/generated files (node_modules, .next, dist)
  • Flag env var USAGE (like process.env.X) as a leaked secret - only flag hardcoded values

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.