Skip to main content
skill CX Codex

security-review · factory-ai — Claude Code skill: scan code for vulnerabilities

security-review scans code changes for security flaws using STRIDE threat modeling, validates exploitability, and outputs structured reports for downstream patching.

no license 168 installs ★ 129 updated 2026-10-25

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add Factory-AI/factory-plugins --skill security-review -a claude-code
Open on GitHub

What security-review does

The skill detects SQL injection, XSS, IDOR, command injection, hardcoded secrets, and other vulnerabilities in commits, pull requests, or entire repositories. Runs in four modes: PR review before merge, weekly scan of the last seven days, full repository audit, and manual trigger via @droid security in PR comments. For each finding, it assigns a STRIDE category (spoofing, tampering, information disclosure, denial of service, elevation of privilege), pinpoints the file and line range, describes an exploit scenario, and suggests a fix. It also checks dependencies for known CVEs and evaluates whether vulnerable code paths are reachable.

Requires a .factory/threat-model.md file with a STRIDE threat model — if missing, the skill generates one automatically on first run. If the model is older than 90 days, PR mode warns and proceeds with the existing model, while weekly and full modes regenerate it before scanning. Results are saved to security-findings.json and validated-findings.json, which the security-patch-generation skill then uses to create fixes automatically.

What it helps with

  • check a pull request for SQL injection, XSS, and leaked secrets
  • find vulnerabilities in commits from the past week
  • run a full security audit of a repository
  • assess exploitability of dependency CVEs in the project
  • produce a structured report for automated patch generation

Example prompts for the agent

  • Check this PR for security vulnerabilities
  • Scan all commits from the last seven days for SQL injection and XSS
  • Run a full STRIDE security audit on the repository

How to install security-review

1Skills CLI (Vercel)

npx skills add Factory-AI/factory-plugins --skill security-review -a claude-code

2Manually: put the files in place

~/.claude/skills/security-review/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/security-review/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about security-review

How do I install security-review in Claude Code?

Run npx skills add Factory-AI/factory-plugins --skill security-review -a claude-code, and the skill will appear at ~/.claude/skills/security-review/SKILL.md.

What does the security-review skill do?

It scans code changes for vulnerabilities like SQL injection, XSS, IDOR, command injection, and data leaks, checks dependencies for known CVEs, evaluates whether findings are exploitable, and produces a structured report with remediation recommendations.

What does security-review need to work?

A .factory/threat-model.md file with a STRIDE threat model. If the file is missing, the skill generates it automatically on first run. You also need a Git repository with code to analyze.

Similar skills

All skills for Security →

security-review by other authors comes first.

security-review official github security-review reviews code and dependencies for vulnerabilities, exposed secrets, and access-control flaws. Use it before a release or when auditing a project path. CX Codex +1 5,500installs security-review getsentry security-review finds injections, XSS, authorization flaws, and other vulnerabilities in code. Reports only high-confidence findings. CX Codex +1 23,800installs security-review waybarrios security-review is a Claude Code skill that checks Git changes for high-confidence vulnerabilities with credible exploitation paths. It runs before merging when general code review is insufficient. CX Codex +1 760installs security-review kklimuk The security-review Claude Code skill scans changed files for security flaws and returns findings by severity. It activates on requests for a security audit or vulnerability check. CX Codex +1 ★ 251repo stars security-review relatedb The security-review Claude Code skill reviews code changes for security risks and suggests remediations. It activates for auth or permission changes, secrets and PII handling, public endpoints, and dependency upgrades. CX Codex +1 ★ 423repo stars security-engineer josstei security-engineer — a subagent for checking code against OWASP Top 10 vulnerabilities, auditing authentication, and scanning dependencies. Builds threat models and delivers prioritized remediation reports. CX Codex ★ 489repo stars review-security Rudolf S. review-security is a Claude Code subagent that checks code and dependency changes for vulnerabilities and supply-chain risks. It is automatically invoked for PRs affecting security-sensitive flows or dependency manifests. CX Codex ★ 587repo stars sparkfinderoven-security-compliance-suite reason-machines sparkfinderoven-security-compliance-suite automates OWASP vulnerability checks, dependency CVE scans, and SOC2 or GDPR audits inside your development workflow. Designed for security assessments during coding. CX Codex +1 725installs cve-mcp-server-security-intelligence reason-machines cve-mcp-server-security-intelligence — a skill that runs a local MCP server and hands the agent 27 tools for CVE work: CVSS and EPSS scores, CISA KEV status, exploit hunting and a composite risk score. CX Codex +1 229installs dependency-check ruvnet dependency-check scans project dependencies for known vulnerabilities and CVEs. Run before releases, after lockfile changes, or when investigating security advisories. CX Codex +1 749installs absolute-audit dhruvjainin absolute-audit — a security-audit skill for Claude Code checks dependencies for CVEs and scans code for risky patterns. It activates on requests to audit security, find secrets, or harden a repository. CX Codex +1 592installs

From the same set17

The whole set →
no-use-effect no-use-effect — a skill that stops the agent from writing useEffect in React code and points to five replacements. Useful during refactors and PR review. CX Codex +1 1,100installs human-writing The human-writing skill spots formulaic AI-style wording and revises it while keeping the intended meaning. Use it when editing docs, emails, blog posts, or PRDs. CX Codex +1 630installs frontend-design The frontend-design skill guides an agent through planning and building web interfaces, from layout and type to responsive states. Use it for a new site or a visual refresh. CX Codex +1 172installs visual-design visual-design is a Claude Code skill that uses nanobanana CLI to create or edit project visuals and Slidev to build presentations. It covers asset, diagram, photo-editing, and slide-deck requests. CX Codex +1 167installs threat-model-generation threat-model-generation — a skill for Claude Code, Codex, Cursor, and other agents that builds a STRIDE threat model from a repository's codebase. CX Codex +1 151installs ban-type-assertions ban-type-assertions is a Claude Code skill that blocks TypeScript as assertions and guides their replacement with compiler-checked code. It runs when a package adopts the ban or needs existing lint violations fixed. CX Codex +1 151installs fix-knip-unused-exports fix-knip-unused-exports resolves knip “Unused exports” violations by removing or relocating exports that have no production consumers. Use when npm run knip reports unused code. CX Codex +1 147installs skill-creation skill-creation converts past session breakthroughs into reusable agent skills inside SKILL.md files. Helps extract repeatable patterns and refine existing instructions. CX Codex +1 142installs

Project sponsors

Companies that keep this analytics open