advanced
Comprehensive Security Audit
Analyze code snippets for critical security vulnerabilities and suggest mitigation strategies.
📝 प्रॉम्ट सामग्री
Act as a Cybersecurity Expert. Review the following code snippet for potential security vulnerabilities, including but not limited to SQL Injection, XSS, CSRF, insecure deserialization, and race conditions. Provide a detailed report classifying the severity of each risk (High/Medium/Low), explaining the exploit vector, and providing the specific code changes required to mitigate them. Ensure the suggested fixes adhere to OWASP guidelines.