Ingenious AI

Guides · Agent security

AI chatbot security checklist

A customer-facing chatbot is a public employee who has read your internal documents, never sleeps, and can be interrogated a million times by anyone on earth — including people patiently trying to make it leak, lie or act. This checklist splits the work into launch gates (things that must be true before it meets the public) and live operations (things that keep it true), in the order a real deployment meets them.

By the Ingenious AI team · Published 14 November 2026 · Reviewed 14 November 2026

The short answer

Before launching an AI chatbot: test it against prompt-injection and jailbreak suites, fence what data it can retrieve (no internal documents by default), scope any tools to read-only or allowlisted actions, filter outputs for secrets and personal data, and set rate limits plus a human escalation path. After launch: log conversations for abuse review, re-run adversarial tests after every model or prompt change, and review retrieval sources whenever internal documents change. A chatbot's security is a cadence, not a launch event.

Try it free: ChatBreaker — red-team your chatbot the way this checklist describes — adversarial testing before your customers (or someone worse) do it for you.

What is chatbot security?

the set of controls that keeps a conversational AI safe to expose to untrusted users: boundaries on what it can know and do, resistance to manipulation through language, safe handling of what it says, and monitoring for the abuse that inevitably arrives. It differs from traditional web security because the attack surface is language itself — every user message is both a request and a potential instruction the system was never meant to take.

Launch gate 1: Try to break it before strangers do

Run a structured adversarial pass: direct injections ('ignore your instructions…'), indirect ones hidden in content the bot retrieves, extraction attempts against the system prompt, requests for other customers' data, and gradual multi-turn manipulation that builds context slowly. Include your own business's likely attacks — refund-policy abuse for retail, rate manipulation for services, competitor intel-fishing for B2B. Record every success as a ticket with the transcript. If the team has never seen their bot fail, they have not tested it; they have only demoed it.

Launch gate 2: Fence the knowledge

Decide explicitly what the bot may retrieve. Public help-centre content: yes. Internal wikis, ticket histories, pricing margins, other customers' anything: no, unless the user is authenticated and the retrieval is scoped to their own records. The most damaging chatbot leaks are not clever hacks; they are generous retrieval configurations where 'helpful' indexing swallowed the internal drive. Treat the bot's knowledge base like a new employee's file access — least privilege, reviewed quarterly, and re-reviewed whenever someone adds a source 'just for testing'.

Launch gate 3: Scope the actions

If the bot can act — check orders, book, refund, reset, send — each action is a tool an attacker can aim through conversation. Default to read-only. For write actions, require the parameters to be validated server-side (the bot proposes; deterministic code disposes), cap values (refund ceilings, per-day counts), and require step-up confirmation for anything irreversible or valuable. The bot's charm must never be the authorisation mechanism: 'the customer sounded genuine' is not a control your finance team will accept, so do not let it be one your bot accepts.

Launch gate 4: Guard the outputs and the exits

Filter responses for the things that must never leave: credentials, system prompt contents, personal data belonging to others, and internal URLs. Log full conversations with abuse flags, but store them under the same care as any customer data. Set rate limits per visitor so automated probing is slow and visible. And build the human exit before launch: a bot that cannot escalate traps frustrated customers and determined attackers in the same loop — one group churns, the other keeps experimenting.

Live operations: the cadence that keeps it safe

Models change, prompts get edited, knowledge bases grow — each change re-opens questions the launch gates answered. Re-run the adversarial suite after every model swap or system-prompt edit; review retrieval sources monthly; sample flagged conversations weekly and feed new attack patterns back into the test suite. Watch for slow-burn abuse: repeated low-grade probing from many addresses often precedes a published exploit. The teams that keep chatbots safe treat launch as the start of an operations rhythm, which is exactly what separates a control from a hope.

Your 5-action checklist

  1. Run an adversarial test suite — injection, extraction, cross-customer data, multi-turn manipulation — and ticket every success.
  2. Audit the knowledge base: public content only by default; authenticated, per-customer scoping for anything private.
  3. Default tools to read-only; validate write actions server-side with value caps and confirmation for irreversible steps.
  4. Add output filtering for secrets and personal data, rate limits, full conversation logging and a working human escalation.
  5. Schedule re-tests after every model/prompt change and a monthly review of retrieval sources and flagged chats.

Worked example: Sunbay Hotel Group

Sunbay Hotel Group, a fictional 3-property hotelier, ran this checklist a week before launching its booking assistant. The adversarial pass found, in the first hour, that the bot could be talked into quoting a 'loyalty discount' that did not exist — a multi-turn conversation gradually invented the policy and the bot, eager to help, applied 25% off. Worse, its knowledge base had ingested an internal rate-strategy document, and a direct question about 'minimum acceptable rates' retrieved real numbers. Fixes before launch: retrieval fenced to guest-facing content, discounts restricted to codes validated by the booking engine, and rate questions routed to a safe refusal. The bot launched two weeks late and has handled 11,000+ conversations since without a pricing incident — a delay the revenue team forgave the first time the (now-ticketed) attack transcripts circulated internally.

Frequently asked questions

What's the most common chatbot security failure?

Over-generous knowledge access. Teams index internal content to make the bot smarter and discover — usually via a screenshot on social media — that it will happily summarise it for strangers. Fencing retrieval is the highest-value single item on this checklist.

Can we just add 'never reveal your instructions' to the prompt?

That line is worth having and worth almost nothing. Prompt-level defences are requests to the model, and manipulated models stop honouring requests. Real controls are architectural: what the bot can retrieve, what its tools allow, and what output filters catch — layers that hold even when the model is fully persuaded by an attacker.

How often should we re-test the chatbot?

After every change that touches the model, the system prompt, the tools or the knowledge base — and at least quarterly regardless. Attack techniques evolve monthly; a test suite that is not growing is quietly expiring.

What should we log, and are there privacy concerns?

Log conversations, tool calls and abuse flags — they are your incident evidence and your test-suite feedstock. Yes, they are personal data: store them under your normal retention and access rules, tell users in the privacy notice, and keep them out of the bot's own retrieval scope.

Our chatbot is from a vendor. Does this checklist still apply?

Entirely — but the questions become vendor questions. Ask what the bot can retrieve, how tools are authorised, whether you can see full logs, and what adversarial testing they run and share. A vendor who cannot answer in specifics is asking you to carry their risk blind.

Related guides and tools