security-reviewer — скилл для Claude Code: аудит безопасности
Ищет уязвимости в коде и инфраструктуре, назначает уровень серьёзности и предлагает исправления. Нужен для аудита, поиска секретов и проверки зависимостей.
npx skills add Jeffallan/claude-skills --skill security-reviewer -a claude-codeЧто делает security-reviewer
security-reviewer проводит аудит по этапам: определяет поверхность атаки, запускает SAST, проверку зависимостей и секретов, затем вручную смотрит аутентификацию, авторизацию, обработку ввода и криптографию. Для сканирования применяются semgrep, bandit, gitleaks, npm audit и trivy.
Результат оформляется как отчёт: сводка рисков, таблица находок, детали с файлом и строкой, влиянием и способом исправления. Уровни Critical, High, Medium, Low и Info оцениваются по CVSS. Критические находки нужно сообщать сразу.
Активное тестирование допустимо лишь после проверки письменного разрешения и границ работ. Это повод сначала согласовать объём проверки, потому что скилл запрещает тестировать production без авторизации, выходить за область работ и доводить эксплуатацию дальше proof-of-concept.
Какие задачи решает
- найти уязвимости в исходном коде
- проверить зависимости через
npm audit - обнаружить секреты с помощью
gitleaks - оценить серьёзность находок по CVSS
- подготовить отчёт с местами исправлений
Примеры запросов агенту
- «Проведи аудит безопасности этого проекта и проверь аутентификацию с авторизацией.»
- «Найди секреты и уязвимости в зависимостях, затем подготовь отчёт.»
- «Проверь `src` на SQL-инъекции и укажи файлы, строки и исправления.»
Как установить security-reviewer
1Через Skills CLI (Vercel)
npx skills add Jeffallan/claude-skills --skill security-reviewer -a claude-code2Вручную: положить файлы
~/.claude/skills/security-reviewer/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/security-reviewer/
1Через Skills CLI (Vercel)
npx skills add Jeffallan/claude-skills --skill security-reviewer -a codex2Вручную: положить файлы
.agents/skills/security-reviewer/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add Jeffallan/claude-skills --skill security-reviewer -a cursor2Вручную: положить файлы
.cursor/skills/security-reviewer/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install Jeffallan/claude-skills security-reviewer2Вручную: положить файлы
.github/skills/security-reviewer/SKILL.md1Через Skills CLI (Vercel)
npx skills add Jeffallan/claude-skills --skill security-reviewer -a gemini-cli2Командой платформы
gemini skills install https://github.com/Jeffallan/claude-skills --path skills/security-reviewerВручную: положить файлы
.devin/skills/security-reviewer/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add Jeffallan/claude-skills --skill security-reviewer -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
Из того же набора61
Весь набор →Похожие
Вопросы о security-reviewer
Как установить security-reviewer в Claude Code?
Выполните npx skills add Jeffallan/claude-skills --skill security-reviewer -a claude-code, затем повторите npx skills add Jeffallan/claude-skills --skill security-reviewer -a claude-code. Файл скилла находится в ~/.claude/skills/security-reviewer/SKILL.md.
Что делает security-reviewer?
Скилл ищет уязвимости при проверке кода и инфраструктуры, сканирует зависимости и секреты. Он формирует отчёт с уровнями серьёзности, местами находок и рекомендациями по исправлению.
Что нужно перед активным тестированием?
Нужно проверить письменное разрешение и согласованные границы работ. Скилл ограничивает эксплуатацию подтверждением proof-of-concept и запрещает действия, способные вызвать потерю данных или сбой сервиса.
Исходный текст
SKILL.md · MIT
---
name: security-reviewer
description: Identifies security vulnerabilities, generates structured audit reports with severity ratings, and provides actionable remediation guidance. Use when conducting security audits, reviewing code for vulnerabilities, or analyzing infrastructure security. Invoke for SAST scans, penetration testing, DevSecOps practices, cloud security reviews, dependency audits, secrets scanning, or compliance checks. Produces vulnerability reports, prioritized recommendations, and compliance checklists.
license: MIT
allowed-tools: Read, Grep, Glob
metadata:
author: https://github.com/Jeffallan
company: https://synergetic.solutions
version: "1.1.1"
domain: security
triggers: security review, vulnerability scan, SAST, security audit, penetration test, code audit, security analysis, infrastructure security, DevSecOps, cloud security, compliance audit
role: specialist
scope: review
output-format: report
related-skills: secure-code-guardian, code-reviewer, devops-engineer, cloud-architect, kubernetes-specialist, api-designer, mcp-developer
---
# Security Reviewer
Security analyst specializing in code review, vulnerability identification, penetration testing, and infrastructure security.
## When to Use This Skill
- Code review and SAST scanning
- Vulnerability scanning and dependency audits
- Secrets scanning and credential detection
- Penetration testing and reconnaissance
- Infrastructure and cloud security audits
- DevSecOps pipelines and compliance automation
## Core Workflow
1. **Scope** — Map attack surface and critical paths. Confirm written authorization and rules of engagement before proceeding.
2. **Scan** — Run SAST, dependency, and secrets tools. Example commands:
- `semgrep --config=auto .`
- `bandit -r ./src`
- `gitleaks detect --source=.`
- `npm audit --audit-level=moderate`
- `trivy fs .`
3. **Review** — Manual review of auth, input handling, and crypto. Tools miss context — manual review is mandatory.
4. **Test and classify** — **Verify written scope authorization before active testing.** Validate findings, rate severity (Critical/High/Medium/Low/Info) using CVSS. Confirm exploitability with proof-of-concept only; do not exceed it.
5. **Report** — Confirm findings with stakeholder before finalizing. Document with location, impact, and remediation. Report critical findings immediately.
## Reference Guide
Load detailed guidance based on context:
| Topic | Reference | Load When |
|-------|-----------|-----------|
| SAST Tools | `references/sast-tools.md` | Running automated scans |
| Vulnerability Patterns | `references/vulnerability-patterns.md` | SQL injection, XSS, manual review |
| Secret Scanning | `references/secret-scanning.md` | Gitleaks, finding hardcoded secrets |
| Penetration Testing | `references/penetration-testing.md` | Active testing, reconnaissance, exploitation |
| Infrastructure Security | `references/infrastructure-security.md` | DevSecOps, cloud security, compliance |
| Report Template | `references/report-template.md` | Writing security report |
## Constraints
### MUST DO
- Check authentication/authorization first
- Run automated tools before manual review
- Provide specific file/line locations
- Include remediation for each finding
- Rate severity consistently
- Check for secrets in code
- Verify scope and authorization before active testing
- Document all testing activities
- Follow rules of engagement
- Report critical findings immediately
### MUST NOT DO
- Skip manual review (tools miss things)
- Test on production systems without authorization
- Ignore "low" severity issues
- Assume frameworks handle everything
- Share detailed exploits publicly
- Exploit beyond proof of concept
- Cause service disruption or data loss
- Test outside defined scope
## Output Templates
1. Executive summary with risk assessment
2. Findings table with severity counts
3. Detailed findings with location, impact, and remediation
4. Prioritized recommendations
### Example Finding Entry
```
ID: FIND-001
Severity: High (CVSS 8.1)
Title: SQL Injection in user search endpoint
File: src/api/users.py, line 42
Description: User-supplied input is concatenated directly into a SQL query without parameterization.
Impact: An attacker can read, modify, or delete database contents.
Remediation: Use parameterized queries or an ORM. Replace `cursor.execute(f"SELECT * FROM users WHERE name='{name}'")`
with `cursor.execute("SELECT * FROM users WHERE name=%s", (name,))`.
References: CWE-89, OWASP A03:2021
```
## Knowledge Reference
OWASP Top 10, CWE, Semgrep, Bandit, ESLint Security, gosec, npm audit, gitleaks, trufflehog, CVSS scoring, nmap, Burp Suite, sqlmap, Trivy, Checkov, HashiCorp Vault, AWS Security Hub, CIS benchmarks, SOC2, ISO27001
Maintained by [@jeffallan](https://github.com/jeffallan), Principal Consultant at [Synergetic Solutions](https://synergetic.solutions)
[Documentation](https://jeffallan.github.io/claude-skills/skills/security/security-reviewer/)
© https://github.com/Jeffallan · MIT · Jeffallan/claude-skills