Best LLM Scanners
Isometric illustration of a chatbot robot beside a laptop and padlock icons, representing automated security testing of AI chat assistants
tools

Best Tools to Test AI Chatbot Security in 2026

Garak, PyRIT, Promptfoo, Giskard, and Lakera Red compared as tools to test AI chatbot security across full conversations, not single-shot prompts.

By Best LLM Scanners Editorial · ·Updated August 15, 2026 · 6 min read

If you’re picking the best tools to test AI chatbot security, the honest answer is that no single product covers the whole job — you’re assembling a stack from an open-source scanner, a multi-turn red-team framework, and possibly a managed platform that keeps testing after launch. That matters more for chatbots specifically than for LLM applications in general, because a chatbot’s risk isn’t confined to a single malicious prompt. It’s a conversation that can drift, get steered across turns, and produce a statement a customer reasonably relies on. Air Canada found this out the hard way when a small-claims tribunal held it liable for its support chatbot inventing a bereavement-fare policy that didn’t exist, and rejected the airline’s argument that the bot was somehow a separate legal actor from the company deploying it, per CBC News’ coverage of the ruling. That’s not a jailbreak. It’s a hallucination a real customer stood behind, and it’s exactly the kind of failure a testing program has to catch before a bot goes live in front of paying users.

What chatbot testing needs that generic LLM testing doesn’t

Most LLM security tooling was built to probe a model or a single API call. A chatbot adds session state: a system prompt the user is trying to extract, a conversation history an attacker can use to walk the model somewhere a single-shot prompt wouldn’t reach, and a brand voice that has to survive being goaded into off-policy statements. The relevant slice of the OWASP Top 10 for LLM Applications 2025 is narrower than the full list: LLM01 Prompt Injection, LLM02 Sensitive Information Disclosure (chat logs are a PII sink), LLM07 System Prompt Leakage, and LLM09 Misinformation cover most of what actually goes wrong in a customer-facing bot. If your chatbot also calls tools or hits a CRM, add LLM06 Excessive Agency. For deeper background on how prompt injection payloads are constructed and chained, aisec.blog covers the offensive side in more depth than a buyer’s guide should.

Multi-turn matters because a lot of the interesting failures don’t show up in a single message. Techniques like gradual escalation across a conversation — sometimes called “crescendo” attacks — get a model to comply with something it would refuse outright if asked directly. A scanner that only fires isolated prompts at your endpoint will miss this category entirely, which is the main reason to care about which of the tools below actually model conversation state rather than treating each test as one-shot.

Open-source scanners and red-team frameworks

Garak, built by NVIDIA and originally developed by Leon Derczynski, is the closest thing this space has to an nmap for language models — a plugin-based CLI that runs a large library of probes and detectors against a target and reports which ones landed, per its GitHub repository. It’s strong for breadth-first scanning of the base model and is commonly run as a pre-deployment gate, but its probes are largely single-turn; it tells you what the model will say, not how it holds up across a manipulated conversation.

PyRIT, Microsoft’s Python Risk Identification Tool, is the more relevant pick if multi-turn is your priority. It grew out of scripts Microsoft’s own AI red team used starting in 2022, and Microsoft’s announcement describes it as an automation framework that “enhances the current domain expertise of an AI red teamer” rather than replacing one, with orchestrated attack pipelines and scoring components built for exactly this kind of escalating-conversation testing, per the Microsoft Security blog post announcing it. It’s a library, not a turnkey scanner, so expect real setup time.

Promptfoo is the tool most teams reach for when they want red-teaming wired into CI rather than run as a one-off. It breaks failure modes into adversarial “plugins” and ships a dedicated red-teaming guide covering jailbreaks, prompt injection, and agent-specific checks like broken object- and function-level authorization. Worth flagging for procurement: OpenAI announced it was acquiring Promptfoo in March 2026, with the company stating the tool remains open source under its current license and that existing customers will continue to be supported. That’s a reasonable bet for now, but any team standardizing on it as a long-term CI dependency should watch the roadmap given the change in ownership.

Giskard takes a different entry point: point it at a plain-language description of your agent and its LLM Scan generates an adversarial test suite automatically, with detectors for things like control-character injection alongside the usual jailbreak and harmful-content checks. It’s a lower-effort way to get initial coverage if you don’t have a red-team engineer available to hand-tune PyRIT orchestrators.

Managed and continuous options

Open-source tools answer “is this vulnerable today.” They don’t watch a chatbot that keeps changing as you tune prompts, swap models, or ship new tool integrations. Lakera Red is built for that gap — a continuous workflow that runs automated attack simulations against a deployed application and, per Lakera’s product page, evaluates across three lenses: safety (harmful content), security (data and system integrity), and responsible-AI/compliance risk. It’s the more defensible choice when the bot in question is customer-facing and the cost of a bad output is legal or reputational rather than purely technical — the Air Canada scenario is squarely in this bucket. Testing catches the vulnerability; it doesn’t stop the next one from a prompt change six weeks later, which is where a runtime layer like the guardrail and content-filter tooling tracked at guardml.io comes in as a complement, not a substitute.

Trade-offs to weigh before you commit

Effort is the real cost, not license price. Garak and PyRIT are free but require someone who understands the attack taxonomy well enough to interpret raw findings and tune probes to your domain — a generic jailbreak corpus will surface a lot of noise on a narrowly scoped customer-service bot. Promptfoo and Giskard trade some of that depth for faster setup, which is the right call if you need a CI gate this sprint rather than a research-grade red team. Managed platforms like Lakera Red cost real money but remove the maintenance burden of keeping probe libraries current as new jailbreak techniques circulate, and they’re the only category here built to run continuously against production rather than as a pre-launch checklist item.

Who should pick what

A solo developer or small team shipping a narrow-scope bot should start with Promptfoo or Giskard — both get you a usable adversarial test suite without a dedicated security hire. A platform or security team building a CI/CD gate across multiple LLM-backed services gets more mileage from combining Garak for broad model-level scanning with PyRIT for multi-turn conversation testing, accepting the higher setup cost in exchange for depth. An enterprise running a public-facing support chatbot handling real customer commitments — refunds, policy questions, anything a tribunal could later scrutinize — should not rely on pre-launch scanning alone; that’s the profile Lakera Red or an equivalent continuous-testing platform is built for. None of these tools substitutes for the others across all three profiles, and none of them substitutes for a runtime guardrail sitting in front of the model once it ships.

Sources

  1. OWASP Top 10 for LLM Applications 2025
  2. Moffatt v. Air Canada: chatbot liability ruling — CBC News
  3. NVIDIA garak — LLM Vulnerability Scanner (GitHub)
  4. Announcing Microsoft's open automation framework to red team generative AI systems (PyRIT)
  5. Promptfoo LLM Red Teaming Guide
  6. Giskard — Scan Vulnerabilities (LLM Scan documentation)
  7. Lakera Red — AI Red Teaming
#chatbot-security #llm-security #red-teaming #ai-testing #owasp-llm
Subscribe

Best LLM Scanners — in your inbox

Comparing LLM security scanners and detection tools. — delivered when there's something worth your inbox.

No spam. Unsubscribe anytime.

Related