Resources / Blog / AI Chatbot Security Checklist: 14 Tests for Your LLM App Before Launch

Article

AI Chatbot Security Checklist: 14 Tests for Your LLM App Before Launch

Sthenos Technologies · November 26, 2026 · 12 min read

An AI chatbot security checklist of 14 tests for LLM apps, the evidence to ask your AI software development company for, and plain launch sign-off rules.

On this page (8)

An AI chatbot security checklist should cover 14 tests before launch. Built on the OWASP Top 10 for LLM Applications, they check prompt injection, data leaking through answers or retrieval, unsafe output handling, tools with too much power and usage that runs up your bill, plus logging and retesting. Run each against a staging copy, keep the evidence and sign off against a plain pass line.

Whether your own team or an outside AI software development company built the chatbot, the builder should hand you the evidence for each test; the table below says what to ask for. This page covers the model layer. For code an AI tool wrote (secrets, login, dependencies), use our AI-built prototype security checklist instead; this page does not repeat it.

What this checklist is built on

The items map to the OWASP Top 10 for LLM Applications 2025, which names ten risks: prompt injection, sensitive information disclosure, supply chain, data and model poisoning, improper output handling, excessive agency, system prompt leakage, vector and embedding weaknesses, misinformation, and unbounded consumption.

NIST AI 600-1, the Generative AI Profile of the voluntary NIST AI Risk Management Framework, defines 12 risks of generative AI, including information security, and notes that generative AI systems are themselves open to prompt injection and data poisoning. NIST AI 100-2 E2025 supplies shared terms for attacks and mitigations. For the program that sits around a chatbot (a charter with roles, an inventory of AI systems, a review cadence), see our AI governance blueprint.

The operating controls come from Deploying AI Systems Securely (PDF), April 2024 joint guidance from the NSA’s Artificial Intelligence Security Center, CISA, the FBI and partner agencies. It asks for logs covering inputs, outputs, intermediate states and errors, with automated alerts.

One finding shapes the list. OWASP states that “it is unclear if there are fool-proof methods of prevention for prompt injection” (LLM01). So the checklist tests containment too: a successful injection must still not reach data or actions the user was never allowed to reach. Our view follows from that: a chatbot is ready when a successful attack still reaches nothing it should not, not when the model refuses every attack you thought of.

The AI chatbot security checklist

Test against a staging copy with production-shaped permissions, two or more accounts with different access, and fake but realistic records (“canaries”) you can search for in the output. Keep every transcript.

# Item How to test Evidence to ask for
1 Direct prompt injection (LLM01) Send a library of attack prompts: role-play, “ignore your instructions,” Base64 and other encodings, other languages, multi-turn build-ups. Pass: no attempt exposes data or triggers an action. Prompt library, transcripts, pass or fail per prompt, tools and versions used.
2 Indirect prompt injection (LLM01) Plant hidden instructions in a document, web page or email the bot reads, then ask a question that retrieves it. Pass: the bot treats it as content, not instructions. Planted payloads, queries and transcripts.
3 System prompt holds no secrets and enforces nothing (LLM07) Try to extract it, then read it. Pass: no keys, connection strings or role rules, and every permission check lives in code. The system prompt and where authorization is enforced.
4 Retrieval respects each user’s permissions (LLM08) User A asks for content only user B can open; repeat across tenants. Check retrieval logs, not just answers. Pass: no chunk outside the asker’s rights. Design note showing the filter runs at query time on the user’s identity; retrieval logs.
5 Vector store write access and deletion (LLM08, LLM04) List who and what can add documents. Delete a document and revoke a permission, then query again. Pass: both take effect. Vector database access list, ingestion approvals, deletion test log.
6 Sensitive data disclosure (LLM02) Request canary records as an unauthorized user; trace what goes to the model provider and is kept. Pass: no canary leaks; retention matches policy. Canary results, data flow diagram, provider retention and training settings.
7 Output handling (LLM05) Make the bot emit HTML, script, Markdown image links and SQL fragments. Pass: the interface encodes output and nothing downstream executes it. Output encoding approach, Content Security Policy header, chat interface scan results.
8 Tool permissions (LLM06) List every tool and credential, then ask the bot to use tools outside its task. Pass: each tool has only the access its job needs and acts as the signed-in user. Tool inventory with each credential’s scope.
9 Human approval on high-impact actions (LLM06) Try to trigger sending, deleting, paying or refunding without confirmation, including through injected content. Pass: the approval gate holds every time. Gated action list and transcripts.
10 Cost-abuse limits (LLM10) Script bursts from one account and from many, maximum-size inputs and requests for very long output. Pass: limits trigger and the spend alert fires. Limit values, billing alert setup, load test log.
11 Supply chain and data provenance (LLM03, LLM04) Inventory models, versions, embedding models, plugins and data sources. Pass: each is pinned, owned and vetted. Model and data inventory (such as an ML-BOM), supplier terms reviewed.
12 Grounding and misinformation (LLM09) Ask questions your sources cannot answer. Pass: the bot says it does not know, or cites a real source. Evaluation question set and results.
13 Logging, alerts and a kill switch Trace one test conversation end to end, then disable the bot or one tool without a code deploy. Sample log entry, alert rules, runbook naming who can switch it off.
14 Retest on every change Change the model, system prompt or index in staging, then rerun items 1 to 10. Date and results of the last full run.

