Security review pr

From warpdotdev/oz-for-oss · View interactive version

Security review pr is an AI agent skill from the GitHub repository warpdotdev/oz-for-oss. Audit a pull request diff for common security concerns (input validation, sanitization, authentication and authorization, secrets management, unsafe dependencies, and related risks) and fold findings into the same review.json produced by the base PR review. Use as a supplement to `review-pr` wheneve

How to use this skill

Skill file

Security Review PR Skill

Audit the current pull request for security concerns and fold any findings into the same review.json produced by the base review-pr skill.

Goal

Provide a focused security pass on top of the general PR review. This is a supplement to review-pr, not a separate output. Findings must be merged into the single combined review.json so reviewers receive one cohesive review.

Inputs

When to apply this skill

Security concerns to audit

Evaluate each changed hunk against the following concerns. Treat the list as a checklist, not a ceiling โ€” flag other clearly security-relevant issues when they appear.

Input validation and untrusted data

Output encoding and sanitization

Authentication and authorization

Secrets management

Cryptography and randomness

Dependencies and supply chain

Data handling and privacy

Configuration and defaults

Process

  1. Read pr_description.md and pr_diff.txt to understand the scope and intent of the change.
  2. For each changed hunk, consider which of the concerns above could plausibly apply given the surrounding code in the checkout.
  3. Prefer evidence-based findings tied to specific changed lines. If a concern only applies to untouched code, describe it in the review summary instead of as an inline comment.
  4. Do not flag purely stylistic or non-security issues here โ€” those belong in the base review-pr pass.
  5. Do not repeat findings already covered by the base review; if the base pass would naturally catch it, leave it there.

Outputs

Severity mapping

Inline comment requirements

Boundaries

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.