agentleFS
gonimargonimar/claude-web-studio/skills/security-audit/SKILL.md

security-audit

Skill5 starsChanged 2 months agoMITView on GitHub

Audits the application against OWASP Top 10:2025 / ASVS for the project's stack — code review by appsec-engineer, tooling (vulnerability, secret and SAST scanners), CVSS-scored findings with fixes in docs/security/security-audit-<date>.md; modes full, quick, api, auth, infra, <path>. Required before release; use for 'security audit', 'is this secure', 'OWASP check', 'review the auth code'.

140 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use asset-spec, create-control-manifest and 7 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.
  • cenconq25Skill

    asset-spec

    Generates per-asset visual specifications and AI-generation prompts from PRDs and the design bible. Produces structured spec files and updates a master asset manifest. Use after design bible is approved and a UX spec or PRD identifies assets to produce. Output: design/assets/<asset>.md plus design/assets/manifest.md.

    Also in 5 projects that use this

  • cenconq25Skill

    create-control-manifest

    Produces a flat, immediately-actionable rules sheet — do this, never do that, per system and per layer — extracted from accepted ADRs, technical preferences, and framework reference docs. More directly usable than ADRs for day-to-day implementation. Run after /architecture-review passes.

    Also in 5 projects that use this

  • +7 more from cenconq25

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 118 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    When HEAD is a story branch, name it and ask one AskUserQuestion: switch to the default branch and commit there (Recommended — a …

    line 35

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

Reply in the project conversation language (CLAUDE.md → Language); code, identifiers, paths and commit messages stay in English.

Templates templates/security-audit-report.md, findings.md; stack-reference/security-standards.md, security-baseline.md, graphql.md (security). In the commands below, <hooks> is .claude/hooks/ in copy mode and ${CLAUDE_PLUGIN_ROOT}/hooks/ in plugin mode.

Phase 1: Scope

Mode from the argument (full by default): quick = HIGH/BLOCKING classes only (auth, authorisation/IDOR, injection, secrets, dependency CVEs) without the network and GraphQL deep passes; api/auth/infra/<path> narrow the scope. Surfaces from the threat model; no docs/architecture/threat-model.md → continue from technical-preferences and the code, say so in the report and propose /threat-model as a follow-up — never a silent full pass. Stack from technical-preferences.

Phase 2: In parallel via Task

  • appsec-engineer: code review A01–A10 for the scope (auth/sessions/JWT, object and GraphQL field authorisation, injection/XSS surfaces, SSRF, files, webhooks, errors/logs); run govulncheck/composer audit/pnpm audit/gitleaks/semgrep when available — with output; a tool that is not installed is listed in the report as "not run: <tool> missing" with the install hint, never skipped silently.
  • network-security-engineer (full/infra): proxy/headers/TLS/compose/Dockerfile/CI permissions.
  • graphql-engineer (if GraphQL): introspection, limits, persisted ops, DataLoader/DoS, batching.

Phase 3: Consolidate

Deduplicate, severity (CVSS 4.0), BLOCKING/WARNING/INFO, fix and regression test per finding; A01–A10 checklist with statuses.

Phase 4: Write

  1. Show the report in the chat, then "May I write docs/security/security-audit-<date>.md?" — one AskUserQuestion: write (Recommended) · show the draft/diff first · not now. After the "write" answer: touch .claude/.write-consent (rule 7).
  2. For every BLOCKING (and every WARNING that needs a decision), one AskUserQuestion: record it in production/findings.md (template findings.md; id SEC-NNN, severity, area/feature, the decision needed) (Recommended) · story stubs now via /create-stories · report only. /create-stories, /sprint-plan and /help read production/findings.md, so a finding left only in the report never reaches planning. Record the gate before asking — <hooks>session-state.sh set Gate "/security-audit Phase 4: record SEC-NNN?" — and clear it after the answer (<hooks>session-state.sh set Gate "—"). After the "record" answer: touch .claude/.write-consent, then write the row.
  3. A BLOCKING that is neither recorded nor turned into a story is named as such in the verdict line.
  4. Propose a threat-model update.

Phase 5: Commit (documents lane)

Right after the write (and the findings rows, when any were recorded), one commit gate (rule 7 (4), .claude/docs/git-workflow.md § Documents): docs: security audit <date>, staging exactly the written files — docs/security/security-audit-<date>.md, production/findings.md when rows were added and .claude/agent-memory/ when the run changed it (git-workflow § Agent memory). Record the gate before asking — <hooks>session-state.sh set Gate "/security-audit Phase 5: commit?" — and clear it after the answer (<hooks>session-state.sh set Gate "—").

  • On the default branch when no story work is in progress: one AskUserQuestion — commit (Recommended) · leave uncommitted.
  • When HEAD is a story branch, name it and ask one AskUserQuestion: switch to the default branch and commit there (Recommended — a pipeline-wide document) · commit here (the document belongs to this story) · leave uncommitted.
  • The audit itself changes no code; fixes are the next step and belong to a story or the chore lane (git-workflow.md § Chore / infra), never to the docs: commit.

Nothing is committed without the answer.

Verdict: PASS | CONCERNS (N warnings) | FAIL (N blocking). Next step — one AskUserQuestion: fixes, then a repeated /security-audit quick (Recommended) · /harden · report only.

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.