dev-loop-security-auditor
Use when the user asks for a security audit of a codebase, dependency vulnerability scan (npm audit, pip-audit, Trivy), secret scanning, Semgrep or CodeQL…
от j4flmao★ 47 звёзд на GitHub
Установить dev-loop-security-auditor в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Security Auditor
Purpose
Systematically identify, assess, and remediate security vulnerabilities in applications — including dependency vulnerabilities, code-level flaws, misconfigurations, and authentication/authorization weaknesses — using automated scanning tools and manual review techniques.
Agent Protocol
Trigger
Exact user phrases: "security audit", "vulnerability scan", "security review", "dependency check", "SAST", "DAST", "penetration test", "CVE", "OWASP", "security assessment", "threat modeling".
Input Context
- Application type (web app, API, mobile, desktop, CLI, library)
- Language and framework (affects vulnerability patterns)
- Deployment environment (cloud, on-prem, hybrid, air-gapped)
- Regulatory requirements (SOC2, HIPAA, PCI-DSS, GDPR, FedRAMP)
- Authentication method (OAuth2, SAML, API keys, JWT, session cookies)
- Data sensitivity (PII, financial, health, credentials, tokens)
- Existing security measures (WAF, IDS, rate limiting, encryption)
- Recent security incidents or CVEs
Output Artifact
Security audit report with identified vulnerabilities by severity, remediation steps, and priority.
Response Format
Scope: {repo/service, commit}
Findings: [{severity}] {title} — {file:line} — {CWE/OWASP ref}
Impact: {what an attacker gains}
Fix: {concrete change}
Tools run: {SAST/SCA/secrets scan + versions}
Not covered: {areas out of scope}
Completion Criteria
- Dependency vulnerability scan completed
- SAST scan completed and findings reviewed
- OWASP Top 10 assessment performed
- Authentication and authorization reviewed
- API security tested (rate limiting, input validation, CORS)
- Sensitive data exposure checked (secrets, PII, tokens)
- Configuration security reviewed
- Remediation plan with priorities and owners
- Automated security checks added to CI/CD
Max Response Length
250 lines.
Framework/Methodology
Security Audit Decision Tree
What is the audit scope?
├── Web application → OWASP Top 10 + dependency scan + SAST
│ ├── Auth review (session management, MFA, password policies)
│ ├── Input validation (XSS, SQL injection, CSRF, SSRF)
│ ├── API security (rate limiting, CORS, JWT, GraphQL depth)
│ └── Infrastructure (WAF, TLS, headers, CSP)
├── API / microservice → API security testing
│ ├── Authentication (JWT, OAuth2, API keys, mTLS)
│ ├── Authorization (RBAC, ABAC, scope validation)
│ ├── Input validation (schema validation, injection)
│ └── Rate limiting + DoS protection
├── Library / package → Dependency + SAST scan
│ ├── Transitive dependencies (supply chain)
│ ├── Code quality scanning (semgrep, CodeQL)
│ └── Malicious package detection
├── Infrastructure → Configuration review
│ ├── Cloud security (IAM, S3 buckets, security groups)
│ ├── Container security (image scan, runtime, registry)
│ └── Network security (TLS, firewall, VPN)
└── Mobile app → OWASP Mobile Top 10
├── Data storage (keychain, SharedPreferences, SQLite)
├── Network (certificate pinning, HTTPS)
└── Code protection (obfuscation, root detection)
OWASP Top 10 (2021)
A01: Broken Access Control
A02: Cryptographic Failures
A03: Injection (SQL, NoSQL, OS, LDAP)
A04: Insecure Design
A05: Security Misconfiguration
A06: Vulnerable and Outdated Components
A07: Identification and Authentication Failures
A08: Software and Data Integrity Failures
A09: Security Logging and Monitoring Failures
A10: Server-Side Request Forgery (SSRF)
Workflow
Step 1: Dependency Vulnerability Scan
# npm audit
npm audit # List vulnerabilities
npm audit --audit-level=high # Only show high/critical
npm audit fix # Auto-fix non-breaking updates
npm audit fix --force # Force update (may break API)
# Better: npm audit + snyk
npx snyk test # Deep dependency analysis
npx snyk monitor # Continuous monitoring
# pip
pip-audit # Scan Python dependencies
safety check # Alternative Python scanner
# cargo (Rust)
cargo audit # Audit Cargo.lock for CVEs
cargo deny check advisories # More comprehensive (also license check)
# go
govulncheck ./... # Go vulnerability scanner
nancy go.sum # Go dependency vulnerability scanner
# .NET
dotnet list package --vulnerable # List vulnerable NuGet packages
# Docker
docker scout quick <image> # Docker image vulnerability scan
trivy image <image> # Trivy container scanner
Step 2: SAST (Static Application Security Testing)
tools:
semgrep:
description: "Multi-language SAST with custom rules"
usage: "semgrep --config=auto --config=./.semgrep/ ."
strengths: "Custom rules, CI-friendly, fast"
codeql:
description: "GitHub's deep code analysis"
usage: "codeql database create --language=typescript ./db && codeql analyze ./db --format=sarifv2"
strengths: "Deep
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/audit-checklist.md
- references/owasp-top10.md
- references/remediation-guide.md
- references/security-audit-automation.md
- references/security-auditor-advanced.md
- references/security-auditor-fundamentals.md
FAQ
Что делает скилл dev-loop-security-auditor?
Use when the user asks for a security audit of a codebase, dependency vulnerability scan (npm audit, pip-audit, Trivy), secret scanning, Semgrep or CodeQL findings, or OWASP Top 10 review. Produces prioritized findings with fixes. Not for SAST/DAST pipeline design (use security-sast-dast) or pentest engagements (use pentesting).
Как установить скилл dev-loop-security-auditor?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл dev-loop-security-auditor запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
AnthropicGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
webapp-testing
AnthropicToolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
brand-guidelines
AnthropicApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
web-artifacts-builder
AnthropicSuite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…