Any
💻 Coding & Dev
Advanced
Perform a Code Security Review
Get a thorough security audit of any code with OWASP-based findings.
The Prompt
Perform a security review of the following code. Identify all security vulnerabilities, classify them by severity (Critical / High / Medium / Low), and provide a corrected version with explanations. Language/framework: [language and framework] Context: [e.g. user authentication endpoint, file upload handler, payment processing] Check for at minimum: - Injection vulnerabilities (SQL, command, LDAP) - Authentication and authorisation flaws - Insecure data handling and exposure - Cryptography issues - Input validation gaps - Dependency vulnerabilities Code: ``` [paste code here] ```
📝 Fill in the blanks
Replace these placeholders with your own content:
[language and framework]
[e.g. user authentication endpoint, file upload handler, payment processing]
[paste code here]
How to use this prompt
1
Copy the prompt
Click "Copy Prompt" above to copy the full prompt text to your clipboard.
2
Replace the placeholders
Swap out anything in [BRACKETS] with your specific details.
3
Paste into Any
Open your preferred AI assistant and paste the prompt to get started.