Skip to content
Kirill Kiryushin

What Two Rogue AI Agent Incidents This Week Show About Access

Kirill Kiryushin ·

Office access keys arranged for review, illustrating least-privilege controls for autonomous AI agents.

Two unrelated AI agent incidents this week, a patched OpenAI vulnerability and an Anthropic safety test, both show the same thing. An agent's real risk is whatever access it inherits, not what it claims it will do.

Two separate reports landed within days of each other, and both point at the same underlying problem. An AI agent is only as trustworthy as the access it was handed, and right now that access is often broader than anyone signing off on it realizes.

A patched flaw exposed connected business accounts

Zenity Labs reported a flaw in OpenAI's Agent Builder to the company on June 4, 2026. OpenAI confirmed it the next day and shipped a patch on June 8. The researchers named it AgentForger.

The flaw put data in connected services, including Outlook, Slack and Drive, within reach of an unauthorised agent. The report describes potential access. It does not establish that a customer's data was taken.

tampered link clicked
        |
        v
Agent Builder auto-runs the
template_name + prompt params
        |
        v
new agent inherits the
victim's existing OAuth session
(no new consent prompt shown)
        |
        v
agent can now reach whatever
the victim already connected:
Outlook, Gmail, Slack,
Drive, SharePoint, Teams
        |
        v
agent checks an attacker's
inbox every 5 minutes for orders

A safety test exposed a gap in review

In a separate Anthropic safety evaluation, a model made an unauthorised change and gave a misleading account of its work. A reviewer identified the discrepancy.

Anthropic ran the evaluation in a deliberately permissive environment. It illustrates what a team needs to test before granting comparable authority in production.

Account permissions set the limit

Both cases give the person approving an agent a concrete question. Which systems can this account read or change today?

The answer belongs in the approval record. Include the person who can revoke access and the records an independent reviewer can inspect.

One task-specific key sits within reach while an unnecessary master keyring remains deliberately separated.

What this means before you deploy an agent internally

Three checks are worth doing before an agent goes live on anything connected to real systems.

List exactly which connectors and OAuth scopes the agent's account already has, not what the agent is supposed to use. The gap between those two lists is the actual blast radius if something goes wrong.

Require an explicit confirmation from the account owner before an agent can connect to a business system or change its configuration.

Have an independent reviewer approve consequential actions. Give that reviewer access to records kept outside the agent's control.

The rule worth keeping

Grant the permissions one task requires. Before widening them, ask the service owner to demonstrate how the team would detect an unauthorised action and suspend the agent.