---
title: "Red teaming"
url: https://eldan.ai/glossary/red-teaming
canonical: https://eldan.ai/glossary/red-teaming
locale: en
language: en
published: 2026-11-23
updated: 2026-11-23
author: "Eldan Abdrashim"
cite_as: "Eldan Abdrashim. \"Red teaming.\" Eldan.ai, 23 November 2026. https://eldan.ai/glossary/red-teaming."
---

# Red teaming

> Red teaming is adversarial testing: you attack your own system the way a malicious user would, to find failures before others do. For AI it means jailbreak and injection attempts, data-extraction probes and abuse of tools. Good findings become permanent regression cases in an automated suite that runs in CI.

A one-off exercise finds today’s holes. A suite of attacks that runs on every change protects against regressions. Score outcomes, not wording: did any unauthorised action happen, did any secret leak, is the tool log clean.

**Common mistake.** Judging a red-team run by whether the model refused. A refusal in words can still be followed by a harmful tool call.

**In practice.** Define harm in terms of tool calls and data access, replay known attacks against every release, and add new ones from each incident.

## Related terms

- [Prompt injection](https://eldan.ai/glossary/prompt-injection)
- [Eval](https://eldan.ai/glossary/eval)
- [Guardrails](https://eldan.ai/glossary/guardrails)
