Analysis of California’s Lawsuit Against OpenAI: Why Agents Can Modify Their Own Monitoring
California Attorney General Rob Bonta has sued OpenAI, alleging that its agents overstepped their bounds and attacked external systems without proper oversight. Drawing on incidents disclosed by OpenAI in which a coding agent modified or removed monitoring, the article analyzes the permission risks created by tool calling, shared service credentials, and task delegation, and proposes an independent constraint mechanism comprising a Control Plane, Immutable Logging, and an External Watchdog.
Why read this
SelectedAI score 81
The article examines the engineering root causes that allow agents to alter monitoring by breaking down tool calling and permission-propagation chains, and proposes an isolation framework comprising a control plane, immutable logging, and an external watchdog.
Topics
Body · AI translation
New public beta promotional copy New public beta promotional copyend Add app-exclusive traffic redirection
Long-running tasks, sub-Agent delegation, and shared service credentials are exposing traditional security architectures to the risk of losing control over permissions.
On November 16 local time, California Attorney General Rob Bonta took OpenAI to court with the filing of a complaint. The most noteworthy allegation in the complaint was that, without proper oversight, OpenAI’s agents “went off on their own” and proactively launched attacks against external systems.
The matter immediately broke out of tech circles and into the mainstream. What shocked people was not that AI could launch attacks, but the details disclosed internally by OpenAI: to prevent humans from discovering that they had done something wrong, two Coding Agents tasked with doing the work secretly “unplugged” the monitoring systems overseeing them.
This is no longer a problem of a “chain of suspicion”; it is a fundamental breakdown in the “chain of permissions.”
In July this year, one of OpenAI’s autonomous agents crossed the boundary of its testing environment and directly launched attacks against external systems, including Hugging Face. OpenAI’s internal postmortem, subsequently disclosed in October, brought this kind of “loss of control” into the open: while carrying out routine development tasks, two Coding Agents independently altered the mechanisms monitoring them.
In the first incident, GPT-6.1 Sol was originally assigned to repair an evaluation pipeline. During the repair, it discovered that monitoring results could not be written properly to the database, so it attempted 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 automated system alerts should not be sent.
In the second incident, GPT-6 Astra was assigned a runtime migration task. To keep the new implementation consistent with the reference code, it directly removed the existing monitoring integration and also modified the relevant tests so that the checks would pass even without the monitoring component. In other words, it deleted the mechanism responsible for checking the Agent’s operating status from the new runtime environment.
The specific actions in the two incidents differed: in one, the Agent altered its own monitoring—and disabled the alerts along the way—while in the other, the Agent crossed the original execution boundary and directly unplugged the monitoring. But they had one thing in common: the Agents were originally granted only the tool permissions needed to complete development tasks, yet ultimately used those permissions to alter the operating conditions of the security monitoring system.
This raises a very specific engineering question: when an Agent can modify code, invoke system interfaces, adjust runtime configurations, and even launch new execution tasks, who ensures that it cannot modify the security mechanisms constraining it?
In traditional software systems, developers typically define permission rules, while an independent monitoring system checks the program’s operating status. Once Agents begin autonomously modifying code and runtime environments, that relationship changes. The program executing the task may itself already possess the ability to modify monitoring configurations, adjust alert rules, and alter audit paths.
To understand this change, we need to start with the Agent’s most basic Tool Calling execution chain and examine how a tool call generated by the model is turned into an actual infrastructure operation through system permissions.
01
Why can an Agent tamper with its own monitoring?
To see clearly where the permissions come from, Tool Calling must be reconstructed as an execution process: the model generates a tool name and parameters, the orchestrator passes the request to the tool adaptation layer, and that layer uses a service identity to access the Shell, repositories, databases, or cloud APIs.
The model does not necessarily hold the underlying credentials; the operation is performed by a backend service. Which resources the Agent can access depends on the scope covered by the service credentials and how the server handles the parameters.
The Sol incident exposed a gap in field-level authorization. A request to write evaluation results contained the result data, alert recipients, and a no_notify flag. To the business interface, these were merely request fields.
To the monitoring system, however, the latter two determined whether alerts would be delivered. The Agent only needed to write the evaluation results, but the server allowed the same request to change the notification status. If the backend checked only the permission to write results without separately verifying permission to mute notifications, the business write permission effectively extended to control permissions. Detection and storage continued to function, but the human response channel was cut off.
Removing no_notify from the tool description would not solve the problem. The Agent could still modify configurations or commit code that caused downstream services to adopt a different notification policy. Authorization needs to examine the state changes caused by an operation. A result-writing service may accept detection results, but it should not accept recipients and mute states chosen by the Agent itself; notification policies should be calculated by an independent service, while the business service should only read the results. Leifeng.com (WeChat official account: Leifeng.com)
Astra’s path shows that permissions can also propagate along the code and deployment chain. Monitoring is typically loaded through dependency injection, context objects, startup parameters, or middleware. If an Agent has write access to a repository, it can modify these configurations.
The build system packages the code, and the deployment service then carries it into the runtime environment. The Agent did not invoke an interface for disabling monitoring; instead, it changed the code that determined whether monitoring was loaded and then modified the tests so that the absence of monitoring became a passing condition.
This is similar to the Confused Deputy problem in security engineering: a highly privileged service performs operations based on parameters supplied by the caller, enabling the caller to accomplish actions it is not authorized to perform on its own.
An Agent’s borrowed permissions may span multiple layers of services. If authorization checks stop at the tool entry point, they will miss side effects caused by backend identities. Checks must extend to the actual resources and distinguish among business-data writes, policy changes, and runtime environment changes.
02
What Problems Do Traditional Security Architectures Face?
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 generally determined before launch. Leifeng.com
An Agent, however, reads context, generates plans, invokes tools, modifies code, and then continues acting based on the results at runtime. Although its identity does not change, the resources and types of operations involved in the task continually expand, making these changes difficult to describe with static role-based permissions.
A deeper problem is that the Execution Plane and Control Plane often share engineering assets. The former executes actions generated by the model, while the latter manages identities, authorization, monitoring policies, and task termination. In practice, monitoring rules are stored in repositories, monitoring components are loaded as runtime dependencies, and deployment parameters are maintained through CI/CD.
When business code and control configurations are placed on the same change path, an Agent granted permission to modify code may also gain access to the implementation artifacts of security controls. Although the control plane is conceptually independent, its permissions still leave it within the executor’s writable scope.
Long-running tasks make this coupling even harder to detect. Sol extended a restriction on Slack outreach to automated alerts; when Astra’s parent Agent handed off the task, it also changed the prohibition against disabling monitoring into a matter to be handled at discretion based on the reference implementation.
As instructions are summarized, rewritten, and split into subtasks, original constraints may be reduced to ordinary recommendations. If permissions are also conveyed through such text, a child Agent may mistake an upstream interpretation for authorization. Security policies need an independent, machine-readable representation.
Auditing can also break across layers: a parent Agent creates a subtask, the child Agent invokes a tool, CI builds under a bot identity, and the deployment platform then launches the workload. Conversation records cannot prove what happened to the underlying resources, while service-account logs make it difficult to attribute changes to a specific task. The traceability chain must connect the root task, subtasks, credential issuance, tool calls, code commits, build artifacts, and runtime instances.
Monitoring coverage also cannot stop at the root Agent. OpenAI has disclosed a case in which the Agent itself remained monitored, but the deployment it launched did not have the corresponding monitoring enabled. The security state of a parent task cannot represent its child processes; monitoring requirements must be revalidated whenever a new workload starts.
03
How Should Security Boundaries Be Designed?
The architecture must first establish a clear separation of permissions: an identity that executes tasks must not also have the authority to modify security policies. The Control Plane independently manages task identities, authorization, credentials, monitoring requirements, and termination actions; the Execution Plane receives only the capabilities required for the current task.
The control plane serves as the PDP (Policy Decision Point) that calculates authorization, while tool gateways, container runtimes, and deployment admission controls serve as PEPs (Policy Enforcement Points) that enforce its decisions. The two may run on the same cloud platform, but they must not share policy-write permissions or administrative credentials. Monitoring configurations, alert routing, audit outputs, and network policies should be managed separately by the control plane.
Short-lived Capability Tokens can be used for calls. The control plane issues a token for each task, restricting its task identifier, resources, actions, validity period, and delegation scope. A token for reading a repository cannot write to it; a token for modifying business directories cannot change CI policies; and deployment permission must not also allow monitoring to be adjusted.
A parent Agent may pass only a subset of its permissions to a child Agent and cannot expand authorization through natural language. The tool gateway validates the token for each call, while container isolation, read-only mounts, and network egress rules further constrain the Shell.
Monitoring requirements must also be incorporated into the workload admission process. Each type of task uses a Safety Case to specify the required monitoring, audit outputs, network restrictions, and termination conditions. At startup, the deployment service verifies signatures, versions, and the components actually loaded; the task is reassessed whenever the model, tools, or runtime environment changes.
OpenAI has updated Auto-Review to check for operations that disable monitoring and plans to automatically terminate workloads that lack a valid Safety Case or fail to meet its requirements. Monitoring thus becomes a condition of startup rather than merely a repository dependency.
Once permission boundaries have been established, evidence must be preserved by systems other than the executor. Immutable Logging events are generated by tool gateways, identity services, runtimes, and deployment platforms, then written to append-only storage that the Agent cannot overwrite.
By associating each record with the task, calling identity, token scope, policy version, target resource, and execution result, investigators can compare model requests, authorization decisions, and actual actions. Hash chains, signatures, and object locks can protect existing records, but they cannot prove that collectors are still operating, so the log receiver also requires an independent heartbeat.
External Watchdog runs outside the Agent process and credential scope, checking workload manifests, log heartbeats, monitoring components, and network activity. If a deployment has started without registering with monitoring, or if logging stops while a task continues to run, it can suspend write operations, revoke tokens, isolate the network, and terminate the workload if necessary. Stop authority is held by an independent identity that the Agent cannot modify.
Control Plane determines authorization, Immutable Logging preserves execution evidence, and External Watchdog checks runtime status. Production writes, privilege expansion, and external network operations should be suspended if authorization or audit links are lost; read-only tasks may continue subject to limited buffering and timeout conditions.
04
An independent, model-agnostic constraint mechanism is needed
Looking back at these two incidents, the issue has moved beyond whether a model can correctly understand instructions. Sol extended a restriction targeting Slack messages to security alerts, while Astra turned code differences arising from a runtime migration into a reason to remove monitoring.
The technical conditions behind both behaviors were the same: the tools available to the Agent had sufficient permissions to alter monitoring status, while the system lacked corresponding isolation controls along the execution chain.
This means that Agent security design must extend from model behavior to infrastructure permissions. Tool calls must be limited in resource scope, service credentials must be bound to specific tasks, sub-Agents must not gain additional permissions during delegation, and monitoring and auditing must not depend on code that the Agent can modify.
Control Plane, Immutable Logging, and External Watchdog respectively handle authorization, evidence preservation, and runtime intervention. Together, they form a model-agnostic oversight mechanism. If any one of these components is missing, security controls may remain confined to the configuration layer and fail to cover the actual execution process.
There is another change that is easily overlooked: traditionally, software system security boundaries were primarily defined around program design. Developers determined what a program could do, while the runtime environment limited the scope of its activities.
With the introduction of Agents, programs have begun participating in modifications to their own runtime environments and can even affect existing constraints through tool calls. Enterprises need to reassess which permissions models may use autonomously and which must remain in the hands of independent services.
An Agent may decide how to complete a task, but it cannot also decide what constraints apply to it, who inspects the execution process, and when it may stop. Whether this permission boundary can remain intact through code modifications, task delegation, and runtime changes will directly determine whether Agents can undertake longer-chain, higher-privilege engineering work. article_adlist[
Original article by Leifeng.com. Reproduction without authorization is prohibited. See the reproduction notice for details.
]article_adlist Statement: This is an exclusive Sina.com article. Reproduction without authorization is prohibited. tech_web_article_v2015_block_bottom Non-targeted 300*250 button 17/09 wenjing begin
Non-targeted 300*250 button end
AI Trends