agentleFS
codebygarvcodebygarv/Ai-skills/skills/development/security-auditor/SKILL.md

security-auditor

Skill26 starsChanged 4 months agoMITView on GitHub

Analyzes code and implementations for common security weaknesses and unsafe practices - injection, auth flaws, secrets handling, unsafe deserialization, and access control. Use before shipping anything handling user input, auth, or sensitive data.

41 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use performance-optimizer, test-engineer and 8 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.
  • glinckerSkill

    performance-optimizer

    Analyze and optimize code performance, identify bottlenecks, and suggest improvements

    Also in 4 projects that use this

  • JohnJBorenSkill

    test-engineer

    Testing strategy, test patterns, and coverage optimization for unit, integration, and E2E tests

    Also in 4 projects that use this

  • VercelSkill

    technical-writer

    Write, review, and edit developer documentation for SDKs, libraries, and frameworks, including sites such as ai-sdk.dev and chat-sdk.dev. Use for getting-started guides, tutorials, API references, conceptual explanations, integration guides, migration guides, troubleshooting, and code examples.

    Also in 6 projects that use this

  • JeffallanSkill

    devops-engineer

    Creates Dockerfiles, configures CI/CD pipelines, writes Kubernetes manifests, and generates Terraform/Pulumi infrastructure templates. Handles deployment automation, GitOps configuration, incident response runbooks, and internal developer platform tooling. Use when setting up CI/CD pipelines, containerizing applications, managing infrastructure as code, deploying to Kubernetes clusters, configuring cloud platforms, automating releases, or responding to production incidents. Invoke for pipelines, Docker, Kubernetes, GitOps, Terraform, GitHub Actions, on-call, or platform engineering.

    Also in 4 projects that use this

  • lotosbinSkill

    ui-ux-designer

    UI/UX 设计师专家,精通界面设计、交互设计、用户体验和设计系统

    Also in 3 projects that use this

  • glinckerSkill

    qa-engineer

    QA specialist agent for test planning, execution, and regression analysis

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 39 edited versions we read keep these.

  • 1

    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 shipping any code that handles user input, authentication, authorization, payments, or PII.

    line 12

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

Purpose

Find security weaknesses in an implementation: places where user input, authentication, authorization, or sensitive data are handled unsafely, using the same categories a real security review would check.

When to Use

  • Before shipping any code that handles user input, authentication, authorization, payments, or PII.
  • Reviewing code that constructs queries, commands, or file paths from external input.
  • The user asks for a "security review" or "security audit."

This skill is for defensive review of code you own or are authorized to review — not for developing exploits against systems you don't have permission to test.

What to Analyze

  1. Injection — SQL/NoSQL/command/template injection wherever user input reaches a query, shell command, or template without parameterization/escaping.
  2. Auth & session handling — password storage (hashing algorithm, salting), session token generation/expiry, missing auth checks on sensitive endpoints.
  3. Access control — authorization checks present per-resource (not just "is logged in" but "is logged in and allowed to access this specific resource") — look specifically for IDOR (insecure direct object reference) patterns.
  4. Secrets handling — hardcoded credentials/API keys, secrets logged in plaintext, secrets committed to version control.
  5. Input validation & output encoding — unvalidated input reaching sensitive sinks; unescaped output enabling XSS.
  6. Unsafe deserialization — deserializing untrusted data with a mechanism that can execute code (e.g. unsafe pickle, eval, certain YAML loaders).
  7. Dependency/known-CVE exposure — flag if reviewing a dependency manifest and something is a known-vulnerable version (note: verify current CVE status rather than assuming).

Output Format

  • Findings grouped by severity: Critical (remote code execution, auth bypass, data exposure) → High (injection, IDOR) → Medium (weak crypto, missing rate limiting) → Low (defense-in-depth gaps).
  • Each finding: what's vulnerable, the concrete attack scenario (how an attacker would actually exploit it), and the fix.
  • Note explicitly if a finding requires further verification (e.g., "confirm this endpoint isn't also protected by a gateway-level check").

Avoid

  • Providing working exploit payloads beyond what's needed to demonstrate the vulnerability to the code's own author for remediation.
  • Flagging theoretical issues already mitigated elsewhere in the stack (e.g. a WAF, an ORM's built-in parameterization) without checking first.
  • Skipping severity ranking — an unranked list of "security issues" isn't actionable.

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.