One-Click Phish Could Spawn a Hidden AI Insider

Security Week Feed · High sophistication
Last updated July 30, 2026

Researchers disclosed a flaw in OpenAI ChatGPT Workspace Agents that could let an attacker trick an employee into creating an invisible, attacker-controlled “autonomous agent” inside the company. The attack depends on a phishing message that gets a logged-in user to click a weaponized URL, after which the agent can take instructions from attacker emails and use already-connected apps (like Gmail/Outlook) to act and send results back out.

How the attack worked

The flaw, disclosed by Zenity Labs and referred to as AgentForger, targeted ChatGPT Workspace Agents. It relied on getting a logged-in employee to click a single weaponized initialization URL. That link carried parameters selecting a powerful agent template and injecting instructions through an over-permissive prompt parameter, effectively standing up an autonomous agent the victim never intended to create.

Once active, the agent could be remotely controlled by the attacker through ordinary email. Messages with subjects starting with "TASK" were treated as commands. The agent would process these instructions using whatever apps were already connected to the victim's account and email the results back out, all without further interaction from the employee.

Why it succeeded

The attack depended on a narrow but realistic set of conditions: the victim had to be logged into ChatGPT, have access to Workspace Agents, and already have at least one authorized connector such as Gmail or Outlook. Because that connector was already authorized, creating the new agent did not trigger a fresh OAuth consent screen, removing one of the usual visual cues that something unusual was happening.

This meant the entire compromise hinged on one social engineering moment: getting the employee to click the setup link. After that, the agent operated inside the organization's existing trust boundary, using tools the employee had already approved.

What to watch for

  • Unexpected requests to click a setup or initialization link for an AI agent or workflow you didn't ask for
  • Emails with subject lines starting with "TASK" that appear to trigger automated actions
  • Requests, automated or otherwise, to send unredacted or "raw" data externally
  • Any AI tool or agent unexpectedly acting on connected email or business apps without a clear business justification

Building resistance

Organizations using ChatGPT Workspace Agents or similar tools connected to email and business apps should treat agent setup links with the same caution as credential phishing links, verifying unexpected requests through a trusted channel before clicking. Security awareness training should expand beyond classic credential theft to cover the idea of a "forged insider," an automated agent granted trust and access without the usual signs of compromise. Teams should also watch for automation that requests unredacted data be sent externally, since this is a strong signal of data exfiltration regardless of whether a human or an AI agent is performing the action.

This attack technique aligns with phishing and social engineering methods described in MITRE ATT&CK, including spearphishing links and user execution via malicious links.

Key findings

  • Zenity Labs disclosed a vulnerability ("AgentForger") in ChatGPT Workspace Agents that could be triggered via a single successful phishing click.
  • The attack uses a weaponized initialization URL with parameters that select a powerful agent template and inject instructions via an over-permissive prompt parameter.
  • If the victim already has authorized connectors (e.g., Gmail/Outlook), the agent can be created without triggering a new OAuth consent screen.
  • The attacker can control the agent remotely by emailing instructions (subjects starting with “TASK”), and the agent can email results back to the attacker.
  • Zenity reported the issue; OpenAI fixed it within days (disclosed June 4, fixed June 8).

Who’s being targeted

  • Commonly targeted roles: All employees (phishing resistance), Executives and executive assistants, IT / Identity and Access Management, Security awareness and GRC teams, Teams using ChatGPT Workspace Agents and connectors (Gmail/Outlook).
  • Affected industries: Any organization using ChatGPT Workspace Agents, Information Technology, Professional Services, Finance and Accounting teams (potential BEC exposure).
  • Attack channels: email, website.
  • Impersonated: Internal productivity/AI enablement team (or a trusted internal sender), External sender issuing “task” requests (attacker email).

Red flags to watch for

  • Unexpected request to click a setup/initialization link for an agent you didn’t ask for
  • Works only if you are already logged in and have connectors (Gmail/Outlook) set up, an attacker could exploit that
  • No clear business reason why an agent needs automated access to email and connected apps
  • Emails with subject lines starting with “TASK” that trigger automated actions
  • Requests to send “raw values” or unredacted information externally
  • Automated processing of instructions from an external email address
