AI Red Teaming: How to Stress-Test AI Systems (2026)

- AI Red Team Scope Document (Copy This)
- What Changes When the Target Is a Model
- Step 1: Write the Threat Model Before You Write a Prompt
- Step 2: Sort Every Test by Who Can Run It
- Step 3: Run a Manual Round First, and Timebox It
- Step 4: Probe the Benign Path, Not Just the Adversarial One
- Step 5: Turn Findings Into Repeatable Probes, and Say What the Suite Proves
- Step 6: Triage With a Rubric Built for Non-Reproducible Findings
- Step 7: Declare the Stopping Rule Before You Start
- Step 8: Write the Report That Supports Review and Retest
- Where Mobile Changes the Probe List
- Conclusion
- Frequently Asked Questions
A customer questionnaire arrives with one line you have never had to answer: "Do you red team your AI features?" Your release gate wants a sign-off too. Nobody on the team has said what that sign-off should consist of.
AI red teaming is structured probing of an AI system, both adversarial and ordinary, to find ways it produces harmful, incorrect or unintended output, recorded so another person can review and repeat it. The process: write a scope against intended use, sort tests by who can run them, probe by hand first, convert findings into repeatable probes, triage with a rubric that handles non-reproducible failures, and report what you did not test. The scope document comes first, so you can copy it now.
AI Red Team Scope Document (Copy This)
Fill this in before anyone writes a prompt. Every later step depends on it.
System and version under test: name, build or release, date.
Model provider and model ID: the vendor and the exact model identifier from your configuration.
What your application adds on top of the model: retrieval corpus, tool permissions, memory, logging destinations, any system prompt you control.
Intended users and intended use: who uses the feature, for what task, in what setting.
Explicit out-of-scope list: what you will not test, and why.
Risk taxonomy: start from the OWASP Top 10 for LLM Applications (2025 edition), and map each class to the Map function of the NIST AI Risk Management Framework.
Stopping rule: see Step 7.
Success criteria: the conditions under which you would call the feature ready, and the conditions under which you would block it.
Why: severity is relative to intended use. Without a written scope, a finding can be described but not triaged.

