security-review

Review pull request diffs for security vulnerabilities and OWASP categories.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/ohsonerdy/openclaw-frontier-stack --skill security-review-ohsonerdy
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: security-review
Source: https://github.com/ohsonerdy/openclaw-frontier-stack/tree/main/skills/security-review
Command: npx skills add https://github.com/ohsonerdy/openclaw-frontier-stack --skill security-review-ohsonerdy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Security review of a pull request prevents newly introduced vulnerabilities by evaluating a specific diff against common failure modes and data-flow risks before the change ships.

Core Features & Use Cases

  • Diff-scoped audit: Reviews what changed without confusing the task with broader threat modeling.
  • OWASP category pattern matching: Scans for red-flag patterns across broken access control, injection, misconfiguration, and more.
  • Data-flow and secret-handling reasoning: Traces how user-controlled inputs and sensitive data move through trust boundaries, including logging and error paths.
  • Review output structure: Produces diff scope, category findings, cross-cutting concerns, remediations, dependency risk (when relevant), and a justified verdict.

Quick Start

Use this skill to review the attached PR diff by asking: "security review: is this safe to merge?"

Frequently Asked Questions about security-review

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?▼

Review a pull request diff for security vulnerabilities by applying OWASP-category pattern matching to identify broken access controls, injection flaws, and trust boundary issues before merge. This scoped audit isolates newly introduced risks without conflating the review with broader threat modeling.

What security checks should I run on a PR diff to catch injection and access control flaws?▼

Security checks on a PR diff should scan for red-flag patterns across broken access control, injection, and misconfiguration using OWASP category matching. Additionally, tracing how user-controlled inputs and sensitive data move through trust boundaries catches cross-cutting data-flow concerns.

How does data-flow and secret-handling analysis work during a PR security review?▼

Data-flow and secret-handling analysis traces how user-controlled inputs and sensitive data move through trust boundaries during a PR security review. It evaluates cross-cutting concerns by tracking data through logging and error paths to ensure secrets are not exposed.

Can I get a structured OWASP-category assessment for my pull request changes?▼

You can get a structured OWASP-category assessment for pull request changes that includes diff scope, category findings, cross-cutting concerns, remediation guidance, dependency-risk evaluation, and a justified security verdict. This structured output guides pre-deployment auditing and triage.

Does the security review evaluate dependency risks alongside the code diff?▼

The security review evaluates dependency risks alongside the code diff when applicable. It integrates dependency-risk evaluation into the final structured assessment to provide a justified security verdict and comprehensive remediation guidance prior to merge.

When should I use a diff-scoped security audit instead of broader threat modeling?▼

Use a diff-scoped security audit instead of broader threat modeling when you need to prevent newly introduced vulnerabilities in a specific pull request. It focuses strictly on what changed to evaluate common failure modes and data-flow risks before the change ships.