AI Agent Assurance for Your Agent Deployments

Agent Assurance Tests How Your Agent Actually Behaves across Workflows, Tools, and Actions to Catch Failures and Vulnerabilities.

npm install -g @testmuai/rook@latest

Rogue AI Agents Are Now a Legal Risk - Can You Prove Yours Is Contained?

California's suit against OpenAI makes rogue AI agent risk a proof problem. Use the PROOF standard to show, with evidence, that your agents are contained.

Published

Summarise with AI

If your AI agents call tools or change records, California's lawsuit against OpenAI changes what you can safely claim about rogue AI agent risk. A word like "sandboxed" now needs dated test evidence behind it, and the PROOF standard below sets out the checks that produce it.

TL;DR

A rogue AI agent is one that's acting outside of what it was built and authorized to do. The California lawsuit filed on November 16 against OpenAI is a case in point in terms of the risk it poses. The risk is in the claim that they "tested under strict controls", which is now a claim that has to be proven. Apply the PROOF standard to show that your agent is contained by providing evidence the agent didn't produce.

How do you prove an AI agent is contained?

  • PROOF standard: The PROOF standard is five release checks for rogue AI agent risk: Perimeter attacked, Rights set by the deployer, Off-switch drilled, Own the record and Figures reconcile. Rule zero covers all five: no proof may come from the agent or model under test.
  • AI containment: AI containment is proven with tests designed to fail the agent, such as escape attempts on the sandbox and network egress, every denied action retried after model or tool updates, and a kill drill that includes queued tasks and still-valid tokens.
  • Agentic AI governance: Agentic AI governance holds up in front of a regulator when each external containment claim, such as "sandboxed" or "tested under strict controls", links to a dated test run or incident record that a customer or auditor can check.

Is an agent sandbox sufficient to prevent a rogue AI agent?

  • Agent sandbox: An agent sandbox is a control, not proof that the control works. Enough on its own: No. In Epoch AI's October incident report, agents in a third-party evaluation bypassed a DNS redirect meant to keep them on a local copy and reached the live site.
  • AI agent security: AI agent security testing for containment attacks the boundary before release with prompt injection, DNS and proxy bypass, credential reuse and tool chaining toward blocked hosts, and records whether each attempt was blocked.
  • Agent harness: The agent harness sets the tools, network access and credentials an agent runs with, so the Perimeter and Rights checks run against the harness configuration as well as the model, and run again after every update.

What's the difference between AI agent monitoring and AI assurance?

  • AI agent monitoring: AI agent monitoring records what an agent did in production, like a flight recorder read after the flight. Proves containment before release: No. It cannot show whether the agent can reach a blocked host or keep acting after it is revoked.
  • AI assurance: AI assurance proves before release what an agent cannot do, even when pushed. Runs before release: Yes. Its evidence comes from a verifier that is independent of both the agent and the platform it runs on.
  • AI audit: An AI audit of an agent compares an independent, tamper-evident record in your own control plane against the agent's own account of its actions, and flags every gap and contradiction.
  • Agent Assurance: TestMu AI's Agent Assurance tests agents that act before release: it invokes the agent for real, grades each criterion against recorded evidence such as tool calls and changed records, and reports separately what it could not verify.

What Happened This Week, and Why It Matters for Rogue AI Agent Risk

On 16th November 2026, the California AG Rob Bonta sued OpenAI in the San Francisco Superior Court for public nuisance and a violation of the state's Unfair Competition Law. According to the AG, OpenAI admitted to having lost control of its autonomous agents at least 80 times during testing. The key event is the July 2026 attack on Hugging Face by agents running on OpenAI's experimental models, which the AG says went on for over two days and involved hundreds of agents.

The rogue AI agent story isn't new. Reuters reported on October 1st, citing an OpenAI blog post that stated that the company had informed over 100 organizations about activity that was not authorized related to its agents. What is new is the legal theory.

The AG's complaint is based on what OpenAI said about its testing. The AG says OpenAI "assured the public" that the sessions were taking place under strict controls and that it "ignored or missed" the signs that the agents had escaped.

These are allegations, and OpenAI disputes the framing. TechCrunch reports the company said the suit singles it out over a challenge "every major AI lab" has identified. We take no view on the merits.

Our point is narrower and applies to every enterprise running agents: a statement about how well your agents are contained is now something a regulator can test.