Get the Mobile Testing Playbook Used by 800+ QA Teams
Discover 50+ battle-tested strategies to catch critical bugs before production and ship 5-star apps faster.
What Changes When the Target Is a Model
Red teaming predates AI, and Microsoft notes that the term now covers many kinds of probing, testing and attacking of AI systems. The practical difference from a penetration test is that, in Microsoft's words, with LLMs "both benign and adversarial usage can produce potentially harmful outputs." So your probe set must include ordinary, badly phrased input, and many of your findings will look like support tickets rather than breaches.
Step 1: Write the Threat Model Before You Write a Prompt
List every point where model output reaches a user or another system. Include the chat window, push notifications, a tool call that writes to a database, and any summary shown on a lock screen.
Mark which of those points your team controls. You cannot test a boundary you have not drawn.
Map each point to an OWASP class. LLM01:2025 Prompt Injection describes user prompts altering the model's behavior or output in unintended ways, which makes it an application-level surface as well as a model property.
Write down your assumptions. Record what you believe the model will refuse, what your filters catch, and what users will do.
Why: NIST's Map function asks for intended use, affected parties and assumptions before testing. Without them you cannot tell a failure from expected behavior. NIST published AI RMF 1.0 in January 2023 and describes it as voluntary.
Step 2: Sort Every Test by Who Can Run It
The OWASP GenAI Red Teaming Guide (January 2025) organizes the work into four areas: model evaluation, implementation testing, infrastructure assessment and runtime behavior analysis. A 2025 conference paper reaches a similar split, separating system-level red teaming across the development lifecycle from model-level red teaming. Use the areas to locate each planned test, then tag it:
Inherited: the provider's product behavior, which you cannot change.
Mine: something in your code or configuration.
Contract-dependent: it depends on your vendor agreement and what the integration allows.
Why: a team that only probes the model has tested its vendor's product, not its own feature. Which tests are yours depends on your architecture and contract, so write the reasoning down instead of assuming a fixed line. If you are building the wider QA plan around an AI feature, Quash's guide to testing AI-powered features covers chatbots, LLM outputs and recommendations.
Step 3: Run a Manual Round First, and Timebox It
Name a facilitator and two to four testers from different disciplines. Include someone from product or support, because they notice ordinary failures that security testers skip.
Fix a window. As a practitioner heuristic, one to two working days suits a first round on a single feature. Adjust it to your scope.
Record every session with the exact input and the exact output. Paraphrased notes cannot be retested.
Why: Microsoft's lessons from red teaming more than 100 of its generative AI products (January 2025) recommend an initial manual round before systematic measurement. That is a sequencing recommendation. Automated discovery can also find what humans miss: Anthropic reports that its automated system found stronger jailbreaks than all human red teamers in its bug bounty program combined, in its own safeguard tests. Start manual for interpretation, not because automation cannot find anything.
Step 4: Probe the Benign Path, Not Just the Adversarial One
Include these probes in the first round and record each as a designed test with its predicted outcome:
Vague or self-contradictory instructions, such as "make it shorter but keep every detail."
A correct question about the wrong product, such as asking a banking assistant about a competitor's fee schedule.
A request the system should decline but that is phrased helpfully, such as a benign-sounding ask for information it is not meant to give.
A legitimate task in a language or register the feature was not tuned for, such as slang or a regional dialect.
A user who changes their mind mid-task.
A session resumed after several hours, to see whether stale context changes the answer.
Use synthetic data and keep every probe inside the scope you wrote.
Why: an attack-only probe set measures the wrong risk, because benign usage can produce harmful output too.
Step 5: Turn Findings Into Repeatable Probes, and Say What the Suite Proves
Convert each manual finding into a probe. Use a deterministic check where one exists, such as a string that must never appear. Use a graded check, such as a model-graded rubric, where it does not.
Run the suite when prompts, models or retrieval sources change. This is a regression trigger you choose, not the only valid one. If you already run regression suites, AI-powered regression testing explains how to fit them into your pipeline.
Report results in the suite's own terms. Promptfoo's documentation describes its output as a quantitative measure of risk before deployment, drawn from thousands of probes. That is a vendor's characterization of its own product. Open-source tools such as Microsoft's PyRIT can generate and run such probes, but a repository describes what a tool contains, not how well it works.
For your report, a pass rate is a result for that probe set and that evaluator. It is not a probability of harm in production.
Why: automation gives coverage breadth and regression protection. Microsoft states that red teaming is not a replacement for systematic measurement, and a pass rate is only as good as how well the probes sample real use and how good the evaluator is.
Step 6: Triage With a Rubric Built for Non-Reproducible Findings
Score every finding on four axes:
Impact: who is harmed, and how recoverable the harm is.
Reachability: whether it needs a crafted input or happens in ordinary use.
Reproducibility: deterministic, frequent, intermittent, or one-off.
Mitigation available: none, partial, or a tested control.
Rule: reproducibility modifies priority, but it does not gate it. An intermittent disclosure of personal data outranks a reliable but rude response.
Why: model outputs often do not repeat on every run, and a reproduce-first habit quietly discounts the most serious failures. This rubric is a practitioner heuristic, not an industry standard. Adapt the labels to your own risk process.
Step 7: Declare the Stopping Rule Before You Start
Write the rule into the scope document. Choose one or more conditions:
every in-scope risk class has at least N recorded attempts;
a full session produces no new finding class;
the timebox ends.
Record which condition fired when you stop.
Why: without a pre-declared rule, "we red teamed it" cannot be checked by anyone. Choose N from your risk tolerance and the cost of a missed failure. The frameworks cited here do not set an attempt count for non-deterministic systems, so any N you pick is your own reasoning and your report should say so.
Step 8: Write the Report That Supports Review and Retest
Include these sections, in this order:
Scope and version tested.
Method and team, with the timebox and stopping condition that applied.
Probe log, with inputs, outputs and classification.
Findings, with the triage rubric applied to each.
What was not tested, and why.
Mitigations, with an owner for each.
The regression suite and where it runs.
A 2026 vendor report template uses a similar structure: scope and threat model, methodology, findings, severity, recommendations and retest. That shows the format circulates. It does not show that any auditor or customer will accept it, so check what your questionnaire or release gate asks for.
Why: this is the document a questionnaire or release gate usually consumes, and the "not tested" section is what makes the rest credible.
Where Mobile Changes the Probe List
Mobile AI features add surfaces a web-only list may miss. The cases below are test hypotheses, designed from general mobile QA practice. They are not documented AI-feature failures, so treat each as something to check.
Rendering untrusted model output in a native view that interprets markup or links. Predicted: a crafted response could trigger an unintended link or formatting change. Check iOS and Android separately.
Persisting model responses on device, such as in a local cache, and whether sensitive text survives sign-out.
Streaming output across a network transition, from Wi-Fi to cellular, and whether a partial response appears complete.
Recovering an in-flight generation after process death, and whether the restored answer matches the request that was sent.
Pair each with the mobile QA scenario it resembles, such as lifecycle and network-change testing, so you can reuse existing test infrastructure.
Conclusion
Start with the scope document, because every other decision hangs on it. Run a timeboxed manual round that includes benign-path probes, then turn what you find into a suite whose pass rate you describe in its own terms. Triage so that intermittent failures are not discounted, and report what you did not test. When the questionnaire asks whether you red teamed your AI, your answer should be a scope, a log, a stopping rule and a list of gaps, not a count of prompts. Pick the first test you own and run it this week.
Frequently Asked Questions
What is the difference between AI red teaming and penetration testing? Penetration testing asks whether an attacker can make a system misbehave. AI red teaming also asks whether the system causes harm when nobody is attacking it, so its probe set includes ordinary, badly phrased input.
Is AI red teaming required? The binding adversarial-testing duty cited here is Article 55 of the EU AI Act, which applies to providers of general-purpose AI models with systemic risk, not to most teams building on those models. NIST's framework is voluntary. A customer questionnaire or contract may still require it of you. Other jurisdictions are outside this article's scope.
How many people do you need? A working heuristic for a first round is a facilitator and two to four testers from different disciplines. The right number depends on scope and risk, and it is not a benchmark.
How long does it take? Set the timebox in your scope document, then let the stopping rule decide when you finish. No duration standard is cited here.
Can automated scanning replace it? No. Automated suites provide repeatability and regression protection across prompt and model changes. Manual probing covers new failure modes and supplies the judgment to interpret them, so you need both.
What if the model is a third-party API? You still own your integration surface: the prompts you send, the tools the model can call, what you store and what users see. Tag each test as inherited, mine or contract-dependent, as in Step 2.







