agentleFS
nesnilnehcnesnilnehc/ai-cortex/skills/review-security/SKILL.md

review-security

Skill8 starsChanged 2 months agoMITView on GitHub

Review code and configuration against the canonical security quality Rule set. Resolves trust-boundary profiles, gathers tool-assisted evidence and emits findings traceable to stable Rule IDs.

22 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use review-bugbot, origin 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.
  • 0mlkrizzz655335vSkill

    review-bugbot

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

    Also in 5 projects that use this

  • 0mlkrizzz655335vSkill

    origin

    origin CLI 管理。安装、登录、更新、修复 origin.cursor.com 的 CLI。"disabled-environments:

    Also in 3 projects that use this

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

  • PandelisZSkill

    update-cli-config

    View and modify Cursor CLI configuration settings in ~/.cursor/cli-config.json. Use when the user wants to change CLI settings, configure permissions, switch approval mode, enable vim mode, toggle display options, configure sandbox, or manage any CLI preferences.

    Also in 4 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

  • 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

  • +1 more from 0mlkrizzz655335v

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 19 edited versions we read keep these.

  • 6

    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. Distinctive:

    Follow data and authorization across the complete reachable path.

    line 37
  2. Distinctive:

    Do not invent security criteria or restate the Rule checklist.

    line 47
  3. Distinctive:

    Do not claim a vulnerability scan ran when no tool result exists.

    line 48
  4. Distinctive:

    Do not expose secret values in findings.

    line 49
  5. Distinctive:

    Do not approve waivers or lower a severity to make a gate pass.

    line 50
  6. Distinctive:

    Do not repair unless the caller invokes a repair capability.

    line 51
  7. Very specific:

    Do not restate an observability obligation about where a failure is recorded.

    line 52

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

Skill: Review Security

Purpose

Evaluate the supplied scope against security-quality. The Rule owns the security criteria; this Skill resolves applicability, gathers evidence and emits findings-list output with category cognitive-security.

Core objective

Produce complete, location-precise security findings for all applicable failed Rule items without treating tool output as proof beyond its coverage.

Success requires the active Rule version, resolved profiles and waivers, one decision per applicable item, a Rule ID in every finding and a coverage footer separating pass, waiver, N/A and evidence limitations.

Scope boundaries

This Skill covers security only. Scope selection, language/framework conventions, architecture, reliability, performance, observability, test quality and fixes belong to other Skills. It may inspect manifests and configuration needed by applicable security items, but it must not broaden into a general dependency or operations audit.

Use cases

  • Security-focused review of code, configuration or dependency changes
  • The security cognitive step in orchestrate-code-review
  • Review of a public entry point, authenticated flow, sensitive-data path or supply-chain change

Behavior

  1. Load security-quality and record its version.
  2. Resolve active profiles and parameters from project contracts, data classification, entry points, manifests and .ai-cortex/config.yaml. Validate any waiver against rule-modeling.
  3. Gather the evidence named by each applicable item. Prefer repository-native secret, dependency and static-analysis results, then inspect source-to-sink flows, access-control placement, defaults, cryptographic calls and telemetry.
  4. Follow data and authorization across the complete reachable path. Do not clear a Rule merely because one layer validates it when a later layer bypasses that control.
  5. Emit one finding per failed obligation, cite the fully qualified Rule ID in its description and use the Rule's default severity unless concrete impact justifies a documented adjustment.
  6. Return Rule coverage using the exact passed, waived, not_applicable and evidence_limited fields from the findings-list Spec.

Input and output

Input is an already selected code/configuration scope. Output follows findings-list; every finding uses category cognitive-security and cites security-quality@<version>/<SEC-ID>.

Restrictions

  • Do not invent security criteria or restate the Rule checklist.
  • Do not claim a vulnerability scan ran when no tool result exists.
  • Do not expose secret values in findings; identify the location and credential type only.
  • Do not approve waivers or lower a severity to make a gate pass.
  • Do not repair unless the caller invokes a repair capability.
  • Do not restate an observability obligation about where a failure is recorded. This Skill owns whether security telemetry is actionable and non-disclosing; review-observability owns whether a terminal failure is recorded once at its owning boundary.

Self-Check

  • The canonical security Rule and version were loaded.
  • Trust-boundary profiles, parameters and waivers were resolved from evidence.
  • Every applicable SEC item has a pass, finding, valid waiver or evidence limitation.
  • Findings are precise, actionable, secret-safe and traceable to Rule IDs.
  • Tool coverage was not overstated and no criteria were duplicated.

Examples

Example 1: user input reaches a shell

Trace request input to a string-built process command. Emit a critical finding citing SEC-001 at the sink and suggest the parameterized process API plus domain validation.

Example 2: dependency scan unavailable

For a lockfile change, inspect provenance and pinning but mark the vulnerability-assessment evidence for SEC-006 as limited; do not report it as passed.

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.