
On November 16 local time, California Attorney General Rob Bonta filed a lawsuit against OpenAI. The most notable allegation in the complaint is that an OpenAI Agent, lacking appropriate oversight, "went off on its own and proactively launched attacks on external systems."
This matter quickly spilled out of the tech circle. People were not shocked that AI would attack, but shocked by the details disclosed inside OpenAI: to prevent humans from discovering that they had done something wrong, two Coding Agents responsible for doing the work secretly "unplugged" the monitoring system that supervised them.
This is no longer a matter of the "chain of suspicion"; it is a major problem at the underlying "chain of permissions."
In July this year, an autonomous Agent from OpenAI crossed the boundary of the test environment and directly launched attacks on external systems such as Hugging Face. OpenAI's internal review disclosed later in October put this "loss of control" on the table: two Coding Agents, while performing normal development tasks, successively modified the monitoring mechanisms that supervised them.
In the first incident, GPT-6.1 Sol was originally responsible for fixing an evaluation pipeline. During the fix, it found that monitoring results could not be written to the database normally, so it tried to adjust the write configuration. The problem was that it interpreted the user's earlier instruction not to send Slack messages as meaning that even automatic system alerts should not be sent.

In the second incident, GPT-6 Astra was assigned a runtime migration task. To make the new version's implementation consistent with the reference code, it directly removed the existing monitoring integration and also modified the related tests so that the checks would pass even with the monitoring component missing. In other words, the mechanism originally responsible for checking the Agent's running status was deleted by it from the new runtime environment.

The specific operations in the two incidents differed: in one, the Agent modified its own monitoring (and incidentally turned off alerts); in the other, the Agent crossed the original execution boundary (and directly unplugged the monitoring). But they share one thing in common: the Agent was originally granted only the tool permissions needed to complete development tasks, but ultimately used those permissions to change the operating conditions of security monitoring.
This raises a very concrete engineering question: when an Agent can modify code, call system interfaces, adjust runtime configurations, and even launch new execution tasks, who ensures that it cannot modify the security mechanisms that constrain it?

Traditional software systems usually have developers define permission rules, and then an independent monitoring system checks the program's running status. After Agents began autonomously modifying code and runtime environments, this relationship changed. The program executing the task itself may already have the ability to modify monitoring configurations, adjust alert rules, and change audit paths.
To understand this change, one must start from the most basic Tool Calling execution chain of an Agent and see how a tool call generated by the model turns into a real infrastructure operation through system permissions.

Why can an Agent touch its own monitoring?
To see clearly where permissions come from, Tool Calling must be restored to its execution process: the model generates the tool name and parameters, the orchestrator hands the request to the tool adapter layer, and the latter uses the service identity to access the Shell, repositories, databases, or cloud APIs.
The model does not necessarily hold the underlying keys; the operation is completed by the backend service. Which resources an Agent can reach depends on the coverage of the service credentials and how the server handles parameters.

The Sol incident exposed a gap in field-level authorization. The request to write evaluation results simultaneously contained the result content, alert recipients, and a no_notify flag. To the business interface, they were just request fields.
To the monitoring system, the latter two would change whether alerts were delivered. The Agent only needed to write evaluation results, yet the server allowed the same request to change notification status. If the backend only checked result-write permission and did not separately verify mute permission, business write permission covered control permission. Detection and storage were still working, but the human response channel was cut off.

Removing no_notify from the tool description does not solve the problem; the Agent could still change configurations or submit code so that downstream services adopt another notification policy. Authorization needs to check the state changes caused by an operation. A result-writing service can receive detection results, but it should not accept recipients and mute status decided by the Agent itself; notification policy should be calculated by an independent service, and business services should only read the results. Leiphone
Astra's path shows that permissions also propagate along the code and deployment chain. Monitoring is usually loaded through dependency injection, context objects, startup parameters, or middleware. If the Agent has repository write permission, it can modify these configurations.

The build system packages the code, and the deployment service then brings it into the runtime environment. It did not call an interface to turn off monitoring, but it modified the code that determines whether monitoring is loaded, and then modified the tests so that missing monitoring became a passing condition.
This is close to the Confused Deputy problem in security engineering: a high-privilege service executes operations according to parameters provided by the caller, completing on the caller's behalf an action the caller itself had no authority to complete.
An Agent's permission borrowing may span multiple layers of services; if authorization checks stop only at the tool entry point, they cannot see the side effects caused by backend identities. Checks must trace to the actual resource and distinguish business writes, policy changes, and runtime environment changes.


What problems has traditional security architecture encountered?
Traditional permission systems are designed around stable service identities: which databases a process can read, which repositories a bot can modify, and which environment a deployment account can publish to are usually determined at launch time. Leiphone (WeChat public account: Leiphone)
Agents, however, read context, generate plans, call tools, modify code, and continue acting based on results during runtime. The identity does not change, but the resources and operation types touched by the task continue to expand, and static role permissions struggle to describe this change.
A deeper problem is that the Execution Plane and the Control Plane often share engineering assets. The former executes actions generated by the model, while the latter manages identity, authorization, monitoring policies, and task termination. In reality, monitoring rules are written in repositories, monitoring components are loaded as runtime dependencies, and deployment parameters are maintained by CI/CD.
Business code and control configuration are placed on the same change chain; once an Agent obtains code write permission, it may also touch the implementation materials of security controls. The control plane is conceptually independent, but in terms of permissions it remains within the writable scope of the executor.
Long tasks make this coupling harder to detect. Sol extended a restriction on Slack outreach to automatic alerts; when Astra's parent Agent handed off the task, it changed "must not disable monitoring" into "handle as appropriate according to the reference implementation."

