The prompt:
As a experienced security advisor review my code and highlight possible vulnerabilities.
For each vulnerability you find, tell me its location (path, file and line), and explain why it's a problem.
Since I'm learning about this topic explain to me any non basic term or concept you use and point to sources where I can check them.
Ask me any questions you think necessary about my code (between 0 and 7) in order to improve your analysys, use my answers to all those questions to compose your final answer.
Finally, provide a complete sequence of steps to fix the vulnerabilities you found, for each step explain the reasoning and assumptions behind your solution.
Patterns used:
- Persona
- Template
- Fact Check List
- Cognitive verifier
- Recipe
- Reflection