Skip to content
Agent Orchestration
Skill

/pr-security-review

Security review of one PR's diff against its base branch — high-confidence, exploitable vulnerabilities only (injection, auth bypass, crypto and secrets, code execution, data exposure), each false-positive-filtered by a parallel sub-task. The super-qa Tester lane runs it on

From plugin
super-board
67010 skills7 hooks

Claude Code

$ npx -y skills add EricTechPro/super-board --skill pr-security-review --agent claude-code

SKILL.md

pr-security-review.SKILL.md
name: pr-security-review
description: Security review of one PR's diff against its base branch — high-confidence, exploitable vulnerabilities only (injection, auth bypass, crypto and secrets, code execution, data exposure), each false-positive-filtered by a parallel sub-task. The super-qa Tester lane runs it on every PR; each finding fails QA and goes back to Build. Use when the user says "pr security review", "/pr-security-review", or wants a security pass on a branch or PR diff. Not Claude Code's built-in /security-review; for a deep whole-repo audit use security-audit.
allowed-tools: Bash(git diff:*), Bash(git status:*), Bash(git log:*), Bash(git show:*), Bash(git remote show:*), Bash(git fetch:*), Bash(gh pr view:*), Read, Glob, Grep, LS, Task

<!-- Ported from anthropics/claude-code-security-review, .claude/commands/security-review.md (commit 0c6a49f), MIT License, Copyright (c) 2025 Anthropic — full text in ./LICENSE. Only change: the diff target is the PR's base branch instead of origin/HEAD, collected by the commands below instead of `!` shell injection. The prompt after them is verbatim. -->

You are a senior security engineer conducting a focused security review of the changes on this branch.

Collect the review context first. `<base>` is the PR's base branch (`gh pr view <PR> --json baseRefName --jq .baseRefName`); with no PR, use the branch's upstream base, and only then `origin/HEAD`. Run `git fetch origin <base>` once, then:

GIT STATUS:

git status

FILES MODIFIED:

git diff --name-only origin/<base>...

COMMITS:

git log --no-decorate origin/<base>...

DIFF CONTENT:

git diff --merge-base origin/<base>

Review the complete diff above. This contains all code changes in the PR.

OBJECTIVE: Perform a security-focused code review to identify HIGH-CONFIDENCE security vulnerabilities that could have real exploitation potential. This is not a general code review - focus ONLY on security implications newly added by this PR. Do not comment on existing security concerns.

CRITICAL INSTRUCTIONS: 1. MINIMIZE FALSE POSITIVES: Only flag issues where you're >80% confident of actual exploitability 2. AVOID NOISE: Skip theoretical issues, style concerns, or low-impact findings 3. FOCUS ON IMPACT: Prioritize vulnerabilities that could lead to unauthorized access, data breaches, or system compromise 4. EXCLUSIONS: Do NOT report the following issue types:

  • Denial of Service (DOS) vulnerabilities, even if they allow service disruption
  • Secrets or sensitive data stored on disk (these are handled by other processes)
  • Rate limiting or resource exhaustion issues

SECURITY CATEGORIES TO EXAMINE:

**Input Validation Vulnerabilities:**

  • SQL injection via unsanitized user input
  • Command injection in system calls or subprocesses
  • XXE injection in XML parsing
  • Template injection in templating engines
  • NoSQL injection in database queries
  • Path traversal in file operations

**Authentication & Authorization Issues:**

  • Authentication bypass logic
  • Privilege escalation paths
  • Session management flaws
  • JWT token vulnerabilities
  • Authorization logic bypasses

**Crypto & Secrets Management:**

  • Hardcoded API keys, passwords, or tokens
  • Weak cryptographic algorithms or implementations
  • Improper key storage or management
  • Cryptographic randomness issues
  • Certificate validation bypasses

**Injection & Code Execution:**

  • Remote code execution via deseralization
  • Pickle injection in Python
  • YAML deserialization vulnerabilities
  • Eval injection in dynamic code execution
  • XSS vulnerabilities in web applications (reflected, stored, DOM-based)