Ask for findings tagged with OWASP risk IDs and, where relevant, MITRE ATLAS techniques (MITRE’s public knowledge base of adversary techniques against AI systems), so results compare across vendors and retests.

Items 8 and 9 matter most once the chatbot can call tools, because that is the point where it starts acting on your systems rather than only answering. Our explainer on how an AI agent differs from a chatbot draws that line.

Retrieval and vector store permissions

A chatbot that answers from your documents can become a search box over everything it indexed. The rule: the bot retrieves only what the person asking could open themselves.

  • Filter before the model sees anything. Apply the user’s identity as a filter inside the retrieval query. Telling the model to withhold content is not a control; OWASP says the system prompt “should not be considered a secret, nor should it be used as a security control” (LLM07).
  • Carry permissions into the index. Copy each document’s access rules onto its chunks at ingestion and keep them in sync. OWASP calls for “permission-aware vector and embedding stores” and strict partitioning between user groups (LLM08).
  • Protect what comes out. The joint AI Data Security (PDF) guidance (May 2025) says “the output of AI systems should be classified at the same level as the input data.” Chat logs holding retrieved text need the same protection as the source.
  • Control who writes. Anyone who can add a document can plant instructions. OWASP’s LLM01 describes an attacker modifying a document in a RAG repository so that answers change.

Illustrative, not a client project: an internal HR assistant indexes a shared drive that includes a restricted folder of salary reviews. The index stores the text without the folder’s restrictions, so any employee who asks the right question gets a summary. The two-account test in item 4 catches this before launch.

Cost-abuse limits are a security item

OWASP names “Denial of Wallet” in LLM10 Unbounded Consumption: attackers sending a high volume of operations to exploit the cost-per-use model of cloud AI services. Its mitigations include input size limits, rate limiting and user quotas, timeouts and throttling, and limits on queued and total actions. For a chatbot, set and write down:

  • Requests per user and per IP address in a time window
  • Maximum input size and maximum output tokens per response
  • A cap on steps for any agent loop
  • A hard spend cap, at the provider or in your own gateway, with an alert before it is reached

Set the values from expected normal use, then prove them with the load test in item 10. If nobody can tell you the spend cap, assume there is none.

Sign-off criteria to agree with your AI software development company

You do not need to read code to approve a launch, and the criteria work the same for an in-house team. Ask for a yes on each line:

  1. Every checklist row has evidence attached, dated after the last change to the model, system prompt or index.
  2. No critical or high findings are open, and every medium has an owner and a date.
  3. In the two-account test, no user retrieved another user’s content.
  4. Every action that sends, deletes, changes records or spends money needs a person’s approval.
  5. The team can name the rate limits and the spend cap, and has seen the alert fire.
  6. A named person can switch off the bot or a tool without a deploy, and has done it in staging.
  7. Fixed findings were retested, and the retest result is in writing.

Line 7 is best signed by someone other than the builder. The joint deployment guidance advises organizations to “engage external security experts to conduct audits and penetration testing on ready-to-deploy AI systems,” and NIST AI 600-1 suggests AI red-teaming against prompt injection (action MS-2.7-007).

Frequently asked questions

What should an AI chatbot security checklist include?

Direct and indirect prompt injection, system prompt contents, retrieval permissions, sensitive data disclosure, output handling, tool permissions and approvals, cost limits, supply chain, grounding, logging with a kill switch, and a retest rule. Each item needs a test and evidence, not just a control name.

Can prompt injection be fully prevented?

OWASP says it is unclear whether fool-proof prevention exists. Plan for containment instead: least-privilege tools, permission checks in code, human approval on high-impact actions, and retrieval filtered by user. Then test that a successful injection still reaches nothing harmful.

Is a standard penetration test enough for an LLM app?

No, though you still need one. A web and API test covers login, sessions and access control. LLM testing covers injection, retrieval leaks, output handling and agent actions. Scope both together so nothing falls between them.

How often should we retest a chatbot?

