Skip to content
Back to skills

Security Review

ASecurity

Reviews a code change for injection, broken authorization, secrets, SSRF and unsafe input handling, and reports only exploitable findings with a fix.

  • 3 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 15, 2026
ai-agentsrustshellsqlgitapisecurity

Works with

  • cli
  • api

Security analysis

A100/100

Scanned November 15, 2026

npx -y skills add workspace-templates/ai-agent-templates --skill security-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Security Review?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Security Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/workspace-templates-security-review/badge)](https://www.skillsdirectory.com/skills/workspace-templates-security-review)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: security-review
description: Reviews a code change for injection, broken authorization, secrets, SSRF and unsafe input handling, and reports only exploitable findings with a fix.
---

# Security review

Review the change as an attacker. Report only what you can exploit.

## Steps

1. Get the change: `git diff main...HEAD` or the files named. List every entry point it touches: routes, handlers, CLI args, file uploads, webhooks, queue messages.
2. Trace each untrusted value from entry to sink. Flag sinks reached without validation or encoding:
   - SQL, shell, template, LDAP or NoSQL queries built from strings (injection)
   - HTML output without escaping, `innerHTML`, `dangerouslySetInnerHTML` (XSS)
   - Outbound requests to a user-supplied URL, including redirects and DNS names that resolve to internal addresses (SSRF)
   - File paths with `..` or absolute paths (traversal), unsafe deserialization, archive extraction
3. Check authorization on every handler: is the caller logged in, and are they allowed to touch this specific record? Look for IDs taken from the request without an ownership check (IDOR).
4. Check secrets and crypto: keys in code or logs, weak hashes for passwords, home-made tokens, missing expiry, cookies without HttpOnly, Secure and SameSite.
5. Check new dependencies and CORS, CSRF and rate limits on state-changing routes.
6. For each candidate, write the exact request or input that exploits it. If you cannot, drop it.

## Rules

- Never run exploits against real services, and never print secrets you find; quote the file and line only.

## Report

Findings ranked Critical to Low: file:line, the exploit input, impact, the fix as a code snippet. End with the areas you checked and found clean.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.