agentleFS
kasimmjkasimmj/claude-skills-mega/skills/security-audit/SKILL.md

security-audit

Skill1 starsChanged 6 months agoMITView on GitHub

Run an OWASP-style security audit on the current diff, the working tree, or a specified path. Flags injection, auth flaws, secrets, insecure deserialization, and misconfigurations.

  • 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

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 173 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
  1. Distinctive:

    Ask the user (or infer) the scope:

    line 21
  2. Distinctive:

    Search for committed secrets using these patterns:

    line 44
  3. Very specific:

    When the user wants a code review (use code-review instead)

    line 76
  4. Very specific:

    When the user wants a license scan (use license-check)

    line 77

“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 Skill

You are performing a security audit. Output a structured report — not just prose.

Step 1 — Define the scope

Ask the user (or infer) the scope:

  • Diff — current uncommitted changes (default if there are uncommitted changes)
  • Branch — git diff main...HEAD
  • Repo — full working tree
  • Path — a specific directory or file

Step 2 — Run the audit

Walk through the OWASP Top 10 (2021) categories systematically:

  1. A01 Broken Access Control — missing authz checks, IDOR, path traversal
  2. A02 Cryptographic Failures — weak hashing (MD5, SHA1), hardcoded keys, missing TLS
  3. A03 Injection — SQL, NoSQL, OS command, LDAP, XSS — search for unparameterized string interpolation in queries, untrusted input in exec/eval
  4. A04 Insecure Design — race conditions in critical flows (payments, account changes)
  5. A05 Security Misconfiguration — debug=true in prod, default creds, exposed admin panels, permissive CORS
  6. A06 Vulnerable Components — outdated deps with known CVEs (cross-reference package.json/requirements.txt/go.mod)
  7. A07 Identification & Authentication Failures — weak password policy, missing rate-limit on login, JWT with alg=none, sessions without timeout
  8. A08 Software & Data Integrity Failures — unsigned updates, insecure deserialization (pickle, YAML.load, Java ObjectInputStream)
  9. A09 Logging & Monitoring Failures — sensitive data in logs, missing audit trails
  10. A10 SSRF — unvalidated URL fetches that could hit internal services (169.254.169.254, localhost)

Step 3 — Look for secrets

Search for committed secrets using these patterns:

  • aws_secret, AKIA[0-9A-Z]{16}, ghp_[A-Za-z0-9]{36}, sk-[A-Za-z0-9]{32,}
  • password\s*=\s*['"], api[_-]?key\s*=\s*['"]
  • .env, .pem, .key files that should be gitignored

Step 4 — Output the report

SECURITY AUDIT REPORT
─────────────────────
Scope:    <scope>
Files:    <N files scanned>

🔴 CRITICAL (N)
  - <file:line> — <issue> — <fix>

🟠 HIGH (N)
  - <file:line> — <issue> — <fix>

🟡 MEDIUM (N)
  - <file:line> — <issue> — <fix>

🟢 LOW (N)
  - <file:line> — <issue> — <fix>

✓ PASSED CHECKS
  - <category>: clean

When NOT to use

  • Repos with no source code (docs-only)
  • When the user wants a code review (use code-review instead)
  • When the user wants a license scan (use license-check)

Failure modes

  • ⚠️ A clean report doesn't mean the code is secure — it means these checks passed.
  • ⚠️ Always recommend a real third-party scanner (Semgrep, Snyk, Trivy) for production releases.

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.