agentleFS
enocgitenocgit/sdlc-kit/skills/security-review/SKILL.md

security-review

Skill1 starsChanged 12 days agoMITView on GitHub

Structured security review of a change that moves a trust boundary: walks the boundary by weakness class, traces hostile input to sinks, and reports findings and resolutions for the PR. Required before a sensitive change ships; also used on a plan that changes a trust boundary.

192 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use linkerd-patterns, dependency-cve-sweep 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.
  • xfstudioSkill

    linkerd-patterns

    Implement Linkerd service mesh patterns for lightweight, security-focused service mesh deployments. Use when setting up Linkerd, configuring traffic policies, or implementing zero-trust networking with minimal overhead.

    Also in 5 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 12 projects that use this

  • berntpoppSkill

    fleet-standard-adoption

    Use when bringing this repo into compliance with a GeneFoundry fleet standard (tool-naming, response-envelope, container-hardening, versioning, MCP transport, or logging) or closing its tracking issue.

    Also in 12 projects that use this

  • HABUBUSSSkill

    project-guidelines-example

    Also in 16 projects that use this

  • niloykumarbarmanSkill

    agent-sort

    Build an evidence-backed ECC install plan for a specific repo by sorting skills, commands, rules, hooks, and extras into DAILY vs LIBRARY buckets using parallel repo-aware review passes. Use when ECC should be trimmed to what a project actually needs instead of loading the full bundle.

    Also in 13 projects that use this

  • royaluniondesign-sysSkill

    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 11 projects that use this

  • +2 more from berntpopp

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 167 edited versions we read keep these.

  • 2

    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:

    Read docs/threat-model.md: its trust boundaries and controls are the baseline you check against.

    line 15
  2. Distinctive:

    Read the change: the diff against the target branch, including tests, docs, config, and lockfile changes.

    line 16
  3. Distinctive:

    Before reporting a finding, confirm the path is reachable and that no framework or upstream control already blocks it.

    line 36

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

Review-only: findings go to the author; this pass does not edit code.

Before you start

  • Read docs/threat-model.md: its trust boundaries and controls are the baseline you check against.
  • Read the change: the diff against the target branch, including tests, docs, config, and lockfile changes; or, for a plan, the change proposal.
  • Note the exposure from docs/context.md → Lifecycle: who can reach this today, and with what data.

Walk the boundary

For each entry point the change adds or alters, trace user-controlled input to every sink it reaches, across files. Check removed or weakened controls as carefully as new code.

ClassLook for
InjectionUnparameterized queries, input in shell calls, file paths, templates, or unescaped output
AuthenticationMissing auth on an endpoint, tokens in URLs or logs, sessions not invalidated
AuthorizationMissing permission check, object access without ownership check, queries not scoped to user or tenant
Data exposureSecrets or personal data in responses, errors, or logs
ConfigurationPermissive CORS, debug surfaces, default credentials, missing rate limits on auth or costly endpoints
IntegrityUnsigned tokens or webhooks, missing CSRF protection, deserializing untrusted data
CryptographyWeak or homemade algorithms, hardcoded keys
DependenciesKnown vulnerabilities, abandoned packages, surprising transitive additions

Before reporting a finding, confirm the path is reachable and that no framework or upstream control already blocks it.

Severity

Rate each finding against current exposure, not worst case:

  • High: exploitable by someone who can reach the system today. Blocks merge.
  • Medium: exploitable under a plausible near-term condition. Fix or defer with an owner.
  • Low / hardening: needs traffic, data, or consumers that do not exist yet. Record it in the production register with its trigger; do not expand the diff for it.

Report

Return the report to the author, who puts it in the PR, or in the proposal for a plan. Check that the change updates the trust-boundary table in docs/threat-model.md for the boundary it moves.

**Security review** of {PR, branch, or proposal} at {commit}

- **Reviewed:** {boundaries and files covered}; **not reviewed:** {and why, or "nothing"}

| # | Finding | Severity | Resolution |
| --- | --- | --- | --- |
| 1 | {what and where} | High | Fixed in {commit} |

- **Deferred to register:** {items, or none}
- **Limits:** {what this review could not see, e.g. deployed configuration}

An open High finding blocks merge. Required content you could not read is a gap: say so in the report and block rather than reporting clean.

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.