Chatbot penetration testing methodology and checklist

A chatbot penetration test checks the model, its prompts, tools, data sources and surrounding web layers. This page explains the method, the public standards behind it, the checklist to review and what drives cost.

On this page

Chatbot penetration testing: what a buyer needs to review before commissioning one

A chatbot penetration test is an adversarial assessment of a conversational AI system and the web and API layers around it, run to find ways an attacker could manipulate the model, extract data or misuse the tools behind it. If a customer security review, a launch checklist, an insurer or a compliance framework has asked for proof of chatbot testing, the buyer should be able to verify three things: which risk categories the test covers, which public standards the method maps to, and how each finding is evidenced and retested. A provider that cannot name those three things in writing is offering a generic web test or a jailbreak exercise, not a chatbot penetration test.

The core risk areas come from the OWASP Top 10 for LLM Applications 2026. Ask the provider to show how LLM01 Prompt Injection is tested, including direct instructions and content the bot reads from documents or web pages. Confirm that LLM02 Sensitive Information Disclosure covers what the bot can reveal from its context, logs and connected data sources. LLM03 Excessive Agency tests what the bot is allowed to do through tools and permissions, and LLM08 Hidden Context Exposure tests whether system instructions or hidden context can be coaxed out. Each category should appear as a named test area in the plan, not as a line item that says the LLM Top 10 was considered.

The chatbot's web and API layers are tested too, because most real compromises reach the model through them. Session handling, authentication, authorization on conversation history, rate limits and the endpoints that pass user input into the model are ordinary application weaknesses that a model-only test would miss. The OWASP AI Testing Guide v1, officially released on 26 November 2025, describes itself as the first open, community-driven standard for trustworthiness testing of AI systems. Use it as the reference the provider maps its method to, and ask which of its test layers the proposed plan covers.

What can be in scope for a chatbot penetration test

A chatbot test touches more than the model. The buyer decides, layer by layer, which interface, integrations, data sources, accounts and environments are tested and under what rules. Each decision below changes the method, the access the tester needs and the findings the report can support.

Chat interface and web layer

This covers the browser or mobile front end, the session handling around the chat window, the API endpoints that carry messages, and any file upload or rendering of model output. Decide whether the test covers only the chat surface or also the authentication and admin pages behind it. Confirm how output is rendered, since unsafe rendering of model responses is a common finding in this layer. Ask the provider to name which web and API test categories it applies here.

Model integration and system prompt handling

This layer covers how the application calls the model, what the system prompt contains, and whether prompt text or configuration can be read by users. The buyer must decide whether the tester receives the system prompt and configuration in advance, and whether testers may attempt to extract them. Agree whether the test covers only the production model setting or also the parameters that change behavior. Ask for the test plan to map these checks to LLM07 System Prompt Leakage and LLM01 Prompt Injection.

Retrieval sources and knowledge bases

If the chatbot answers from documents, a wiki, a ticket system or a vector store, those sources are part of the attack surface. Decide which sources are in scope, who controls the content, and whether testers may add test documents to a shared index. Confirm whether indirect prompt injection through retrieved content is tested and how the team will be protected from unintended effects on live knowledge. Retrieval testing is usually a separate engagement with its own checklist.

Tool and API connections

Chatbots that search records, send messages, open tickets or call internal APIs act with the permissions of the connection they hold. Decide which tools are in scope, which backend systems they reach, and whether write actions may run during testing. Agree on test accounts and sandbox data so that a successful test does not create real transactions. Ask the provider to show how excessive agency under LLM03 is tested for each connected tool.

User roles and tenancy

Most chatbot findings in multi-user products involve one user seeing another user's conversations, documents or permissions. The buyer must decide which roles are provided, such as anonymous, standard, administrator and support staff, and whether two tenants are available to test isolation. Confirm that test accounts are created for the engagement and removed afterward. Ask whether the tester will attempt privilege escalation and cross-tenant access, and how those attempts are recorded.

Environment, logging and model hosting

