WORKED EXAMPLE
Sample output
Sample input
Sample repository: order API. POST /orders trusts the client’s userId field. Two test accounts and a local database are available.
Sample output
High — POST /orders permits orders on behalf of another user when the body’s userId differs from the session owner. Reproduce: sign in as A and send B’s ID in the request body. Fix: derive ownership from the session and remove the body field. Regression: A must be unable to create an order for B.
Worked example for a fictional repository. No test run is claimed.
Raw prompt
For {repository}, first map setup instructions, dependencies, entry points and tests. Trace input validation, authorization and failure paths from the user flow. For each finding report file and line, reproduction, impact and evidence. Start with a small failing test or example, then propose the smallest fix and run the relevant regressions. Request approval for destructive operations or deployment. Separate passed, remaining and unavailable checks in the final report.How to use this prompt
Copy the prompt, substitute your own input and paste it into your tool. Check the result against your goal.