Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Security Review

ASecurity

Review code or changes for security vulnerabilities — injections, XSS, auth/session flaws, secrets in code, SSRF, path traversal, insecure dependencies — with severity ranking and concrete fixes. Use for "проверь безопасность", security audits, or before releasing anything that faces the internet.

2 stars
0 votes
0 copies
0 views
Added 10/3/2026
ai-agentsgophpshellsqlawsgitapisecurity

Works with

cliapi

Security Analysis

A100/100

Scanned 10/3/2026

$npx -y skills add ivanvp91/TRCode --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 automatically with every re-scan.

Security grade badge for Security Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ivanvp91-security-review/badge)](https://www.skillsdirectory.com/skills/ivanvp91-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
Files
SKILL.md
---
name: security-review
description: Review code or changes for security vulnerabilities — injections, XSS, auth/session flaws, secrets in code, SSRF, path traversal, insecure dependencies — with severity ranking and concrete fixes. Use for "проверь безопасность", security audits, or before releasing anything that faces the internet.
description_ru: Проверка кода или изменений на уязвимости — инъекции, XSS, ошибки авторизации и сессий, секреты в коде, SSRF, path traversal, небезопасные зависимости — с ранжированием по серьёзности и конкретными исправлениями. Для «проверь безопасность», аудитов и перед выпуском всего, что смотрит в интернет.
triggers: безопасность, security, уязвимость, уязвимости, vulnerability, xss, sql injection, sql-инъекция, инъекция, csrf, ssrf, секреты, secrets, утечка данных, аудит безопасности, security review, security audit, pentest, пентест, эксплойт, exploit, авторизация, oauth, jwt, path traversal, cve
---

# Security review

## 0. Scope and threat model first
State what is being reviewed (diff, file, whole app), what it exposes (internet-facing? authenticated? handles money/PII?), and who the attacker is (anonymous user, logged-in user, insider). A local CLI tool and a public payment form get different depth — say which level applies.

## 1. Hunt in priority order
Work down this list against the actual code, not from memory of it:
- **Injection**: SQL/NoSQL built by string concatenation (fix: parameterized queries, always), shell commands with user input (fix: no shell, argument arrays), template injection, `eval`-family.
- **XSS**: user content rendered without escaping (innerHTML, v-html, dangerouslySetInnerHTML, unescaped PHP echo); fix at output with context-aware escaping, CSP as the second layer.
- **AuthZ over AuthN**: every endpoint/action checked — not just "is logged in" but "may THIS user touch THIS object" (IDOR is the most common real-world hole). Look for object IDs taken from request without ownership checks.
- **Secrets**: keys/tokens/passwords in code, configs committed to git, logs printing credentials; check git history if a secret is found (rotation, not just deletion).
- **Session/tokens**: cookies without HttpOnly/Secure/SameSite, JWT with `alg:none` or no expiry check, tokens in URLs, missing CSRF protection on state-changing endpoints.
- **File and network**: path traversal on user-supplied paths, unrestricted upload (type/size/storage location/execution), SSRF on user-supplied URLs (allowlist, block internal ranges).
- **Crypto and transport**: homemade crypto, MD5/SHA1 for passwords (fix: bcrypt/argon2), disabled TLS verification.
- **Dependencies**: known-vulnerable versions where a lockfile is present; flag, don't guess CVE numbers.

## 2. Verify before reporting
For each candidate finding, trace the actual data path: where does the input enter, is it sanitized on the way, is the sink reachable? A parameterized query is not an injection even if it looks scary. Report only what survives the trace; label anything unverifiable as "requires runtime check" — never present suspicion as fact.

## 3. Severity honestly
- **Critical**: remotely exploitable by an anonymous user, or leaks secrets/money/PII at scale.
- **High**: exploitable by an authenticated user, or critical but behind a precondition.
- **Medium**: needs unusual conditions, or defense-in-depth gap (missing header, weak config).
- **Low**: hygiene (verbose errors, outdated but unexploited dependency).
No inflation: a missing security header on an internal tool is Low, not Critical.

## What not to do
- Do not write working exploits for third-party systems or advise attacking anything the user doesn't own; reviewing and fixing the user's own code is the job.
- Do not dump a generic OWASP checklist — every finding cites file:line and the actual code.
- Do not "fix" by adding validation in one place while the sink stays reachable from another path.
- Do not claim "the code is secure" — the honest close is "no issues found in the reviewed scope at these classes".

## Answer format
Findings ranked Critical→Low, each: file:line, the vulnerable flow in one sentence, proof it's reachable, the concrete fix (code). Then: what was out of scope or unverifiable. If nothing found — the classes checked and the scope, explicitly.

Attribution

ivanvp91ivanvp91
View sourceSee grades on GitHubMore from ivanvp91 →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

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

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Terse caveman voice: answer first, fluff gone, every technical fact kept. Use for /caveman, "caveman mode", "talk like caveman", "be brief", "less tokens". Stays on until "stop caveman" or "normal mode".

1100021 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

698431 votes

Writing Skills

Create and manage Claude Code skills in HASH repository following Anthropic best practices. Use when creating new skills, modifying skill-rules.json, understanding trigger patterns, working with hooks, debugging skill activation, or implementing progressive disclosure. Covers skill structure, YAML frontmatter, trigger types (keywords, intent patterns), UserPromptSubmit hook, and the 500-line rule. Includes validation and debugging with SKILL_DEBUG. Examples include rust-error-stack, cargo-dep...

3931 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3421 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Amp, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Grok Build, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

741 votes
View all in ai-agents →