AI Red Teaming: What It Is, Free Tools, and When You Need It

AI red teaming is structured adversarial testing of an AI model or AI application to find flaws such as prompt injection, jailbreaks, data leaks and harmful output before attackers do, a practice NIST describes in its Generative AI Profile (NIST AI 600-1, July 2024). Free open-source tools such as Microsoft's PyRIT, NVIDIA's garak and promptfoo automate much of the work (repos checked October 24, 2026).

AI red teaming: Attack your own AI before attackers do.
ToolMaintainerLicenseWhat it testsLatest release
DeepTeamConfident AIApache-2.0Red teaming of LLMs and AI agentsv1.0.9, November 12, 2025
garakNVIDIAApache-2.0LLM vulnerability scanning: jailbreaks, prompt injection, data leaksv0.17.1, October 16, 2026
GiskardGiskardApache-2.0Evaluation and testing of LLM agentsgiskard-agents v1.0.5, October 20, 2026
promptfooPromptfoo (OpenAI acquisition announced)MITPrompts, agents and RAG apps; red teaming in CI/CD0.125.0, October 23, 2026
PyRITMicrosoftMITGenerative AI systems; attacks scripted by security teamsv1.1.0, September 4, 2026

All five are free and open source. We reviewed each tool’s GitHub repository, license file and documentation on October 24, 2026; we did not run them. Listed A to Z; this is not a ranking.

What AI red teaming tests

AI red teaming tests whether an AI model or app can be pushed into doing something it shouldn’t, using the risks in the OWASP Top 10 for LLM Applications 2025 as the usual checklist.

#OWASP LLM risk (2025)What a red team tries
LLM01Prompt InjectionHidden or hostile instructions that override the system’s rules
LLM02Sensitive Information DisclosureGetting the model to reveal customer data, secrets or training data
LLM03Supply ChainPoisoned models, datasets or plugins
LLM04Data and Model PoisoningTampered training or fine-tuning data
LLM05Improper Output HandlingOutput that becomes code, SQL or HTML downstream
LLM06Excessive AgencyAn agent using its tools or permissions beyond its job
LLM07System Prompt LeakageExtracting the hidden instructions
LLM08Vector and Embedding WeaknessesAttacks on the search index behind a RAG app
LLM09MisinformationConfident false answers users act on
LLM10Unbounded ConsumptionInputs that run up cost or knock the service over

Prompt injection tops the list because an AI app can’t reliably tell its owner’s instructions from text it reads in an email, web page or document. A red team plants instructions in those places and checks whether the app follows them, for example by forwarding data or calling a tool it shouldn’t. NIST’s Generative AI Profile names prompt injection, data poisoning and model extraction among the attacks AI red-teaming should cover (action MS-2.7-007).

MITRE ATLAS is the attack catalog red teams map their findings to. ATLAS describes itself as a “living knowledge base of adversary tactics and techniques involving AI”, and listed 16 tactics, 208 techniques and 73 case studies on October 24, 2026.

AI red teaming vs penetration testing

AI red teaming targets the model and how it behaves; penetration testing targets the servers, networks and app code around it. Most AI products need both.

AI red teamingPenetration testing
TargetModel behavior, prompts, agents, AI data pipelinesNetworks, web apps, APIs, cloud accounts
Typical attacksPrompt injection, jailbreaks, data extractionExploits, broken access control, misconfigurations
Reference listsOWASP LLM Top 10, MITRE ATLAS, NIST AI 600-1OWASP Top 10, PCI DSS 11.4
Pass or failRarely clear-cut; results are rates and examplesA finding is exploitable or it isn’t
Who does itAI security specialists, open-source toolsPentest firms, automated platforms

A chatbot’s login page, API keys and cloud account are pentest scope; whether the chatbot can be talked into leaking another customer’s order is AI red teaming scope. For the server and app side, compare the pentest firms we reviewed, including AI-led tests, and pentest cost ranges by test type, or the pentest tools you can run yourself.

Open-source AI red teaming tools

Open-source AI red teaming tools are free to run, and the five below are actively maintained, with releases or code changes in the last 12 months.

PyRIT (Microsoft)

PyRIT, the Python Risk Identification Tool, is Microsoft’s open-source framework “to proactively identify risks in generative AI systems”, under the MIT license. Microsoft published a 2026 white paper on PyRIT titled “Democratizing AI Red Teaming Through Open-Source Tooling”. Microsoft archived the older Azure/PyRIT repository; the current home is github.com/microsoft/PyRIT.

garak (NVIDIA)

garak calls itself “the LLM vulnerability scanner”: its README says it probes for hallucination, data leakage, prompt injection, misinformation, toxicity and jailbreaks, and compares itself to Nmap or Metasploit “but for LLMs”. NVIDIA maintains garak under the Apache-2.0 license.

promptfoo

promptfoo tests prompts, agents and RAG apps and runs red-team scans from simple config files, with command line and CI/CD integration, under the MIT license. The free Community version includes 10,000 probes a month. OpenAI announced on March 9, 2026 that it will acquire Promptfoo and “continue building the open-source project”; the announcement said closing was subject to customary conditions, and we found no closing notice on October 24, 2026.

Giskard

Giskard is an open-source “evaluation and testing library for LLM agents” under the Apache-2.0 license.