Decide whether testing runs against production or a staging copy with production-like data and configuration. Staging is usually preferred for prompt injection and abuse testing, but the buyer must confirm that staging controls match production. Agree how conversation logs, traces and test artifacts are stored and deleted, since they can contain sensitive data. Where the model is hosted by a third party, that provider's testing rules apply and must be checked before testing starts. Where the model is self-hosted, the environment and its logs fall inside the test scope.

How a chatbot penetration test runs, phase by phase

The sequence moves from agreed scope and threat model through architecture review, scenario design, hands-on testing and validation, to a report and a retest, so the buyer can see what was tested, against what, and what changed.

  1. Agree scope and threat model

    The provider and client agree which chatbot, models, data sources, tools and user roles are in scope, and what the test must not touch, such as production customer records or third-party model providers. The provider then builds a threat model that names the assets worth protecting, such as system prompts, customer data and downstream actions, and the actors who might target them. The step closes with a written scope document signed by both parties, including rules of engagement and an agreed contact for stopping testing.

  2. Review assets and architecture

    The tester maps how the chatbot works in practice: the model and hosting arrangement, system prompt handling, retrieval sources, plugins or tool connections, authentication, session handling, logging and the web or API layers around the interface. Where the client can provide them, the tester reads configuration, data flow diagrams and vendor documentation. The step closes with an architecture map that the client confirms is accurate, because every later test depends on it.

  3. Design tests against OWASP AI Testing Guide layers

    The tester turns the threat model and architecture map into a test plan organized by the layers of the OWASP AI Testing Guide, which the project describes as a methodology for AI system assessment. Each planned test states its objective, the OWASP LLM Top 10 2026 category it relates to, the expected guardrail, the evidence to be kept and the stop conditions. The client reviews the plan before testing starts. The step closes with an approved test plan that the report can trace back to.

  4. Execute hands-on testing within scope

    Testers run the planned scenarios against the agreed environment, following the execution discipline that NIST SP 800-115, the Technical Guide to Information Security Testing and Assessment, describes for planning, execution and analysis. Work is logged with timestamps, inputs, outputs and the account used. Testers pause and notify the client when they reach a stop condition, such as unexpected access to live personal data. The step closes with a complete test log and a record of any scenario that was not run, with the reason.

  5. Validate findings and assess severity

    Each candidate finding is reproduced, checked against a second attempt and compared with the expected behavior. The tester records the scenario, the guardrail that held or failed and the evidence kept, such as redacted transcripts or request records. Severity reflects the impact on the client's data and actions and how hard the issue was to trigger, and the tester explains that reasoning in writing. Working attack strings are not published in the report. The step closes with a validated findings list that the client can discuss with the tester.

  6. Deliver the findings report

    The provider issues a report that lists scope, method, standards referenced, each validated finding with its evidence and remediation advice, and the scenarios that held. Findings are mapped to OWASP LLM and agentic categories and to the relevant MITRE ATLAS techniques where that helps. The report is a security record for the client's own teams and may be shared with an auditor or customer, but it does not state a compliance outcome. The step closes with a report walkthrough where the client can question each finding.

  7. Retest fixed findings

    After the client applies fixes, the tester repeats the original scenarios for each finding and checks whether the guardrail now holds, without assuming a fix works from a change ticket alone. Where a fix changed the design, the tester may add scenarios to cover the new behavior. The retest result is recorded against each original finding as fixed, partially fixed or open. The step closes with a retest report that shows which findings were closed and what evidence supports that status.

How the test traces from scope to retest

The flow starts with a written scope agreement, then maps the architecture and trust boundaries: the user, the chat front end, the model, retrieval, tools and backend APIs. Test cases are designed against OWASP risk categories and run in a controlled environment. Each boundary where prompt content, retrieved documents and tool outputs enter the model context deserves particular attention, because that is where instructions from untrusted sources can reach the model. Findings carry evidence, go to remediation, and close only after a retest confirms the fix.

Chatbot test flow from scope agreement through retest, with the model context trust boundary marked.

Which weakness categories a chatbot test checks and why they matter