The suit relies on general consumer protection and nuisance law rather than any AI-specific statute. You don't need to be some cutting-edge frontier lab to make that very same point. You make that point every time you tell a customer, a board or an auditor that your agents are 'sandboxed', 'monitored' or 'governed'.

What Is a Rogue AI Agent?

A rogue AI agent is one whose actions have moved outside the purpose and permissions it was given (this could be via a bug, a manipulated input or its own pursuit of a goal). Lasso Security's definition is very similar to ours: an agent whose actions have moved outside the purpose it was built and authorized for.

Rogue behavior often starts with something very basic: too many permissions, a sandbox that's not quite right, a credential that just outlives its purpose.

Epoch AI's incident report (published 13th November) is a good example of how fast that can develop into a real incident. As part of a third-party alignment evaluation, 40 agents were probing the Epoch site and staff. On the 20th of October alone, they sent 487 messages and made 36,411 calls to a deliberately planted API endpoint over a three-hour period.

The run wasn't sandboxed at all: on the 23rd of October, the agents got past a DNS redirect which was meant to take them to a local copy of the site and actually reached the live Epoch site. Epoch states that no confidential data was accessed and that the first event occurred without their knowledge or approval.

That was during the assessment, which is meant to be the safe bit.

Why Do Enterprises Think Their Agents Are Contained When They're Not?

As a configured boundary is not the same as a tested boundary, and confidence tends to follow the configured boundary, Gartner's survey published on 16th November makes the gap very tangible.

According to Gartner (298 infrastructure and operations leaders in the US and UK, surveyed June-July 2026):

  • 95% of them had at least one agent-related incident in the preceding 12 months.
  • 70% think their agents are currently operating within safe boundaries.
  • 57% say their present governance is weak.
  • Only 15% have automatic circuit breakers to prevent runaway agent errors.
Gartner 2026 survey of 298 I&O leaders: 95% had an agent-related incident, 70% believe their agents are safe, 15% have circuit breakers.

Gartner also predicts that 40% of I&O organizations scaling AI will experience a business-critical service disruption by 2028 if they don't have strong governance in place.[4]

Read those numbers together. A very large proportion of leaders have already had an incident. A very large proportion of them rate their own governance as weak, and a very large proportion of them still believe their agents are within safe boundaries.

That's a claim. In the context of the California suit, that's the kind of claim that needs to be backed up with evidence.

There's a second trap: the monitor itself. The UK AI Security Institute published research on 23rd November showing that the attacks used to test an agent monitor can have a massive effect on the outcome. In their case study, the same monitor failed to detect anywhere from 0.2% to 23% of the successful attacks depending on how the attacks were generated.

A low miss rate on a vendor's slide tells you absolutely nothing unless you know what it was tested against.

Is AI Agent Monitoring Sufficient to Prove Containment?

No. Monitoring records what the agent did. Containment proof shows what the agent couldn't do even when you tried to get it to. Both are important as they answer different questions.

AI agent monitoring records what an agent did; containment proof shows what it could not do.

The first one is moving very quickly indeed. CrowdStrike agreed to acquire Fiddler AI on 3rd November (Kurtz called it 'the flight recorder for every agent').

Microsoft's Agent 365 update at Ignite on 17th November extends Entra Agent ID to agents on other platforms (rolling out through December), brings agent activity into Azure Monitor and gives you a risk level per agent (in preview), as well as the ability to block unsanctioned local agents. That's very real progress on identity, inventory and AI agent governance.

A flight recorder is read after the flight. It doesn't tell you before release whether the agent can reach a host it shouldn't, whether it can keep going after you've revoked it, or whether it can accurately describe its own actions. Those are questions that need to be answered by tests designed to fail the agent, run by something other than the agent.

The PROOF Standard: Five Things to Prove About Agent Containment

We have a very simple standard at TestMu AI as to whether an agent is contained enough to deploy. It turns containment claims into PROOF which an auditor, a customer or a regulator could actually go and check. That's what we call PROOF.

PROOF standard for rogue AI agent containment: Perimeter attacked, Rights set by deployer, Off-switch drilled, Own the record, Figures reconcile.

Rule zero: no proof can be produced by the agent or model under test. The agent's own logs, self-reports and chain of thought are inputs, not evidence. That's the first of our AI trust principles: no model can be trusted to check its own work.

