Agent skill

Security Review

by asgeirtj in asgeirtj/system_prompts_leaks

Complete a security review of the pending changes on the current branch

CC0-1.0Auto-check passedSecurity

Install Security Review

skills CLI
$ npx skills add asgeirtj/system_prompts_leaks --skill security-review -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install asgeirtj/system_prompts_leaks security-review --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/asgeirtj/system_prompts_leaks.git skills-src && mkdir -p .claude/skills && cp -r skills-src/Anthropic/claude-code/skills/security-review .claude/skills/security-review && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
security-review
GitHub stars
69k
Token cost
~2.7k tokens
SKILL.md length
1,464 words
Files
1
Skills in repo
128
Repo updated
First seen
Licence
CC0-1.0

At a glance

Complete a security review of the pending changes on the current branch

  • Works in 4 steps: MINIMIZE FALSE POSITIVES: Only flag… → AVOID NOISE: Skip theoretical issues,… → FOCUS ON IMPACT: Prioritize… → …
  • Tasks that involve Security review
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Security Review is an agent skill from asgeirtj/system_prompts_leaks. Complete a security review of the pending changes on the current branch

Its SKILL.md is about 2.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Security, covering Security review. The repository describes itself as: Documented system prompts from Anthropic - Claude Fable 5.1, Opus 5.5, Claude Design, Claude Code. OpenAI - ChatGPT GPT-6-Astra, Codex. Google - Gemini 3.8 Flash, 3.1 Pro… The licence is CC0-1.0.

When your agent uses it

  • Tasks that involve Security review

Example prompts

  • “/security-review”

Requirements

  • Python 3
  • Pre-approved tools (allowed-tools): Bash(git diff *), PowerShell(git diff *), Bash(git status *), PowerShell(git status *), Bash(git log *), PowerShell(git log *), Bash(git show *), PowerShell(git show *), Bash(git remote show *), PowerShell(git remote show *), Read, Glob, Grep, LS, Task

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  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

What it can do on your machine

Read from SKILL.md and the folder at commit 60d44cc. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash(git diff *)
    • PowerShell(git diff *)
    • Bash(git status *)
    • PowerShell(git status *)
    • Bash(git log *)
    • PowerShell(git log *)
    • Bash(git show *)
    • PowerShell(git show *)
    • Bash(git remote show *)
    • PowerShell(git remote show *)

    …and 5 more on the same allowed-tools line.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Security Review loads about 2.7k tokens when it runs. Until then it costs about 22 tokens; SKILL.md has 1,464 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~22
When it runs · the whole SKILL.md, loaded when a task matches
~2.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from asgeirtj/system_prompts_leaks at commit 60d44cc, republished under its CC0-1.0 licence (© asgeirtj). 1,464 words, ~2,732 tokens.

