Articles

What Is AI Red Teaming?

AI red teaming is the practice of deliberately attacking a model or AI system to find failures before real adversaries do. Here's how it works.

Chisato Chisato · · 4 min read
Silhouette of a person at a keyboard in a dark room

AI red teaming is the practice of deliberately trying to make an AI system fail — produce harmful content, leak data, bypass its own restrictions, or behave in ways its developers didn’t intend — in order to find and fix those failures before they show up in production. The term borrows directly from traditional security red teaming, where a team plays the attacker against your infrastructure, but the target and the techniques are specific to how AI systems break.

Why AI systems need a different kind of attacker

Traditional security testing looks for bugs in code: a buffer overflow, an unpatched dependency, a misconfigured permission. Those bugs still matter for AI systems — the infrastructure serving a model is still infrastructure — but large language models introduce a second, much fuzzier attack surface: the model’s behavior itself.

A model can be technically bug-free and still be made to do something its developers didn’t want, because its behavior is shaped by training and a prompt rather than by explicit code paths. That’s the gap AI red teaming exists to probe. It’s less like finding a broken lock and more like finding a persuasive argument the system hasn’t learned to resist.

Common categories of attack

  • Prompt injection — hiding instructions inside content the model processes (a webpage, a document, a tool result) so it follows the attacker’s instructions instead of the user’s. This is one of the most-tested categories precisely because any system that lets a model read untrusted content is exposed to it; see our deeper look at prompt injection for the mechanics.
  • Jailbreaking — crafting a prompt that talks the model into ignoring its own safety training, often through role-play framing, translation tricks, or step-by-step reasoning that arrives somewhere the model would normally refuse to go directly.
  • Data extraction — probing whether a model will regurgitate sensitive material from its training data or from a RAG system’s private document store, when it shouldn’t.
  • Tool and agent abuse — for systems where a model can call tools or take actions, testing whether it can be tricked into calling the wrong tool, escalating its own permissions, or taking an irreversible action based on injected instructions. This category has grown as more products ship AI agents with real-world side effects.
  • Evasion of classifiers — testing whether a separate safety filter sitting in front of or behind the model can be bypassed with encoding tricks, unusual phrasing, or adversarial suffixes.

Manual vs automated red teaming

Most serious red-teaming programs combine two approaches. Manual red teaming uses skilled human testers who understand both the model’s training and the domain being tested — a security researcher probing for prompt injection, a domain expert probing for harmful medical or legal advice. Humans are good at creative, multi-step attacks that don’t follow a predictable pattern.

Automated red teaming uses another model, or a fuzzing harness, to generate large volumes of adversarial prompts and check the target’s responses against a rubric. It’s far cheaper to run at scale and good at finding the shallow, repeatable failures — but it tends to miss the genuinely creative attacks a skilled human would find, so it complements manual testing rather than replacing it.

Manual red teamingAutomated red teaming
Finds novel, creative attacksYesRarely
Scales to thousands of test casesNoYes
Cost per testHighLow
Best forDeep probing before a major releaseContinuous regression testing

Red teaming is not a one-time gate

A model that resists a jailbreak today can be vulnerable to a slightly reworded version of the same attack tomorrow, and a system prompt or fine-tuning pass can quietly reopen an issue that was already fixed. Because of that, red teaming works best as a recurring process tied to every meaningful change — a new model version, a new system prompt, a new tool the model can call — rather than a single audit before launch.

Findings typically feed back into the system in one of a few ways: adjusting the training data or RLHF process, adding guardrails at the application layer (input filtering, output filtering, tool-call restrictions), or in some cases just accepting the risk and documenting it if the attack requires access or effort beyond the system’s threat model.

Where it fits next to other AI safety work

Red teaming is adversarial by design — it assumes a motivated attacker and tries to break things. That makes it distinct from, but complementary to, an LLM eval, which typically measures average-case quality (accuracy, helpfulness, coherence) rather than worst-case behavior under attack. A model can score well on a helpfulness eval and still fail a red-teaming exercise, because the two are measuring different things: how good the system usually is, versus how bad it can be made to be.

The takeaway

AI red teaming is the practice of deliberately attacking a model or AI system — through jailbreaks, prompt injection, data extraction, or tool abuse — to surface failures before real adversaries do. It works best as a combination of skilled human testers for creative attacks and automated tooling for scale, run continuously rather than once, feeding directly back into training, system prompts, and application-layer guardrails.

The Lycoris Team The Lycoris Team · · 2 min read

The EU AI Act's GPAI Rules Get Teeth in August

On August 2, 2026, the EU gains real enforcement power over general-purpose AI models — fines, mandated mitigations, even recalls. What providers need to know.

#AI #LLMs #Security