Proactively identify and patch security vulnerabilities and implement defensive coding patterns.
Installation
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
This skill focuses on reducing the attack surface and ensuring the codebase is resilient to vulnerabilities.
1. Vulnerability Scanning
Use execute_command to run dependency audits (e.g., npm audit, snyk) and identify known vulnerabilities in third-party packages.
Search for common security anti-patterns (e.g., hardcoded secrets, unsafe eval, SQL injection, XSS) using search_code.
2. Impact Analysis
For each identified vulnerability, use read_file to determine if the vulnerable code path is actually reachable and exploitable in the current context.
Assess the risk level (Critical, High, Medium, Low) based on the potential impact on data and system availability.
3. Remediation & Patching
Update vulnerable dependencies to secure versions using execute_command.