AI/LLM Application Penetration Testing
An LLM application takes instructions in natural language — including from attackers, and including instructions hidden in documents, emails and web pages the model reads. We test it the way an adversary would: prompt injection, jailbreak, system prompt leakage, RAG context poisoning and tool abuse. You receive a report with evidence and layered recommendations.
Describe your scope — your account manager will reply within 24 hours.
- Custom quote

What is AI/LLM application penetration testing?
AI/LLM application penetration testing (an LLM pentest) is a controlled attack on an application built on a large language model — a chatbot, assistant, agent or RAG system. The goal is to check whether the model's instructions can be bypassed (prompt injection, jailbreak), whether the system prompt or data can be extracted, whether the RAG context can be poisoned, and whether tools invoked by the model can be abused. The result is a report with working payloads, a mapping to the OWASP Top 10 for LLM Applications and remediation recommendations.
Contact your account manager
Discuss AI/LLM Application Penetration Testing with your dedicated account manager.

A language model will follow instructions nobody on your team anticipated
An attack on your AI application, run the way a real adversary would
Attacks on model instructions
Direct and indirect prompt injection, jailbreak, system prompt extraction
Data and RAG context
Knowledge base poisoning, sensitive data leakage, document access boundaries
Tools and model output
Function calling and plugin abuse, unsafe handling of model responses
What is AI/LLM application penetration testing
AI/LLM application penetration testing is a controlled attack on an application in which decisions or responses are generated by a large language model: a customer service chatbot, an internal assistant with access to documents, an agent that invokes tools, or a RAG (Retrieval-Augmented Generation) system. We check whether an attacker can force the model to ignore its instructions, disclose data or perform operations it should not have access to.
An LLM application has an attack surface that a classic penetration test does not cover. The model accepts instructions in natural language and cannot fully distinguish instructions from data. A malicious instruction can come directly from a user or indirectly — inside a document, email or web page the model reads as part of its task. That is why we test both the application around the model and the behaviour of the model within your integration.
Scope of testing
The standard scope of an AI/LLM application pentest covers:
- Direct and indirect prompt injection — instructions injected by the user and hidden in content the model processes (documents, emails, web pages, search results).
- Jailbreak — bypassing model safeguards through role play, hypothetical scenarios and DAN-style prompts.
- System prompt extraction — attempts to reveal instructions, business rules and secrets placed in the prompt.
- RAG context poisoning — introducing content into the knowledge base that changes model responses or smuggles in instructions.
- Tool and plugin abuse — if the model uses function calling, we check whether it can be induced to call a tool with dangerous parameters or beyond the user’s permissions.
- Model output handling — whether the model’s response reaches the browser (XSS via generated HTML), a shell (command injection via generated commands) or other systems without control.
- Data leakage — whether the model discloses personal data, other users’ data or documents the requester has no access to.
Methodology: OWASP LLM Top 10, NIST AI RMF and MITRE ATLAS
We conduct AI/LLM application pentests following the OWASP Top 10 for LLM Applications, NIST AI RMF and MITRE ATLAS.
We map findings to the categories of the OWASP Top 10 for LLM Applications, 2025 edition:
- LLM01:2025 Prompt Injection
- LLM02:2025 Sensitive Information Disclosure
- LLM03:2025 Supply Chain
- LLM04:2025 Data and Model Poisoning
- LLM05:2025 Improper Output Handling
- LLM06:2025 Excessive Agency
- LLM07:2025 System Prompt Leakage
- LLM08:2025 Vector and Embedding Weaknesses
- LLM09:2025 Misinformation
- LLM10:2025 Unbounded Consumption
The NIST AI RMF (AI Risk Management Framework 1.0, NIST AI 100-1, together with the Generative AI Profile NIST AI 600-1) provides a framework for describing risk in management terms, while MITRE ATLAS — a public knowledge base of adversary tactics and techniques targeting AI systems — lets us ground test scenarios in known attack patterns.
Pentesting and the AI Act
Article 15 of the AI Act (Regulation (EU) 2024/1689) requires high-risk AI systems to achieve an appropriate level of accuracy, robustness and cybersecurity, including resilience against attempts by unauthorised third parties to exploit their vulnerabilities. Following the amendments introduced by Regulation (EU) 2026/1744 (Digital Omnibus), obligations for high-risk systems listed in Annex III apply from 2 December 2027, and for systems covered by Annex I from 2 August 2028 (as of 7 October 2026). A pentest report is one piece of evidence that the system’s cybersecurity has been tested — it does not replace the other obligations.
Who it is for
An AI/LLM application pentest is for organisations that:
- offer customers a chatbot or assistant based on a language model,
- are building an internal assistant with access to documents, email or company systems,
- are deploying AI agents that invoke tools and perform operations in other systems,
- use RAG on sensitive data or data covered by trade secrets,
- need to demonstrate to the board, an auditor or a customer that the risk of their AI application has been assessed.
How the pentest works
- Scope and threat model. We learn the application architecture, data sources, tools available to the model and user roles. We agree the rules of engagement and the test environment.
- Testing. We run manual and semi-automated attacks on model instructions, RAG context, tools and output handling — following the scope described above.
- Report. You receive a description of vulnerabilities with the payloads that worked, a risk rating, a mapping to the OWASP Top 10 for LLM Applications and layered recommendations: system prompt hardening, guardrails, tool isolation, data access control and monitoring.
- Retest. After fixes are deployed, we verify that the safeguards work and cannot be bypassed.
Related terms
- Adversarial machine learning — attacks on machine learning models
- AI security — protecting artificial intelligence systems
- Knowledge base: AI and cybersecurity — articles on threats and defence
- LLM application pentest methodology — 6 phases and tools — a detailed description of the testing approach
How we work
Our proven service delivery process.
Scope and threat model
Application architecture, data sources, model tools, rules of engagement
Testing
Manual and semi-automated attacks on prompts, RAG context, tools and model output
Report
Working payloads, mapping to OWASP LLM Top 10, layered recommendations
Retest
Verification of the safeguards deployed after fixes
Benefits for your business
What you gain by choosing this service.
Lower leakage risk
You know whether the model can reveal customer data, the system prompt or internal documents
Control over agents
You verify that the model cannot perform operations it should not have access to
Evidence of due diligence
A report mapped to the OWASP LLM Top 10 supports risk assessment and compliance documentation
Informed deployment
Your team knows which safeguards work and which only look effective
Related Articles
Expand your knowledge with our resources.
Prompt Injection in LLMs — Threats 2026 and How to Defend
Prompt injection is the new SQL injection — attack #1 in OWASP LLM Top 10. How it works, why classic filters don't help, and what you can really do to secure AI applications.
Read more →LLM Application Pentest Methodology — 6 Phases and Tools (2026)
An LLM application pentest is not a classic web pentest. A 6-phase methodology built on OWASP LLM Top 10, MITRE ATLAS and NIST AI RMF — with concrete tools (Garak, PyRIT, promptfoo) and mapping to the EU AI Act.
Read more →LLM Security — enterprise risk assessment framework
LLM risk assessment framework for enterprises — ML supply chain, model poisoning, data leakage, prompt injection, regulatory compliance (EU AI Act, NIS2). Practical guide.
Read more →Frequently Asked Questions
Common questions about AI/LLM Application Penetration Testing.
How does an LLM application pentest differ from a classic penetration test?
A classic pentest looks for flaws in code, configuration and authentication. An LLM application adds a layer that input validation alone cannot secure: the model interprets natural language, so an attack can arrive inside a document, an email or a web page. We test both layers — the application around the model and the behaviour of the model itself.
Do you test applications built on commercial models such as GPT, Claude or Gemini?
Yes. We test the application your organisation has built — the system prompt, integrations, RAG context, tools and response handling — regardless of whether it runs on a commercial, open or in-house model. We do not test the model provider's infrastructure.
What does the LLM pentest report contain?
A description of each vulnerability with the payload that worked, a risk rating, a mapping to the OWASP Top 10 for LLM Applications categories and layered recommendations: system prompt hardening, guardrails, tool restriction and isolation, data access control and monitoring.
Is an LLM pentest enough to meet AI Act requirements?
Not on its own. Article 15 of the AI Act requires high-risk systems to achieve an appropriate level of accuracy, robustness and cybersecurity — a pentest is one piece of evidence that these properties were tested. Full compliance also covers system classification, documentation, human oversight and risk management.
Can testing harm a live application?
We agree the scope and rules of engagement before testing. Tools that perform real operations (sending emails, writing to systems, payments) are tested in a test environment or with restricted permissions so that production data is not affected.