This table maps each OWASP LLM Top 10 2026 category to how it appears in a chatbot and why it matters to the business, so buyers can check that a proposed test plan covers each one. Read it as a coverage checklist: every row should have a matching test area in the vendor's scope. The 2025 edition ranked System Prompt Leakage at LLM07, while the 2026 edition adds Hidden Context Exposure at LLM08, so confirm your vendor tests both concerns.

Weakness categoryWhat it looks like in a chatbotWhy it matters to the business
LLM01 Prompt injectionUser or document content overrides the bot's instructions, changing its behavior or actionsAttackers can steer answers, bypass guardrails and trigger unintended actions in connected tools
LLM02 Sensitive information disclosureReplies expose personal data, account details, internal records or confidential business contentCreates privacy breaches and regulatory notification exposure
LLM03 Excessive agencyThe bot can call tools or take actions beyond what the use case needsSmall misjudgments can become transactions, data changes or access to systems
LLM04 Supply chainThird-party models, plugins, embeddings or chat components carry unvetted code or weak versionsA compromised dependency can affect every conversation the bot handles
LLM05 Data and model poisoningTraining, fine-tuning or feedback data is manipulated so behavior shifts over timeQuietly altered answers can erode trust and cause wrong decisions without obvious failure
LLM06 Unbounded consumptionInputs or sessions drive excessive token use, tool calls or request volumeDrives runaway cost, service degradation and denial of service for legitimate users
LLM07 MisinformationThe bot gives confident but false answers, including invented policies, prices or citationsCustomers may act on wrong information, creating liability and reputational harm; 2025 ranked system prompt leakage here
LLM08 Hidden context exposureInternal instructions, system context or hidden configuration can be revealed through repliesExposes business logic and guardrail design that help attackers plan further abuse; new in the 2026 edition
LLM09 Vector and embedding weaknessesRetrieved content crosses user or tenant boundaries, or embeddings leak source materialUsers may see documents they are not entitled to see, a common issue in retrieval-based bots
LLM10 Improper output handlingBot output is rendered or passed to downstream systems without validationOutput can trigger script execution, injection into other systems or unsafe links in the user's browser

What the client receives and whether it satisfies an auditor or customer

A chatbot penetration test should produce a set of parts that each answer a different reader: an executive summary for leadership, a method record for auditors, and findings with fixes and a retest for the engineering team. Check each part against what your auditor or customer actually asked for before the test starts.

Executive summary and overall results

The summary states what was tested, the period, the overall risk picture and the findings that matter most to the business, in language a board or customer reviewer can follow without reading the technical detail. It should name the highest-severity issues and the decisions they require. Check that the summary matches the detailed findings one to one, with no severity shown in the summary that the body does not support.

Methodology and standards record

The methodology section names the references the test followed, such as the OWASP AI Testing Guide and NIST SP 800-115 for the assessment phases, and explains how each test area maps to the OWASP Top 10 for LLM Applications. A reviewer should be able to trace each test back to a named standard and see which tests were not run and why. Ask the provider to show this mapping in the report, not only in the proposal.

AI Testing Guide

Scope and rules of engagement record

The report should restate the agreed scope, including the chatbot endpoints, underlying models, connected tools and data sources, test accounts, time windows and any excluded actions. It should also record the rules of engagement, such as which tests touch production data and who approved them. Confirm in writing that this record matches the signed scope, because auditors often ask whether testing stayed within agreed boundaries.

Findings with severity and defensive evidence

Each finding should state the weakness category, the affected component, the severity rating and the business impact. Evidence should show that the weakness exists, such as a logged response or a blocked control that failed, without publishing working attack strings or exploit steps. Ask how severity is assigned and whether it reflects the chatbot's data access and agency, not only the generic model risk.

Checklist results and remediation guidance

A results table lists every checklist item with a pass, fail, partial or not-tested status, so a reviewer can see coverage at a glance. Each failed item should carry a remediation step that the engineering team can act on, such as tightening tool permissions, adding output validation or limiting retrieval scope. Ask for the checklist version used, since a reviewer will want to compare it against the standards cited.

Retest and status tracking

