agentleFS
my-chiefmindmy-chiefmind/ai-maestro/skills/security-review/SKILL.md

security-review

Skill6 starsChanged 49 days agoMITView on GitHub

A focused security pass over a change before it lands. Use on tickets touching auth, user input, data access, secrets, external calls, or infra. Flags concrete vulnerabilities with a file:line and a fix — not generic advice.

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

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

  • 0

    Common

    Most of the 167 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:

    Run this on changes with a security surface: authentication/authorization, anything handling user input, data access, secret management, …

    line 8

“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

Run this on changes with a security surface: authentication/authorization, anything handling user input, data access, secret management, outbound network calls, file/path handling, or infrastructure.

Look for

  • Injection — SQL/NoSQL/command/template injection from unsanitized input; unparameterized queries. If shell invocation is unavoidable, arguments are passed as an argv array — never an interpolated string.
  • AuthZ/AuthN — missing or wrong access checks; trusting client-supplied identity; privilege escalation via object references (IDOR). Role/permission checks are server-side and fail closed; ownership checks use the authenticated principal, never a client-supplied id.
  • Secrets — credentials, tokens, or keys in code, logs, or committed config. Secrets belong in a secret store, injected at runtime, never in the repo or in history. Don't just eyeball the diff: scan history with git log -p -S <token> on suspicious tokens and high-entropy string heuristics. A secret that was ever committed is always a blocking finding, and rotation — not redaction — is the only remediation: removing it from the tip does nothing, and a history scrub is a separate owner decision made after rotation.
  • SSRF / egress — user-influenced URLs fetched without validating the destination host against an allowlist; cloud metadata endpoints (169.254.169.254 and friends) and link-local ranges not blocked; redirects followed to unvalidated hosts.
  • Rate limiting — sensitive or expensive endpoints (auth, password reset, LLM-calling, email-sending) without rate limiting or quota enforcement. Missing limits are a finding, not a nice-to-have.
  • Sensitive data — PII/credentials sent to third parties (including LLM providers) that shouldn't see them; overly broad logging.
  • Input validation — trusting size, type, or shape of external input; unbounded allocations; unsafe deserialization.
  • Transport & config — missing TLS, permissive CORS, disabled auth in a config a deploy might inherit, fail-open where it should fail-closed.
  • Dependencies — known-vulnerable or unpinned dependencies pulled into the change. Run the ecosystem's real audit tool (npm audit, pip-audit, …) and report new advisories; confirm the lockfile was updated alongside the dependency change.

Report

For each finding: the file:line, a concrete exploit scenario (what an attacker sends → what they get), the severity, and a specific fix. Skip theoretical concerns with no realistic path. If a change reaches production data or secrets, treat prod access as opt-in — flag it, don't exercise it.

Verdict

End with exactly one verdict — the release gate reads it by these words:

  • Ship — no unresolved high-severity findings. List what you checked; lower-severity findings may ride as follow-ups.
  • Block — at least one unresolved high-severity finding (including any ever-committed secret). List the blocking findings.

A review that could not be completed returns Block, never Ship. The release gate requires this verdict only when an acceptance criterion on the ticket requires a security review; otherwise it records N/A. State the verdict in the running stage's report as that AC's evidence (the board has no in-flight verdict field; it is copied into the ticket's archive evidence when the ticket lands). A report with no verdict fails the gate.

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.