gh-pr-security-review-checklist

gh-pr-security-review-checklist is a skill for Claude Code from tommyvo/useful-prompts. It costs 80 tokens per session (15,751 once invoked), scanned C, original, Unlicense.

A security checklist for reviewing a GitHub pull request, which is a proposed set of code changes. It checks application code, secrets, dependencies, AWS and Terraform infrastructure, CI/CD, containers, and optional SOC 2 or GDPR concerns.

In plain words
What is it for?
Use it to assess a pull request's security and receive a prioritized report with suggested scanners.
Why use it?
It helps identify and prioritize security problems before a pull request is merged. It uses GitHub's command-line tool to inspect the request and its actual changes.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions CLAUDE.md; mentions subagents; mentions AGENTS.md.

Good fit Use it to assess a pull request's security and receive a prioritized report with suggested scanners.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tommyvo/useful-prompts/gh-pr-security-review-checklist
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add tommyvo/useful-prompts --skill gh-pr-security-review-checklist
Clone the repo
git clone --depth 1 https://github.com/tommyvo/useful-prompts

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gh-pr-security-review-checklist

README.md
[![agentmods](https://agentmods.dev/badge/skills/tommyvo/useful-prompts/gh-pr-security-review-checklist/github.svg)](https://agentmods.dev/skills/tommyvo/useful-prompts/gh-pr-security-review-checklist)
Your own site
<a href="https://agentmods.dev/skills/tommyvo/useful-prompts/gh-pr-security-review-checklist"><img src="https://agentmods.dev/badge/skills/tommyvo/useful-prompts/gh-pr-security-review-checklist/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gh-pr-security-review-checklist

Your own site · 80×15
<a href="https://agentmods.dev/skills/tommyvo/useful-prompts/gh-pr-security-review-checklist"><img src="https://agentmods.dev/badge/skills/tommyvo/useful-prompts/gh-pr-security-review-checklist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 15,751 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 3 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00080 $0.15751
Opus 5.5 $0.00032 $0.06300
Sonnet 5.5 $0.00016 $0.03150
Haiku 4.5 $0.00008 $0.01575

Measured 1mo ago against content hash ee271b482e48, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

gh-pr-security-review-checklist scanned grade C with 3 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codemediumSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

7. **Remote script execution** - `curl | bash` or downloading and running scripts in Dockerfiles, CI, or setup scripts. A checksum downloaded from the same place as the script proves nothing. Fix: pin the version and ver

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Cloud metadata endpointmediumServer-side request forgery

One request to 169.254.169.254 can return temporary IAM credentials.

9. **SSRF** - The server fetching a user-supplied URL (webhooks, imports, previews, notification callbacks), including after redirects, DNS rebinding, or URL parser differences. Fix: allowlist hosts, re-check the resolve

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

7. **Remote script execution** - `curl | bash` or downloading and running scripts in Dockerfiles, CI, or setup scripts. A checksum downloaded from the same place as the script proves nothing. Fix: pin the version and ver
Claude Code/Skills/gh-pr-security-review-checklist/SKILL.md · 631 lines

How it starts

The opening of the file, as written. The whole thing — 631 lines — stays where its author put it; the contents beside it link to each section on GitHub.

GitHub PR Security Review Checklist

Review a GitHub Pull Request using the gh CLI and check it against the security checklists below: secrets and obvious exposures, application security, authentication and sessions, client-side and browser, data isolation and lifecycle, messaging and background jobs, resource exhaustion, AI and LLM features, supply chain, infrastructure (Terraform/Atmos on AWS), CI/CD and containers, and optionally compliance and data handling. Every finding must name a real trust boundary and a concrete result, checked against the source; anything that depends on a fact the repository cannot show is reported as a lead to validate, not as a vulnerability. This complements gh-pr-code-review, which only covers security at a general level.

CRITICAL: MANDATORY FIRST STEPS

YOU MUST follow these steps IN ORDER. DO NOT skip any step:

Step 1: Get PR Details (MANDATORY)

Use the gh CLI to gather PR information:

  • IF user provides a PR number → Run gh pr view <number> --json title,body,changedFiles,reviews,comments
  • IF no PR number provided → Run gh pr view --json title,body,changedFiles,reviews,comments to get the current branch's PR

DO NOT proceed without PR metadata.

Step 2: Get Code Diff (MANDATORY)

Get the actual code changes using git:

  1. Run gh pr view <number> --json baseRefName,headRefName to get the base and head branch names
  2. Run git fetch origin to ensure remote refs are up to date
  3. Run git diff origin/<baseRefName>...origin/<headRefName> to get all code changes

This is your primary source of truth for the actual code changes.

Step 3: Get CI/CD Status (MANDATORY)

Run gh pr checks <number> to get CI/CD status.

CRITICAL WARNINGS:

  • DO NOT attempt to review the PR without completing Steps 1-3 first
  • DO NOT use context or memory — use ONLY the output from these commands
  • DO NOT modify the PR

Step 4: Additional Context (Optional)

You MAY read relevant files in the workspace for additional context if needed.

Read the full file on GitHub · 631 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +240 lines · +29 tokens per session ee271b482e48
  2. 2mo ago First seen · 391 lines · 51 tokens per session scan C 4d579916c0d4

Subscribe to this mod's changes

gh-pr-security-review-checklist is a skill published in the GitHub repository tommyvo/useful-prompts (4 stars, last pushed 2d ago), licensed Unlicense. It adds 80 tokens to every session and 15,751 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it C with 3 findings (downloads and executes remote code, cloud metadata endpoint, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-24.

Related

gh-pr-security-review-checklist compared with skills from other repositories

gh-pr-security-review-checklist next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gh-pr-security-review-checklisttommyvo/useful-promptsSkill42d agoUnlicenseC80Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82ktodayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill332k6d agoMITA21Claude Code