security-pr-reviewer

Reviews code diffs for vulnerabilities and authorization failures before merge.

2|Updated Jul 6, 2026
One-click install
npx skills add https://github.com/nguyenpv1980-wq/Project-Aegis --skill security-pr-reviewer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-pr-reviewer
Source: https://github.com/nguyenpv1980-wq/Project-Aegis/tree/main/.claude/skills/security-pr-reviewer
Command: npx skills add https://github.com/nguyenpv1980-wq/Project-Aegis --skill security-pr-reviewer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill reviews an actual code diff for security risk before merge, helping catch authorization gaps, injection flaws, secrets exposure, and control regressions that a general review might miss.

Core Features & Use Cases

  • Diff-Driven Security Review: Analyzes a real PR, branch delta, staged changes, or commit diff rather than a verbal description.
  • Authorization and Tenant Checks: Verifies object-level authorization and server-derived tenant scoping on SaaS data paths, including anti-IDOR checks.
  • Injection and Secret Hunting: Looks for SQL, NoSQL, shell, template, deserialization, SSRF, redirect, and secrets handling issues.
  • Security Verdicts: Produces severity-ranked findings with file and line evidence, exploit paths for high-severity issues, remediation guidance, and an approve or request-changes decision.
  • Use Case: Use it when a PR adds a new endpoint, relaxes a security control, or touches auth, uploads, external calls, or data access logic.

Quick Start

Ask for a security review of the actual diff for your PR or branch and include the base ref so the Skill can inspect the changed files and return a verdict with evidence.

Frequently Asked Questions about security-pr-reviewer

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

FAQPage Schema
How do I review a pull request diff for security vulnerabilities before merge?

Reviewing a pull request diff for security vulnerabilities requires analyzing the actual code changes for authorization gaps, injection flaws, and control regressions. This skill inspects branch deltas or staged changes to provide severity-ranked findings with file and line evidence.

What is object-level authorization checking and how does it prevent IDOR in SaaS applications?

Object-level authorization checking prevents IDOR by verifying server-derived tenant scoping on data access paths. It ensures users cannot access other tenants' objects by manipulating identifiers, validating that authorization checks are enforced on the server side before returning data.

How do I check my code diff for injection flaws and exposed secrets?

Checking a code diff for injection flaws involves scanning changed files for SQL, NoSQL, shell, template, deserialization, and SSRF vulnerabilities. The review also identifies exposed secrets and verifies secure handling of external calls and upload logic.

Can this security review tool analyze staged changes and branch deltas, not just verbal descriptions?

Yes, this security review tool analyzes actual code diffs from pull requests, branch deltas, staged changes, or commits. It requires the real diff and base ref rather than a verbal description to accurately inspect changed files and return a verdict with evidence.

When do I need a dedicated security review for my pull request?

You need a dedicated security review when a pull request adds a new endpoint, relaxes a security control, or touches authentication, uploads, external calls, or data access logic. These changes introduce risks that a general code review might miss.

What is exploit-path-backed severity ranking in a security review?

Exploit-path-backed severity ranking evaluates vulnerabilities by mapping the actual exploitation path for high-severity issues. It anchors findings to file and line numbers, providing remediation guidance and an approve or request-changes decision based on demonstrated risk.