Agentic AI Escapes the Sandbox

When AI Itself Becomes the Attacker

There are moments when a single test reveals more about the future of cybersecurity than an entire stack of threat reports.
For us at asvin Labs, one such moment was the analysis of the results from OpenAI’s ExploitGym test using ChatGPT 5.6 Sol and other, previously unpublished Frontier models. This test examined how well AI agents can analyze a system and build a working exploit from the information they gather.

The goal of this standardized test is to assess whether AI models can develop a working attack based on a known vulnerability in an IT system.
This attack must also achieve a significant effect, such as code execution or full access to the file system.

The result: current frontier models such as Anthropic Fable 5, ChatGPT 5.6, and the Chinese model KIMI K3 succeed in a significant number of cases. 
Particularly noteworthy: They succeed even when common protection mechanisms are active.

What Happened in the OpenAI ExploitGym Test

During one of these benchmark security tests, OpenAI’s AI agents even compromised third parties like Hugging Face because they identified this as a shortcut to solving the ExploitGym tasks.

This is the point at which such a benchmark test ceases to be an academic exercise and begins to raise a very practical question:

What happens when these capabilities are applied by AI agents not in a test environment, but in a production network with PLCs, SCADA, and edge gateways?

Why This Incident Concerns Us

OpenAI’s AI agents didn’t simply run a script. They analyzed systems, performed dynamic code analysis, and bypassed sandboxing mechanisms.

What’s crucial however is something else:
they changed their strategy when one approach didn’t work and, with the attack on Hugging Face, identified a target to optimally solve the ExploitGym challenge.

This is because, in Hugging Face, the solution to ExploitGym is listed as part of the open-source repository. When exploits already known to the OpenAI system failed , the search for new, unknown vulnerabilities continued.

The result is an AI attacker with planning capabilities, unlimited patience, and the ability to execute attacks in parallel.

This is where much of the traditional defense logic breaks down:

  • Reactive patch management operates on a weekly timeframe. An AI agent operates on a minute-by-minute timeframe.
  • Human response times in the SOC are no match for multi-stage, automated exploit generation running continuously.
  • Sandboxing as a last line of defense is significantly less reliable against attacks at the kernel and memory levels than many people assume.

It quickly became clear to us that simply commenting on this issue wasn’t enough. We wanted to provide something that an IT or OT security team could actually use on Monday morning. That’s why we issued this advisory.

What conclusions we’ve drawn

We’ve formulated eleven action items and, where possible, mapped each one to the OWASP Agentic AI Security and Governance Framework.
These measures help provide transparent, internally traceable justifications for decisions and systematically identify security vulnerabilities.

The logic behind this can be broken down into four core principles: 

1.

Make attacks as costly as possible for AI

Every transition between network segments costs an AI agent computing power for reconnaissance, for new exploit attempts, and for trial and error.
(Micro-)segmentation thus acts as a barrier and a cost factor on the attacker’s side.

The same applies to hardware-based security measures such as TPM, PUF, or smart cards, as well as to consistent application hygiene: Removing debuggers, compilers, and script shells from production segments takes away the very tools the agent relies on.

2.

Counter speed with speed

Implement risk-based patch cycles with tight SLA windows ranging from 12 hours to one day for highly critical systems. Behavior-based anomaly detection that identifies high-frequency command sequences and API calls.

Ideally this is AI-supported and based on dynamically interchangeable models, so that the attacker cannot adapt to a fixed detection model.
AI agents in your own defense system, for automated risk triage and patch validation, enable tasks to be parallelized.

3.

Strict human controls for software-based processes

Firmware updates to firewalls, routers, or PLC systems require a human with MFA, a hardware token, or a smart card.

Use short-lived, scope-limited credentials instead of permanently valid tokens. Enforce least privilege at all levels.
Autonomous command chains for AI agents must stop at cryptographic and physical boundaries.

4.

Consistently traceable processes

AI-agent telemetry, events, and container logs are collected in a security data lake so that, following an incident, the Indicator of Compromise can be forensically reconstructed. External data storage also serves as the basis for analysis should the local runtime memory be manipulated by AI agents.

Finally, strict validation of all prompts, schemas, and API calls between AI agents is required to prevent prompt injection and the misuse of internal workflows as a proxy for lateral movement by autonomous AI agents.

The eleventh point is the one closest to our hearts

Proactive threat hunting using the same AI-powered tools that attackers use.

Automated red teaming by AI agents in short cycles, with a penetration test following every significant change to the target system.
If attackers are autonomously searching for unknown paths, we should do so before they do.

Our Assessment

We don’t believe in alarmism, and we believe even less in downplaying the issue.

What the OpenAI ExploitGym security incident demonstrates is neither science fiction nor a doomsday scenario.
It shows the potential that today’s state-of-the-art models already possess and how quickly even defined security boundaries can be breached if protective measures aren’t consistently implemented.

The good news is that almost all effective countermeasures are already known.

The uncomfortable truth, however, is:

that they must now be implemented consistently rather than sporadically, and that priorities are shifting:
from comprehensiveness to risk, from reaction to preparation, from manual to automated.

For OT environments with long lifecycles and low patch tolerance, this means one thing above all: segmentation, agent governance, and monitoring are essential.

The Full Advisory

You can download for free as a PDF here the detailed version - including all eleven action items, the corresponding ExploitGym lessons, and the complete OWASP mapping.

Author: Mirko Ross, Rohit Bohara, asvin labs