security-reviewer
jeffallan/claude-skills
Identify vulnerabilities, generate severity-rated audit reports, and provide remediation guidance.
What is security-reviewer?
Security analyst skill that conducts code reviews, vulnerability scans, and infrastructure security audits. Use when performing SAST scans, penetration testing, dependency audits, secrets scanning, or compliance checks to produce structured vulnerability reports with prioritized recommendations.
- Runs automated SAST, dependency, and secrets scanning tools (semgrep, bandit, gitleaks, npm audit, trivy)
- Performs manual code review focusing on authentication, input handling, and cryptography
- Classifies findings by severity using CVSS ratings (Critical/High/Medium/Low/Info)
- Generates structured audit reports with location, impact, and remediation for each finding
- Validates findings and confirms exploitability with proof-of-concept testing
- Documents compliance checklists and prioritized recommendations
How to install security-reviewer
npx skills add https://github.com/jeffallan/claude-skills --skill security-reviewer- Written authorization and rules of engagement before active testing
- Access to codebase or infrastructure being reviewed
- Automated scanning tools installed (semgrep, bandit, gitleaks, npm audit, trivy, etc.)
How to use security-reviewer
- 1.Map attack surface and confirm written scope authorization
- 2.Run automated SAST and dependency scanning tools on the target
- 3.Perform manual code review focusing on authentication, input validation, and cryptography
- 4.Classify and validate findings using CVSS severity ratings
- 5.Confirm critical findings with stakeholders before finalizing report
- 6.Generate structured report with locations, impact statements, and remediation steps
Use cases
- Conduct security audits on codebases before production deployment
- Scan dependencies for known vulnerabilities in npm, Python, or other package managers
- Detect hardcoded secrets and credentials in version control history
- Review infrastructure and cloud configurations for security misconfigurations
- Perform penetration testing and reconnaissance within authorized scope
- Security engineers and penetration testers
- DevSecOps practitioners integrating security into CI/CD pipelines
- Code reviewers conducting security-focused audits
- Cloud architects reviewing infrastructure security
- Compliance officers validating security controls
security-reviewer FAQ
Automated tools include semgrep, bandit, gitleaks, npm audit, and trivy. Manual review uses code analysis and proof-of-concept testing. The skill also references OWASP Top 10, CWE, CVSS scoring, and security frameworks like Burp Suite and nmap.
Yes. You must have written authorization and defined rules of engagement before conducting any active testing or penetration testing. Verify scope authorization before proceeding.
Findings are rated as Critical, High, Medium, Low, or Info using CVSS scoring methodology for consistent severity classification.
Reports include executive summary with risk assessment, findings table with severity counts, detailed findings with file locations and remediation steps, and prioritized recommendations.
No. Active testing on production systems without explicit authorization is prohibited. Testing must stay within defined scope and rules of engagement.
Full instructions (SKILL.md)
Source of truth, from jeffallan/claude-skills.
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, Bash metadata: author: https://github.com/Jeffallan 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
- Scope — Map attack surface and critical paths. Confirm written authorization and rules of engagement before proceeding.
- Scan — Run SAST, dependency, and secrets tools. Example commands:
semgrep --config=auto .bandit -r ./srcgitleaks detect --source=.npm audit --audit-level=moderatetrivy fs .
- Review — Manual review of auth, input handling, and crypto. Tools miss context — manual review is mandatory.
- 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.
- 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
- Executive summary with risk assessment
- Findings table with severity counts
- Detailed findings with location, impact, and remediation
- 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
Related skills
More from jeffallan/claude-skills and the wider catalog.

laravel-specialist
Build Laravel 10+ applications with Eloquent models, Sanctum auth, queues, APIs, and Livewire components.

golang-pro
Senior Go developer for concurrent systems, microservices, and production-grade performance optimization.

flutter-expert
Senior Flutter engineer for cross-platform apps with Riverpod, Bloc, GoRouter, and performance optimization.

php-pro
Senior PHP developer for modern PHP 8.3+, Laravel, Symfony with strict typing, PHPStan level 9, and enterprise patterns.

kubernetes-specialist
Deploy and manage Kubernetes workloads with secure manifests, RBAC, networking, and troubleshooting.

devops-engineer
Creates Dockerfiles, CI/CD pipelines, Kubernetes manifests, and infrastructure-as-code templates for deployment automation.