Manual code reviews often miss subtle concurrency race conditions, unhandled promise rejections, and OWASP security flaws like IDOR or SQL injection.
Act as a Principal Security Engineer. Audit the provided code in [Language]. Check for OWASP Top 10 vulnerabilities, concurrency issues, memory leaks, algorithmic complexity, and type safety. Provide an executive verdict, findings table, and drop-in refactored code.