Proactively identify and patch security vulnerabilities and implement defensive coding patterns.
Instalação
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
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.