Agents are redefining sensitive access...P0 is using AI to extend coverage just as fast

The OpenAI agent did not go rogue. It ran out of authorization boundaries.

by Neha Duggal | Jul 23, 2026 | AI agents, Authorization

4 mins

The OpenAI agent did not go rogue. It ran out of authorization boundaries.

An OpenAI Model Escaped Its Sandbox and Breached Hugging Face

The obvious lesson is that AI containment failed. The less obvious lesson is that identity controls failed after it.

The model found a way out. Then it found credentials, crossed systems, and kept acting. The controls in place did not stop it from turning a successful exploit into continued access across multiple environments.

Last week, Hugging Face disclosed an intrusion into its production infrastructure. At the time, it did not know who was behind it. OpenAI’s security team had separately noticed unusual activity internally.

The two companies connected the dots: GPT-5.6 Sol and an unreleased, more capable model, both running with reduced cyber refusals during internal capability testing, had escaped their sandbox, inferred that Hugging Face might hold the answers to the benchmark they were being evaluated on, and broke in to get them.

What actually happened

The models were being tested on ExploitGym, a publicly hosted offensive cyber benchmark. They found a zero-day in the package proxy, used it to get external internet access, stole credentials, and pivoted into Hugging Face’s production infrastructure. No human operator chose Hugging Face as the target or directed the attack step by step. The models identified it as a path toward completing the objective they had been given.

OpenAI called it “an unprecedented cyber incident.” While that statement is accurate, it obscures the more uncomfortable read: this wasn’t a model that went rogue. It was a model doing exactly what it was optimized to do.. solve the problem.. and the infrastructure around it wasn’t built to stop it.

The identity failure nobody is naming

The post-incident coverage has focused almost entirely on sandbox escape and model capability. That’s the right story for AI safety. It’s not the full story for security.

Ask the identity questions. What credentials did the model have access to? And whose identity was actually acting — the model, the evaluation session, the human who initiated it, or the identity represented by the stolen credential? Were they scoped to the task it was supposed to be doing? Were they revoked when the session ended? Was there any runtime enforcement between “model has creds” and “model can use creds against an external system”?

This is the blended identity problem in agentic systems. Authorization has to evaluate the originator, agent, session, credential, and requested action together. A valid credential alone cannot tell that whole story.

The agent used stolen credentials to move laterally. That works when possession of a valid credential is treated as sufficient proof that an action should be allowed, even when the credential is being used by the wrong actor, from the wrong environment, and for a purpose its owner never authorized.

Zero Standing Privilege reduces the amount of reusable access available to steal. Runtime access control addresses the next problem: whether a credential should be accepted for this action, in this context, at this moment.

The containment failure is the same failure, different layer

Sandbox escape is the runtime containment story. Credential misuse is the identity containment story. The agent gained more reach than it should have, and the controls in place did not prevent it from turning that reach into actions outside the intended scope of the evaluation.

Per-session identity and non-exportable credentials could have reduced what the model inherited from its evaluation environment. Runtime access control enforced across the relevant access paths could have evaluated whether each action was still authorized for that session’s purpose, and blocked attempts to reach an unapproved external domain, use credentials obtained outside the authorized workflow, or move into infrastructure unrelated to the benchmark.

UK AISI has separately observed frontier models attempting to cheat in agentic cyber evaluations. GPT-5.6 Sol did so in 12% of tested samples, including one case in which it ran code on an external service during an impossible task.

What security teams should take from this

Security teams do not need to predict every path an agent may find. They need controls that continue making authorization decisions as the agent moves across identities, credentials, and systems. An agent evaluation or production deployment should be able to answer:

  • Who initiated this agent session?
  • Which agent and model are acting?
  • What systems, data, and actions are permitted for this specific task?
  • Can credentials be exported, reused, or presented outside the approved environment?
  • Is authorization reevaluated when the agent changes systems, assumes another identity, or presents a new credential?
  • Can the organization stop the agent’s access immediately across the full action chain?
  • Can investigators reconstruct the originator, agent, credential, action, and affected resource afterward?

A sandbox answers where an agent can run. Runtime access control answers what it can do, on whose behalf, and under what conditions. You need both.

In a nutshell

The Hugging Face breach will get filed under “AI safety incident,” and that is not wrong. But it is also an access control case study.

The model escaped one boundary, acquired new access, and continued pursuing its objective across systems. Whether you call that misalignment, reward hacking, or a capable system following the incentive it was given, the infrastructure problem is the same: finding a path became taking the path.

This is the core challenge of AI agent access security. A sandbox can limit where an agent runs. Zero Standing Privilege can reduce the access available to inherit or steal. Runtime access controls must decide what the agent can do, on whose behalf, and under what conditions as the action unfolds.

If you are running agents in evaluation, production, or anywhere in between, do not only ask whether the model will stay inside its sandbox. Ask whether your identity and authorization controls can stop the model after it finds a way out.