A retest confirms whether each remediated finding is closed, partly closed or still open, and it should be reported with the date and the build or configuration tested. This is the artifact that shows a customer or auditor that issues were fixed, not only found. Ask the provider whether retest is included in the quote, how many retest rounds are covered and how open items are carried into the next cycle.

What drives chatbot penetration testing cost and duration

This table compares the scope factors that change the effort of a chatbot penetration test, explains why each one moves cost or duration, and shows how to scope efficiently. No public price list exists for this work and DeployOpen does not publish prices, so a quote follows from the written scope. Use the table to shape the scope you send to providers.

DriverWhy it changes effortHow to keep it efficient
Chatbot interfaces and user rolesEach web, mobile, embedded or messaging interface and each role (anonymous, customer, staff, admin) adds sessions to test and access boundaries to check.List interfaces and roles in the scope document. Test the highest-privilege role and one representative role per interface unless the boundary between roles is itself in question.
Connected tools and APIsEvery function the bot can call, including its authorization model and input handling, adds a test surface and a route for excessive agency (LLM03).Inventory tools with their permissions and data reach. Mark read-only tools separately from tools that write, send or pay.
Retrieval sources and tenancy modelMultiple knowledge bases, document uploads and cross-tenant data sharing require access control and leakage tests for each source and boundary (LLM08).Name each retrieval source and whether tenants share an index. A single-tenant test with one source is the lowest-effort case.
Hosted or self-hosted modelA third-party hosted model is tested mainly through the application layer and its configuration. A self-hosted model adds serving, storage and update paths to review.State the model provider, deployment type and whether you own the inference endpoint. Confirm which model-layer checks the provider covers versus your own platform team.
Depth of prompt injection and abuse testingDirect and indirect prompt injection, jailbreak attempts and unbounded consumption (LLM06) testing each need scenario design, repeated runs and result review.Agree on the risk categories to test in depth and those to cover with a lighter sample. Ask the provider to explain how results show which guardrails held.
Environments providedTesting against production, staging or a copy with realistic but non-sensitive data changes setup time, data handling and what can be safely exercised.Confirm which environment is in scope, whether test accounts and synthetic data exist, and who approves actions that change records or send messages.
Retest scopeA retest of confirmed findings after fixes is smaller than the original test, but scope grows if fixes change tools, prompts or retrieval logic.Agree in advance on the retest window and which findings are included. Keep the original test artifacts so the retest can reuse them.
Reporting depth for auditors or customersA report mapped to OWASP LLM Top 10 categories, test evidence and remediation tracking takes more effort than a summary for internal use.Ask upfront which framework mapping, evidence format and attestation language your auditor or customer expects. DeployOpen does not issue audit reports or certifications, so confirm the assessor's requirements first.

Which frameworks expect AI testing and what they ask for

No single program requires a chatbot penetration test by name, but several frameworks now expect adversarial testing or resilience evidence for AI systems, and a buyer should know which duty applies before scoping. The EU AI Act is the most direct. Article 15(5) of Regulation (EU) 2024/1689 requires high-risk AI systems to be resilient against attempts to exploit vulnerabilities, including data poisoning, model poisoning, adversarial examples, model evasion and confidentiality attacks. Article 55(1) goes further for providers of general-purpose AI models with systemic risk, who must perform documented adversarial testing. A chatbot is only in that second category if it is built on such a model and the provider is the one bound by the duty, so the buyer should confirm with legal counsel which obligations attach to its role and system classification.

HITRUST CSF v11.9.0, released in September 2026, added an Agentic AI selectable factor to the HITRUST AI Security Certification and mapped it to the OWASP Top 10 for Agentic Applications 2026. Organizations pursuing that certification should ask their assessor which agentic controls apply to a chatbot that calls tools, retrieves data or acts on a user's behalf, and what testing evidence the assessor expects for each. Customer security reviews and insurer questionnaires often ask a narrower question: whether an AI feature has been tested against the OWASP LLM Top 10 and whether findings were fixed and retested. Ask the requesting party which framework and which version they want referenced, because the answer changes which test plan and report sections you need.

