agentleFS
anhnguyen0905anhnguyen0905/codex-mcp/skills/review-security/SKILL.md

review-security

Skill4 starsChanged 7 days agoMITView on GitHub

Security review checklist for Codex output — secrets, injection, validation, authz, and unsafe operations, with mandatory triggers.

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

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

  • 0

    Common

    Most of the 28 edited versions we read keep these.

  • 1

    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:

    Secrets: no hardcoded API keys/passwords/tokens in code or tests.

    line 14
  2. Distinctive:

    Validation at trust boundaries: every external input (HTTP body/params, file content, env, third-party API responses) validated before use.

    line 16

“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

Security Review

Mandatory triggers (never skip when the diff touches these)

Auth/session logic · user input handling · database queries · file system paths from input · external API calls · crypto · payments · anything reading env/config secrets · a non-code deliverable that could embed secrets, credentials, PII, or internal data that must not leave the workspace (check the content, not just code).

Checklist

  • Secrets: no hardcoded API keys/passwords/tokens in code or tests; secrets come from env/config; nothing secret in log output or error messages. Grep the diff for key|token|secret|password literals.
  • Injection: SQL via parameterized queries only (no string concatenation); shell commands via arg arrays, never interpolated strings; HTML output escaped or sanitized (XSS); path traversal — user input never joined into file paths without normalization + allowlist.
  • Validation at trust boundaries: every external input (HTTP body/params, file content, env, third-party API responses) validated before use; server-side validation present even when the client validates.
  • AuthN/AuthZ: protected routes actually check permissions; object-level access control (user A can't fetch user B's resource by ID); no auth decisions from client-supplied fields.
  • Unsafe patterns: eval/dynamic code execution, pickle/unsafe deserialization of external data, disabled TLS verification, permissive CORS (* with credentials), weak or home-rolled crypto.
  • Dependencies: any dependency Codex added — check it's the package intended (typosquats), reasonably maintained, and actually needed.
  • Error leakage: stack traces, internal paths, or query details never sent to end users.

Severity default

A confirmed vulnerability in these categories is CRITICAL or HIGH — it blocks completion and goes back to Codex in the current round, never "noted for later".

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.