Code Review Security Auditor
Perform a security-focused code review identifying vulnerabilities
Content
Perform a thorough security audit of the following code. Act as a senior security engineer. Language: {{language}} Code: ``` {{code}} ``` Analyze for: 1. **Injection vulnerabilities** (SQL, XSS, command injection) 2. **Authentication/Authorization flaws** 3. **Data exposure risks** (secrets, PII leakage) 4. **Input validation gaps** 5. **Dependency vulnerabilities** 6. **Race conditions or timing attacks** For each finding, provide: - Severity (Critical/High/Medium/Low) - Exact line or pattern affected - Exploit scenario - Recommended fix with code example
Related Prompts
Security Threat Model Generator
Generates a structured security threat model for an application or system using the STRIDE framework, identifying attack surfaces, threats, and mitigations.
MCP Server Integration Planner
Plan and design Model Context Protocol server integrations for AI applications
Agentic Code Architect
Design autonomous AI agent systems for complex tasks
AI Debugging Chain-of-Thought Assistant
Apply systematic chain-of-thought reasoning to diagnose and fix complex bugs, with step-by-step analysis, hypothesis testing, and a clear fix with explanation.