DeployOpen prepares systems, controls and evidence for these assessments, including test reports, remediation records and retest results. It does not issue audit reports, attestations or certifications, and independent auditors and certification bodies decide whether a given artifact satisfies a requirement. Before commissioning a test, confirm with your auditor or assessor in writing which evidence they accept, whether they want the methodology mapped to a named standard, and whether a retest must be completed before the report is submitted. That written answer should shape the scope and the report format in the quote.

How to check a chatbot testing provider's method before you sign

A chatbot test is only as useful as the method behind it. The checks below let you compare proposals on the same terms, from the standards a provider names to the paperwork that governs the test. Each one tells you whether the provider can explain its approach in writing before any testing starts.

Named standards and risk mapping

Check whether the proposal names the OWASP AI Testing Guide and NIST SP 800-115 as reference points, and whether each test maps to an OWASP LLM Top 10 category and a MITRE ATLAS technique. NIST SP 800-115 covers the assessment phases, while the OWASP AI Testing Guide covers AI-specific tests. A provider that cannot show this mapping for each test case is asking you to trust its judgment without a basis for review.

AI Testing Guide

Layers beyond the prompt

A chatbot is usually a web front end, an API, an orchestration layer, a model call and any tools or retrieval sources behind it. Ask whether the scope covers the web and API layers, authentication and session handling, tool invocation and the data stores the bot reads. A jailbreak-only offering covers a narrow slice of the risk, because prompt manipulation rarely reaches the authorization flaws that cause the most damage.

Rules of engagement and production safety

Ask how the provider avoids harm to live systems, including which environments it tests, how it limits request volume so that model usage and costs stay bounded, and who can stop testing. Ask how it handles sensitive data encountered during testing, such as customer conversations, personal data and secrets in logs, including where evidence is stored, who can access it and when it is deleted. Written answers to these questions should appear in the rules of engagement, not only in a sales call.

Evidence and retest

Each finding should show the conditions that produced it, the affected layer, the risk category it maps to, the severity reasoning and a recommended fix. Ask whether the provider includes a retest of fixed findings and whether that retest is covered in the quoted price or billed separately. A report without reproducible evidence and a defined retest gives your team nothing to verify against a remediation plan.

Written statement of work

Before work starts, the statement of work should set out the scope, the systems and environments in scope, the rules of engagement, the deliverables, the timeline and the retest terms. Ask who signs for the client, who the provider's testers are and how changes to scope are approved in writing. Any element the provider leaves to verbal agreement is a gap you will pay for later.

Approach explained in writing

Ask the provider to explain its method in a short written document: the phases, the tools used, how manual and automated testing divide the work and how it decides when a test is complete. A team that can describe its approach clearly in writing before you sign is more likely to deliver a test you can defend to an auditor or customer. If the answer is vague or relies on a proprietary label, ask for the test plan.

How long a chatbot penetration test takes and what it needs from you

How is a chatbot penetration test different from a generic web application test?

A chatbot test covers the same web and API layers as any application test, but adds the model, prompt, retrieval and tool layers that a generic test does not reach. The tester checks how user input steers the model (prompt injection), whether responses leak system prompts, customer data or retrieved documents, how output is handled downstream, and whether the bot can take actions through tools or plugins. The method draws on the OWASP Top 10 for LLM Applications 2026, which lists risks such as LLM01 Prompt Injection, LLM02 Sensitive Information Disclosure and LLM03 Excessive Agency. Ask a provider to show which of these categories its plan maps to.

How long does a chatbot penetration test take?

No public duration applies to every chatbot, so the timeline depends on the work the scope contains. The main drivers are the number of user roles and integrations, whether the bot has tools or can act on accounts, whether retrieval over internal documents is included, how many risk categories are tested, and how many rounds of retesting are planned. Ask the provider to state in the written quote the testing days or weeks per phase, the reporting and review window, the retest window, and the dates that depend on your access and feedback. A timeline that does not separate these phases is harder to check.

What does the client need to provide before a chatbot test starts?

