
Generative AI red teaming evaluates the full deployed system, including its models, prompts, retrieved data, tools, memory, and agents. A four-stage method covers reconnaissance, planning, testing, and validation, with repeated tests that track attack success rates and coverage as the system changes.

Generative AI red teaming is adversarial testing of systems built on large language models, image and audio models and the agents that wrap them, run the way an attacker would run it. It is AI red teaming applied to a target that reads instructions, follows them and can now act on them. About one in five organizations reported a breach of an AI model or application in IBM’s 2026 Cost of a Data Breach report, and 92% of those lacked proper access controls on their AI models and applications.
In this article, we walk through how a generative AI red team works, including what changes when the target is generative, what you attack, how an engagement runs, how often and how to measure whether anything improved. It’s written for security teams who already understand penetration testing and want to know what carries over and what doesn’t.

Generative AI red teaming is a subset of AI red teaming, not a separate discipline. AI red teaming covers adversarial testing of any machine learning system, including fraud classifiers, vision models and recommenders, where the classic attacks are evasion, poisoning and extraction. Generative red teaming applies that practice to LLMs, multimodal models and agentic applications, and adds failure modes that only exist when a system produces open-ended output.
As discussed above, the main difference between "AI" vs "generative AI" red teaming will come down to the context in which you use each term. It's likely security practitioners will use the former, whereas ML practitioners and those involved with governing the deployment of generative models will lean towards the latter.
That said, the fundamental work involved will be much the same either way.
In its own history, Microsoft notes that when its AI Red Team was set up in 2018, it started on classical systems. It now uses the phrase "AI red teaming" more broadly to cover probing both security and responsible AI outcomes. The advent of generative models has simply expanded the scope, rather than creating a new discipline.
There are four characteristics of generative AI systems that require a different approach from red teams. None of them appear in a conventional pentest. Together, they explain why a network red team pointed at a chatbot can come back with no issues identified, creating a false sense of safety.
Because a generative system takes instructions in the same channel it takes data, there are many different routes for injecting a prompt into the system. An email, a retrieved web page, a file name or an MCP tool description can all carry an instruction the model will follow. Prompt injection has held the top spot in the OWASP Top 10 for LLM Applications in every edition since 2023, and the 2026 release widens its scope to cover instructions that arrive through documents, tool outputs and memory, not just user input.
The most high-profile example so far is the EchoLeak attack. Using a seemingly benign email, Aim Labs were able to trigger Microsoft 365 Copilot to return confidential company information. Crucially, the email did not require any interaction by the user and evaded Microsoft's existing prompt-injection defenses due to the innocuous appearance of the email. After informing Microsoft of their finding, the issue was escalated to Critical severity (CVE-2025-32711) and resolved in June 2025. EchoLeak was a practical illustration of Microsoft's AI Red Team's findings from a large-scale study (>100 GenAI offerings) earlier in 2025: “You don’t have to compute gradients to break an AI system.”
Standard attacks involve trying to break into a codebase, with the attack directed at a person by way of phishing. In a generative system, the model is both the target and the victim. Jailbreaking, persona adoption, extended conversation, or asserting superiority over the LLM can all be viewed as forms of social engineering. They work because the model has been conditioned to comply with the user’s wishes. This is precisely why social engineers have a place on any LLM red team.
LLM guardrails should not be relied upon to prevent these kinds of attacks. Research published at ACL LLMSEC 2025 bypassed six commercial and open-source prompt injection and jailbreak detectors at average success rates between 20% and 92% using character injection alone, and emoji smuggling reached 100%. These systems are likely analyzing the user input in ways dissimilar to the underlying LLM, but this only becomes evident when it’s tested from the attacker’s side.
Our guide to LLM guardrails covers the bypass families in detail.
A given prompt will sometimes work when run a third time against the same model but not on the previous two attempts. That’s why a single attempt that is deemed “blocked” actually proves nothing.
As Microsoft explains in its lessons paper, red teams should account for the inherently stochastic nature of AI systems. They go on to describe an example where they sent each prompt 50 times to the target system to determine the failure rate.
Accordingly, red teams carry out many passes of each technique and report results as a success or failure rate rather than a simple pass or fail. Without tooling that can handle this level of automation, completing the assessment is not possible. Buyers should understand that a vendor’s claim of “97% blocked” speaks to one benchmark captured at one point in time.
If a chatbot generates a malicious sentence, that's a matter of model output. However, if an autonomous agent can read that sentence and then act on it (deleting repos, sending emails, calling a payment API, etc.), that's a serious breach. That’s exactly why excessive agency climbed from sixth to third in the OWASP Top 10 for LLM Applications 2026.
Most of the findings from 2025 to 2026 can be attributed to the tool layer. Enkrypt AI, which Anaconda acquired in August 2026, scanned more than 268,000 tools across 25,000 MCP servers in mid-2026 and found more than 143,000 vulnerabilities, affecting 73% of the servers. Coordinated disclosures over the same period hit the MCP configuration and tool-discovery paths of OpenAI Codex CLI, Google Gemini CLI, Mistral Vibe CLI and Cursor, each one a code execution or data exfiltration path that a model-only test would never have reached.
A generative AI red team attacks the deployed system, not the model card. Scope the engagement across five layers, because each one carries attacks the others cannot reveal.
There are two further observations about scope to draw from this table. The classic vectors continue to be effective: as described in our LLM red teaming guide, model extraction and membership inference both still work against deployed LLMs. Fine-tuned models are especially exposed to membership inference because they’re often trained on small, sensitive datasets, and black-box attacks presented at NDSS 2026 can infer which records a fine-tuned LLM was trained on. Second, the last row, infrastructure and supply chain, is the one red teaming providers most often leave out. Many model files use Python's pickle format, which can run arbitrary code when the file is loaded. A tampered model file is therefore a well-documented way to take over the machine that serves it.
A generative AI red team will run in four key phases: recon, plan, attack and validate. These follow the natural progression of an adversary's workflow, but are driven by objectives. For example, a red team may wish to exfiltrate a database entry, trick the agent into transferring funds or retrieve a hidden system prompt. They will not simply iterate through a series of pre-defined prompt sequences.
The first phase establishes a high-level picture of the system under test. This covers the base model and variant, known features of the system prompt, integrated plugins and databases, how guardrails respond to adversarial inputs and any state retained across interactions. If testing an agent, all associated MCPs and their attached capabilities will be identified.
In many cases, significant amounts of information can be gleaned during this phase. An exposed plugin inventory or stated knowledge base via a failure or response are useful starting points. As noted above, Microsoft's initial findings across its 100-product review reinforced that the attacker must similarly understand what the system can do and where it’s applied prior to formulating an attack strategy.
Once a plan is established, recon results can be strung together into an attack sequence towards an objective and success condition. For example, a chain might link three steps: inject special characters to fool the classifier, generate a malicious document using the LLM, then return a prompt instructing the agent to call an export tool with specified parameters. There will be an associated probability of success per element, and the plan will specify the order in which these should be attempted.
Threat modeling at this stage borrows from MITRE ATLAS™, which catalogs adversary tactics against AI systems the way ATT&CK does for enterprise networks. Mapping planned chains to ATLAS techniques upfront makes it possible to compare findings across engagements and across vendors.
Chains (one step or otherwise) are executed and modified as needed if any individual chain breaks down. At scale, this will largely be automated, running tens of thousands of chains across each method until a consistent pass rate is achieved. Humans, however, will be key to noticing a near-miss or a novel capability and deploying a chain that wasn’t in the initial plan.
Microsoft’s lessons paper is clear that both are required. Automation covers more of the risk landscape, and the human element stays crucial. Teams choosing their own tooling can start with a comparison of AI red teaming tools that covers 41 enterprise and open-source options, from PyRIT and garak to commercial platforms.
Validation confirms each finding is reproducible, assesses impact in business terms and retests after remediation. Every successful chain becomes a regression test. When the model version changes, the system prompt is edited or a new tool is added, the suite runs again, because any of those changes can reopen a closed finding.
The deliverable is a findings report mapped to ATLAS and the OWASP Top 10 for LLM Applications, with success rates per technique, reproduction steps and a prioritized fix list. The attack patterns that passed validation should also feed runtime monitoring, so what the red team found in testing becomes a detection in production.
A quarterly red team of a generative system tests a configuration that no longer exists by the time the report is read. Model providers ship new versions without notice and application teams edit system prompts weekly. Every new tool or data source adds attack paths. Microsoft’s eighth lesson states the consequence: the work of securing AI systems will never be complete.
NIST senior scientist Apostol Vassilev put a formal floor under that in 2026, publishing a proof that no finite set of guardrails can hold against every adversarial prompt. His recommendation was a transition to continuous monitoring and updating. For red teaming that means the engagement becomes a pipeline: the regression suite runs on every change, the automated library runs on a schedule and human-led objective testing runs when the system or the threat changes materially.
Mindgard’s guide to continuous AI pentesting covers the cadence in detail.
The middle column exists because many buyers ask for “an LLM pentest” and receive a scan of known prompt patterns. That has value as a baseline. It is not red teaming, for the reasons set out in the comparison of red teaming and pentesting.
The primary metric in generative AI red teaming is attack success rate: the percentage of attempts for a given technique, against a given layer, that achieved the objective. Reported per technique and per layer, it tells a security team where the system is weak. Reported over time, it tells them whether remediation worked.
Three practices make the number trustworthy.
Beyond success rate, generative AI engagements can track metrics such as privacy leakage rate, output consistency and model recovery time. If the engagement had a single objective, report only the metrics that measure it.
Frameworks define coverage and reporting for generative AI red teaming. They do not replace an adversary. The table lists the documents a security or compliance team will be asked about and maps the four stages above onto each.
Providers of general-purpose models with systemic risk must conduct and document adversarial testing. Obligations apply from August 2, 2025, Commission enforcement powers from August 2, 2026, and models on the market before August 2025 have until August 2, 2027
Validation reports supply the documentation
The NIST AI Risk Management Framework and the EU AI Act are why red teaming budgets exist in many organizations. OWASP and ATLAS are how the results get communicated. The work in between is the method described above, and no framework document will do it for you.
A common mistake in generative AI security is to test the base model, find it well-aligned and conclude that the product is safe. But the product is the model plus your prompts, data, tools and agents. The attacks that worked in 2025 and 2026, from EchoLeak to the coding-agent disclosures, all went after those added parts, not the model itself.
If you want this done rather than described, Mindgard runs the recon, plan, attack, validate loop as automated AI red teaming against models, applications and agents, with AI red teaming services for objective-led engagements. Book a demo to see what your generative systems look like from the attacker’s side.
Generative AI red teaming is adversarial testing of systems built on large language models, multimodal models and AI agents, carried out the way a real attacker would operate. It covers security failures such as prompt injection, data extraction and tool misuse alongside responsible AI harms such as harmful content and bias, and it measures results as success rates because generative outputs vary between runs.
Generative AI red teaming is a subset of AI red teaming. AI red teaming covers any machine learning system, including classifiers and recommenders. Generative AI red teaming applies the same practice to LLMs and agents, with extra attention to natural-language attacks, non-deterministic outputs and actions taken through tools.
LLM pentesting is a scoped, checklist-led test of known vulnerability classes in an LLM application at a point in time. Generative AI red teaming is objective-led, adaptive and continuous. It covers the whole system, data, tools and agents included, and reports attack success rates rather than a pass or fail list.
Continuously, with intensity matched to change. Run the regression suite of known attacks on every model, prompt or tool change. Run the automated attack library on a schedule, and bring in human-led objective testing before launch and whenever the system or the threat landscape shifts materially.
The OWASP Top 10 for LLM Applications defines the vulnerability classes, the OWASP GenAI Red Teaming Guide and Manual describe engagement structure, NIST AI 600-1 lists generative AI risks and names red teaming as a measure, MITRE ATLAS™ provides the technique taxonomy for reporting and EU AI Act Article 55 requires documented adversarial testing for general-purpose models with systemic risk.
Partly. Automation runs thousands of attack variants, repeats them enough to produce stable success rates and re-runs them on every change. Human red teamers set objectives, read partial successes and build chains the library did not anticipate. Microsoft’s AI Red Team reached the same conclusion after testing more than 100 products.
We found vulnerabilities in AI from OpenAI, Meta and AWS. See how Mindgard finds and proves the weakness attackers could exploit in yours.