agentleFS
thejefflarsonthejefflarson/soundcheck/.claude/skills/security-review/SKILL.md

security-review

Skill20 starsChanged 4 months agoMITView on GitHub

Runs a full OWASP/CWE security audit via isolated subagents. Use when the user

187 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use kotlin-testing, configure-ecc 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.
  • tpavanipradeepSkill

    kotlin-testing

    Kotlin testing patterns with Kotest, MockK, coroutine testing, property-based testing, and Kover coverage. Follows TDD methodology with idiomatic Kotlin practices.

    Also in 6 projects that use this

  • saxon-ySkill

    configure-ecc

    Interactive installer for Everything Claude Code — guides users through selecting and installing skills and rules to user-level or project-level directories, verifies paths, and optionally optimizes installed files.

    Also in 12 projects that use this

  • InfopibeSkill

    content-hash-cache-pattern

    Cache expensive file processing results using SHA-256 content hashes — path-independent, auto-invalidating, with service layer separation.

    Also in 12 projects that use this

  • InfopibeSkill

    ralphinho-rfc-pipeline

    RFC-driven multi-agent DAG execution pattern with quality gates, merge queues, and work unit orchestration.

    Also in 10 projects that use this

  • mryeastcodeSkill

    pytorch-patterns

    PyTorch deep learning patterns and best practices for building robust, efficient, and reproducible training pipelines, model architectures, and data loading.

    Also in 9 projects that use this

  • berntpoppSkill

    dependency-cve-sweep

    Use when handling Dependabot PRs, CodeQL/Trivy alerts, or doing a routine dependency/CVE sweep for this repo.

    Also in 5 projects that use this

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 165 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:

    Use only the Agent tool in main context.

    line 30

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

Full Security Audit (A01:2025–A10:2025 + LLM01:2025–LLM10:2025)

What this checks

Full repo audit against OWASP Web + LLM Top 10:2025 via a four-stage pipeline: threat-model → hotspots → review → validate. Main context dispatches subagents (threat-modeling, hotspot-mapping, vulnerability-audit, design-review, finding-validate, attack-chain-analysis) and renders findings; never reads code.

Vulnerable patterns

This skill is the orchestrator. The actual pattern catalog lives in the per-category auto-invoking skills (injection, csrf, ssrf, broken-access-control, authentication-failures, etc.) — the vulnerability-audit subagent picks the right one per hotspot and applies its Vulnerable patterns section. Skill-list maintenance is automatic via .claude/skills/ directory contents; no separate catalog file.

Procedure

Use only the Agent tool in main context. No Read/Grep/Glob/ Bash in main context. Stage prompts live in .claude/agents/: threat-modeling, hotspot-mapping, design-review, vulnerability-audit, finding-validate, attack-chain-analysis. This skill is just the coordinator.

Copy this checklist as you progress:

- [ ] Stage 0 — threat-modeling returned
- [ ] Stage 1 — hotspot-mapping returned (one whole-repo call)
- [ ] Stages 1b+2 — design-review + N vulnerability-audit in ONE message
- [ ] Stage 2.5 — finding-validate returned; refuted findings dropped
- [ ] Stage 3 — attack-chain-analysis returned
- [ ] Stage 4 — findings table rendered with severity legend
- [ ] Stage 5 — suggested /security-cleanup to the user

Stage 0 — Threat model

Dispatch one threat-modeling subagent. It returns JSON with purpose, deployment, trusted_inputs, untrusted_inputs. Thread this into every later subagent.

Stage 1 — Hotspot map

Dispatch one hotspot-mapping subagent with the threat model. Returns a JSON array of {file, lines, name, category, priority, why} entries — the hotspot list for Stage 2.

Stages 1b + 2 — Design review and vulnerability audit (parallel)

Collapse hotspots by file first — group into {file: [hotspots]}. Then in a SINGLE message, dispatch:

  • One design-review subagent with the threat model.
  • One vulnerability-audit subagent per file with the threat model AND that file's hotspot list. trusted_inputs / untrusted_inputs informs which sinks are reachable. Serial launches defeat parallelism.

Concatenate every returned findings array. Dedupe by (file, line).

Stage 2.5 — Validate findings

Dispatch one finding-validate subagent with the merged findings array and the threat model JSON. It returns a JSON array of 0-based indices to drop — findings refuted by concrete evidence at the cited line (guard, sanitizer, correct API). [] is common. Remove the indicated indices before Stage 3.

Stage 3 — Attack-chain analysis

Dispatch one attack-chain-analysis subagent with the threat model AND the merged findings. The threat model informs effective severity (does the chain cross an untrusted boundary?). Returns chain objects with plain-English narratives, or [].

Stage 4 — Render

Emit # Security Review, then the legend Critical = anyone on the internet can exploit. High = needs an account. Medium = limited blast radius. Low = defense-in-depth. Then a findings table: Severity / Where / What's wrong / How to fix (use the auditor's finding/fix verbatim; append (category: <skill>) to What's wrong). If chains exist, emit ## Attack chains with ### Chain N — <effective_severity> per chain as prose. One summary line. Zero findings: Security review complete. No findings across N hotspots.

Stage 5 — Cleanup

Suggest /security-cleanup to apply fixes. Do not auto-rewrite.

Verification

  • Every vulnerability has a finding with severity, file:line, OWASP/CWE category, and a concrete fix
  • finding/fix text is plain language a non-security developer can act on
  • Response ends with a summary line

References

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.