Topic 5 of 5 · 4 min read
Using OWASP lists in design and code reviews
Goal: Run an OWASP-based review of an AI feature design and write findings tied to specific list entries.
Use the OWASP lists as sources of review questions applied to a real design, and write each finding with the list entry, the concrete path, the impact and a fix. Ticking ten boxes is not a review.
Check yourself · 1 of 3
Which first step best starts an OWASP-based design review of an AI feature?
Why it matters
A list read once in a meeting is forgotten. A list turned into questions you ask of every AI feature catches problems before launch, when changes are cheap. Tying findings to entries also lets teams count, compare and track recurring problems.
How to run the review
- Draw the data flow. List inputs (users, documents, web pages, tool results), the model, tools, memory, stores and outputs.
- Ask one question per entry. For example: what untrusted text reaches the model (LLM01)? Where does the output go (LLM05)? What can the model do without approval (LLM06)? Whose documents can retrieval return (LLM08)? What stops a loop or a huge prompt (LLM10)? For agents, add: whose credentials does it use (ASI03), what does it remember (ASI06), which agents does it trust (ASI07)?
- Walk the attack path. Follow untrusted input to the first harmful action. Many serious findings link two entries.
- Map to MITRE ATLAS if you need attacker technique names. OWASP says what risk exists; ATLAS describes how adversaries attack AI systems and fits threat models and incident reports.
- Write the finding. Entry id, location, scenario, impact, fix, owner.
Before and after
Weak: "LLM06: check." Better:
Finding 3, LLM06 and ASI03, high. The
deploy-helperagent uses the team's production token. A malicious issue comment could make it redeploy or delete services. Fix: issue a read-only token for the agent; require approval for deploy steps. Owner: platform team.
Keeping it honest
- Mark entries "not applicable" with a reason, such as "no tools, so no agency".
- Re-review when tools, data sources or models change.
- Test the fix with a real attempt, not only a code read.
What goes wrong
- Checkbox compliance. Passing a list does not mean the system is safe.
- Reviewing the model, not the system. Most findings sit in tools, permissions and data flow.
- No follow-up. Findings without an owner and date are never fixed.
Examples
Review questions for an AI meeting summariser
Input: meeting transcripts and a calendar. Output: summary emailed to attendees. Questions: can a speaker say words that steer the summary (LLM01)? Is the summary escaped in the email (LLM05)? Can it email people outside the meeting (LLM06)? Are transcripts of other meetings reachable (LLM08)? Finding: attendees list is editable by guests, so the email can go to an outsider. Fix: send only to verified invitees.
Key points
- Turn each list entry into a question you ask about a specific data flow.
- Trace untrusted input to the first harmful action, since serious findings often join two entries.
- MITRE ATLAS gives attacker technique names that complement OWASP risk names.
- A good finding names the entry, location, scenario, impact, fix and owner.
- Re-review when tools, data or models change, and mark not-applicable entries with a reason.
Common mistakes
- Treating the list as a pass/fail checklist and stopping at ten ticks.
- Reviewing only the prompt and model, not the tools and permissions around them.
- Writing findings without an owner, fix or severity.
Check yourself · 2 of 3
What makes a review finding useful?
Check yourself · 3 of 3
How does MITRE ATLAS relate to the OWASP lists?
Practice items, not counted towards your mastery.
Start here
- OWASP Top 10 for LLM Applications (opens in a new tab)DocsFree
The official 2025 list of ten LLM application risks, each with examples, attack scenarios and mitigations.
- OWASP Top 10 for Agentic Applications for 2026 (opens in a new tab)DocsFree
The official list of agent-specific risks, from goal hijack to rogue agents.
- LLM10:2025 Unbounded Consumption (OWASP GenAI) (opens in a new tab)ArticleFree
Describes denial of wallet, input overflow and model extraction with prevention steps.
More for this topic
- MITRE ATLAS (opens in a new tab)DocsFree
A knowledge base of adversary tactics and techniques against AI systems, for mapping findings.
- OWASP Gen AI Security Project (opens in a new tab)DocsFree
Home of the LLM and agentic lists, plus governance and red-teaming guides.