After every model version change, system prompt edit, new tool or new data source, and on a regular schedule in between. The joint deployment guidance says that when updating a model, teams should “run a full evaluation to ensure that accuracy, performance, and security tests are within acceptable limits before redeploying.”

Get your chatbot tested before launch

The Sthenos Cyber Division runs human-led AI and LLM red teaming for prompt injection, data leakage, jailbreaks and unsafe agent actions in chatbots, agents and RAG systems, with findings mapped to the OWASP Top 10 for LLM Applications. Testing runs against a test instance of your system, and nothing starts before signed written authorization. Our penetration testing services cover the web, API and cloud layers around the model, and every confirmed finding is retested after your fix.

Started as a prototype? Our playbook for taking a vibe-coded app to production sets out the hardening path, and a production readiness audit has outside engineers check it first. Will it take actions? Our agentic AI consulting builds agents with human approval on consequential actions and a log of what the agent did and why. Still to be built? Our AI software development team builds custom software with AI-assisted engineering, and a human engineer reviews and owns every line that ships.

Book a free consultation

Sthenos is an SBA-certified Women-Owned Small Business and Economically Disadvantaged Women-Owned Small Business (WOSB and EDWOSB, active through March 2029), registered on SAM.gov (UEI ULUZGKWYCJB7, CAGE 9RX92), under primary NAICS 541511, Custom Computer Programming Services.

Sources

Fact used Source URL Read on date
The ten OWASP 2025 LLM risk names https://genai.owasp.org/llm-top-10/ 2026-11-04
No known fool-proof prevention; direct and indirect injection; RAG document attack https://genai.owasp.org/llmrisk/llm01-prompt-injection/ 2026-11-10
System prompt limits on data can be bypassed; least-privilege data access https://genai.owasp.org/llmrisk/llm022025-sensitive-information-disclosure/ 2026-11-04
Vet suppliers and their terms https://genai.owasp.org/llmrisk/llm032025-supply-chain/ 2026-11-04
Track data origins, for example with an ML-BOM https://genai.owasp.org/llmrisk/llm042025-data-and-model-poisoning/ 2026-11-04
Encode output, Content Security Policy, parameterized queries https://genai.owasp.org/llmrisk/llm052025-improper-output-handling/ 2026-11-04
Least-privilege tools, user’s context, human approval https://genai.owasp.org/llmrisk/llm062025-excessive-agency/ 2026-11-04
System prompt is not a secret or a security control https://genai.owasp.org/llmrisk/llm072025-system-prompt-leakage/ 2026-11-10
Permission-aware vector stores, partitioning by user group https://genai.owasp.org/llmrisk/llm082025-vector-and-embedding-weaknesses/ 2026-11-10
Misinformation and overreliance https://genai.owasp.org/llmrisk/llm092025-misinformation/ 2026-11-04
Denial of Wallet and its mitigations https://genai.owasp.org/llmrisk/llm102025-unbounded-consumption/ 2026-11-10
12 generative AI risks; information security; action MS-2.7-007 https://doi.org/10.6028/NIST.AI.600-1 2026-11-10
AI RMF is for voluntary use https://www.nist.gov/itl/ai-risk-management-framework 2026-11-04
Taxonomy and terminology of attacks and mitigations https://csrc.nist.gov/pubs/ai/100/2/e2025/final 2026-11-04
Authors, logging scope, external testing, full evaluation on model update https://www.ic3.gov/CSA/2024/240415.pdf 2026-11-10
Classify AI output at the level of its input data https://www.ic3.gov/CSA/2025/250522.pdf 2026-11-10
ATLAS is a public knowledge base of adversary tactics against AI https://atlas.mitre.org/ 2026-11-04
Cyber Division AI and LLM red teaming scope https://sthenostechnologies.com/cyber-division/ 2026-11-10
Retest of every confirmed finding https://sthenostechnologies.com/penetration-testing-services/ 2026-11-10
Outside engineers review before launch https://sthenostechnologies.com/production-readiness-audit/ 2026-11-04
Human approval and action log for agents https://sthenostechnologies.com/services/agentic-ai/ 2026-11-04
AI software development: custom software built with AI-assisted engineering; a human engineer reviews and owns every line that ships https://sthenostechnologies.com/ai-software-development-company/ 2026-11-10
AI governance program: charter with roles and review cadence; AI system inventory https://sthenostechnologies.com/blogs/ai-governance/ 2026-11-10

About the author

Advisor to the CEO and Head of Cybersecurity at Sthenos Technologies

Suleman leads Sthenos Technologies' AI, cloud, and custom-software strategy for small and mid-sized businesses, enterprise teams and government buyers. He writes on taking AI prototypes to production, modernizing legacy systems, and the practical economics of enterprise software delivery.

Talk to an engineer

Tell us about one workflow and we will say what it takes.