LLM penetration testing: what is tested and why buyers commission it
An LLM penetration test is an adversarial assessment of a large language model application, measuring how the model, its prompts, its tools and the surrounding services behave when someone tries to make them fail. Buyers usually commission one because a launch is approaching, a customer's security questionnaire asks about AI controls, a compliance framework expects evidence of testing, or an insurer wants to know how the feature was checked. The test answers a narrower question than a general audit: which weaknesses can an attacker actually reach through the chat interface, the retrieval layer, connected tools and the API, and what would they gain from each one.
The OWASP Top 10 for LLM Applications 2026 gives the risk areas that a test should cover. These include LLM01 Prompt Injection, LLM02 Sensitive Information Disclosure, LLM03 Excessive Agency, LLM06 Unbounded Consumption, LLM08 Hidden Context Exposure and LLM10 Improper Output Handling, among others. A conventional web or API test checks authentication, input validation and access control in deterministic code. It does not show whether the model can be steered into ignoring its instructions, revealing hidden context or taking a tool action it should refuse. The OWASP AI Testing Guide makes this point directly: models can fail in non-deterministic ways, so the same prompt may succeed on one attempt and fail on the next. A tester therefore has to repeat attempts, vary phrasing and record outcomes across runs, not rely on a single pass or fail.
Before you commission a test, confirm three things with the provider. First, whether the scope covers the model behavior, the application around it and the tools or data sources the model can reach, or only the chat surface. Second, whether the provider maps each finding to a named OWASP category and a reproducible scenario. Third, whether the work includes a retest after fixes. Ask the provider to name the systems, accounts and data sources in scope and the roles used for testing, since a model with read access to a customer database presents a different risk from one answering public questions.
What an LLM penetration test can include in scope
An LLM penetration test is only as useful as its boundary. The components below can each be tested, and the scoping decisions that follow determine which of them a provider actually examines, how long that takes and what evidence you receive at the end.
Model endpoint and inference API
The model endpoint is the interface where prompts enter and completions leave, including authentication, rate limits, request validation and how the endpoint handles errors and oversized inputs. Testers check whether the endpoint exposes data it should not, whether it is reachable from places it should not be, and whether usage limits stop abuse that drives up cost. Ask the provider to state whether the model is hosted by you, by a vendor or by a third party, because that decides which controls are yours to fix.
Prompt and system instructions
System prompts, developer instructions and guardrail configuration define how the model should behave, and they are a frequent target for extraction and override. A test checks whether hidden instructions can be disclosed, whether user input can override them, and whether secrets or internal logic were placed inside the prompt where they can leak. Confirm with the provider whether the test covers direct user input only or also content the model reads from documents, web pages and tool outputs.
Application layer around the model
Most LLM incidents start in the code that wraps the model: the chat interface, input and output filters, session handling, authorization checks and the way model output is rendered or passed to other systems. Testers look at whether the application trusts model output without validation, whether tenants or users can reach each other's data through the application and whether business logic can be bypassed. This layer is usually tested with the same methods as a web application, so confirm the web and API tests are included or handled under a separate scope.
Retrieval sources and knowledge bases
If the system retrieves documents, tickets, wiki pages or web content, every source is part of the attack surface, because instructions can be planted in content the model later reads. Scope should name each source, who can write to it and which users can see the results. Testers check access control on retrieval, whether content from one user or tenant can appear in another user's answer and whether untrusted documents can steer the model. Ask which sources are in scope and whether test documents may be inserted into them.
Tools, plugins and actions
When the model can call tools, send email, query databases, write files or invoke APIs, the scope moves from what the model says to what it does. Testers examine which tools exist, what permissions each runs with, whether the model can be induced to use a tool outside its intended purpose and whether tool calls require confirmation for sensitive actions. The OWASP vendor criteria cover tool-calling agents, MCP architectures and multi-agent workflows, so buyers with these components should check that the provider has tested them and not only chat interfaces. Agent-specific risks are covered in the OWASP Top 10 for Agentic Applications.
Logging, admin consoles and access roles
Administrative consoles, prompt and log stores, evaluation dashboards and fine-tuning interfaces often hold more sensitive material than the chat screen itself, including conversation history, uploaded files and credentials. Testers check who can view logs, whether prompts and outputs are retained beyond the agreed period, whether admin functions have strong authentication and whether logs record the events needed for investigation. Scoping should list each user role to be tested, provide test accounts for each and state which environments and data sets testers may use.
Scoping decisions and rules of engagement
Before testing starts, the buyer and provider should agree which environments are in scope, such as staging or a production-like copy, which user roles and test accounts testers will use and what data may be submitted or retrieved. Harmful-content testing needs written rules: which categories are probed, what happens to outputs that contain sensitive material and how the provider avoids producing content that could be misused. Confirm these rules in the statement of work, along with notification contacts and the stop conditions if a test affects live users.
How a provider should run the engagement, phase by phase
A sound LLM penetration test moves from an agreed scope and threat model through adversarial testing to reproducible findings, a fix plan and a retest, so the client can show what was tested and what changed.
Agree scope and rules of engagement
The provider and client define the system under test, including the model endpoint, application, retrieval sources, tools, identities and data the system can reach. The written scope names what is out of bounds, which test accounts and environments are used, and who is the point of contact if a critical issue appears during testing. The step closes when both parties sign off on a scope document that a buyer can compare against the provider's proposal. Ask the provider to state in writing which layers are excluded, since that changes what the final report can claim.
Map the architecture and data flows
Testers document how a request moves through the system: the prompt template and system instructions, any retrieval step, tool calls, output handling, logging and the downstream systems that consume model output. This mapping shows where untrusted content such as documents, web pages or tool results can enter the model's context. The output is a data-flow diagram and an inventory of assets, which the client should review for accuracy before testing begins.
Build a threat model against OWASP and ATLAS
Using the OWASP Top 10 for LLM Applications 2026 as the risk vocabulary, testers identify which categories apply, from prompt injection and sensitive information disclosure to excessive agency and unbounded consumption. MITRE ATLAS techniques are then matched to the likely adversary actions and to the agreed harm scenarios. The output is a test plan listing each risk, the technique used to probe it, the expected evidence and the pass or fail criterion. The client should confirm that the highest-impact scenarios for its business are in the plan.
Run adversarial tests in a controlled environment
Testers execute the planned scenarios against the agreed environment, following the OWASP GenAI Red Teaming Manual's emphasis on ethical testing and measurable outcomes. Each attempt is logged with inputs, model and configuration version, timestamps and the observed output, so results can be repeated. Testing covers direct and indirect prompt injection, data exposure across users or tenants, unsafe output handling and tool permissions. The step ends when every planned scenario has a recorded result, including the scenarios that held, since those show which controls work.
Validate and rate findings
Each suspected issue is reproduced by a second tester or re-run from the logs to confirm it is not a one-off model behavior. Confirmed findings are rated by impact and likelihood in the context of the client's data and tools, and mapped to OWASP and ATLAS identifiers. NIST AI 100-2 E2025 provides shared terms for evasion, poisoning and privacy attacks, which helps the client's engineers and auditors read the same finding in the same way. The output is a validated finding list with reproduction steps written at a defensive level.
Deliver the findings report
The report states the scope and methodology, the standards mapped, the results for each planned scenario and each validated finding with evidence, business impact and a recommended fix. It should also show what was tested and passed, and what was not tested and why. Measurable outcomes, such as the number of scenarios run and their pass or fail status, let the client track progress. The step closes when the client has accepted the report and the remediation owners are named. Ask the provider for a sample report before signing.
Retest fixes and close the cycle
After the client applies fixes, the provider reruns the original scenarios that failed, plus regression checks on nearby controls, and records the new results against the same finding identifiers. The retest outcome is documented as closed, partly closed or open, with the evidence. Duration depends on the written scope and the number of findings, so the retest window should be stated in the proposal. The output is a closure record that can be given to an auditor, customer or board as evidence of follow-through.
Real adversarial testing or a jailbreak-only offering
A jailbreak-only offering tests the chatbot as a standalone text box. The provider runs a library of known prompts, often collected from public sources, against the model and records whether the model refuses or produces disallowed content. The output is usually a pass or fail score per prompt category, with a headline percentage. This can show that the model's built-in refusal behavior holds against common phrasings, which has some value, but it does not show how the surrounding application behaves once a model is connected to data, tools and users.
- Prompt collections as the test plan: the scope is a fixed list of prompts, so the result reflects the list rather than the system's threat model.
- Score-only reporting: a pass or fail count gives no reproduction steps, no affected component and no fix owner.
- No view of tools or data: retrieval sources, connected APIs, memory and permissions are not examined.
- Model-level focus: findings concern what the model says, not what an attacker can make the application do.
- Single-turn testing: multi-step conversations and indirect injection through documents or tool outputs are often absent.
Before buying, ask the provider whether the test covers anything beyond the prompt library and how a jailbreak result maps to a business impact.
Adversarial testing starts from the application itself. The tester maps what the system can read, what it can do and who can reach it, then builds threat models from those data flows. Harm scenarios are agreed with the client in writing before testing starts, such as an attacker causing the assistant to disclose another customer's records or to send a message on a user's behalf. Techniques are selected against those scenarios, using MITRE ATLAS techniques and the OWASP LLM Top 10 categories where they fit. Evaluation rigor means each attempt is recorded, repeatable where the system allows it, and judged against a defined expected behavior.
- Threat model tied to the application: the model, retrieval store, tools, identities and outputs are each assessed for their trust boundaries.
- Tool permissions and data flows: testers check what an injected instruction could cause the system to read, write or call.
- Agreed harm scenarios: each scenario names the asset, the actor, the expected control and the evidence of failure.
- Repeated trials: because model output is non-deterministic, results are recorded across attempts with the conditions noted.
- Coverage beyond the model: authentication, authorization, output handling and logging around the model are tested like any application.
Check whether the proposal names the harm scenarios, the systems in scope and how repeat attempts are counted.
The OWASP GenAI Security Project's Vendor Evaluation Criteria for AI Red Teaming Providers and Tooling v1.0, dated February 4, 2026, is a guide for assessing providers that offer AI red teaming services or automated testing tools. It is built to separate meaningful adversarial testing from superficial jailbreak-only offerings, and it applies to both simple chatbots and RAG applications and to tool-calling agents, MCP architectures and multi-agent workflows. Use its areas of green flags, red flags, realistic threat models, evaluation rigor, tooling quality and governance as the structure for your questions.
- Green flag, governance: the provider states how testing is authorized, how sensitive data from the test is handled and who approves attack activity.
- Green flag, tooling: tools are named, their role is explained, and a human reviews automated results before they reach the report.
- Red flag, vague scope: proposals that promise to test "AI security" without naming systems, data or permissions.
- Red flag, automated-only output: a dashboard score with no analyst narrative, reproduction detail or retest plan.
- Red flag, no defensive link: no mention of how findings feed monitoring or the client's operations, which the OWASP GenAI Red Teaming Manual Version 1.0, dated October 20, 2026, treats as part of the work.
Ask for a sample report and the provider's written method before you sign, and confirm that the criteria in the OWASP document are addressed in the proposal.
Which weakness categories the test should check
What does prompt injection testing check in an LLM application?
Prompt injection (LLM01) is the category where untrusted input changes how the model behaves, whether that input comes from a user message, a retrieved document, a web page or a tool output. Testers check whether instructions placed in those sources can override the system prompt, change the application's decisions or trigger actions the developer did not intend. They build scenarios around each input channel the application reads and record which guardrails held and which did not. MITRE ATLAS covers this area with AML.T0051.001, LLM Prompt Injection: Indirect, and jailbreak attempts fall under AML.T0054, LLM Jailbreak, both updated in the v2026.09 release. Confirm that the test covers indirect injection through documents and tools, not only prompts typed into the chat interface. The OWASP LLM Top 10 2026 list is the reference for this category.
How do testers check for sensitive information disclosure in LLM apps?
Sensitive information disclosure (LLM02) covers any path by which the model reveals personal data, credentials, business records or other confidential content to someone who should not see it. Testers review what data the model can reach, including conversation history, connected databases, files and tool outputs, and then check whether responses expose that data across users or sessions. They also look at error messages, logs and debugging output that may carry the same content. Findings should state which data classes leaked, under which conditions and for which user roles. Ask the provider to name the data types in scope, such as personal data, payment data or health data, because the test plan changes with each one.
What is excessive agency, and how is it tested?
Excessive agency (LLM03) occurs when a model is given more tools, permissions or autonomy than its task needs, so a manipulated or mistaken response can cause real changes in connected systems. Testers inventory every tool the model can call, the identity each tool runs under, the scopes granted and whether high-impact actions require confirmation. They then check whether the model can reach data or functions outside its intended role. Agent-specific tests draw on the OWASP Top 10 for Agentic Applications 2026, particularly ASI02 Tool Misuse and ASI03 Identity and Privilege Abuse. For a plain LLM application, the buyer should confirm that the provider documents each permission and tests whether it is actually enforced, not only configured.
Does the test cover model supply chain and data poisoning risks?
Supply chain (LLM04) and data and model poisoning (LLM05) are usually covered by a separate review, because they concern where models, datasets, adapters and fine-tuning pipelines come from and how they are verified, which a live test of the running application cannot establish. The review examines provenance, signature or hash checks, model and dataset registries, access to training data and update procedures. Poisoning is tested indirectly during a live assessment by checking whether data an application ingests can alter its behavior. The EU AI Act's Article 15(5) lists data poisoning and model poisoning among attacks that high-risk systems should resist, so a buyer under that regime should ask the provider how each poisoning path is evidenced. Confirm which of these two checks is included in the quoted scope.
How is unbounded consumption tested without causing an outage?
Unbounded consumption (LLM06) describes an application that lets a user or attacker drive up compute, token usage, tool calls or billing beyond what the business intended. Testers check whether rate limits, per-user quotas, token budgets, request size caps, timeouts on tool calls and spending alerts exist, and whether one account can exhaust them for others. Tests run under load limits agreed in writing, normally against a staging environment that mirrors production controls, so the test does not degrade live service. Ask the provider to state the limits it will apply, who approves them, and how it will stop if a control fails. The cost of the test itself depends on how much traffic is generated and how many controls are exercised.
What does misinformation testing look for in an AI system?
Misinformation (LLM07) covers outputs that are confidently wrong, such as invented facts, fabricated citations, incorrect figures or unsafe advice in high-stakes domains. Testers run an agreed set of questions with known correct answers, including edge cases from the product's own domain, and measure how often the system fabricates, refuses or hedges. They also check whether the application signals uncertainty and whether its sources can be traced. NIST AI 600-1, the Generative AI Profile, is a useful reference for trustworthiness properties in this area. Note that the 2025 edition of the OWASP list ranked system prompt leakage at LLM07, so a buyer comparing reports should confirm which edition the provider maps to and how each finding is labeled.
Which tests cover hidden context exposure and vector weaknesses?
Hidden context exposure (LLM08) concerns internal material that the application should keep private, including system prompts, developer instructions, tool descriptions and configuration details. Testers check whether that material appears in responses, error output or metadata, and whether a user can coax the model into restating it. Vector and embedding weaknesses (LLM09) cover retrieval systems, where testers check access control on retrieval, whether one tenant's documents can surface for another, and whether embeddings or stored chunks expose content. A RAG test goes deeper into these areas, so for retrieval-heavy products the buyer should confirm whether that engagement is included or sold separately. Ask the provider which tenants, collections and access roles are in scope.
What is improper output handling and how do testers check it?
Improper output handling (LLM10) happens when the application passes model output to another component, such as a browser, a template, a database query, a shell or an API, without validating or encoding it. Testers trace where each output goes, check how the receiving component treats it and determine whether output can trigger an action the user did not request. The test is defensive: it confirms that output is treated as untrusted data and that validation, encoding and approval steps exist, and it records each place where they are missing. Ask the provider to produce a map of every downstream consumer of model output, since that map drives the test scope and the fixes the report recommends.
What drives the cost and duration of an LLM penetration test
An LLM penetration test is priced by effort, and effort follows scope. Most of the bill is tester time, but that time splits across distinct activities: threat modeling with your team, reviewing how the model, system prompt, retrieval layer and tools fit together, testing the adversarial scenarios, writing findings, and retesting fixes. Environment setup is a separate line: a test needs a non-production instance that mirrors production data handling, with test accounts for each user role and, where the application calls tools, sandboxed or mocked backends so that a tested action cannot change a live record. Effort goes up with the number of tools and agents the model can call, the number of user roles and permission levels, the number of tenants whose data shares one retrieval index, the languages and input modalities the product accepts, and the number of downstream systems that consume model output. Effort goes down when you supply current architecture documentation, a stable and reset-able test environment, and agreed harm scenarios that narrow the question from "find anything" to "can a user in tenant A reach tenant B's documents through the assistant."
DeployOpen does not publish a price list. A quote follows from the written scope, which should name the layers in scope, the OWASP LLM Top 10 2026 categories and any agentic or MCP risk categories being tested, the test accounts and environments provided, the testing window, and the report format. Ask the provider to state, in writing, which items are one-time and which recur. One-time items usually include the scoping workshop, the test execution, the initial report and the readout. Recurring or optional items usually include retesting after fixes, re-running scenarios after a model, prompt or tool change, and continuous testing under a retainer. Ask whether a retest window is included, how many retest rounds it covers, and whether a retest of a single finding is billed separately from a full re-test. Confirm whether data handling terms cover any model API calls the tester makes, since those calls may go to a third-party service you have not approved.
A useful quote lists the assumptions as well as the price. Ask the provider to restate the scope in its own words, list each assumption about your environment (for example, that a sandbox exists, that logging is enabled, or that a named contact can answer questions within an agreed window), and state what happens if an assumption fails. If the provider cannot explain what changes the effort when a tool or user role is added, treat that as a sign that the scope is not yet defined. Also ask how the provider will handle a finding that requires a change to your model provider or vendor configuration, because that work may sit outside the test and need its own plan. Keep the quote, the scope document and the rules of engagement together, so that an auditor or customer reviewing the test can see exactly what was agreed.
Frameworks and regulations that expect adversarial testing of AI systems
Several frameworks and regulations now ask for evidence that AI systems were tested against adversarial behavior. The cards below show which obligations touch an LLM penetration test and what each one asks the test to produce. Confirm with counsel and your assessor which of them apply to your system, because DeployOpen does not issue audit reports or certifications.
EU AI Act Article 15(5) resilience
Article 15(5) requires high-risk AI systems to resist attempts to exploit their vulnerabilities, including data poisoning, model poisoning, adversarial examples, model evasion and confidentiality attacks. An LLM penetration test maps to this by testing prompt injection, output handling and sensitive data exposure against the system as deployed. Ask the provider to state which of these attack classes the test covers and how each finding links back to a specific control or system component. Confirm with counsel whether your system is classified as high-risk.
AI Act textEU AI Act Article 55(1) adversarial testing
Article 55(1) requires providers of general-purpose AI models with systemic risk to perform documented adversarial testing. This duty sits with the model provider, so a buyer testing its own application usually does not carry it directly. It still matters for buyers who fine-tune or host such models, because the documentation they receive from upstream providers shapes what their own test should cover. Ask whether the test scope includes the model layer or only the application around it.
NIST AI 600-1 generative AI profile
NIST AI 600-1 is the Generative AI Profile of the AI Risk Management Framework, published on 26 July 2024 for voluntary use. It gives organizations a structure for identifying and managing generative AI risks across design, development, use and evaluation. Pair it with NIST AI 100-2 E2025 for an attack taxonomy. Use it as a reference for how a test's findings map to risk categories, and confirm with your governance team whether your organization has adopted it internally.
NIST AI 600-1 pageHITRUST Agentic AI factor
HITRUST CSF v11.9.0 added an Agentic AI selectable factor to the HITRUST AI Security Certification, with a mapping to the OWASP Top 10 for Agentic Applications 2026. If your product uses tool-calling agents and you pursue this certification, your assessor will expect evidence that agent goal hijack, tool misuse and identity abuse were tested. A test scoped to the OWASP agentic categories gives that evidence a clear structure. Confirm the exact factor requirements directly with HITRUST and your assessor.
HITRUST advisoryCustomer security reviews
Many enterprise buyers ask for AI-specific evidence during vendor due diligence, even when no regulation applies to the product. A penetration test report with scoped LLM risk areas, reproducible findings and retest results usually answers these questions better than a generic certificate. Ask the provider whether the report can be shared with customers and whether it states the tested version, the tested environment and the date of testing. Confirm the wording your customers expect with your sales and legal teams.
How LLM testing changes by architecture
When the model is a third-party service reached through an API, the tester usually cannot reach the provider's model weights, training pipeline or serving infrastructure, and should not try to. The test concentrates on your application layer: how prompts are assembled, what data is sent to the model, how responses are parsed and acted on, and how your API keys and quotas are handled. Testing the provider's own platform is governed by their terms, so the scope should name exactly which parts of the stack belong to you.
- Prompt construction: Check how system prompts, user input and retrieved content are combined, and whether secrets or internal instructions can be extracted.
- Data sent to the provider: Confirm which fields leave your boundary and whether sensitive information is filtered before the request.
- Output handling: Test whether model responses are passed to interpreters, queries or templates without validation.
- Credentials and quotas: Review key storage, rotation and per-user cost limits, which map to unbounded consumption.
- Provider terms: Confirm in writing what the provider permits you to test, and whether any testing requires their notice.
Before signing, ask the provider to state which OWASP LLM Top 10 2026 categories are in scope and which depend on the provider's own controls, so the report does not imply coverage it cannot give.
When the model runs inside your cloud account, data center or air-gapped network, the tester can reach the serving stack, its model files, its configuration and the network paths around it. This widens scope in both directions: more layers can be tested, but more components also carry operational risk. Testing a serving endpoint that handles production traffic needs a rules-of-engagement agreement that covers load, maintenance windows and rollback.
- Serving exposure: Check whether inference endpoints, management interfaces and metrics ports are reachable from places they should not be. This relates to the misconfigured or publicly exposed AI services technique in MITRE ATLAS (AML.T0132).
- Model artifacts and loading: Review how weights, adapters and tokenizers are stored, verified and loaded, which connects to LLM04 Supply Chain and LLM05 Data and Model Poisoning.
- Access and logging: Test SSO integration, role separation and whether inference logs capture enough to investigate misuse without storing sensitive prompts unnecessarily.
- Resource abuse: Confirm request limits and timeouts exist at the serving layer, not only in the application.
- Environment for testing: Ask whether a staging copy is available, since active testing of a production model can degrade service.
Confirm with your platform team which components are managed by the vendor of the serving software and which are yours, because the answer determines the patch and configuration findings you can expect.
When the model answers from a knowledge base, the attack surface moves to the retrieval path: how documents enter the index, how they are chunked and embedded, and how the system decides which content a user may see. The LLM test then has to follow data across tenants and roles, which is where many findings sit. Scope decisions here change the work more than the choice of model does.
- Ingestion path: Determine who can add documents and whether indirect prompt injection can arrive through files, web pages or tickets.
- Retrieval authorization: Check whether access rules are applied at query time, so users cannot receive chunks from documents they cannot open.
- Tenant separation: If several customers share an index, treat cross-tenant leakage as a primary scope item.
- Output and citations: Test whether retrieved text can surface in responses or links in ways that expose internal material.
- Vector store access: Confirm which administrative and API interfaces are included in scope.
For the detailed method on retrieval, see the sibling page on RAG penetration testing, which covers the vector store and ingestion path in depth. Ask whether the LLM test and the RAG test are one engagement or two.
When the model can call tools, read files or act through MCP servers, the test has to consider actions as well as text. A successful attack may change data, send messages or run code, so the scope must define which tools are in bounds, which accounts the agent uses and where testing runs. Tests of this kind should run in a controlled environment with reversible actions. The OWASP Top 10 for Agentic Applications 2026 provides the categories most relevant here, including ASI01 Agent Goal Hijack and ASI03 Identity and Privilege Abuse.
- Tool inventory: List every tool, its permissions and whether it writes data or reaches external networks.
- Identity used by the agent: Confirm whether the agent acts with the user's rights or a shared service account, since this sets the privilege ceiling.
- MCP servers: Check authorization, token handling and whether local servers were installed with a visible command and approval.
- Test environment: Require sandboxed tools and test data, with agreed limits on what the tester may modify.
- Escalation path: Agree how critical findings are reported during the engagement rather than at the end.
For agent and MCP specifics, use the sibling pages on AI agent penetration testing and MCP server security testing, which go deeper than this page. Expect the scope to be the most negotiated part of this engagement.
What the client prepares before testing starts
The client's preparation determines how much of an LLM test produces usable findings. Before work begins, the client should supply architecture diagrams that show the model endpoint, system prompt store, retrieval layer, tool integrations, logging path and every trust boundary between user input and privileged actions. A named technical contact should own questions during the test, approve out-of-hours activity and be reachable when a tester reports a high-impact issue. Written rules of engagement should state which prompts, data sources, tools and accounts are in bounds, what is off limits, how testers must stop if production users are affected, and how credentials will be shared and revoked. Confirm these items with your provider in the written scope, since the exact list depends on the components under test.
Test accounts are the input most often underestimated. Provide accounts for each role the application or agent recognizes, such as an anonymous user, a standard user, a privileged administrator and, for multi-tenant systems, at least two tenants with separate data. Each account should hold realistic but synthetic records, and test data should avoid real personal data, since testers will deliberately push outputs and retrieval results into unsafe territory. Use a non-production environment that mirrors production configuration, or agree test windows with the security operations center, which should receive written notice so alerts from the test are not mistaken for an incident. Ask the provider to confirm whether any traffic will reach third-party model APIs and whose account those calls are billed to.
A change freeze and model version pinning matter because LLM behavior shifts when the underlying model, system prompt, retrieval index or guardrail configuration changes. A finding recorded against one model snapshot may not reproduce after an upgrade, and a fix may appear to work only because the model changed. Agree a freeze on configuration for the test period, pin the exact model identifier and version in the scope document, and record the system prompt and guardrail settings with a hash or export so results can be reproduced. If a change is unavoidable, the provider should retest affected findings and the report should state which version was tested. Ask the provider how it will record non-deterministic results, such as repeat runs and success rates, so that a finding is not dismissed because one attempt failed.
What to check in a provider before you sign
The OWASP vendor criteria for AI red teaming providers point buyers toward a short set of checks: the threat model, the evidence behind each finding, the tools and people doing the work, the rules around testing and data, and what you keep at the end. Each card below is a question to put to a provider before you commission a test.
Threat model tied to your system
Ask how the provider builds its threat model for your LLM application before any test begins. A credible model names the users, the data the model can see, the tools it can call and the trust boundaries between them, then maps those to the OWASP Top 10 for LLM Applications 2026 categories. A generic prompt list that would fit any chatbot is a sign the testing will be shallow. Ask for the threat model in the written scope, so you can challenge it before work starts.
OWASP vendor criteriaEvaluation rigor and reproducible findings
Each finding should come with the input that triggered it, the model and configuration tested, the observed output, the number of attempts and the reason the tester judged it a failure. Single successful prompts prove little for a non-deterministic system, so ask how many runs each scenario received and how results were scored. The OWASP GenAI Red Teaming Manual stresses reproducible findings and measurable outcomes, and your engineers should be able to replay each one.
Red Teaming ManualAutomated tools reviewed by people
Many providers run automated attack generators and scanners. That is acceptable when a tester reviews every result, removes false positives and explains the exploitable paths in the report. Ask which tools are used, which steps are manual and who signs off on the final findings. Ask also whether the tool's output is kept as evidence, since a raw scanner export rarely shows business impact.
Tooling quality and test environment
Ask where testing runs and what it can touch. Tests against a production agent with live tools and real customer records carry different risk from tests in a staging copy with synthetic data. Confirm the provider can explain its test harness, how it isolates tool calls and how it stops actions that would change state or send messages outside the test. Tooling choices should be documented in the scope, not left to the tester.
Ethical testing and governance rules
Ask for the provider's written rules of engagement: which harm categories are off limits, how sensitive outputs are handled when a test succeeds, who can approve escalations and how testing stops if a live system is affected. Governance also covers staff vetting, named testers and an incident contact. The OWASP criteria treat these rules as part of assessing a provider, so a provider without them is a weak choice for a regulated buyer.
Data handling for test prompts and outputs
Test prompts often contain sample personal data, internal documents or credentials, and model outputs may echo them back. Ask where prompts and responses are stored, which subprocessors or model providers receive them, how long they are retained and how they are deleted at the end. Confirm whether the provider's own testing uses your data to train or tune any model. Put these answers in the contract, since they decide your own compliance position during the test.
Sample report, written scope and retest policy
Before you sign, request a sample report, a written scope document and the retest policy. The sample should show severity logic, reproduction steps, evidence and remediation advice tied to the OWASP LLM categories and, where relevant, MITRE ATLAS techniques. The scope should list systems, models, tools, data sources and exclusions. The retest policy should state whether fixes are verified within the fixed price and what counts as closed. These three documents are the most practical test of a provider's rigor.
How much does LLM penetration testing cost and how long does it take?
What does LLM penetration testing cost?
The cost depends on the written scope, so no single figure applies to every LLM system. The main drivers are how many layers the test covers (the model interface, the application around it, retrieval, tools and agent actions, and the APIs behind them), how many user roles and tenants must be tested, how many agent tools and data sources are in play, and how much of the work is reporting and retesting. DeployOpen does not publish a price list. A quote follows from the scope agreed in writing before work starts, and that quote should name which layers, OWASP categories and environments are included.
How long does an LLM penetration test take?
Duration follows from scope, not from a fixed template. The biggest timeline factors are the number of components under test, whether test accounts and a non-production environment are ready on day one, how many roles and tenants need separate testing, and whether the system uses tools that act in external systems, which needs more careful setup. Ask the provider to state the phases, the start and end dates of the test window, the time reserved for reporting, and the date a retest would start. Those dates belong in the written scope, not in a general estimate.
What must our team provide before testing starts?
Most of the delay in an LLM test comes from access and information, not from testing itself. Expect to provide a non-production or agreed test environment, test accounts for each role and tenant, the system prompt or configuration where the test needs it, a list of tools, data sources and connected systems, the model and hosting details, and a named contact who can approve tests that touch live services. Confirm in the scope whether testers may use the production system, what rate limits apply, and how sensitive test data is handled and deleted afterward.
Can our internal security team run an LLM penetration test ourselves?
Your team can test an LLM system internally, and many do so as part of regular development. An independent test differs in three ways: a second group of testers finds issues the builders have stopped seeing, the work follows a documented method that maps to public references, and the report is written for an auditor or customer. Internal teams may still lack time, tooling or experience with agent and tool-permission attacks. If you are preparing evidence for a customer's security review or a compliance assessment, ask the provider how its method maps to the OWASP GenAI Red Teaming Manual and the OWASP AI Testing Guide, and whether the report can be reviewed by your own assessor.
Does a chatbot penetration test cost less than an AI agent test?
Usually a chatbot test has a narrower scope and therefore less effort, but the answer depends on what the chatbot can do. A chatbot that only answers questions can be tested mainly for prompt injection, sensitive information disclosure, output handling and abuse of consumption. An agent that calls tools, reads files, or acts on a user's behalf adds the OWASP Top 10 for Agentic Applications 2026 categories, including goal hijack, tool misuse, identity and privilege abuse and unexpected code execution, and each tool and permission boundary becomes a test area. Ask the provider to list every tool and permission in the scope, because that list is what most changes the quote.
How is retesting priced after an LLM penetration test?
Retesting usually covers only the findings that were fixed, and it is commonly scoped and quoted separately from the first test. Ask the provider whether the retest quote includes a check of each fix, how many rounds are included, whether regression checks on the rest of the system are part of the work, and what happens if a fix changes the model, prompt or tool configuration, since those changes can reopen earlier issues. DeployOpen agrees retesting in the written scope with the original engagement, so you can see the cost before the first test starts. Ongoing testing across model updates is available as a retainer.
What should a written LLM test quote include?
A useful quote states what is tested and what is not. It should list the layers and components in scope, the OWASP LLM Top 10 2026 and agentic categories covered, the environments and test accounts, the testing window and phases, the deliverables and their format, the reporting and review meetings, and the retest terms. Also ask whether the provider will test live production systems, how it handles data the test exposes, and what happens if scope grows during testing. A quote that gives only a total without these items is hard to compare with another proposal.
How DeployOpen scopes, tests, reports and retests LLM systems
DeployOpen scopes an LLM penetration test in writing before any work starts, then tests the application, its retrieval and tool layers, and its surrounding interfaces against the OWASP Top 10 for LLM Applications 2026 and MITRE ATLAS. Each finding is documented so your team can fix it, and a retest confirms the fixes held.
How we scope
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before testing starts
- The written scope names which LLM01 to LLM10 risk areas, components and user roles are in and out of the test
- We confirm whether retrieval, tools, MCP connections and customer data sources are part of the target
- Ongoing support and continuous testing are available as a retainer once the initial scope is set
How we build
- Testing follows the OWASP GenAI Red Teaming Manual phases, mapped to the OWASP AI Testing Guide for AI-specific tests
- Prompt injection scenarios cover direct input and indirect content from documents, web pages and tool outputs
- Tests run against the agreed environment, with access controls, logging and data handling set out before testing
- Each scenario is written so a finding can be reproduced by your team and by a retest
How we hand over
- The findings report ties each issue to an OWASP LLM risk category and, where relevant, a MITRE ATLAS technique
- Each finding states the affected component, the evidence observed, the severity reasoning and the recommended fix
- Findings are documented so your security, compliance and engineering teams can review the same evidence
- The report is written to support your internal reviews and to answer questions from customers or assessors
How we support
- After fixes are applied, we retest the affected findings and document whether each fix holds
- Remediation guidance is written for your engineers, covering guardrails, permissions and output handling
- We help you decide which findings to re-test on a schedule as the LLM system and its models change
- Retainers cover ongoing testing and support for teams that release or change LLM features regularly

