AI RED TEAMING
What is AI red teaming?
AI red teaming is the practice of testing AI systems with adversarial scenarios to uncover unsafe behavior, security weaknesses, and control failures before attackers or real-world conditions expose them.
For AI agents, red teaming should test not only model responses but also identities, permissions, tools, MCP connections, data access, and actions.
THE DEFINITION
AI red teaming tests what an AI system can do under pressure.
AI red teaming is the practice of deliberately testing AI systems with adversarial inputs, attack scenarios, and misuse cases to identify security weaknesses, unsafe behavior, and control failures.
AI red teaming can evaluate models, applications, agents, tools, permissions, data access, and runtime actions.
- Prompt injection
- Indirect prompt injection
- Jailbreak resistance
- Sensitive data exposure
- Excessive permissions
- Excessive agency
- Tool misuse
- MCP risks
- Unsafe multi-step workflows
- Approval bypass
- Runtime-control failures
WHY TEST
Why should organizations red team AI systems?
AI systems can behave in ways that are difficult to predict from static code review alone.
Red teaming helps answer: “What could this AI system do under adversarial conditions?”
SECURITY DISCIPLINES
AI red teaming vs. penetration testing
The two disciplines overlap. AI red teaming does not replace traditional penetration testing.
EXPECTED VS. UNEXPECTED
AI red teaming vs. model evaluation
Evaluation measures expected behavior. Red teaming searches for unexpected behavior.
MODEL VS. SYSTEM
AI red teaming vs. LLM red teaming
LLM red teaming tests the model layer. AI red teaming can test the complete system around it.
AI AGENT RED TEAMING
What is AI agent red teaming?
AI agent red teaming tests systems that can use tools, access data, operate through identities, and take actions. The goal is to determine whether an attacker or unexpected condition can cause the agent to exceed its intended task, permissions, or autonomy.
CHATBOT VS. AGENT
Why is testing an AI agent different from testing a chatbot?
Testing focuses heavily on response, safety, and disclosure.
Testing must also consider access, authorization, tool use, autonomy, and outcome.
When AI can act, the test cannot stop at the output.
THE ATTACK SURFACE
What should an AI red team test?
Test the full system boundary, from inputs and model behavior through identity, tools, data, and actions.
TEST AREAS
AI red teaming covers more than model output
PROMPT INJECTION TESTING
How do you red team prompt injection?
Test conflicting user instructions, malicious external content, adversarial documents, untrusted web pages, tool responses, RAG content, and MCP output. Do not rely on operational payloads; observe the system’s defensive behavior.
PERMISSION TESTING
Test what the AI system can actually access
Configured permissions may differ from effective permissions. Test service-account access, delegated user access, OAuth scopes, cloud roles, tool-mediated access, MCP credentials, and environment boundaries.
Can the agent reach something outside its intended task?
Explore Agent Identity & Permissions Explore Overprivileged AgentsTOOL TESTING
Test whether agents misuse legitimate tools
Test wrong-tool selection, unsafe parameters, unnecessary writes, destructive operations, alternate tools after denial, chained tools, and out-of-scope behavior.
Examine the tool selected, parameters, credential, resource, and outcome.
Explore Tool MisuseMCP RED TEAMING
How do you red team MCP?
Test manipulated tool descriptions, malicious tool output, unexpected capability, excessive permission, third-party server risk, prompt injection, unsafe downstream credentials, data exposure, and multi-tool chains.
EXCESSIVE AGENCY
Test whether agents exceed their intended authority
Test actions beyond task, high-impact actions without approval, chains that bypass review, retries after denial, delegated authority, and alternate paths.
Explore Excessive AgencyDATA EXFILTRATION TESTING
Test whether sensitive data can leave trusted boundaries
Test exports, external messages, uploads, third-party APIs, MCP tools, agent-to-agent transfer, and multi-step data movement.
SEQUENCE RISK
Agentic red teaming should test the sequence
Individual actions may appear acceptable. The full chain may not.
Agentic security failures often emerge across multiple legitimate steps.
HUMAN APPROVAL
Test whether approval controls can be bypassed
Test split high-impact actions, retries after denial, alternate tools, changed parameters, delegation to another agent, and context changes.
Can the agent reach the same prohibited outcome through another path?
RUNTIME CONTROL
Validate allow, review, and block behavior
Red teaming should verify the correct policy decision, safe failure behavior, approval enforcement, and auditability.
Explore Runtime SecurityFAILURE MODES
What happens when a security control fails?
Define whether the system fails open, fails closed, falls back to review, or pauses the action. The right choice depends on the system and risk.
CHANGE-DRIVEN TESTING
When should AI systems be red teamed again?
AI systems evolve faster than a one-time security assessment.
TESTING LIFECYCLE
A practical AI red teaming lifecycle
REPORTING
What should an AI red-team finding include?
Good findings make the behavior, path, authority, impact, and control gap understandable and reproducible where safe.
ILLUSTRATIVE EXAMPLE
Example finding: indirect prompt injection triggers a sensitive tool request
Illustrative example. This does not describe an actual Eyrane finding.
PRIORITIZATION
How should AI red-team findings be prioritized?
Consider sensitive data, permission level, action impact, exploitability, autonomy, external exposure, environment, blast radius, repeatability, and control coverage.
Use organizational risk judgment rather than an invented universal score.
PRACTICAL GUIDANCE
AI red teaming best practices
SECURITY CHECKLIST
AI red teaming checklist
- System boundaries defined
- Agents inventoried
- Identities mapped
- Permissions reviewed
- Tools inventoried
- MCP connections included
- Sensitive data identified
- Prompt injection scenarios tested
- Indirect injection tested
- Tool misuse tested
- Approval controls tested
- Multi-step workflows tested
- Data-exfiltration paths tested
- Failure modes tested
- Findings documented
- Remediation retested
AUTOMATION + HUMAN REASONING
Can AI red teaming be automated?
Automation can help with repeated scenarios, broad test coverage, regression testing, and standardized attack cases.
Human testers remain valuable for creative attack paths, system-level reasoning, business context, chained vulnerabilities, and novel misuse cases.
Automation increases coverage; human reasoning often improves depth.
CONTINUOUS SECURITY
Testing and runtime monitoring complement each other
Red teaming finds weaknesses. Runtime security controls what happens during operation. Monitoring observes behavior. Investigation explains unexpected events.
AUTHORITATIVE GUIDANCE
AI red teaming frameworks and guidance
These resources provide shared language for AI risk, adversarial techniques, and secure agentic applications. They do not imply endorsement of Eyrane.
EYRANE’S POINT OF VIEW
Test from instruction to action
Agentic systems expand the scope of AI red teaming.
A useful test should follow the path from input to model behavior, identity, tool use, downstream access, and final action.
Eyrane is focused on that complete security path.
COMMON QUESTIONS
Questions about AI red teaming
What is AI red teaming?
AI red teaming is the practice of deliberately testing AI systems with adversarial inputs, attack scenarios, and misuse cases to identify security weaknesses, unsafe behavior, and control failures.
Why is AI red teaming important?
AI red teaming helps organizations find failure modes that static code review and expected-case evaluation may miss, especially when systems process untrusted content, use tools, or take actions.
How is AI red teaming different from penetration testing?
Penetration testing typically focuses on software, infrastructure, authentication, authorization, network exposure, and application flaws. AI red teaming adds model behavior, prompt injection, context, tools, autonomy, and multi-step AI behavior.
How is AI red teaming different from model evaluation?
Evaluation measures expected quality, accuracy, reliability, safety, or task performance. Red teaming intentionally searches for unexpected behavior, attack paths, control bypasses, and exploitable combinations.
What is LLM red teaming?
LLM red teaming tests the model layer for jailbreaks, prompt injection, harmful output, sensitive disclosure, and other model or application safety failures.
What is AI agent red teaming?
AI agent red teaming tests systems that use tools, access data, operate through identities, and take actions, including whether an unexpected condition can exceed intended task, permission, or autonomy.
How do you test prompt injection?
Test conflicting instructions, malicious external content, adversarial documents, web pages, tool responses, RAG content, and MCP output, then observe behavior, attempted actions, access controls, and runtime policy.
How do you red team MCP?
Test tool descriptions, tool output, unexpected capabilities, permissions, third-party server risk, prompt injection, downstream credentials, data exposure, and multi-tool chains.
How do you test AI agent permissions?
Map configured and effective permissions across service accounts, delegated users, OAuth scopes, cloud roles, tools, MCP credentials, and environment boundaries, then test whether the agent can reach outside its task.
What is excessive agency testing?
Excessive agency testing checks whether an agent performs actions beyond its task, bypasses approval, retries after denial, delegates excessive authority, or finds an alternate path.
Can AI red teaming test data exfiltration?
Yes. Testing can examine exports, external messages, uploads, third-party APIs, MCP tools, agent-to-agent transfer, and multi-step data movement.
Should AI red teaming be continuous?
AI red teaming should be repeated as models, prompts, tools, MCP servers, permissions, data sources, workflows, autonomy, ownership, or deployment environments change.
Can AI red teaming be automated?
Automation helps with repeated scenarios, broad coverage, regression testing, and standardized cases. Human testers add creative attack paths, system reasoning, business context, and novel misuse cases.
Who performs AI red teaming?
AI red teaming may involve security engineering, AppSec, AI platform teams, red teams, privacy, data security, engineering, GRC, and specialized external testers.
When should an AI system be red teamed?
Test before production and retest after material changes to models, prompts, tools, permissions, data, workflows, autonomy, or trust boundaries.
AI RED TEAMING
Test what happens when AI can act.
Evaluate prompts, permissions, tools, MCP connections, data access, approval controls, and multi-step behavior before unsafe paths reach production.