speckit-security-review-branch

Analyze branch or PR diffs for security vulnerabilities across injection, secrets, and authorization domains.

Updated Mar 16, 2026
One-click install
npx skills add https://github.com/B0yZ4kr14/OrthoPlus-Enterprise --skill speckit-security-review-branch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: speckit-security-review-branch
Source: https://github.com/B0yZ4kr14/OrthoPlus-Enterprise/tree/main/.specify-backups/20260518-141826/_agents/skills/speckit-security-review-branch
Command: npx skills add https://github.com/B0yZ4kr14/OrthoPlus-Enterprise --skill speckit-security-review-branch

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It reduces the risk of shipping vulnerable code by focusing a security review specifically on what changed in a branch or pull request diff, rather than auditing the entire codebase.

Core Features & Use Cases

  • Diff-Scoped Security Review: Audits only the introduced changes by determining the review scope from user-supplied branches or by detecting changed files.
  • Targeted Vulnerability Analysis: Checks the diff for injection risks, hardcoded secrets, broken access control, insecure cryptography, misconfigurations, and insecure data handling.
  • Spec-Kit Memory Hub Integration: Optionally uses memory-md context or a markdown-only fallback to apply security constraints and preserve durable guidance patterns.
  • Actionable Findings Output: Produces severity-tagged findings with OWASP category, CWE, remediation guidance, and prioritized action steps.

Quick Start

Run the branch security review for your PR changes to get a targeted security report for the updated code only.

Frequently Asked Questions about speckit-security-review-branch

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run a security review on a git diff for a pull request?

To run a security review on a git diff, the tool identifies changed files in your pull request and analyzes only the introduced code changes for vulnerabilities like injection and hardcoded secrets. It outputs severity-tagged findings with remediation guidance.

What is diff-scoped branch analysis for vulnerability triage?

Diff-scoped vulnerability triage is the process of auditing only the code changes introduced in a branch rather than the entire codebase. This targets security risks like broken access control, insecure cryptography, and misconfigurations specifically within your git diff.

Does the security review check for OWASP and CWE vulnerabilities in changed files?

Yes, the security review checks changed files for OWASP categories and CWE vulnerabilities. It analyzes the diff for injection risks, authorization flaws, input validation issues, and insecure data handling, generating actionable findings with prioritized action steps.

Can I use memory-md context to apply security constraints during a branch analysis?

Yes, you can use memory-md context to apply security constraints during branch analysis. The review optionally leverages memory-md context or explicit markdown document reads to preserve durable guidance patterns and satisfy Spec-Kit integration requirements.

What is the best way to triage hardcoded secrets in feature branch development?

The best way to triage hardcoded secrets in feature branch development is to use a diff-scoped review that targets only the updated code. This quickly identifies sensitive data handling issues across the introduced changes without scanning the entire repository.