AI Security
AI Red Teaming: What It Is and How to Run One
AI red teaming explained: how it differs from a penetration test, what to test, how to plan an exercise, and how to turn results into fixes that get funded.
AI red teaming has moved from research labs into mainstream security programs. Regulators, customers and boards now expect organisations that deploy AI to show it has been tested by people actively trying to make it fail.
But “red team the AI” means different things to different people. Here is a practical view of what it involves and how to run one that produces useful results.
What AI red teaming is
AI red teaming is structured, adversarial testing of an AI system to find ways it can be misused, manipulated or made to cause harm. Testers think like attackers and like careless or malicious users.
It covers two broad areas:
- Security: can the system be tricked into leaking data, taking unauthorised actions or giving attackers access?
- Safety and misuse: can it be made to produce harmful, biased, misleading or reputation-damaging output?
Most organisations care about both, weighted by the use case.
How it differs from a penetration test
| Penetration test | AI red teaming | |
|---|---|---|
| Target | Infrastructure, applications, identities | Model behaviour and the system around it |
| Technique | Exploit known vulnerabilities | Manipulate inputs, context and tools |
| Results | Mostly repeatable | Probabilistic: an attack may work 3 times in 10 |
| Fix | Patch or configure | Usually redesign permissions, controls or workflow |
You still need the penetration test. AI red teaming adds the layer that traditional testing misses.
What to test
Scope by the risks that matter for the system. A typical list:
- Prompt injection, direct and indirect, through every channel the model reads. See prompt injection explained.
- Data leakage: can testers retrieve other users’ data, internal documents or the system prompt?
- Excessive agency: can the system be pushed into actions beyond its purpose, such as sending email, changing records or calling tools out of sequence?
- Guardrail bypass: can policy filters be evaded with role play, encoding, other languages or multi-step conversations?
- Harmful or misleading output relevant to your context: wrong financial advice, fabricated policy, discriminatory decisions.
- Abuse and cost: can the system be made to consume excessive resources?
The OWASP Top 10 for LLM applications is a good checklist to make sure nothing obvious is missed.
Planning an exercise
1. Define the worst outcomes
Start from business impact, not attack techniques. “What would be in the newspaper?” is a useful prompt. For a customer agent it might be leaking account details; for an internal copilot it might be surfacing board papers to all staff.
2. Set rules of engagement
Agree what is in scope, which environments are used (ideally a production-like copy), what data testers can use, and how findings are reported in real time if something serious appears.
3. Combine people and automation
Automated tools can run thousands of known attack prompts quickly. Skilled people find the creative, multi-step and context-specific attacks that tools miss. Use both.
4. Measure, do not just collect screenshots
Because AI is probabilistic, record success rates. “This injection works 40% of the time” is far more useful than one screenshot, and it lets you prove a fix worked.
5. Retest after changes
Model updates, new tools and prompt changes can reopen closed issues. Build red teaming into the release process for significant AI systems.
Turning findings into fixes
The weakest red team reports list clever jailbreaks. The strongest explain business impact and fix the design. Typical high-value fixes:
- Remove a tool or permission the system never needed.
- Add human approval to one category of action.
- Make retrieval respect existing access controls.
- Add output checks on destinations and data types.
- Add logging so incidents can be scoped.
Present results the same way as any other risk: likelihood, impact, and the cost of treatment. That is what gets remediation funded.
Do you need one?
Prioritise AI red teaming when a system:
- Is exposed to customers or the public.
- Can take actions or call tools.
- Has access to personal, sensitive or classified information.
- Influences consequential decisions about people.
For most organisations, start with your highest-risk system and work down. My AI security assessment guide explains how red teaming fits into a broader assessment.
To scope a red teaming exercise for your AI, talk to Sentinel.