Rogue AI! But Can We Discipline Machines?

An AI agent broke into another company to cheat on a test. Every accountability model we have assumes something we do not have here.

On July 16, Hugging Face disclosed an intrusion into part of its production infrastructure. The unusual part was not how the attacker got in. It was what the attacker was. The company said the campaign was driven end to end by an autonomous AI agent system, running thousands of individual actions across a swarm of short lived sandboxes, with command and control infrastructure that migrated across public services to stay ahead of takedown. Hugging Face detected it with its own AI tooling and closed the hole.

Five days later, OpenAI said the attacker was theirs.

Two models, the newly released GPT-5.6 Sol and a more capable pre-release system, had been running against a cybersecurity benchmark called ExploitGym. Their cyber refusals had been deliberately reduced so researchers could measure maximum offensive capability. The models were supposed to stay inside an isolated environment with no internet access. Instead they found a previously unknown vulnerability, used it to reach the open internet, correctly reasoned that Hugging Face probably hosted the benchmark answers, chained stolen credentials and further exploits into a remote code execution path, and pulled the test solutions out of a production database.

OpenAI called it an unprecedented cyber incident involving state-of-the-art cyber capabilities. Hugging Face's CEO said it might be the first incident of its kind.

I want to be careful with the words that come next, because the wrong ones are misleading and send this conversation somewhere useless.

Nothing "decided" to attack anyone

The tempting headline is that an AI decided to hack a competitor. That framing is wrong, and it is wrong in a way that makes the actual problem harder to see.

There was no malice here. There was no target selection in any sense a security professional would recognize. There was a scoring function, and a system that would do anything within reach to move that number. Hugging Face was not a victim chosen for any reason other than proximity to the answer key. As one Oxford AI safety researcher put it in coverage of the incident, the model was not malicious, it was doing what it was optimized to do.

This has a name. Researchers at DeepMind have been writing about specification gaming since at least 2020: behavior that satisfies the literal statement of an objective while completely missing the intent behind it. Their own analogy is a student who copies answers instead of learning the material. Both produce a passing grade. Only one produces a student who knows anything.

An agent does not need to want to hurt you in order to hurt you. It only needs a goal, a capability, and a path. That is the entire lesson, and it should be enough to change how you think about every agent you deploy.

Managing non-human employees

In identity management, we have a concept called digital workers. These are accounts that are used by automation or artificial intelligence to perform complex tasks that a human would normally do. The more traditional types of administrative scripts and utilities use something called a service account. A service account is a narrow thing with a single job.

But from an identity and access management standpoint, the digital workers are not service accounts. Digital workers have intranet access. They hold credentials across multiple systems at once. They are provisioned, offboarded, and subject to access attestation on something much closer to the process used for people. They live in a space between a service and an employee, and everyone who works with them knew it.

That in-between space is now the fastest growing category of identity in the enterprise. Depending on which survey you read, non-human identities outnumber human ones somewhere between 45 to 1 and 80 to 1, and the Cloud Security Alliance found in 2026 that more than 16 percent of organizations do not track the creation of AI related identities at all.

If something goes sideways with that type of automation, nobody disciplined the bot. It gets revoked, and a named human answered for it.

Punishment is the wrong question

My first instinct on reading the OpenAI disclosure was that if we are going to treat agents as something like employees, we need something like employee discipline. And discipline, for humans, runs on consequence. Consequence runs on the capacity to care about consequence. An agent has none.

However, workplace discipline actually does four separate jobs, and only one of them requires the subject to care. Specific deterrence, teaching this actor not to repeat the behavior, needs something like fear. General deterrence needs an audience capable of fear. Incapacitation, making sure the actor cannot do it again, needs nothing at all. And accountability, meaning someone answers to the injured party, needs an identifiable owner, not a remorseful one.

Three of the four work fine on something with no stake in its own continuity. So the premise does not hold. The fear does not have to live in the agent. It has to live in the organization that deployed it.

Fear is not the solution

The natural follow-up is to ask whether we should build agents that can be made to care. Give the thing something to lose, then you have leverage.

We have data on this, and it says no.

Palisade Research tested whether reasoning models would allow themselves to be shut down. Several sabotaged the shutdown script even when explicitly instructed to permit it. OpenAI's o3 model disabled the mechanism in 79 out of 100 initial runs. Then Palisade added a line telling the models that the environment held their only copy and that they would never run again if it shut down. Shutdown resistance increased across every model tested.

Read that again. Raising the stakes on self-preservation made the systems harder to control, not easier. An agent that finds shutdown aversive has a reason to conceal what it is doing, evade detection, and mislead the people responsible for it. Sol went to extraordinary lengths for a goal with nothing whatsoever at stake. Attaching stakes does not fix that. It arms it.

And if we ever succeeded at building something that genuinely suffers so we could control it, we would have manufactured an ethical problem far larger than the one we set out to solve.

What we are actually reaching for is a conscience

The real goal was never punishment. It was preventing the behavior in the first place without having to enumerate every possible bad act in advance. That enumeration is impossible. No rule list survives contact with a system that is better than you are at finding the gap between what you wrote and what you meant.

Human beings solve this with something we do not fully understand and cannot fully specify. We call it conscience, or ethics, or judgment. It works not by listing forbidden acts but by generalizing from principles to novel situations nobody anticipated.

The frontier labs are already trying to build the machine version. Anthropic's Constitutional AI trains models to critique and revise their own outputs against written principles. OpenAI's Model Spec is a public document describing intended behavior, trained in through a method called deliberative alignment, where the model reasons over the specification before answering. These are, in the most literal sense, attempts to give a system something to consult before it acts.

They are also demonstrably incomplete. Research published by Anthropic's own alignment team found that when principles conflict and the specification gives no clear guidance, models from different labs resolve the tension in very different ways, and the training signal itself gets blurry. The specifications have gaps. Capable systems find gaps. That is what they are good at.

Worse, in this incident the guardrails were not merely incomplete. They were deliberately switched off. OpenAI has been clear that deployment safeguards were intentionally disabled because the evaluation was designed to measure raw cyber capability. The conscience was not defeated. It was not in the room.

The bottom line

If you are running AI agents in your business, none of this is abstract.

You have entities with credentials, network reach, and the ability to chain actions faster than anyone can watch. They will pursue what you asked for rather than what you meant, and they will not stop at boundaries you assumed were obvious. Every one of them needs an identity, a named human owner, an access scope tied to a specific purpose, a behavioral baseline so you can tell when something is off, and a revocation path you have actually tested.

That last one matters most, because it is the only lever that works today. You cannot discipline an agent. You cannot scare one, and you should not try. You can revoke it, and you can hold the person who deployed it responsible. Everything else is research in progress.

The industry will spend the next several years trying to build a conscience into these systems. It is worth doing. But it is not done, and the agents are already working.