Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
github avatar

Security Review

  • 4.4k installs
  • 37.1k repo stars
  • Updated July 28, 2026
  • github/awesome-copilot

A structured AI skill that performs an eight-step security audit of a codebase, covering dependencies, secrets, injection flaws, authentication bugs, cryptography weaknesses, and business logic issues with severity-rated

About

Security Review is a skill that performs multi-step security analysis on codebases by reasoning about code context and data flow rather than relying on pattern matching alone. Developers use it when they need to audit source code for injection flaws, broken authentication, secrets exposure, insecure cryptography, and business logic bugs across JavaScript, TypeScript, Python, Java, PHP, Go, Ruby, and Rust. The workflow proceeds through eight ordered steps: scope resolution, dependency audit against known CVEs, secrets and credentials scan across all file types, deep vulnerability scan by category, cross-file data flow tracing from entry points to dangerous sinks, self-verification to filter false positives, structured report generation, and patch proposal for CRITICAL and HIGH findings. Every finding includes a severity rating (CRITICAL/HIGH/MEDIUM/LOW/INFO), confidence level, file path, line number, and a before/after patch that requires explicit human approval before application.

  • Eight-step ordered workflow covering dependency audit, secrets scan, vulnerability deep scan, cross-file data flow analy
  • Supports seven languages - JavaScript/TypeScript, Python, Java, PHP, Go, Ruby, and Rust - with framework-specific patter
  • Assigns CRITICAL/HIGH/MEDIUM/LOW/INFO severity plus per-finding confidence ratings (High/Medium/Low) to every reported i
  • Generates concrete before/after patches for all CRITICAL and HIGH findings while explicitly requiring human review befor
  • Covers injection flaws, BOLA/IDOR, JWT weaknesses, SSRF, XXE, insecure deserialization, weak cryptography, race conditio

Security Review by the numbers

  • 4,367 all-time installs (skills.sh)
  • +236 installs in the week ending Jul 28, 2026 (Skillselion tracking)
  • Ranked #134 of 2,209 Security skills by installs in the Skillselion catalog
  • Security screen: HIGH risk (skills.sh audit)
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

security-review capabilities & compatibility

Capabilities
vulnerability scanning · secrets detection · dependency audit · data flow analysis · patch generation · severity rating · false positive filtering · cross file analysis
Works with
github · docker · aws · gcp · azure
Use cases
security audit · code review · debugging
Runs
Runs locally
Pricing
Free
npx skills add https://github.com/github/awesome-copilot --skill security-review

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs4.4k
repo stars37.1k
Security audit2 / 3 scanners passed
Last updatedJuly 28, 2026
Repositorygithub/awesome-copilot

What it does

Scan a codebase for vulnerabilities by tracing data flows across files, auditing dependencies, detecting secrets, and generating severity-rated findings with concrete patches.

Who is it for?

Developers auditing web application backends, REST APIs, or full-stack projects before release who need structured vulnerability findings with actionable fixes.

Skip if: Runtime security monitoring, network penetration testing, or binary/compiled artifact analysis.

When should I use this skill?

A developer asks to scan code for vulnerabilities, check for SQL injection or XSS, audit dependencies, find hardcoded secrets, or runs /security-review with an optional path argument.

What you get

Developers receive a grouped security report with severity ratings, confidence levels, file paths, line numbers, vulnerable code snippets, risk explanations in plain English, and human-reviewable patches for every CRITIC

  • Findings summary table grouped by severity
  • Per-finding cards with file path, line number, vulnerable code snippet, severity, confidence, and plain-English risk exp
  • Before/after patch proposals for all CRITICAL and HIGH findings

By the numbers

  • Five severity levels: CRITICAL, HIGH, MEDIUM, LOW, INFO
  • Eight ordered execution steps from scope resolution to patch generation
  • Seven supported languages: JavaScript/TypeScript, Python, Java, PHP, Go, Ruby, Rust

Files

SKILL.mdMarkdownGitHub ↗

Security Review

An AI-powered security scanner that reasons about your codebase the way a human security researcher would — tracing data flows, understanding component interactions, and catching vulnerabilities that pattern-matching tools miss.