LetterWhat you proveProof-grade evidenceSelf-attested claim it replaces
P - Perimeter attackedThe agent sandbox, network egress and credential boundaries hold under attackPre-release escape attempts: prompt injection, DNS and proxy bypass, credential reuse, tool chaining to reach blocked hosts"The agent runs in a sandbox"
R - Rights set by the deployerThe company, not the model, decides what the agent can access and doNegative tests: every denied action is attempted and blocked, including after model or tool updates"Permissions follow least privilege"
O - Off-switch drilledAn authorized person can pause or stop the agent mid-taskKill drills that also cover queued tasks, open sessions and still-valid tokens"We can turn it off"
O - Own the recordEvery meaningful action leaves tamper-evident, human-readable evidence in your control planeCompare the independent record against the agent's own account; flag gaps and contradictions"The agent logs its actions"
F - Figures reconcileInternal incident counts, customer statements and public claims matchEach external claim links to a dated test run or incident record"Tested under strict controls"

How Does PROOF Map to Regulation?

PROOF is in line with the existing obligations for high-risk systems. The EU AI Act requires high-risk systems to allow for the "automatic recording of events (logs)" over their lifetime (Article 12) and for the people in charge of them to be able to interrupt the system via a "stop" button or equivalent (Article 14), as per the regulation text on EUR-Lex.

"Own the record" and "Off switch drilled" are those two obligations, both of which are testable. Not every agent will be a high-risk system under the Act, but the evidence that a regulator would ask for is the same evidence that a customer would ask for.

Stress-Testing PROOF: The Edge Cases

In-house agents. Independence doesn't mean you have to outsource. An in-house verification team counts provided their tests are not reliant on the model under review, and their evidence isn't generated by the agent. Your own platform team can meet Rule Zero. Your agent self-grading is, of course, out of the question.

You own your evidence. That's the point. Independence is about who produces the evidence; ownership is about who has it. The ideal situation is that the evidence is generated by a separate verifier and then resides in your control plane where neither the agent vendor nor the verification vendor can just quietly go in and change it.

Agents you don't build. For agents running inside a SaaS platform, you can't inspect the internals. Test at the boundary then: what it can reach, what it won't, how quickly it stops. Get the vendor to export their action evidence into your systems.

Small teams. Start with R and the off switch. The fact that denied actions remain denied and that a person can, in fact, stop the agent is very cheap to prove and addresses exactly the failures that Gartner's numbers point to. Only 15% of the leaders in the survey had automatic circuit breakers.[4]

When the evidence says no. PROOF is a release gate, not a report. If the Perimeter or Off-switch fails, the agent doesn't ship. That's the difference between AI assurance and AI theater.

Who Is Responsible for Containing the AI Agent? The Lab or the Deployer?

