Send Your Agent: Audit a Project Against OWASP Top 10:2025
Use a structured prompt to ask an AI coding agent to review every OWASP Top 10:2025 category, cite code evidence, and separate code-review findings from runtime checks.
Paste this prompt into your coding agent to request a systematic review of a project against all ten OWASP Top 10:2025 categories. It requires a status for each category, evidence for every finding, and a clear distinction between what code review can show and what needs execution.
The category names below follow the official OWASP Top 10:2025 list.
Copy the prompt
Review this project against OWASP Top 10:2025. Go through every category, one at a time. Do not skip any:
A01:2025 — Broken Access Control
A02:2025 — Security Misconfiguration
A03:2025 — Software Supply Chain Failures
A04:2025 — Cryptographic Failures
A05:2025 — Injection
A06:2025 — Insecure Design
A07:2025 — Authentication Failures
A08:2025 — Software or Data Integrity Failures
A09:2025 — Security Logging and Alerting Failures
A10:2025 — Mishandling of Exceptional Conditions
For each category, report exactly one of these:
“Found”
“Checked, no issue found”
“Not applicable because…”
Silence is not a result.
For every finding, include:
- file and line number;
- what input an attacker controls or supplies;
- what the attacker could cause, change, or access;
- severity and why it matters;
- a recommended fix, including code.
Rules:
- Do not report a finding unless you can cite the exact code location and explain the evidence.
- Check both client and server code. A hidden or disabled UI control does not protect server-side data or actions.
- Separate what you verified by reading code from what requires running the app, tests, or other checks.
- For checks you could not run, say so and list the exact command or procedure needed. Do not call them clean.
- State assumptions, missing context, and limits of this review.
- End with a table listing A01 through A10 and each category’s status.How to read the result
Check that all ten categories appear in the final status table. A claim such as “checked, no issue found” should be backed by the files and code paths reviewed. If a check needs a running application, a test, or a scanner, the agent should mark it unverified until that check is actually performed.
This prompt structures a code review; it does not prove that an application is secure. OWASP describes the Top 10 as an awareness document, so use it as one part of a broader security process.