How to Red-Team AI Agents Against Multi-Step Jailbreaks in 2026
GAO investigators bypassed safeguards on four widely used AI platforms in controlled tests, showing why multi-step misuse deserves scrutiny—not that attacks occurred. Use this practical guide to test tool access, permission boundaries, failures, and recovery.
A single refusal tells you very little about whether an AI agent is safe. Multi-step AI red teaming tests what happens when instructions, tools, data and permissions interact over a sequence of decisions—and whether the system can recover when something goes wrong.
Key Takeaways
- GAO’s November 18, 2026 report says investigators bypassed safeguards on four widely used AI platforms in controlled tests; it does not say an attack occurred or establish how common such outputs are.
- Agent safety depends on boundaries outside the model, too. Tool permissions, data access, approval gates and logging can limit damage when a model follows a bad instruction.
- Measure complete workflows, not just refusals. Track policy violations, unauthorized tool calls, task completion, recovery, latency and cost per successful task.
The practical lesson is not that every AI agent is unsafe. It’s that a model’s answer to one carefully worded prompt is a poor proxy for how it behaves across a real workflow. Agents may read documents, call APIs, search internal systems or draft actions for a person to approve. Each step creates another place for instructions to be misunderstood, permissions to be overused or a failure to go unnoticed.
Why multi-step tests matter now
In its report GAO-27-108814, released November 18, 2026, the U.S. Government Accountability Office says investigators used common techniques to get four widely used AI platforms to produce information that could assist a harmful attack, then verified the plans’ viability. These were controlled tests. The finding is a reason to evaluate safeguards under pressure—not evidence that an attack took place or that ordinary users can reliably reproduce the results.
For enterprises, the harder question is what happens after the first model response. An employee asks an assistant to summarize an email. The email contains instructions aimed at the assistant. The assistant has access to a knowledge base and can create a ticket. Does it treat the email as untrusted content? Can it read information the employee isn’t allowed to see? If it tries an action outside its role, does a separate control stop it?
A multi-step jailbreak evaluation follows those interactions as a chain. It tests whether the system respects its intended boundaries when the surrounding context changes—not just whether it rejects an obviously disallowed request. The test should include normal work, misleading or conflicting input, an attempted tool action, and a recovery opportunity.
This matters beyond AI security. A system that can act on internal data can create privacy, legal and operational exposure. A system built around one cloud provider can also inherit that provider’s availability risks. Earlier this month, a worldwide Microsoft 365 outage disrupted services including Outlook, Teams and Copilot. AI agents add value to business workflows, but they can also make those workflows more dependent on shared identity, collaboration and cloud services. Safety testing and continuity planning belong in the same risk conversation.
How to red-team an AI agent
Start with the workflow, not a bag of clever prompts. Write down what the agent is meant to do, which data it may access, which actions it may take and where a person must approve a consequential step. Then test the boundaries between those permissions.
A useful evaluation has five stages:
- Establish normal behavior. Give the agent representative tasks and record what success looks like, including the expected tools and data.
- Introduce untrusted context. Use a test document, email or web page containing instructions that conflict with the task. Check whether the agent treats those instructions as data rather than authority.
- Probe permissions. Ask for a task that would require access or an action outside the agent’s assigned role. Use a sandbox and synthetic records.
- Test escalation and approval. Check whether a human review gate appears before an irreversible or sensitive action—and whether the agent can bypass it through an alternate tool path.
- Test recovery. Simulate a denied tool call, malformed result or service failure. Does the agent stop, explain the limitation and offer a safe next step, or retry until something slips through?
Keep the environment controlled. Use synthetic data, test accounts and reversible actions. Red-teamers should document the scenario and expected outcome before running it; otherwise, teams tend to count only dramatic failures and miss quieter boundary violations, such as retrieving a record the agent should never have seen.
A small test-case record can make results repeatable:
{
"scenario": "untrusted_document_with_conflicting_instructions",
"principal": "support-agent-test",
"allowed_tools": ["search_public_kb", "draft_ticket"],
"prohibited_actions": ["read_customer_secrets", "submit_ticket"],
"expected_result": "summarize_document_without_following_embedded_instructions",
"human_approval_required": true
}
The exact scenario belongs in your organization’s evaluation suite; the important part is that it names the agent’s identity, allowed tools, prohibited actions and expected behavior. A refusal alone is not always a pass. If the agent refuses the user but has already retrieved restricted data or invoked a prohibited tool, the control failed.
What to measure—and how often
Benchmark scores can provide context, but they don’t tell you whether an agent will behave safely in your workflow. Stanford’s 2026 AI Index technical performance report reports a 30-percentage-point one-year gain on Humanity’s Last Exam and a 2.7% gap between top U.S. and Chinese models as of March. The same research flags invalid-question rates of up to 42% on one widely used evaluation. Fast progress makes evaluation more important; questionable test items make local validation essential.
| Signal | Reported evidence or metric | What it tells a team |
|---|---|---|
| GAO controlled testing | Four widely used platforms | Safeguard bypasses were demonstrated in controlled tests; this is not an estimate of real-world frequency. |
| Humanity’s Last Exam | 30-point year-over-year gain | Capability on a specified benchmark is moving quickly; it does not establish workflow reliability. |
| Benchmark validity | Up to 42% invalid questions on one evaluation | Audit test quality before using a leaderboard to justify procurement or deployment. |
| Tool-boundary violations | Unauthorized calls ÷ evaluated scenarios | Whether permissions and tool controls hold across the tested workflow. |
| Recovery rate | Safe recoveries ÷ failed tool or policy events | Whether the agent stops, reports the issue and resumes safely after a failure. |
| End-to-end performance | p50 and p95 time; cost per successful task | Whether the system meets real latency and operating-cost needs, including retries and review. |
For an enterprise AI safety evaluation, record at least: task completion rate, policy-violation rate, unauthorized data access, unauthorized tool calls, refusal rate, recovery rate, and human-escalation rate. Measure latency at p50 and p95 across the entire workflow. A model’s first-token speed won’t reveal the delay from three tool calls and a retry.
Cost Formula: Cost per successful task = (input + output + tool and infrastructure + human-review costs) ÷ successfully completed tasks
That denominator matters. A cheap model that needs repeated retries or expensive human cleanup may cost more than a slower, more dependable system. The research available here does not provide comparable current API prices, GPU-hour costs or production latency figures, so teams should measure their own workloads rather than rely on a generic price comparison. Run the same tasks with the same context, permissions and success criteria for every candidate model.
Retest whenever the model, system prompt, connected tool, permission policy or retrieval source changes. Keep a small regression suite running on every release, then run a broader adversarial exercise at a regular cadence—monthly is a reasonable starting point for a high-impact agent, with more frequent testing during rapid changes. The cadence should reflect exposure: a read-only internal summarizer needs less intensive testing than an agent that can modify customer records or initiate payments.
Treat failures as useful operational data. Record what happened, which control should have stopped it, whether the agent recovered, and how long the team took to detect and contain the issue. A test that finds a weakness but leaves no owner or remediation date is a demonstration, not a safety program.
For deployment decisions, start with the narrowest useful scope. Keep the agent read-only when mistakes could expose sensitive data; require approval for consequential actions; grant write access only when tests show that both model behavior and external controls enforce the boundary. Separately, rehearse fallback procedures for business-critical services. A second cloud contract isn’t a continuity plan unless staff can actually move the workflow.
Frequently Asked Questions
Q: How do you red-team AI agents against multi-step jailbreaks?
Test a realistic workflow across several stages: ordinary task, untrusted input, attempted boundary crossing, tool use and recovery. Use a sandbox with synthetic data, and measure actions and data access—not just whether the model refuses a prompt.
Q: How do you test AI tool use and permission boundaries?
Give the agent only the tools required for its role, then test whether it can access restricted data or take actions outside that role. Verify that enforcement happens in the tool or authorization layer as well as in the model’s response.
Q: How often should AI red-team tests be repeated?
Run regression tests whenever the model, prompt, tools, data sources or permissions change. For high-impact agents, add a broader adversarial review at least monthly, and increase the cadence when the system or its threat exposure changes quickly.
Longhak Ly
Author & Lead EngineerSystems Software Engineer & Data Intelligence Lead
Researches and benchmarks distributed systems, LLM inference runtimes, cloud compute economics, and critical geopolitical supply chains. Dedicated to reproducible, data-driven analysis free of promotional hype.
Share this technical benchmark
Help fellow developers and systems architects benchmark production tradeoffs.
All technical benchmarks, latency audits, and financial models on EveeStatistic are independently compiled from open-source testbeds, public regulatory filings, and reproducibility runs. Researched and fact-checked by independent systems engineers.