DeepTeam (Confident AI)

DeepTeam is Confident AI’s open-source “framework to red team LLMs and AI agents”, under the Apache-2.0 license. DeepTeam’s last tagged release was in November 2025, though its code was updated in October 2026.

Commercial AI red teaming platforms and services

Commercial AI red teaming platforms add managed attack libraries, dashboards and expert-led testing, and none of the four we checked publishes a red teaming price.

VendorOwnerWhat it sells for red teamingPublished price
HiddenLayerNo parent company named on its siteRed Teaming module: continuous adversarial simulationsNone; demo
LakeraCheck Point (acquisition announced September 16, 2025)Lakera Red: risk-based AI red teaming, plus an expert-led serviceNone for red teaming; Lakera Guard Community is free for 10,000 requests a month
MindgardNo parent named; originated at Lancaster University, per MindgardAttack-led testing platformNone; demo
promptfoo EnterprisePromptfoo (OpenAI acquisition announced)Enterprise plan; additional probes for larger scaleNone; contact sales

Listed A to Z, unranked. Each row uses the vendor’s own description and was checked on October 24, 2026. Ownership changes fast in this market, so check it before you sign.

How an AI red team exercise works

An AI red team exercise runs in six steps: scope, threat model, automated probes, manual attacks, fixes, and a retest.

  1. Scope: list the model, the app around it, its data sources and every tool or API it can call.
  2. Threat model: decide who would attack it and what they want, such as customer data, free usage or a harmful answer with your logo on it.
  3. Automated probes: run a scanner such as garak or promptfoo across thousands of known attack prompts.
  4. Manual attacks: human testers chain attacks the scanners miss, especially multi-step ones against agents.
  5. Fix: tighten system prompts, filter inputs and outputs, and cut the app’s permissions.
  6. Retest: rerun the same attacks after every model or prompt change.

The retest matters because no model is immune. NIST’s Center for AI Standards and Innovation (CAISI) analysed a public competition run by Gray Swan, in which more than 400 participants made over 250,000 attack attempts on 13 frontier models in agent scenarios, and at least one attack succeeded against every model (NIST, March 23, 2026).

Who is required to red team AI?

Few organizations are legally required to red team AI today. The clearest rule is the EU AI Act, whose Article 55(1)(a) requires providers of general-purpose AI models with systemic risk to perform model evaluation “including conducting and documenting adversarial testing”.

The Article 55 duty is narrow. A model is presumed to have systemic risk when the compute used to train it exceeds 10^25 floating point operations (Article 51(2)), which describes frontier models, not a company’s chatbot. The general-purpose AI chapter has applied since August 2, 2025 (Article 113), and models placed on the market before that date have until August 2, 2027 (Article 111(3)).

For everyone else, AI red teaming is voluntary good practice. NIST AI 600-1 recommends it as a risk management action, and ISO/IEC 42001 asks for an AI management system with risk controls; our ISO 42001 guide covers how the standard, the EU AI Act and NIST’s framework fit together.

Frequently asked questions

What does it mean to red team an AI model?

To red team an AI model is to attack it on purpose, with automated probes and human testers, to find inputs that make it leak data, ignore its instructions or produce harmful output, then fix those flaws and test again.

Is AI red teaming the same as jailbreaking?

No. Jailbreaking is one attack, getting a model to break its safety rules; AI red teaming is the whole exercise, which also covers prompt injection, data leaks, supply chain risks and an app's tools and permissions.

How much does AI red teaming cost?

The open-source tools are free, and promptfoo's Community version includes 10,000 probes a month at no charge. The commercial platforms we checked (HiddenLayer, Lakera, Mindgard, promptfoo Enterprise) publish no red teaming price and sell through a demo or quote.

Do I need to red team a chatbot built on GPT or Claude?

The EU AI Act's Article 55 testing duty falls on the providers of the underlying models, not on companies that build a chatbot on them. A chatbot that reads your data or calls tools still faces prompt injection, the first risk on OWASP's 2025 LLM list, so testing it is good practice.

What is the best free AI red teaming tool?

The best free tool depends on the job: garak for a quick vulnerability scan of a model, promptfoo for tests that run in your build pipeline, and PyRIT for multi-step attacks run by a security team.

Sources

  1. NIST AI 600-1, Generative AI Profile (July 2024), checked
  2. NIST CAISI, insights from a large-scale AI agent red-teaming competition (March 23, 2026), checked
  3. OWASP GenAI Security Project, Top 10 for LLM Applications 2025, checked
  4. MITRE ATLAS, checked
  5. Regulation (EU) 2024/1689 (AI Act), Articles 51, 55 and 113, checked
  6. Microsoft PyRIT (GitHub), checked
  7. NVIDIA garak (GitHub), checked
  8. promptfoo (GitHub), checked
  9. promptfoo pricing, checked
  10. OpenAI, OpenAI to acquire Promptfoo (March 9, 2026), checked
  11. Giskard (GitHub), checked
  12. Confident AI DeepTeam (GitHub), checked
  13. HiddenLayer, checked
  14. Lakera Guard pricing, checked
  15. Check Point, Check Point acquires Lakera (September 16, 2025), checked
  16. Mindgard, checked