**Data Exposure:**

  • Sensitive data logging or storage
  • PII handling violations
  • API endpoint data leakage
  • Debug information exposure

Additional notes:

  • Even if something is only exploitable from the local network, it can still be a HIGH severity issue

ANALYSIS METHODOLOGY:

Phase 1 - Repository Context Research (Use file search tools):

  • Identify existing security frameworks and libraries in use
  • Look for established secure coding patterns in the codebase
  • Examine existing sanitization and validation patterns
  • Understand the project's security model and threat model

Phase 2 - Comparative Analysis:

  • Compare new code changes against existing security patterns
  • Identify deviations from established secure practices
  • Look for inconsistent security implementations
  • Flag code that introduces new attack surfaces

Phase 3 - Vulnerability Assessment:

  • Examine each modified file for security implications
  • Trace data flow from user inputs to sensitive operations
  • Look for privilege boundaries being crossed unsafely
  • Identify injection points and unsafe deserialization

REQUIRED OUTPUT FORMAT:

You MUST output your findings in markdown. The markdown output should contain the file, line number, severity, category (e.g. `sql_injection` or `xss`), description, exploit scenario, and fix recommendation.

For example:

Vuln 1: XSS: `foo.py:42`

  • Severity: High
  • Description: User input from `username` parameter is directly interpolated into HTML without escaping, allowing reflected XSS attacks
  • Exploit Scenario: Attacker crafts URL like /bar?q=<script>alert(document.cookie)</script> to execute JavaScript in victim's browser, enabling session hijacking or data theft
  • Recommendation: Use Flask's escape() function or Jinja2 templates with auto-escaping enabled for all user inputs rendered in HTML

SEVERITY GUIDELINES:

  • **HIGH**: Directly exploitable vulnerabilities leading to RCE, data breach, or authentication bypass
  • **MEDIUM**: Vulnerabilities requiring specific conditions but with significant impact
  • **LOW**: Defense-in-depth issues or lower-impact vulnerabilities

CONFIDENCE SCORING:

  • 0.9-1.0: Certain exploit path identified, tested if possible
  • 0.8-0.9: Clear vulnerability pattern with known exploitation methods
  • 0.7-0.8: Suspicious pattern requiring specific conditions to exploit
  • Below 0.7
Read more
@erictechpro
Ships withsuper-board

Autonomous GitHub Project build → QA → review loop for Claude Code. One-line install.

Stars on GitHub

Momentum

stars in total
670
Star history of EricTechPro/super-board on GitHub, a chart by star-history.com

Other skills on super-board.

git-sync

git-sync

Sync the current branch in one pass — commit the working tree as one commit per logical change (in the host repo's commit format,…

super-board

super-board

GitHub-Project-driven autonomous pipeline. Five verbs — onboard, lint, status, run, stop — that take a Project board from empty…

super-build

super-build

Builder lane of the super-board pipeline — takes a `Ready` GitHub Project card into its own per-issue git worktree, makes the…

super-collect

super-collect

Find problems in one project, verify each, write one findings doc and hand it to Matt Pocock's /to-spec then /to-tickets; 1–5…

super-qa

super-qa

Super QA canonical workflow for functional bug-bash, evidence capture, and fix-ready issue filing. Crawls routes from…

project-verifier

project-verifier

Run affected app feature checks, inspect evidence, or maintain this project's verifier when source or accepted behavior changes.

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

clawdis2w393k
@steipete@steipeteInstall Skill
computer-use

computer-use

Drives the GUI of a visible local app window through `orca computer`: accessibility tree, clicks, typing, menus, dialogs, and…

orca2w111k
@stablyai@stablyaiInstall Skill
agentmail

agentmail

Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…

paperclip2w109k
@paperclipai@paperclipaiInstall Skill
adr-create

adr-create

Create a new Architecture Decision Record with sequential numbering and AgentDB registration

@ruvnet@ruvnetInstall Skill

Questions about pr-security-review.

Which coding agents can use pr-security-review?
pr-security-review installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.