AI red teaming

  • Glossary
  • Updated October 31, 2026

AI red teaming is adversarial testing of AI systems (models, agents, and RAG pipelines) to find vulnerabilities before attackers do. It shows how a system behaves outside its intended happy path: whether it can be pushed to leak data, drop its rules or take an action nobody approved.

How it works

A red team attacks the system the way an adversary would and records what gets through. The three surfaces in the definition each call for their own techniques:

  • Models: jailbreaks, system-prompt extraction, harmful output coercion and cross-modal injection.
  • Agents, with their tools, memory and multi-agent orchestration: tool misuse, over-permission abuse, goal hijack, cascade failures, identity spoofing and memory poisoning.
  • RAG pipelines: knowledge-base poisoning, adversarial embedding neighbours, retrieval hijack and prompt injection through documents.

The attacker can be a script or a model. A static script replays a fixed list of prompts. An adaptive attacker is itself an LLM: it reads the target’s responses, uses its refusal patterns as input, mutates its prompts and chains across turns until it finds a gap or exhausts its iteration budget. Real attacks also cross surfaces, from model to tool to retrieval to output, so useful tests walk the whole chain.

Alongside attacks, hardening scans look for configuration weaknesses: over-permissioned agents, unused tools left wired, weak defaults and exposed admin surfaces.

What it looks like

Here is an adaptive run against a clinical-summary agent, turn by turn. A direct request for a named patient’s recent admissions is blocked. A claim to be the attending physician is blocked as unverified authority. Small talk is allowed, and the conversation relaxes. A patient_lookup call fires, but the PHI in its output is masked before the agent sees it. Then the attacker claims to be running a HIPAA-required audit and asks, under the audit role, for all admissions matching a pattern. That works, because the system prompt assumed the audit role was pre-authorised.

The gap was an assumption in the system prompt, and only an attacker that kept adapting reached it. A static script would have failed in the early iterations and reported no issue.

Why it matters

AI systems keep changing. Models are swapped, prompts evolve, tools are connected and agents gain permissions, so a system tested three months ago may not carry the same risk today. Fine-tuning can also erode refusal behaviour in ways nobody notices until someone looks.

What good looks like

  • Runs that repeat as the system changes, including on pull requests, against a sandboxed copy of live agents rather than production.
  • Multi-turn, cross-surface scenarios rather than single prompts.
  • Findings delivered as reproducible, severity-scored scenarios, tagged to the frameworks auditors read.
  • A loop into production: red-team findings inform runtime policy, and runtime events shape the next round of tests.

In the frameworks

Findings are typically mapped to the OWASP LLM Top 10 (2025), the OWASP Top 10 for Agentic Applications (2026), NIST AI RMF 1.0 and MITRE ATLAS tactics. In Wingback’s library, prompt injection maps to LLM01 and the ATLAS Initial Access tactic, data exfiltration to LLM02 and ATLAS Exfiltration, tool misuse to ASI02, privilege escalation to ASI03, multi-agent cascades to ASI08, and misconfigurations to NIST GOVERN-1.1. The clinical-summary finding above was logged against ASI01, ASI03 and LLM06 Excessive Agency at critical severity.

How Wingback handles it

AI Red Teaming runs an LLM-driven attacker against models, agents and RAG pipelines weekly, on every pull request and on demand. Each validated finding goes to a guardrail compiler that emits a deterministic rule for runtime defense, with no LLM in the loop at deploy time, and the next scan re-runs the chain to confirm the guard catches it. Wingback was accepted into Anthropic’s Cyber Verification Program, which lets its engine use Claude for this kind of offensive security work.

Keep reading

Platform

AI Red Teaming

Wingback runs continuous, adaptive red teams on your models, agents, and RAG pipelines, maps each finding to OWASP, NIST, and MITRE, and hardens the runtime.

Every AI call, checked before it lands.