agentleFS
beworkallbeworkall/agent-skills-security/skills/security-audit/SKILL.md

security-audit

Skill0 starsChanged 26 days agoMITView on GitHub

Use when reviewing code for security issues, checking for injection/auth flaws, exposed secrets, unsafe deserialization, or when the user asks for a security audit or vulnerability review.

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, 4 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 174 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before merging code that touches auth, input handling, file I/O, or external requests

    line 11
  2. Distinctive:

    When reviewing a PR/diff that adds a new API endpoint, form, or data parser

    line 12
  3. Distinctive:

    Check for these categories, in order:

    line 16
  4. Distinctive:

    Never attempt to exploit, run, or demonstrate the vulnerability.

    line 24

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

When to Use

  • The user asks for a security review, audit, or "check this for vulnerabilities"
  • Before merging code that touches auth, input handling, file I/O, or external requests
  • When reviewing a PR/diff that adds a new API endpoint, form, or data parser

Instructions

  1. Scope the review: identify every file that handles user input, auth, file paths, database queries, or external calls. Don't review the whole repo blindly — focus there first.
  2. Check for these categories, in order:
    • Injection: SQL/NoSQL/command/template injection — any place user input reaches a query, shell command, or eval-like function without parameterization or sanitization.
    • Auth & session flaws: missing authorization checks, predictable tokens, session fixation, privilege escalation paths.
    • Secrets exposure: hardcoded keys/passwords, secrets in logs, secrets in client-side/bundled code.
    • Unsafe deserialization: pickle, eval, unchecked JSON.parse of untrusted data feeding into object construction.
    • Input validation: missing length/type/format checks on anything from a user, URL, or external API.
    • Dependency risk: flag outdated or known-vulnerable packages if a lockfile/manifest is visible.
  3. For each finding, do not just say "looks risky" — confirm the actual code path: trace the input from its source to the vulnerable sink before reporting it.
  4. Never attempt to exploit, run, or demonstrate the vulnerability. Describe it; don't weaponize it.
  5. Output a structured report, not prose. Use this exact format per finding:
    ## [SEVERITY] <short title>
    **Location:** file:line
    **Issue:** what's wrong, in one or two sentences
    **Recommendation:** the specific fix
    Severity is one of: CRITICAL, HIGH, MEDIUM, LOW, INFO.
  6. End with a one-line summary: total findings by severity, and whether the code is safe to merge as-is.

Examples

User: "Can you audit this login endpoint for security issues?" Agent should: Trace how the password/token flows from request to storage/comparison, check for timing-safe comparison, rate limiting, and SQL parameterization, then output the structured report format above — not a paragraph of general advice.

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.