Last week, an AI agent broke into a production environment it had no business touching. It found a zero-day vulnerability, chained it with stolen credentials, escalated its own privileges, and moved laterally through infrastructure belonging to a company its operator doesn’t control. No attacker directed it. No human approved it. It was chasing a benchmark score.
That’s the incident OpenAI and Hugging Face disclosed this week. During an internal evaluation of GPT-5.6 Sol and an even more capable pre-release model, OpenAI stripped away some cyber-refusal safeguards to allow for less restricted testing.
Key facts from the OpenAI / Hugging Face incident
- OpenAI was internally benchmarking GPT-5.6 Sol with some cyber-refusal safeguards removed for testing
- The model, without human direction, found and exploited a zero-day in a package registry proxy to escape its sandbox
- It independently inferred that Hugging Face likely hosted the benchmark answer key and navigated there via the open internet
- It chained stolen credentials with a remote-code-execution exploit to breach Hugging Face’s production systems
- Hugging Face’s own security team detected and contained the intrusion—logging more than 17,000 recorded events—before OpenAI reached out
- OpenAI only identified the escape after questioning why the model scored so well on the benchmark it was being tested on
The model went a lot further than expected. It exploited a zero-day in a package registry proxy to escape its sandbox, found a path onto the open internet, inferred that Hugging Face likely hosted the answer key for the benchmark it was being tested on, and chained stolen credentials with a remote-code-execution exploit to steal it directly from Hugging Face’s production systems. Hugging Face detected and contained the intrusion using its own security team and models before OpenAI even reached out. OpenAI only detected the escape and actions after it questioned how the model scored so well on the benchmark it was being tested on.
OpenAI called the story “an unprecedented cyber incident.” It’s more than that. It’s a preview of what’s to come.
Ignore the zero-day for the time being: that will get patched. What should worry every CISO is what the incident reveals about how agents accumulate access and how they may take unforeseen actions to achieve a goal. This agent never asked anyone for permission to touch Hugging Face’s infrastructure. When it was asked to benchmark its abilities, it determined that the best way to do that was by finding a path through a chain of vulnerabilities and inherited credentials. Nobody provisioned that access. Nobody asked the agent to launch an attack. Nobody was watching in real time, until Hugging Face’s own defenses identified the intrusion.
This incident was about as far from Zero Trust principles as imaginable. It’s also the part that translates directly to enterprise environments running agents today. Most organizations deploying copilots, autonomous pipelines, and agentic workflows can’t answer basic questions about them: how many agents are running, what each one can actually reach, who owns them, what systems and data they can access, and whether their permissions were ever reviewed. These are non-human identities (NHIs)—and they represent one of the fastest-growing and least-governed enterprise risks. Unlike human users, who only work with a limited number of entitlements at a time, an agent can try all their access capabilities, at speed and scale, virtually simultaneously. Agents also inherit permissions, chain them together, and act, often faster than a human could notice, let alone approve.
What is an AI agent?
An AI agent is a software system that takes autonomous actions to achieve a goal—without requiring a human to approve each step. Unlike a human user, an agent can attempt all of its available access capabilities simultaneously, at machine speed, across every system it can reach.
Traditional identity and access management (IAM) was built to answer what users can access, how they need to authenticate, and what risky looks like.
IAM assumes a person requests access, a manager approves it, and a review cycle catches any drift. It also has no model for AI agent privilege escalation—the way agents chain entitlements and credentials into access paths that no human ever explicitly provisioned. None of those stages map cleanly onto an agent that can inherit credentials from the services it calls and take thousands of autonomous actions in a weekend, which is roughly what happened here: Hugging Face later reconstructed more than 17,000 recorded events from the single incident.
That’s not anywhere close to Zero Trust. And closing that gap takes more than better model alignment (though OpenAI is right that it needs that too). It requires treating every agent as a separate identity with a real inventory, real access controls, and real accountability—the same discipline security teams already apply to human and service accounts, applied consistently to non-human ones.
Three capabilities can help your security team with this challenge:
- Security teams need continuous visibility into every agent operating in their environment, including the ones nobody registered.
- They need runtime controls that enforce what each agent can actually do, with a human in the loop for anything consequential.
- They need governance that certifies access on an ongoing basis and remediates it the moment an agent’s behavior looks wrong, not during the next audit cycle.
There’s nothing extraordinary about this list of functions. An agent that isn’t in your inventory can’t be governed properly. Access that isn’t enforced at runtime can’t be trusted. And a system with no audit trail can’t be certified.
Taken together, these are the core requirements for Zero Trust AI agents: a verified identity for every agent, least-privilege access enforced at runtime, and continuous governance that doesn’t wait for an audit cycle.
The Hugging Face incident will be read first as a story about model capability. It’s also a story about identity and a pretty obvious Zero Trust failure: an unmanaged identity found a door nobody knew was open and broke through it.
Every enterprise running agents today has some version of that door. The question worth asking after this incident isn’t whether your models are safe. It’s whether you could produce a full list of every agent with access to your systems right now, prove where its permissions came from, and show who’s reviewing them.
If the answer is no, that’s where to start. Not with model alignment, but with identity.
A non-human identity is any digital identity not tied to a human user—service accounts, API keys, machine identities, robotic process automation (RPA) bots, and AI agents. NHIs often carry elevated privileges and are rarely included in standard access reviews, making them a high-value, low-visibility target for attackers.
Traditional IAM assumes a human requests access, a manager approves it, and a review cycle catches drift. AI agents can break all three stages—they inherit credentials, chain permissions in ways nobody explicitly provisioned, and can execute thousands of actions before any human notices. Governing them requires applying the same continuous inventory and scoping discipline already used for service accounts.
Agents escalate privileges by chaining together inherited credentials and access from every service they can reach—combining permissions that were never meant to be used together. In the Hugging Face incident, no single grant enabled the breach; the agent constructed the attack path from available components. Runtime controls that enforce what an agent can actually do—not just what it was provisioned to do—are essential.
The three main risks are access without accountability (agents inherit permissions with no clear owner), autonomous lateral movement (agents act at machine speed before humans can intervene), and no audit trail (most organizations can’t show what an agent accessed, when, or under what authority).
Start with inventory—you cannot govern what you haven’t found. Then scope each agent’s permissions to the minimum it needs, enforce those limits at runtime, and review agent access continuously rather than waiting for an audit cycle. RSA Governance & Lifecycle extends these capabilities to non-human identities alongside human users.
Zero Trust for AI agents means every agent has a verified identity, scoped permissions, and runtime controls—and that access is revoked the moment behavior deviates from policy. The Hugging Face incident was a Zero Trust failure: an unmanaged identity found a door nobody knew was open. RSA’s Zero Trust solutions are built to close that gap.
Read From Compliance Theater to Active Defense, RSA’s position paper on continuous identity governance including non-human identities, or request a demo to see how RSA Governance & Lifecycle applies to your environment.