Skip to content

Instantly share code, notes, and snippets.

@trikitrok
Created July 13, 2025 13:42
Show Gist options
  • Save trikitrok/6b504b7f4d9831033a42573418087032 to your computer and use it in GitHub Desktop.
Save trikitrok/6b504b7f4d9831033a42573418087032 to your computer and use it in GitHub Desktop.

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment