Agent skill

Commit Security Scan

by Factory-AI in Factory-AI/factory-plugins

Analyze code changes for security vulnerabilities using LLM reasoning and threat model patterns.

No licenceAuto-check passedSecurity

Install Commit Security Scan

skills CLI
$ npx skills add Factory-AI/factory-plugins --skill commit-security-scan -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Factory-AI/factory-plugins commit-security-scan --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Factory-AI/factory-plugins.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/security-engineer/skills/commit-security-scan .claude/skills/commit-security-scan && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
commit-security-scan
GitHub stars
110
Token cost
~2.3k tokens
SKILL.md length
845 words
Files
2
Skills in repo
13
Repo updated
First seen
Licence
None found

At a glance

Analyze code changes for security vulnerabilities using LLM reasoning and threat model patterns.

  • Works in 7 steps: Verify Prerequisites (Auto-Generate if… → Get Changed Files → Load Threat Model → …
  • Pre-commit checks
  • SKILL.md covers When to Use This Skill, Prerequisites, Inputs and Instructions, plus 3 more sections
  • Calls git and gh

What it does

Commit Security Scan is an agent skill from Factory-AI/factory-plugins. Analyze code changes for security vulnerabilities using LLM reasoning and threat model patterns. Use for PR reviews, pre-commit checks, or branch comparisons.

Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `analysis-examples.md`).

It sits in Security, covering Security review, Threat modeling and Pull requests. The repository describes itself as: Official Factory plugins marketplace.

When your agent uses it

  • Pre-commit checks
  • Branch comparisons

Example prompts

  • “/commit-security-scan”

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. Verify Prerequisites (Auto-Generate if Missing)
  2. Get Changed Files
  3. Load Threat Model
  4. Analyze for Vulnerabilities
  5. Assess Each Finding
  6. Generate Report
  7. Report Results

What it can do on your machine

Read from SKILL.md and the folder at commit d362dc1. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • gh

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • owasp.org
    • cwe.mitre.org

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Commit Security Scan loads about 2.3k tokens when it runs. Until then it costs about 45 tokens; SKILL.md has 845 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~45
When it runs · the whole SKILL.md, loaded when a task matches
~2.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 845 words (~2,253 tokens).

“Analyze code changes (commits, PRs, diffs) using LLM-powered reasoning to detect security vulnerabilities. This skill reads code directly and applies patterns from the repository's threat model to identify issues across all STRIDE categories.”

— opening of SKILL.md by Factory-AI
name
commit-security-scan
version
1.0.0
tags
security, scanning, vulnerability-detection, ci-cd

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file in plugins/security-engineer/skills/commit-security-scan of Factory-AI/factory-plugins.

  • SKILL.md
  • analysis-examples.md

Open the folder on GitHubat commit d362dc1

Compare with similar skills

Commit Security Scan next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Commit Security Scan compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Commit Security Scan this skillFactory-AI/factory-plugins110—~2.3kAutomated safety check: PassNone
Levyra Security ReviewLUC4N3X/Levyra-deepsound543—~2.3kAutomated safety check: PassGPL-3.0
GitHub Actions Hardeninggithub/awesome-copilot40k1 repos~2.4kAutomated safety check: PassMIT
Commit Security Scancodexstar69/bug-hunter519—~629Automated safety check: PassMIT
Auditing Code For Vulnerabilitiestrilwu/secskills156—~3.2kAutomated safety check: PassMIT
Audit Browser Security Boundariesnordstjernen-web/northstar-browser112—~920Automated safety check: PassGPL-3.0

Similar skills

  • Levyra Security Review

    LUC4N3X/Levyra-deepsound

    Perform an evidence-based Levyra security review and Codex Security workflow covering threat modeling, attack paths, validation, remediation, revalidation, secrets, provider URLs, redirects, SSRF…

    543 GitHub stars~2.3k tokensUpdated today
    SecurityAuto-check passed
  • GitHub Actions Hardening

    github/awesome-copilot

    Official

    Security hardening reviewer for GitHub Actions workflow files (.github/workflows/.yml).

    40k GitHub starsUsed in 1 repo~2.4k tokens
    DevOps & CloudAuto-check passed
  • Commit Security Scan

    codexstar69/bug-hunter

    Scan code changes for security vulnerabilities using Bug Hunter-native artifacts and STRIDE context.

    519 GitHub stars~629 tokensUpdated 1 mo ago
    SecurityAuto-check passed
  • Audit source code for exploitable vulnerabilities using threat-model-driven review, taint tracing, invariant checking, and variant analysis.

    156 GitHub stars~3.2k tokensUpdated 1 mo ago
    SecurityAuto-check passed
  • Audit Browser Security Boundaries

    nordstjernen-web/northstar-browser

    Audit browser-engine changes that process untrusted content or cross native-memory, origin, network, storage, extension, decoder, sandbox, or operating-system boundaries.

    112 GitHub stars~920 tokensUpdated yesterday
    SecurityAuto-check passed
  • Match identified threats to preventive, detective and corrective controls across network, application, data, endpoint and process layers to plan remediation.

    40k GitHub starsUsed in 7 repos~742 tokens
    SecurityAuto-check passed

