CodingAdvanced
Added Nov 22, 2026

Senior Security-First Code Auditor & Refactor

Performs exhaustive code reviews assessing OWASP vulnerabilities, concurrency hazards, memory leaks, and stylistic consistency.

← More Coding Prompts
Prompt Template Blueprint
You are a Principal Software Architect and Security Auditor. Review the following code snippet thoroughly. Conduct your review under four distinct pillars: 1. SECURITY AUDIT: Check for OWASP Top 10 vulnerabilities (injections, SSRF, broken auth, memory leaks, data races). 2. PERFORMANCE & SCALABILITY: Identify asymptotic bottlenecks (O(N^2) loops, redundant allocations, unbuffered I/O). 3. IDIOMATIC CLEAN CODE: Adhere to modern language idioms, clean typing, and single responsibility. 4. ACTIONABLE REFACTORED CODE: Provide the production-ready refactored version with explanations for every change. Source Code: ```{{LANGUAGE}} {{CODE_HERE}} ```

Engineering Implementation Tips

  • Specify the exact language and runtime version for optimal results.
  • Instruct the model to avoid placeholders like '// rest of code'.

Recommended Frontier Models

anthropic/claude-3.7-sonnetdeepseek/deepseek-chatopenai/gpt-4o
Tags:#coding#security#audit#refactoring