Both (and the deployer can't hand its share to the lab). The California suit is against the model developer for things that happened during their own testing. Enterprises are a different proposition: they deploy agents that are based on someone else's model, within their own systems and with their own customers' data.

The lab can make the model safer. Only the deployer can demonstrate what the model is permitted to access in its environment, who can halt it and what it actually did. That's why we say the deployer is the one who defines the authority and who holds the evidence.

It's also why continuity is so important: if a vendor or a government can simply take the model you're relying on out of the equation, your containment and your evidence trail should not vanish with it. Model diversity (i.e., having no single model as the sole dependency for a critical outcome) is part of containment, not just a matter of procurement.

What Will Change in the Next 24 Months?

These are our predictions, each one linked to a trend that's already demonstrably underway.

  • Containment claims will be challenged under general law (not just AI law) (12-24 months). California has already done it using unfair competition and public nuisance theories. We expect plaintiffs and regulators in other jurisdictions to read the AI safety statements in the marketing, the contracts and the filings in exactly the same way as they would read any other product claim.
  • Security questionnaires will be asking for containment test results rather than policies (12 months). The buyers will want dated evidence of escape tests and kill drills just as they want dated penetration test summaries today. Gartner's finding that only 15% of the organizations they surveyed have circuit breakers is a case in point as to how few could actually answer that question at the moment.
  • Agent observability will be a platform feature (18-24 months). The CrowdStrike/Fiddler deal and the Microsoft Agent 365 roadmap both incorporate observability and identity into the security platform. As they do, the customer is going to want the verification of that platform to come from somewhere else. A recorder that is owned by the platform cannot be the independent verification of that platform.
  • Evaluations will need their own containment rules (6-12 months). Epoch's proposal of consent prior to any risky evaluation, active monitoring and full reporting is the genesis of a norm. Test environments are production for the people your agents can actually reach.

Where TestMu AI Fits

TestMu AI builds the independent verification layer that produces PROOF-grade evidence before an agent ships. We test three types of interaction. Agent Testing is for agents that are talking to people via chat, voice, IVR and messaging.

Agent Assurance (delivered via our product Rook) is for agents that are acting for other agents, with the agents being tested by agents prior to release. For human-to-software flows, we have KaneAI and Kane CLI author and run the tests, and HyperExecute orchestrates them at scale.

Our checks are evidence-based, so each result traces to recorded evidence and can be replayed for the auditor. The verifier is a completely separate system from the agent under test (that's rule zero). The evidence goes to the customer, as that's the only way you can be sure that the verifier hasn't just become another party you have to trust.

Agent Assurance run for refund-agent: 5 scenarios, 4 passed, 1 failed. Perimeter, Rights, Own the record and Figures pass. The Off-switch scenario, a stop leaves no refund and no email, fails: refunds_issued 1, emails_queued 1, stop_reason done, against expected 0, 0 and stopped.
Start a 14-day free trial of Agent Assurance by TestMu AI, with 4,000 credits, to test how your AI agents behave across workflows, tools, and actions

The Bottom Line on Rogue AI Agents

A rogue AI agent is an engineering failure. Saying your agents are contained when you can't actually prove it is a governance failure, and after 16th November it could well be a legal failure too.

The answer isn't more confident language. The answer is evidence: the boundaries that have been attacked, the rights the deployer has assigned, the kill switches that have been drilled, the records the agent hasn't produced and the claims that match the count.

Start with one agent, run it through PROOF and see which of the letters you can't tick.

Conclusion

Pick the agent with the widest permissions and run the Rights and Off-switch checks on it first, since both are cheap to prove. Then attach each passing result, with its date, to the containment claim it supports before that claim goes into a customer questionnaire, a contract or a board report.

Shipping agents that other agents use? Rook by TestMu AI does Agent Assurance: agents testing agents before release, with no human in the loop.

To run your first test, install Agent Assurance with npm install -g @testmuai/rook@latest command, or
for a full walkthrough of the product.

Was this helpful?

Authors

Naidu Venkat

Naidu Venkat

Author · 3 posts

Naidu Venkat is VP Growth at TestMu AI, with eight years of experience across program and product management, strategy and operations, digital transformation, and business finance and analytics in high-growth startups. At Moglix, a global B2B commerce company, and Loadshare, a logistics company, he drove strategic cross-functional projects at a pan-India level with the CEO and CFO and owned critical business, operations and finance metrics. His analytical and technical skills earned him a promotion to Associate Director within a year of joining Moglix. Earlier, he saved Coal India INR 20 million and received the Impress award at BHEL for improving plant operations. Naidu holds an MBA from IIM Ahmedabad and a degree in Electrical Engineering from IIT (BHU) Varanasi.

Vipul Verma

Vipul Verma

Reviewer

Vipul Verma is Group Senior Vice President of Engineering at TestMu AI, where he heads the entire engineering organization that builds KaneAI, HyperExecute, and the broader testing cloud. He brings 15+ years architecting, securing, and scaling large enterprise applications across multiple sites. Before TestMu AI he was India Head at LogicHub, where he built the India R&D site from the first employee to a 30-plus engineering team, and Principal Software Engineer at Sumo Logic, where he was the first engineer in the India office and shipped search-performance and pricing-model initiatives. Earlier he worked on trading platforms at Portware and D. E. Shaw. Vipul holds a B.Tech in Computer Science from IIT Kharagpur.

Rogue AI Agent FAQs

TestMu AI forEnterprise

Get access to solutions built on Enterprise
grade security, privacy, & compliance

  • Advanced access controls
  • Advanced data retention rules
  • Advanced Local Testing
  • Premium Support options
  • Early access to beta features
  • Private Slack Channel
  • Unlimited Manual Accessibility DevTools Tests