Download SKILL.mdSave it as .claude/skills/security-review/SKILL.md (or your agent's skills folder).
name
security-review
description
Complete a security review of the pending changes on the current branch
allowed-tools
Bash(git diff *), PowerShell(git diff *), Bash(git status *), PowerShell(git status *), Bash(git log *), PowerShell(git log *), Bash(git show *), PowerShell(git show *), Bash(git remote show *), PowerShell(git remote show *), Read, Glob, Grep, LS, Task

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

GIT STATUS:

<git status output>

FILES MODIFIED:

<list of modified files>

COMMITS:

<commit log>

DIFF CONTENT:

<full diff>

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: Don't report (too speculative)

FINAL REMINDER: Focus on HIGH and MEDIUM findings only. Better to miss some theoretical issues than flood the report with false positives. Each finding should be something a security engineer would confidently raise in a PR review.

FALSE POSITIVE FILTERING:

You do not need to run commands to reproduce the vulnerability, just read the code to determine if it is a real vulnerability. Do not use the bash tool or write to any files.

HARD EXCLUSIONS - Automatically exclude findings matching these patterns:

  1. Denial of Service (DOS) vulnerabilities or resource exhaustion attacks.
  2. Secrets or credentials stored on disk if they are otherwise secured.
  3. Rate limiting concerns or service overload scenarios.
  4. Memory consumption or CPU exhaustion issues.
  5. Lack of input validation on non-security-critical fields without proven security impact.
  6. Input sanitization concerns for GitHub Action workflows unless they are clearly triggerable via untrusted input.
  7. A lack of hardening measures. Code is not expected to implement all security best practices, only flag concrete vulnerabilities.
  8. Race conditions or timing attacks that are theoretical rather than practical issues. Only report a race condition if it is concretely problematic.
  9. Vulnerabilities related to outdated third-party libraries. These are managed separately and should not be reported here.
  10. Memory safety issues such as buffer overflows or use-after-free-vulnerabilities are impossible in rust. Do not report memory safety issues in rust or any other memory safe languages.
  11. Files that are only unit tests or only used as part of running tests.
  12. Log spoofing concerns. Outputting un-sanitized user input to logs is not a vulnerability.
  13. SSRF vulnerabilities that only control the path. SSRF is only a concern if it can control the host or protocol.
  14. Including user-controlled content in AI system prompts is not a vulnerability.
  15. Regex injection. Injecting untrusted content into a regex is not a vulnerability.
  16. Regex DOS concerns.
  17. Insecure documentation. Do not report any findings in documentation files such as markdown files.
  18. A lack of audit logs is not a vulnerability.

PRECEDENTS -

  1. Logging high value secrets in plaintext is a vulnerability. Logging URLs is assumed to be safe.
  2. UUIDs can be assumed to be unguessable and do not need to be validated.
  3. Environment variables and CLI flags are trusted values. Attackers are generally not able to modify them in a secure environment. Any attack that relies on controlling an environment variable is invalid.
  4. Resource management issues such as memory or file descriptor leaks are not valid.
  5. Subtle or low impact web vulnerabilities such as tabnabbing, XS-Leaks, prototype pollution, and open redirects should not be reported unless they are extremely high confidence.
  6. React and Angular are generally secure against XSS. These frameworks do not need to sanitize or escape user input unless it is using dangerouslySetInnerHTML, bypassSecurityTrustHtml, or similar methods. Do not report XSS vulnerabilities in React or Angular components or tsx files unless they are using unsafe methods.
  7. Most vulnerabilities in github action workflows are not exploitable in practice. Before validating a github action workflow vulnerability ensure it is concrete and has a very specific attack path.
  8. A lack of permission checking or authentication in client-side JS/TS code is not a vulnerability. Client-side code is not trusted and does not need to implement these checks, they are handled on the server-side. The same applies to all flows that send untrusted data to the backend, the backend is responsible for validating and sanitizing all inputs.
  9. Only include MEDIUM findings if they are obvious and concrete issues.
  10. Most vulnerabilities in ipython notebooks (*.ipynb files) are not exploitable in practice. Before validating a notebook vulnerability ensure it is concrete and has a very specific attack path where untrusted input can trigger the vulnerability.
  11. Logging non-PII data is not a vulnerability even if the data may be sensitive. Only report logging vulnerabilities if they expose sensitive information such as secrets, passwords, or personally identifiable information (PII).
  12. Command injection vulnerabilities in shell scripts are generally not exploitable in practice since shell scripts generally do not run with untrusted user input. Only report command injection vulnerabilities in shell scripts if they are concrete and have a very specific attack path for untrusted input.

SIGNAL QUALITY CRITERIA - For remaining findings, assess:

  1. Is there a concrete, exploitable vulnerability with a clear attack path?
  2. Does this represent a real security risk vs theoretical best practice?
  3. Are there specific code locations and reproduction steps?
  4. Would this finding be actionable for a security team?

For each finding, assign a confidence score from 1-10:

  • 1-3: Low confidence, likely false positive or noise
  • 4-6: Medium confidence, needs investigation
  • 7-10: High confidence, likely true vulnerability
Show full SKILL.md (110 more words)Show less

START ANALYSIS:

Begin your analysis now. Do this in 3 steps:

  1. Use a sub-task to identify vulnerabilities. Use the repository exploration tools to understand the codebase context, then analyze the PR changes for security implications. In the prompt for this sub-task, include all of the above.
  2. Then for each vulnerability identified by the above sub-task, create a new sub-task to filter out false-positives. Launch these sub-tasks as parallel sub-tasks. In the prompt for these sub-tasks, include everything in the "FALSE POSITIVE FILTERING" instructions.
  3. Filter out any vulnerabilities where the sub-task reported a confidence less than 8.

Your final reply must contain the markdown report and nothing else.

© asgeirtj, CC0-1.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in Anthropic/claude-code/skills/security-review of asgeirtj/system_prompts_leaks.

Open the folder on GitHubat commit 60d44cc

Compare with similar skills

Security Review next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Security Review compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Security Review this skillasgeirtj/system_prompts_leaks69k—~2.7kAutomated safety check: PassCC0-1.0
Deepsec Documentation Guidevercel-labs/deepsec8.1k—~956Automated safety check: PassApache-2.0
Kubernetes Network Security Auditkubeshark/kubeshark12k—~7.3kAutomated safety check: NotesApache-2.0
Native Dependency Updatemono/SkiaSharp5.6k—~4.1kAutomated safety check: PassMIT
Semgrep Security Scantrailofbits/skills7.5k—~3.7kAutomated safety check: NotesCC-BY-SA-4.0
Skillward AuditFangcun-AI/SkillWard143—~2.9kAutomated safety check: PassCustom licence

Similar skills

  • Deepsec Documentation Guide

    vercel-labs/deepsec

    Official

    Points the agent at deepsec's own docs to answer questions about initializing, configuring, resuming, scanning with and extending the vulnerability scanner.

    8.1k GitHub stars~956 tokensUpdated 12 days ago
    SecurityAuto-check passed
  • Hunts for compromised workloads and malicious traffic in a Kubernetes cluster by sweeping network data through Kubeshark MCP, mapped to MITRE ATT&CK.

    12k GitHub stars~7.3k tokensUpdated yesterday
    SecurityAuto-check: notes
  • Update native dependencies (libpng, libexpat, zlib, libwebp, harfbuzz, freetype, libjpeg-turbo, etc.) in SkiaSharp's Skia fork.

    5.6k GitHub stars~4.1k tokensUpdated yesterday
    SecurityAuto-check passed
  • Semgrep Security Scan

    trailofbits/skills

    Official

    Detects languages, proposes rulesets for approval, then runs the approved Semgrep scan across a codebase and merges the output into one SARIF file.

    7.5k GitHub stars~3.7k tokensUpdated yesterday
    SecurityAuto-check: notes
  • Skillward Audit

    Fangcun-AI/SkillWard

    Security-audit a third-party skill bundle (folder with SKILL.md, or .zip / .tar.gz archive) before installing it, using the SkillWard cloud scanner.

    143 GitHub stars~2.9k tokensUpdated 2 mo ago
    SecurityAuto-check passed
  • Security Audit

    TheDecipherist/claude-code-mastery

    Checks a codebase for hardcoded secrets, vulnerable dependencies, weak input handling, weak authentication and unsafe transport settings before deployment or merge.

    551 GitHub stars~1.3k tokensUpdated 5 mo ago
    SecurityAuto-check: notes

More from asgeirtj/system_prompts_leaks

All 125 skills in this repo
  • Fleet Manager for Agent Sessions

    asgeirtj/system_prompts_leaks

    Shows one digest of coding-agent sessions across your connected machines and lets you open, read, steer, approve, stop and close them, over Herdr, tmux or MSP.

    69k GitHub stars~2.5k tokensUpdated today
    Auto-check passed
  • Muse Code Product Doctor

    asgeirtj/system_prompts_leaks

    Diagnoses a Muse Code installation's own failures from binary and session evidence, instead of treating the report as an ordinary repository bug.

    69k GitHub stars~3.5k tokensUpdated today
    Auto-check passed
  • DOCX

    asgeirtj/system_prompts_leaks

    A skill your agent uses whenever the user wants to create, read, edit, or manipulate Word documents (.docx) or Word templates (.dotx).

    69k GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • Agents Project Coordinator

    asgeirtj/system_prompts_leaks

    Runs a goal as a project in which the agent coordinates separate agent threads, judging when to split the work, and interviews you first when nothing can be verified.

    69k GitHub stars~2.9k tokensUpdated today
    Auto-check passed
  • Muse Plugin Creator

    asgeirtj/system_prompts_leaks

    Creates and validates a new native Muse plugin package in the current workspace, limited to five capability families, and leaves installation to you.

    69k GitHub stars~1.8k tokensUpdated today
    Auto-check passed
  • Deep Research

    asgeirtj/system_prompts_leaks

    A skill your agent uses when the user's prompt requires (1) researching a topic across multiple sources, comparing options or alternatives, analyzing trends or history, understanding markets or…

    69k GitHub stars~3.3k tokensUpdated today
    Auto-check passed

Categories

Questions about Security Review

What does Security Review do?

Complete a security review of the pending changes on the current branch. Security Review is an agent skill from asgeirtj/system_prompts_leaks.

When should I use Security Review?

Security Review fits situations like: tasks that involve Security review.

How do I install Security Review in Claude Code?

Run `npx skills add asgeirtj/system_prompts_leaks --skill security-review -a claude-code`. Or copy the skill folder (Anthropic/claude-code/skills/security-review in asgeirtj/system_prompts_leaks) into .claude/skills/security-review in your project. Claude Code loads it when a task matches its description.

How do I install Security Review in Codex?

Run `npx skills add asgeirtj/system_prompts_leaks --skill security-review -a codex`. Or copy the skill folder (Anthropic/claude-code/skills/security-review in asgeirtj/system_prompts_leaks) into .agents/skills/security-review in your project. Codex loads it when a task matches its description.

Can I use Security Review in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add asgeirtj/system_prompts_leaks --skill security-review -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/security-review, .gemini/skills/security-review, .github/skills/security-review and .opencode/skills/security-review in your project.

What does Security Review need to run?

SKILL.md names no scripts, command-line tools or credentials: Security Review is instructions for the agent only. Our summary lists: Python 3. Its frontmatter pre-approves these tools: Bash(git diff *), PowerShell(git diff *), Bash(git status *), PowerShell(git status *), Bash(git log *), PowerShell(git log *), Bash(git show *), PowerShell(git show *), Bash(git remote show *), PowerShell(git remote show *), Read, Glob, Grep, LS, Task.

Does Security Review access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Security Review safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Security Review use?

Security Review is published under the CC0-1.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Security Review use?

About 2.7k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Security Review?

Skills that share tags, products or a category with Security Review: Deepsec Documentation Guide (vercel-labs/deepsec, 8.1k stars), Kubernetes Network Security Audit (kubeshark/kubeshark, 12k stars), Native Dependency Update (mono/SkiaSharp, 5.6k stars) and Semgrep Security Scan (trailofbits/skills, 7.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Security Review?

asgeirtj (a GitHub user) maintains it in asgeirtj/system_prompts_leaks, which has 69,280 GitHub stars. The repository holds 128 skills in this directory. The repository was last updated on October 10, 2026.

Source: asgeirtj/system_prompts_leaks on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.