agentleFS
The-UrcydoThe-Urcydo/Agents-Skills-Roles-Oriented/skills/review-security/SKILL.md

review-security

Skill2 starsChanged 23 days agoMITView on GitHub

Review a change for security and privacy risk and report findings by severity with a recommended fix. Use when a change touches authentication, data, dependencies, infrastructure, or anything exposed to users.

30 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use review-perf, review-bugbot 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.
  • nielsmadanSkill

    review-perf

    Performance analysis for algorithmic complexity, memory leaks, N+1 queries, and render issues. Use when code feels slow, after adding loops/queries, or before scaling up.

    Also in 5 projects that use this

  • 0mlkrizzz655335vSkill

    review-bugbot

    缺陷导向代码审查。用 Bugbot 子代理找 bug。

    Also in 4 projects that use this

  • MrCipherSmithSkill

    review-performance

    Use when a performance review is requested, checking for N+1 queries, unnecessary re-renders, memory leaks, missing indexes, large bundle imports, and synchronous blocking in changed code. NOT for security, logic correctness, style, or architecture.

    Also in 5 projects that use this

  • Tsumugii24Skill

    split-to-prs

    Split current work into small reviewable PRs. Use when the user asks to split a chat, set of changes, branch, or PR.

    Also in 5 projects that use this

  • dirkkok101Skill

    review-design

    Use before /plan, after /technical-design, when user says "review design", "check the design", or when design quality is uncertain.

    Also in 5 projects that use this

  • 32103210Skill

    create-rule

    Create Cursor rules for persistent AI guidance. Use when you want to create a rule, add coding standards, set up project conventions, configure file-specific patterns, create RULE.md files, or asks about .cursor/rules/ or AGENTS.md.

    Also in 7 projects that use this

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 5 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 28 edited versions we read keep these.

  • 5

    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
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Use this for changes that add inputs, trust boundaries, secrets, dependencies, permissions, or user-facing surface.

    line 12
  2. Distinctive:

    Read the change and the brief.

    line 16
  3. Distinctive:

    Look for the common failures:

    line 18
  4. Very specific:

    Write each finding with impact, evidence, and a recommended fix.

    line 25
  5. Distinctive:

    If a finding needs the human (risk acceptance, disclosure, spend), ask with a recommendation and the cost of guessing wrong.

    line 26
  6. Distinctive:

    Every finding has impact, evidence, and a fix.

    line 32
  7. Very specific:

    Write security-review.md with python3 tools/item_file.py <id> security-review.

    line 39

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

Review security

Use this for changes that add inputs, trust boundaries, secrets, dependencies, permissions, or user-facing surface. It is a focused review, not a substitute for the repository's tests.

Steps

  1. Read the change and the brief. Map what it adds or changes: inputs, data flows, trust boundaries, secrets, dependencies, permissions, and error paths.
  2. Compare the change with the threat model in the repository. If the change adds surface the model does not cover, update the model or recommend the update.
  3. Look for the common failures:
    • untrusted input reaching a shell, query, path, or template;
    • secrets in code, logs, fixtures, or error messages;
    • missing authorization, not just missing authentication;
    • unsafe defaults, permissive CORS, or broad tokens;
    • dependencies with known vulnerabilities or unexpected install scripts;
    • personal data collected, logged, or retained without a reason.
  4. Write each finding with impact, evidence, and a recommended fix. Rank it blocker (must fix before approval), major (must fix or the human accepts), or minor (fix now or log it).
  5. If a finding needs the human (risk acceptance, disclosure, spend), ask with a recommendation and the cost of guessing wrong.
  6. Report; do not fix. Hand the review back through the tracker.

Verify

  • The review names the change and the surfaces it adds.
  • Every finding has impact, evidence, and a fix.
  • Secrets are described by location, not value.
  • The threat model is current, or the update is listed.
  • The human owns any accepted risk.

In Repo-Template

  • Write security-review.md with python3 tools/item_file.py <id> security-review.
  • The threat model lives in docs/security/.
  • Hand back with python3 tools/transition.py <id> <status> --by <role> --next "<next action>" [--evidence "<what you ran>"]; do not fix the findings.

Stop and ask

  • You find an exposed secret, a data-loss risk, or a privacy issue.
  • A finding needs disclosure or risk acceptance.
  • The change needs production access or spend to verify.
  • You cannot tell whether the behavior is intended; ask instead of assuming.

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.