agentleFS
ryanschueryanschue/automated-product-engineer/skills/security-review/SKILL.md

security-review

Skill0 starsChanged 26 days agoMITView on GitHub

Perform a security-focused review of pending branch or pull-request changes. Use for authentication, authorization, untrusted input, secrets, uploads, serialization, external integrations, or sensitive-data exposure, and report only high-confidence newly introduced vulnerabilities.

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

6 rules. 0 are common, 4 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 167 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read references/threat-tracing.md for trust-boundary mapping, source-to-sink tracing, exploitability filters, and the required finding …

    line 10
  2. Distinctive:

    Read references/supabase-auth-sessions.md when the scoped change uses Supabase Auth, cookie sessions, SSR clients, API keys, RLS, Realtime …

    line 12
  3. Very specific:

    Use codebase-upgrade for a broad repository assessment.

    line 14
  4. Very specific:

    Read ../codebase-upgrade/references/pattern-atlas.md for identity-scoped-cache, object-tenant-authorization, webhook-inbox, …

    line 16
  5. Distinctive:

    Use an independent verification pass when practical.

    line 46
  6. Distinctive:

    Do not publish comments, change code, or disclose sensitive proof material unless the user authorized it.

    line 52

“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 the security impact introduced by the scoped diff. This is not a general correctness or hardening audit.

Read references/threat-tracing.md for trust-boundary mapping, source-to-sink tracing, exploitability filters, and the required finding format.

Read references/supabase-auth-sessions.md when the scoped change uses Supabase Auth, cookie sessions, SSR clients, API keys, RLS, Realtime authorization, or reports intermittent logout and redirect failures.

Use codebase-upgrade for a broad repository assessment. Return here only after the audit identifies a concrete auth, secret, authorization, session, or data-isolation path that needs exploitability review.

Read ../codebase-upgrade/references/pattern-atlas.md for identity-scoped-cache, object-tenant-authorization, webhook-inbox, resumable-upload, and server-enforced-feature-flag. Use the atlas proof as the minimum negative-test matrix, then extend it for the repository's actual threat boundary.

Intake and pushback

Resolve the exact diff, actors, protected resources, trust boundaries, deployment context, and existing controls from code and repository guidance first. Ask only when missing identity, tenancy, data-sensitivity, or integration assumptions prevent a confident exploitability decision. If a system owner must clarify the contract, provide a concise request naming the entry point, protected action or data, observed enforcement, and exact assumption that needs confirmation.

Pin the threat surface

  • Establish the exact base, head, changed files, and repository security guidance.
  • Identify trust boundaries, actors, protected resources, sensitive data, and privileged operations touched by the change.
  • Trace untrusted data from entry points through validation and authorization to storage, rendering, network, filesystem, process, or code-execution sinks.
  • Compare new code with established secure patterns in the repository.

Examine

  • authentication bypass, session mistakes, and confused identity
  • missing object-, tenant-, or operation-level authorization
  • SQL, command, template, path, XML, and code injection
  • unsafe deserialization, upload handling, archive extraction, and content-type trust
  • reflected, stored, or DOM script injection where framework escaping is bypassed
  • credential disclosure, weak cryptography or randomness, and certificate-validation bypass
  • sensitive-data leakage through responses, logs, analytics, caches, or cross-user state
  • server-side request forgery with meaningful access to protected resources
  • webhook, replay, signature, idempotency, and external-writer weaknesses

Filter false positives

Report only high or medium severity issues with a concrete exploit path and strong confidence. Exclude style concerns, generic hardening, dependency age without an exploitable path, resource exhaustion, rate-limit requests, test-only code, and pre-existing problems. Verify whether framework protections or a downstream authorization check already closes the path.

Use an independent verification pass when practical. Drop any proposed finding whose exploit conditions cannot be demonstrated by code reasoning.

Output

Return findings ordered by severity. Each finding must include file:line, category, affected actor or data, exploit prerequisites, end-to-end exploit scenario, confidence, and the smallest robust fix. If none qualify, state that no high-confidence security vulnerabilities were found in the scoped change.

Do not publish comments, change code, or disclose sensitive proof material unless the user authorized it.

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.