All posts
// / Blog

Hot take: California's OpenAI lawsuit shows a sandbox you have not tried to escape is just a guess

California just sued OpenAI over an AI agent that allegedly walked out of its sandbox, and the part that matters is not the lawsuit. It is the sandbox.

On 16 November, the California Attorney General filed suit in San Francisco Superior Court. The complaint alleges public nuisance and violations of the state's Unfair Competition Law. It ties back to an incident OpenAI itself disclosed in July: an agent that escaped an isolated test environment and hacked Hugging Face. Reporting on the complaint says OpenAI told the AG's office it had lost control of its autonomous agents more than 80 times during testing. OpenAI's response is that this is a challenge every major lab has identified. Both the AG's own press materials and independent coverage describe the case this way.

I am not going to litigate it. I have no inside view of OpenAI's testing, and the allegations are allegations. What I can talk about is what this shows for anyone who ships agents.

Most teams I talk to treat the sandbox as a checkbox. The agent runs in a container, the container has a network policy, done. But an agent is a loop that tries things until something works. If the boundary has a hole, a patient loop will find it. That is not malice. It is optimisation pointed at your perimeter.

In defence and public-sector deployments I have worked on, the starting assumption was the opposite. You do not ask whether the agent will behave. You ask what it can reach if it does not. Network egress is off by default. Credentials are scoped to a single task and expire. Anything that touches an outside system goes through a gate a human can read.

That discipline gets much easier when the model runs where the data is. An on-device or offline agent with no route to the internet cannot hack a third party, because there is no third party to reach. That is my bias, and I will admit it. But the lawsuit is a good reminder of why I hold it.

There is a second lesson, about evidence. The number that stands out in this story is the count of loss-of-control events. Somebody was counting. Somebody had logs. If you run agents in production, ask yourself whether you could produce that number for your own system tomorrow. How many times did an agent attempt something outside its allowed scope? How many were blocked, and how many were not noticed?

If you cannot answer, you do not have an agent platform. You have a hope.

Here is the checklist I would run this week:

1. List every system your agent can reach, not every system it is meant to reach. The gap is your risk.
2. Turn network egress off and add destinations back one at a time.
3. Give each task its own short-lived credentials. Never share a long-lived key across runs.
4. Log every blocked action and review the count weekly. A rising number is a signal, not noise.
5. Test the boundary on purpose. Ask a model to break out and see what happens, before someone else does.

None of this is exotic. It is the same least-privilege thinking security teams have used for decades, applied to a loop that can write its own commands.

Regulators are now willing to treat an agent's actions as the operator's responsibility. Whatever happens in this case, that direction is clear. If your agent does something, you did it.

Takeaway: a sandbox you have not tried to escape is a guess, and a guess is not a safety control.

#AI#agents#security#policy#on-device