Advanced
Text-Based Vulnerability Assessment
Analyze a code snippet description for security flaws.
📝 Conteúdo do Prompt
Act as a Security Analyst. I will provide a description of a backend implementation process that handles user authentication. Your task is to identify potential security vulnerabilities (such as SQL Injection, XSS, or CSRF) based on the description provided. For each vulnerability found, explain the risk, provide a hypothetical attack scenario, and suggest the specific code fix required to mitigate it.