Red teaming
Definition
Structured adversarial testing in which a team deliberately tries to make an AI system fail, misbehave or cause harm, to find weaknesses before others do.
Red teaming comes from security practice, where a team plays the attacker. For AI, it covers both security attacks (prompt injection, jailbreaks, data extraction, model theft) and harmful behaviour (dangerous instructions, discriminatory content, privacy leaks, hallucinated advice). NIST's Generative AI Profile recommends red teaming with diverse participants, including domain experts and people from affected communities, and the EU AI Act expects providers of general-purpose AI models with systemic risk to perform and document adversarial testing.
Good red teaming has a defined scope, threat model and rules of engagement, logs every finding with severity, and feeds results into mitigations and retesting. It complements, but does not replace, systematic evaluation on benchmarks and ongoing monitoring after deployment. Results are valuable assurance evidence for auditors and boards.
Example: before launching an HR assistant, a company asks testers to coax it into revealing other employees' salaries; they succeed through an indirect question, and access controls on the underlying documents are tightened.
Where this term is assessed
Assessed in the Responsible AI Practitioner (RAIP), domain 5: Technical controls.
Primary sources
- NIST AI 600-1 (Generative AI Profile)
- Regulation (EU) 2024/1689 (AI Act), Art. 55