The short answer
An AI application test covers everything a web application test does, plus the risks that appear once a large language model reads user input, data or documents and can call tools. That means prompt injection, sensitive data leakage, unsafe handling of model output and agents with more permissions than they need. The OWASP Top 10 for LLM Applications (2025) is the usual reference.
Key facts
- Reference
- OWASP Top 10 for LLM Applications (2025)
- Typical testing window
- 1 to 2 weeks for a focused scope, confirmed in your proposal
- Retest
- Within 48 hours of you telling us fixes are ready
Why a standard test is not enough
A standard penetration test looks at authentication, access control, injection and configuration. Those still matter for an AI product. But once your application passes user input to a large language model, and the model can read data or call tools, there are new ways for things to go wrong that a standard test does not look for.
The risks to test for
The OWASP Top 10 for LLM Applications (2025) is the most widely used public list of these risks. Several of its entries apply to almost any AI product:
- Prompt injection (LLM01): a user, or a document, email or web page the model reads, overrides its instructions.
- Sensitive information disclosure (LLM02): the model reveals another customer’s data, secrets or internal information.
- Improper output handling (LLM05): model output is passed to a browser, database or shell without checks, which can lead to cross-site scripting or worse.
- Excessive agency (LLM06): an agent has more tools, permissions or autonomy than its job needs, so a manipulated model can do real damage.
- System prompt leakage (LLM07): instructions, or secrets placed in them, can be extracted.
- Vector and embedding weaknesses (LLM08): weak access control in retrieval can expose documents to the wrong users or let attackers plant content.
What an AI application test covers
- Threat model: what the model can see, which tools it can call and on whose behalf.
- Direct and indirect prompt injection, including through files, emails and retrieved documents.
- Tool and permission boundaries: whether each tool enforces the end user’s permissions, or only the agent’s.
- Data leakage across users and tenants, including through retrieval.
- How the rest of the application handles model output.
- Guardrail bypasses and jailbreaks relevant to your use case.
- Cost and resource abuse, such as requests built to run up usage.
- The surrounding web application and API, tested as in any pentest.
Designing agents that are easier to secure
- Give each tool the least privilege it needs, and check permissions in the tool, not in the prompt.
- Treat everything the model reads as untrusted input, including your own documents.
- Require human approval for actions that move money, delete data or contact customers.
- Log prompts, tool calls and outputs so incidents can be investigated.
- Never put secrets in system prompts.
What buyers ask for
Enterprise security reviews increasingly ask how AI features were tested and how AI risk is governed. A focused AI application test answers the first question with evidence. ISO/IEC 42001 is one way to answer the second.
How Veraha helps
Veraha tests AI applications and agents as part of our penetration testing services, using the OWASP Top 10 for LLM Applications as a reference, together with the web and API testing around them.
Terms used on this page
Sources
Need help with ai application testing?
Book a short call. You will come away with your scope, the gaps to close and a realistic timeline.