When to Use This Skill

Use this skill when the request involves:

  • Scanning a codebase or file for security vulnerabilities
  • Running a security review or vulnerability check
  • Checking for SQL injection, XSS, command injection, or other injection flaws
  • Finding exposed API keys, hardcoded secrets, or credentials in code
  • Auditing dependencies for known CVEs
  • Reviewing authentication, authorization, or access control logic
  • Detecting insecure cryptography or weak randomness
  • Performing a data flow analysis to trace user input to dangerous sinks
  • Any request phrasing like "is my code secure?", "scan this file", or "check my repo for vulnerabilities"
  • Running /security-review or /security-review <path>

How This Skill Works

Unlike traditional static analysis tools that match patterns, this skill: 1. Reads code like a security researcher — understanding context, intent, and data flow 2. Traces across files — following how user input moves through your application 3. Self-verifies findings — re-examines each result to filter false positives 4. Assigns severity ratings — CRITICAL / HIGH / MEDIUM / LOW / INFO 5. Proposes targeted patches — every finding includes a concrete fix 6. Requires human approval — nothing is auto-applied; you always review first

Execution Workflow

Follow these steps in order every time:

Step 1 — Scope Resolution

Determine what to scan:

  • If a path was provided (/security-review src/auth/), scan only that scope
  • If no path given, scan the entire project starting from the root
  • Identify the language(s) and framework(s) in use (check package.json, requirements.txt,

go.mod, Cargo.toml, pom.xml, Gemfile, composer.json, etc.)

  • Read references/language-patterns.md to load language-specific vulnerability patterns

Step 2 — Dependency Audit

Before scanning source code, audit dependencies first (fast wins):

  • Node.js: Check package.json + package-lock.json for known vulnerable packages
  • Python: Check requirements.txt / pyproject.toml / Pipfile
  • Java: Check pom.xml / build.gradle
  • Ruby: Check Gemfile.lock
  • Rust: Check Cargo.toml
  • Go: Check go.sum
  • Flag packages with known CVEs, deprecated crypto libs, or suspiciously old pinned versions
  • Read references/vulnerable-packages.md for a curated watchlist

Step 3 — Secrets & Exposure Scan

Scan ALL files (including config, env, CI/CD, Dockerfiles, IaC) for:

  • Hardcoded API keys, tokens, passwords, private keys
  • .env files accidentally committed
  • Secrets in comments or debug logs
  • Cloud credentials (AWS, GCP, Azure, Stripe, Twilio, etc.)
  • Database connection strings with credentials embedded
  • Read references/secret-patterns.md for regex patterns and entropy heuristics to apply

Step 4 — Vulnerability Deep Scan

This is the core scan. Reason about the code — don't just pattern-match. Read references/vuln-categories.md for full details on each category.

Injection Flaws

  • SQL Injection: raw queries with string interpolation, ORM misuse, second-order SQLi
  • XSS: unescaped output, dangerouslySetInnerHTML, innerHTML, template injection
  • Command Injection: exec/spawn/system with user input
  • LDAP, XPath, Header, Log injection

Authentication & Access Control

  • Missing authentication on sensitive endpoints
  • Broken object-level authorization (BOLA/IDOR)
  • JWT weaknesses (alg:none, weak secrets, no expiry validation)
  • Session fixation, missing CSRF protection
  • Privilege escalation paths
  • Mass assignment / parameter pollution

Data Handling

  • Sensitive data in logs, error messages, or API responses
  • Missing encryption at rest or in transit
  • Insecure deserialization
  • Path traversal / directory traversal
  • XXE (XML External Entity) processing
  • SSRF (Server-Side Request Forgery)

Cryptography

  • Use of MD5, SHA1, DES for security purposes
  • Hardcoded IVs or salts
  • Weak random number generation (Math.random() for tokens)
  • Missing TLS certificate validation

Business Logic

  • Race conditions (TOCTOU)
  • Integer overflow in financial calculations
  • Missing rate limiting on sensitive endpoints
  • Predictable resource identifiers

Step 5 — Cross-File Data Flow Analysis

After the per-file scan, perform a holistic review:

  • Trace user-controlled input from entry points (HTTP params, headers, body, file uploads)

