- OWASP's GenAI Red Teaming Guide, published January 22, 2025, frames the work in four areas: model evaluation, implementation testing, infrastructure assessment and runtime behavior.
- For most enterprises the highest-value tests are at the implementation layer: prompt injection, data exposure and actions taken by AI features.
- Test any feature that combines private data, untrusted content and a way to send data out.
What AI red teaming is
AI red teaming is structured adversarial testing of an AI system to find ways it can be made to fail, leak or act wrongly. NIST's Generative AI Profile, published July 26, 2024, is a companion to the AI Risk Management Framework that treats pre-deployment testing, including red teaming, as part of managing generative AI risk 1. OWASP's GenAI Red Teaming Guide, published January 22, 2025, takes a holistic view across four areas: model evaluation, implementation testing, infrastructure assessment and runtime behavior analysis 2.
The four layers, for a buyer
Model. Unless you train models, you mostly inherit this layer from your provider. Ask what testing they publish.
Implementation. Your prompts, retrieval, tools and output handling. This is where most enterprise findings live.
Infrastructure. Where the system runs, what credentials it holds, and what it can reach on your network.
Runtime. How the system behaves with real users over time, including after vendor model changes.
Test cases worth running
Prompt injection. OWASP ranks it first in the Top 10 for LLM Applications 2025 3. Plant instructions in documents, emails, web pages and tickets the system reads, not only in the chat box.
The lethal trifecta. Any feature that combines access to private data, exposure to untrusted content and a way to communicate externally can be made to send data out 4. Map every feature against those three.
Excessive agency. Try to make the system take actions beyond its purpose, and confirm that downstream systems refuse them 5.
Access boundaries. Ask, as one ordinary user, for another user's records.
Layered defenses. Do not treat one filter as the control. Research from the UK AI Security Institute and others shows determined attackers can find paths through single defenses; see jailbreaks and layered defense.
After the test
Turn each finding into a regression test, fix the cause rather than the phrasing, and retest after model or prompt changes.
What this means for your team
- Test the system, not only the model.
- Plant injected instructions in every content source.
- Map features against private data, untrusted content and outbound paths.
- Confirm downstream systems refuse out-of-scope actions.
- Retest after model and prompt changes.
This is Swallowtail Systems™ analysis of public sources. Figures belong to the organizations cited, and we link every one. Nothing here describes a client engagement.
Where this fits
- Services: Code Verification, AI agents
- Industries: SaaS and software companies, State and local government, K-12 school districts
- Glossary: Red teaming, Prompt injection, Lethal trifecta, Excessive agency
Case studies on this topic
Sources
- NIST, AI 600-1, Generative Artificial Intelligence Profile (July 26, 2024)
- OWASP Gen AI Security Project, GenAI Red Teaming Guide (January 22, 2025)
- OWASP, LLM01:2025 Prompt Injection
- Simon Willison, "The lethal trifecta for AI agents" (June 16, 2025)
- OWASP Gen AI Security Project, LLM06:2025 Excessive Agency