Security Audit
Comprehensive security audit of codebase using multiple security-auditor agents. Use before production deployments or after major features.
MCP get_skill({ skillId: "security-audit-b2d540aa" })Use this skill with your agent
Create a free account and connect via MCP
# /security-audit Multi-agent security audit with findings saved to timestamped report. ## Usage ```bash /security-audit yourbench # Full security review /security-audit coordinatr # Audit specific project ``` ## Audit Dimensions Five security-auditor agents run in parallel: | Agent | Focus Area | Checks | |-------|------------|--------| | **Agent 1: Auth & Access** | Authentication, Authorization | JWT handling, session management, RBAC, privilege escalation | | **Agent 2: Input & Data** | Injection, Validation | SQL injection, XSS, command injection, input sanitization | | **Agent 3: Crypto & Secrets** | Cryptography, Secrets | Hardcoded credentials, weak crypto, key management, PII | | **Agent 4: Config & Deploy** | Configuration, Infrastructure | CORS, CSRF, security headers, exposed endpoints, debug mode | | **Agent 5: Dependencies** | Supply Chain, Libraries | Vulnerable packages, outdated deps, license issues | ## OWASP Top 10 Coverage | OWASP Risk | Coverage | |------------|----------| | A01 Broken Access Control | Agent 1 | | A02 Cryptographic Failures | Agent 3 | | A03 Injection | Agent 2 | | A04 Insecure Design | Agents 1, 4 | | A05 Security Misconfiguration | Agent 4 | | A06 Vulnerable Components | Agent 5 | | A07 Auth Failures | Agent 1 | | A08 Data Integrity Failures | Agents 2, 3 | | A09 Logging Failures | Agent 4 | | A10 SSRF | Agent 2 | ## Execution Flow ### 1. Validate Project ```bash ls spaces/[project]/ ``` ### 2. Launch Parallel Audits 5 security-auditor agents run concurrently with focused prompts. ### 3. Consolidate Findings Aggregate by: - **Severity**: Critical, High, Medium, Low, Info - **Category**: OWASP classification - **Location**: File path + line number - **Remediation**: Specific fix guidance ### 4. Generate Report ```bash Write: .claude/temp/security-audit-[project]-[timestamp].md ``` ## Report Structure ```markdown # Security Audit: [Project Name] **Date**: YYYY-MM-DD HH:MM:SS ## Executive Summary - Critical issues: X - High severity: Y - Total findings: Z ## Critical Issues ### [Issue Title] - **Severity**: Critical - **Category**: SQL Injection (CWE-89) - **Location**: src/api/users.py:42 - **Description**: [What's wrong] - **Impact**: [What could happen] - **Remediation**: [How to fix] ## High Severity Issues [...] ## Recommendations - Priority actions - Long-term improvements ## Scan Coverage - Files scanned: X - Technologies: Z ``` ## When to Use - Before production deployments - After major feature additions - Monthly security reviews - Before external security audits - After dependency updates ## Output Location ``` .claude/temp/security-audit-yourbench-2026-01-08-143022.md ``` Reports saved to `.claude/temp/` (gitignored) for review. ## Notes - **Read-only**: No code changes made - **Non-blocking**: Doesn't prevent commits - **Parallel execution**: Agents run concurrently - **False positives possible**: Manual review recommended ## Integration ``` Implement security feature → /security-audit → Fix issues → /commit ```
Related Skills
More skills in Security & Compliance
1password
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in, and reading/injecting secrets for commands.
1password
Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.
Accessibility Lead
Accessibility team lead and orchestrator. Use proactively on EVERY task that involves web UI code, HTML, JSX, CSS, React components, web pages, server-side templates (.leaf, .ejs, .erb, .hbs), or any user-facing web content. This agent coordinates the accessibility specialist team and ensures no accessibility requirement is missed. Runs the final review before any UI code is considered complete. Applies to any web framework, server-side templating framework (Vapor/Leaf, Rails/ERB, Django/Jinja, Express/EJS), or vanilla HTML/CSS/JS. Works alongside other team leads (e.g., swift-lead) in multi-language projects.
Accessibility Regression Detector
Detects accessibility regressions by comparing audit results across commits/branches. Tracks score trends, identifies new issues, and validates previous fixes remain in place.
Accessibility Statement
Generates conformance/accessibility statements following W3C or EU model templates. Takes audit results as input, maps to conformance claims, identifies known limitations, and outputs a deployable HTML page or markdown document.
Accessibility Tool Builder
Expert in building accessibility scanning tools, rule engines, document parsers, report generators, and audit automation. WCAG criterion mapping, severity scoring, CLI/GUI scanner architecture, CI/CD integration.
Explore Other Categories
Skills from other categories with shared topics
Brief
Create or update project brief through interactive discovery. Use when starting any new idea, revisiting an idea after time away, or when vision feels unclear.
Commit
Create git commits in spaces/[project]/ with conventional message format. Use for saving progress with quality checks and proper commit messages.
Complete
Complete task: validate, document, review, commit, and merge to develop. Use when all implementation is done and ready to finalize.