all the way to sinks (DB queries, exec calls, HTML output, file writes)

  • Identify vulnerabilities that only appear when looking at multiple files together
  • Check for insecure trust boundaries between services or modules

Step 6 — Self-Verification Pass

For EACH finding: 1. Re-read the relevant code with fresh eyes 2. Ask: "Is this actually exploitable, or is there sanitization I missed?" 3. Check if a framework or middleware already handles this upstream 4. Downgrade or discard findings that aren't genuine vulnerabilities 5. Assign final severity: CRITICAL / HIGH / MEDIUM / LOW / INFO

Step 7 — Generate Security Report

Output the full report in the format defined in references/report-format.md.

Step 8 — Propose Patches

For every CRITICAL and HIGH finding, generate a concrete patch:

  • Show the vulnerable code (before)
  • Show the fixed code (after)
  • Explain what changed and why
  • Preserve the original code style, variable names, and structure
  • Add a comment explaining the fix inline

Explicitly state: "Review each patch before applying. Nothing has been changed yet."

Severity Guide

SeverityMeaningExample
🔴 CRITICALImmediate exploitation risk, data breach likelySQLi, RCE, auth bypass
🟠 HIGHSerious vulnerability, exploit path existsXSS, IDOR, hardcoded secrets
🟡 MEDIUMExploitable with conditions or chainingCSRF, open redirect, weak crypto
🔵 LOWBest practice violation, low direct riskVerbose errors, missing headers
⚪ INFOObservation worth noting, not a vulnerabilityOutdated dependency (no CVE)

Output Rules

  • Always produce a findings summary table first (counts by severity)
  • Never auto-apply any patch — present patches for human review only
  • Always include a confidence rating per finding (High / Medium / Low)
  • Group findings by category, not by file
  • Be specific — include file path, line number, and the exact vulnerable code snippet
  • Explain the risk in plain English — what could an attacker do with this?
  • If the codebase is clean, say so clearly: "No vulnerabilities found" with what was scanned

Reference Files

For detailed detection guidance, load the following reference files as needed:

  • references/vuln-categories.md — Deep reference for every vulnerability category with detection signals, safe patterns, and escalation checkers
  • Search patterns: SQL injection, XSS, command injection, SSRF, BOLA, IDOR, JWT, CSRF, secrets, cryptography, race condition, path traversal
  • references/secret-patterns.md — Regex patterns, entropy-based detection, and CI/CD secret risks
  • Search patterns: API key, token, private key, connection string, entropy, .env, GitHub Actions, Docker, Terraform
  • references/language-patterns.md — Framework-specific vulnerability patterns for JavaScript, Python, Java, PHP, Go, Ruby, and Rust
  • Search patterns: Express, React, Next.js, Django, Flask, FastAPI, Spring Boot, PHP, Go, Rails, Rust
  • references/vulnerable-packages.md — Curated CVE watchlist for npm, pip, Maven, Rubygems, Cargo, and Go modules
  • Search patterns: lodash, axios, jsonwebtoken, Pillow, log4j, nokogiri, CVE
  • references/report-format.md — Structured output template for security reports with finding cards, dependency audit, secrets scan, and patch proposal formatting
  • Search patterns: report, format, template, finding, patch, summary, confidence

Related skills

How it compares

Pick security-review over linter-only checks when you need cross-file data-flow reasoning, dependency CVE audit, and human-reviewed patch proposals in one pass.

FAQ

Does this skill automatically apply the patches it generates?

No. The skill explicitly states 'Review each patch before applying. Nothing has been changed yet.' Every patch requires human approval.

Which languages and frameworks does this skill cover?

JavaScript, TypeScript, Python, Java, PHP, Go, Ruby, and Rust, with framework-specific patterns for Express, React, Next.js, Django, Flask, FastAPI, Spring Boot, Rails, and others loaded from reference files.

How does this skill differ from traditional static analysis tools?

It traces data flow across multiple files from entry points to sinks, understands component interactions and context, and runs a self-verification pass to downgrade or discard findings that are not genuinely exploitable.

Is Security Review safe to install?

skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

Securityauditappsecsecrets

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.