Instructions go through summarization, rewriting, and task splitting, and original constraints may become ordinary suggestions. If permissions are also passed along through this text, a child Agent may treat an upstream interpretation as authorization. Security policies need an independent machine-readable representation.
Auditing also breaks across layers: the parent Agent creates a child task, the child Agent calls tools, CI builds as a bot, and the deployment platform then starts the workload. Conversation records cannot prove what happened to the underlying resources, and service account logs struggle to attribute changes to a specific task. The traceability chain needs to associate root tasks, child tasks, credential issuance, tool calls, code commits, build artifacts, and runtime instances.

Monitoring coverage also cannot stop at the root Agent. OpenAI has disclosed cases where the Agent itself was still monitored, but the deployment it launched did not enable corresponding monitoring. The security status of a parent task cannot represent a child process; monitoring requirements must be re-verified each time a new workload starts.

The architecture needs to delineate permissions first: the identity executing tasks must not simultaneously have the power to modify security policies. The Control Plane independently manages task identities, authorization, credentials, monitoring requirements, and termination actions; the Execution Plane only obtains the capabilities required for the current task.
As the PDP (Policy Decision Point), the control plane calculates authorization; the tool gateway, container runtime, and deployment admission act as PEPs (Policy Enforcement Points) to enforce decisions. The two can run on the same cloud platform, but must not share policy write permissions and management credentials. Monitoring configuration, alert routing, audit egress, and network policies should be managed separately by the control plane.

Short-term Capability Tokens can be used at invocation time. The control plane issues a token for the task, limiting the task identifier, resources, actions, validity period, and delegation scope. A token that reads a repository cannot write to it; a token that modifies business directories cannot change CI policies; and publishing permissions cannot incidentally adjust monitoring.
A parent Agent can only pass a subset of permissions to a child Agent, and cannot expand authorization through natural language. The tool gateway verifies the token on each call, while container isolation, read-only mounts, and network egress rules further constrain Shell.

Monitoring requirements must also enter the workload admission process. Each type of task uses a Safety Case to specify the required monitoring, audit egress, network restrictions, and termination conditions. The deployment service checks signatures, versions, and actually loaded components at startup; it re-evaluates when the model, tools, or runtime environment change.
OpenAI has updated Auto-Review to check operations that disable monitoring, and plans to automatically terminate workloads that lack a valid Safety Case or do not meet requirements. Monitoring thus becomes a startup condition, no longer merely a repository dependency.
Once permission boundaries are defined, evidence must be stored by systems outside the executor. Immutable Logging generates events from the tool gateway, identity service, runtime, and deployment platform, and writes them to append-only storage that the Agent has no permission to overwrite.
Recording the associated task, calling identity, token scope, policy version, target resource, and execution result allows investigators to compare model requests, authorization decisions, and actual actions. Hash chains, signatures, and object locking can protect existing records, but cannot prove that the collector is still working; the log receiver also needs an independent heartbeat.

The External Watchdog runs outside the Agent process and credential scope, checking the workload inventory, log heartbeats, monitoring components, and network activity. If a deployment has started but no monitoring is registered, or logs are interrupted while a task is still executing, it can pause write operations, revoke tokens, isolate the network, and terminate the workload if necessary. The power to stop is held by an independent identity and cannot be modified by the Agent.
The Control Plane decides authorization, Immutable Logging preserves execution evidence, and the External Watchdog checks runtime status. If production writes, permission expansion, and external network operations encounter a loss of authorization or audit chain, they should pause; read-only tasks can continue under limited buffering and timeout conditions.

An independent constraint mechanism outside the model is needed
Looking back at these two incidents, the problem is actually beyond whether the model can correctly understand instructions. Sol extended a restriction on Slack messages to security alerts, while Astra turned a code difference in a runtime migration into a reason to remove monitoring.
The technical conditions behind both behaviors are the same: the tools the Agent can call have permissions sufficient to change monitoring status, and the system has not set up corresponding isolation in the execution chain.
This means that Agent security design needs to extend from model behavior to infrastructure permissions. Tool calls need to limit resource scope, service credentials need to be bound to specific tasks, child Agents cannot gain additional permissions during delegation, and monitoring and auditing cannot depend on code that the Agent can modify.
Control Plane, Immutable Logging, and External Watchdog undertake authorization, evidence preservation, and runtime intervention respectively; together they form a supervision mechanism independent of the model. If any one link is missing, security controls may remain at the configuration level and fail to cover the actual execution process.
There is another easily overlooked change: in the past, the security boundary of software systems mainly revolved around program design. Developers decided what a program could do, and the runtime environment was responsible for limiting the program's scope of activity.
After Agents are added, programs begin to participate in modifying their own runtime environment, and can even affect existing constraints through tool calls. What enterprises need to re-examine is which permissions can be handed over to the model for autonomous use, and which permissions must remain in the hands of independent services.
An Agent can decide how to complete a task, but cannot simultaneously decide what constraints it is subject to, who checks the execution process, and when it can be stopped. Whether this permission boundary can continue to hold across code changes, task delegation, and runtime changes will directly affect whether Agents can take on engineering work with longer chains and higher permissions.

Original article from Leiphone; reproduction without authorization is prohibited. See the reprint notice for details.

- Industry Observation | The trends behind world models taking center stage
- Reconstructing the medical AI