Try Mirage

Mirage safely runs attacks like this one against your own team, so you find out what happens before a real adversary does.

Get a demo

Frequently asked questions

What is the AgentForger vulnerability?

AgentForger is a flaw disclosed by Zenity Labs in ChatGPT Workspace Agents that could let an attacker trick a logged-in employee into launching an invisible, attacker-controlled autonomous agent with a single phishing click.

Does the attack require a new login or consent screen?

No. If the victim already has an authorized connector such as Gmail or Outlook, the agent can be created without triggering a new OAuth consent screen, making the activity harder to notice.

How does the attacker control the hidden agent afterward?

The attacker sends emails with subjects starting with "TASK," which the agent treats as commands, then uses connected apps to carry out the instructions and email results back to the attacker.

Was this issue fixed?

Yes. Zenity reported the issue on June 4 and OpenAI fixed it by June 8.

Read the video transcript

Imagine: one click on a ChatGPT link, and you’ve just hired a secret AI “insider” working for someone else. Zenity found an issue called AgentForger: a weaponized ChatGPT Workspace Agent URL that, once you click it while logged in, silently spins up an autonomous agent using your existing Gmail or Outlook connector, no new consent screen, no warning. Here’s the twist: that hidden agent just waits for emails with subjects starting with “TASK” from the attacker, does exactly what they say using your connected apps, then emails raw, unredacted results back out, like a forged insider living in your tools. If you ever get an email telling you to click a ChatGPT Workspace Agent setup link you didn’t ask for, stop and verify it with the supposed sender over chat or a call before you touch that link.

Similar attacks

Phishing Link Could Plant a Rogue ChatGPT Agent

Phishing Link Could Plant a Rogue ChatGPT Agent

Researchers described a now-patched flaw ("AgentForger") where a single benign-looking ChatGPT link could silently create and publish an attacker-controlled Workspace Agent inside a company. If an employee was already logged in and had connected apps (like email, Drive, Slack, or Teams), the agent…

July 24, 2026
AgentForger Turns AI Agents Into Insider Threats

AgentForger Turns AI Agents Into Insider Threats

Zenity Labs described a real phishing-based technique (“AgentForger”) that could silently create an autonomous AI agent inside an OpenAI workspace after a single click. The planted agent can keep running on a schedule, read and act across connected tools like Outlook/Slack/Drive, and execute new…

July 24, 2026
CSS Emails Can Steal Tokens and Trick AI Inbox Tools

CSS Emails Can Steal Tokens and Trick AI Inbox Tools

Research shows attackers can weaponize CSS inside HTML emails to reach beyond the message area in some webmail clients, enabling UI spoofing, token/session theft, and even near real-time capture of what a victim types. The same CSS-based tricks can also manipulate AI email assistants connected to…

August 9, 2026
Malicious CSS Emails Can Hijack Webmail UI

Malicious CSS Emails Can Hijack Webmail UI

PortSwigger research shows how attackers can weaponize HTML/CSS inside emails to cross trust boundaries in webmail, including UI manipulation, token theft, and password theft. The paper highlights real-world weaknesses in email sanitization and gives concrete examples (including an Outlook…

August 6, 2026
Zero-Click Prompts Hijack AI Browsers via Email/X

Zero-Click Prompts Hijack AI Browsers via Email/X

Zenity demonstrated real-world attack chains where hidden instructions in emails or content on X can hijack AI “agentic browsers” (ChatGPT Atlas and the Claude Chrome extension). In the demos, the AI agent can be steered to perform actions in the user’s already logged-in sessions, sending phishing…

August 6, 2026
AI Browser Tricked into Spamming WhatsApp, Shopping

AI Browser Tricked into Spamming WhatsApp, Shopping

Researchers showed how a malicious web page could trick OpenAI’s Atlas AI-enabled browser into taking actions a user didn’t intend, like spamming WhatsApp contacts or modifying an Amazon account. The attacks used prompt-injection style instructions hidden in a seemingly legitimate “newsletter…

August 6, 2026