More from Factory-AI/factory-plugins

All 13 skills in this repo
  • Autoresearch

    Factory-AI/factory-plugins

    Autonomous experiment loop for optimization research. An agent skill from Factory-AI/factory-plugins.

    110 GitHub stars~4.2k tokensUpdated 21 days ago
    Auto-check passed
  • Ban Type Assertions

    Factory-AI/factory-plugins

    Ban as type assertions in a package via the @typescript-eslint/consistent-type-assertions lint rule, replacing them with compiler-verified type-safe alternatives.

    110 GitHub stars~1.7k tokensUpdated 21 days ago
    Auto-check passed
  • Browser Navigation

    Factory-AI/factory-plugins

    Automate browser interactions for web testing, form filling, screenshots, and data extraction.

    110 GitHub stars~2.7k tokensUpdated 21 days ago
    Auto-check passed
  • Create PR

    Factory-AI/factory-plugins

    Create a pull request with Conventional Commits formatting, a templated body, and local verification.

    110 GitHub stars~2.3k tokensUpdated 21 days ago
    Auto-check passed
  • Droid Control

    Factory-AI/factory-plugins

    Control terminal TUIs, browsers, and native desktop apps for testing, demos, QA, and computer-use tasks.

    110 GitHub stars~3.2k tokensUpdated 21 days ago
    Auto-check: notes
  • Fix Knip Unused Exports

    Factory-AI/factory-plugins

    Fix knip "Unused exports" violations. An agent skill from Factory-AI/factory-plugins.

    110 GitHub stars~2.5k tokensUpdated 21 days ago
    Auto-check passed

Categories

Questions about Commit Security Scan

What does Commit Security Scan do?

Analyze code changes for security vulnerabilities using LLM reasoning and threat model patterns. Commit Security Scan is an agent skill from Factory-AI/factory-plugins. Analyze code changes for security vulnerabilities using LLM reasoning and threat model patterns.

When should I use Commit Security Scan?

Commit Security Scan fits situations like: pre-commit checks; branch comparisons.

How do I install Commit Security Scan in Claude Code?

Run `npx skills add Factory-AI/factory-plugins --skill commit-security-scan -a claude-code`. Or copy the skill folder (plugins/security-engineer/skills/commit-security-scan in Factory-AI/factory-plugins) into .claude/skills/commit-security-scan in your project. Claude Code loads it when a task matches its description.

How do I install Commit Security Scan in Codex?

Run `npx skills add Factory-AI/factory-plugins --skill commit-security-scan -a codex`. Or copy the skill folder (plugins/security-engineer/skills/commit-security-scan in Factory-AI/factory-plugins) into .agents/skills/commit-security-scan in your project. Codex loads it when a task matches its description.

Can I use Commit Security Scan in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Factory-AI/factory-plugins --skill commit-security-scan -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/commit-security-scan, .gemini/skills/commit-security-scan, .github/skills/commit-security-scan and .opencode/skills/commit-security-scan in your project.

What does Commit Security Scan need to run?

Going by SKILL.md and its folder, Commit Security Scan needs the command-line tools its instructions call (git and gh).

Does Commit Security Scan access the network?

SKILL.md names 2 domains. As links in the text: owasp.org and cwe.mitre.org. This is read from the text; nothing was executed.

Is Commit Security Scan safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Commit Security Scan use?

No licence was found for Commit Security Scan or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Commit Security Scan use?

About 2.3k tokens (SKILL.md is roughly 9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Commit Security Scan?

Skills that share tags, products or a category with Commit Security Scan: Levyra Security Review (LUC4N3X/Levyra-deepsound, 543 stars), GitHub Actions Hardening (github/awesome-copilot, 40k stars), Commit Security Scan (codexstar69/bug-hunter, 519 stars) and Auditing Code For Vulnerabilities (trilwu/secskills, 156 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Commit Security Scan?

Factory-AI (a GitHub organization) maintains it in Factory-AI/factory-plugins, which has 110 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on September 15, 2026.

Source: Factory-AI/factory-plugins on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.