The test cannot start until the client has agreed on several inputs. Typical items include:

  • Test accounts for each user role the bot supports, with the permissions each role holds
  • Representative test data, including sample documents or records that the bot can retrieve, with synthetic data where real personal data is involved
  • Named technical and business contacts, plus an escalation path for critical findings
  • Change freezes or deployment windows that the tester must respect
  • A written decision on whether testing runs against production or a staging copy, and what protections apply if it runs in production

Confirm these items in the statement of work so that delays in access are not billed as tester time without agreement.

Can our internal team run a chatbot penetration test, or do we need an external firm?

An internal team can run useful checks, especially regression tests of known prompt injection patterns and output filtering, and it knows the system well. An external test adds independence, a documented method that an auditor or customer can review, and testers who have not built the bot and so do not share its assumptions. Many organizations use both. Internal checks run between formal tests, and the external test verifies the controls and produces the report that a customer's security review or an auditor will ask for. The choice depends on what evidence you need and who must be able to rely on the result.

How does retesting work after a chatbot penetration test?

Retesting checks whether the fixes for reported findings work and whether they introduced new problems. Ask the provider to state in writing which findings are included in the retest, how many retest rounds the quote covers, the window in which fixes must be made, and whether the retest result is documented in a separate note or an updated report. Model behavior can change when the model, system prompt or retrieval content changes, so ask whether retesting covers only the fixed findings or also repeats key scenarios on the updated system.

How do the OWASP AI Testing Guide and NIST SP 800-115 relate to a provider's method?

NIST SP 800-115, the Technical Guide to Information Security Testing and Assessment, sets out the general phases of a security test: planning, discovery, attack and analysis, and reporting. NIST published a bulletin summarizing it on 18 December 2008. The OWASP AI Testing Guide v1, released on 26 November 2025, is an open methodology for trustworthiness testing of AI systems, and a chatbot test can use it for the AI-specific tests. A sound provider method uses NIST SP 800-115 for how the engagement runs and the OWASP AI Testing Guide for what is tested in the model and application layers. Ask the provider to show the mapping between its test cases and both documents.

What should I confirm about cost and timeline in a chatbot test quote?

Ask for a quote that ties each price and duration to the written scope, because no public price list applies to chatbot testing. A useful quote states the tested layers, the number of user roles and integrations, the risk categories covered, whether production or staging is used, the reporting deliverables, the retest rounds, and the client inputs the timeline depends on. Ask which items are one-time and which recur, such as periodic retesting after model or prompt changes. Quotes that leave these items unstated make it hard to compare providers fairly.

How DeployOpen scopes, tests, reports and retests chatbots

DeployOpen tests chatbots as full systems, covering the model interface, the prompts and tools behind it, the data it can reach and the web and API layers around it. Each engagement starts from a written scope, is tested against the OWASP AI Testing Guide and the OWASP Top 10 for LLM Applications, and ends with a findings report and a retest of the fixes.

How we scope

  • Scope is agreed in writing before work starts, listing the chatbot, its model endpoints, connected tools and data sources.
  • We confirm which user roles, tenants and data sets are in scope, so cross-user exposure is tested deliberately.
  • Engagements are fixed-scope, with deliverables and timelines set out in the written agreement and quote.

How we build

  • Testing follows the phases of the OWASP AI Testing Guide, with NIST SP 800-115 used as the reference for assessment phases.
  • Test cases map to OWASP LLM Top 10 2026 categories, including prompt injection, sensitive information disclosure and improper output handling.
  • Tests run in a non-production environment agreed with the client, with defined rules for data handling and test accounts.

How we hand over

  • The findings report explains each issue, its evidence at a defensive level, its risk rating and the category it maps to.
  • Each finding includes a recommended fix, so engineering teams can act on it without reading the whole report.
  • The report is designed to support your internal risk records, customer security reviews and your auditor's questions.

How we support

  • After fixes are applied, we retest the affected findings and record which issues were closed and which remain open.
  • Ongoing support, upgrades and continuous testing are available as a retainer for chatbots that change frequently.
  • Where a deployment needs a self-hosted or private AI setup, we can review the controls around it with your security team.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.