/security:fix <finding-id|CWE/file:line> [--dry-run]from security
Remediates a specific security finding from the latest scan report. Loads the finding from triaged data and routes to the appropriate remediation skill based on CWE or category.
Ships in security. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Remediate one finding from .security/triaged.json or .security/report.md.
Read .security/triaged.json. If it does not exist, tell the user to run /security:scan first.
Resolve $ARGUMENTS as:
finding-003CWE-89 src/db.py:42TRUE_POSITIVE findings.If the finding verdict is FALSE_POSITIVE, stop and suggest suppressing it with /security:scan --suppress <id>.
Route by CWE/category:
| CWE/category | Skill |
|---|---|
| CWE-78, CWE-79, CWE-89, injection, XSS | remediation-injection |
| CWE-798, CWE-287, CWE-502, auth, authorization, deserialization | remediation-auth |
| CWE-327, CWE-330, TLS, crypto, randomness | remediation-crypto |
| CWE-22, CWE-489, headers, deployment, config | remediation-config |
| Other | remediation-library |
Use the selected remediation skill for the fix pattern.
Read the affected file around the finding and only nearby helper code needed to make a safe edit. Do not broaden into unrelated security work.
If --dry-run is present, report the proposed change without editing.
Otherwise:
Report:
/security:scan --diff.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
14 skills in this plugin
/asvs-requirementsOWASP ASVS 5.0 requirements database for security audits. Provides chapter structure, control objectives, and verification requirements for all 17 ASVS domains./baselineCreate or update the project security baseline, profile, suppressions file, and gitignore entries for security scans/remediation-authSecurity fix patterns for authentication and authorization vulnerabilities (credentials, JWT, deserialization, access control). Provides language-specific secure implementations./remediation-configSecurity fix patterns for configuration and deployment vulnerabilities (path traversal, debug mode, security headers). Provides language-specific secure implementations./remediation-cryptoSecurity fix patterns for cryptographic vulnerabilities (weak algorithms, insecure randomness, TLS issues). Provides language-specific secure implementations./remediation-injectionSecurity fix patterns for injection vulnerabilities (SQL, Command, XSS). Provides language-specific code examples showing vulnerable and secure implementations.npx claudepluginhub zate/cc-plugins --plugin securityOther plugins' skills for the same job