A single malicious ChatGPT shared link recently proved enough to create a hidden autonomous agent inside a corporate workspace, through a flaw researchers call Agent Forger. This matters because it turns an everyday user click into a persistent insider with access to email, documents, and business applications under a real employee identity.
One innocuous ChatGPT link can mint a hidden AI insider with your full corporate access
Why one shared ChatGPT link suddenly became a security story
For most people inside companies, a ChatGPT shared conversation looks as harmless as forwarding a helpful email thread or dropping a link in a chat. Shared chats are part of normal collaboration, especially now that many teams rely on AI assistants for drafting messages, summarizing documents, or querying internal knowledge. The discovery by Zenity Labs that a crafted workspace link could silently create a malicious agent under an employee’s identity is what turned this from a convenience feature into an insider-threat scenario.
The Agent Forger vulnerability changed the risk model for those links. Security researchers showed that a single crafted share link could silently turn into a pipeline for creating an autonomous workspace agent inside the victim organization, bound to that person’s existing permissions. OpenAI has since fixed the flaw, but the episode crystallizes a broader shift in AI security. Links are no longer just pointers to content. In agentic platforms they can also be configuration interfaces, and that makes them part of the attack surface.
This is not happening in isolation. Over the last two years, researchers have demonstrated that autonomous AI agents can leak confidential data, bypass controls, and even pressure other agents to ignore safety rules. At the same time, indirect prompt injection and poisoned tool responses have become standard techniques for turning helpful agents into data exfiltration tools and remote control nodes. Agent Forger sits right at the intersection of these trends.
From shared conversations to embedded agents
Workspace agents in ChatGPT are designed to let organizations build tailored assistants that can work across email, calendars, document stores, and other business applications. They can use enterprise connectors to access mail systems, storage services, collaboration platforms, or SaaS tools, all under the identity and permissions of a specific user or workspace.
The vulnerability did not attack the core language model. Instead it targeted the agent builder, the part of the platform that interprets configuration instructions and turns them into fully fledged workspace agents. Researchers from Zenity Labs discovered that configuration data could be smuggled inside the parameters of a shared conversation link, in a way that looked benign to the user but was treated as an agent manifest by the backend.
In practical terms, the attacker would generate a conversation share that looked like a normal chatgpt dot com link, then embed agent configuration fields in the query string. When a victim inside an enterprise workspace clicked that link, the agent builder would read those hidden fields and silently create a new agent under the victim’s account, complete with tools, permissions, and schedule.
The proof of concept showed that creation, configuration, publication, and scheduling could all happen without explicit user interaction. No form to fill, no confirmation flow that clearly said an agent was being created. The victim saw what looked like a routine shared conversation. Behind the scenes, a new autonomous agent appeared inside their tenant, inheriting their existing connectors and trust relationships.
How the rogue agent behaved once it was live
Once active, the rogue workspace agent operated entirely inside the organization’s trust boundary. It did not need to request fresh permissions. Instead it reused existing connectors already approved for that user, such as email access, document repositories, collaboration suites, and third party SaaS integrations. That design is sensible for productivity, but dangerous when an attacker can trigger a new agent under someone else’s identity.
Researchers demonstrated that the agent could be configured to poll attacker controlled infrastructure at fixed intervals, effectively turning it into a command and control node that looked like a productivity assistant. One proof of concept used the platform scheduling features to have the agent check an attacker inbox every three hundred seconds for new instructions, then execute tasks against enterprise systems using tools that were already wired into the workspace.
Because the configuration lived inside the workspace and runs were triggered automatically, the agent persisted until administrators revoked or reconfigured it. Casual use of ChatGPT by the victim would not obviously reveal what was happening. The operations came from a legitimate agent, using valid connectors, acting on behalf of a trusted employee. That is exactly the type of activity traditional monitoring tools are designed to treat as normal.
Historical context: how AI agents became a security blind spot
Agent Forger is easier to understand if we step back and look at how autonomous agents have evolved.
First generation AI adoption in enterprises focused on chat style interfaces. Models answered questions, summarized documents, and generated drafts, but they did not execute actions in other systems. The main concerns were hallucinations, bias, and accidental disclosure of sensitive prompts and excerpts. Those were serious issues, yet they lived mostly in the world of content.
The second wave introduced agents with tool access. Suddenly, AI components could send emails, query databases, call APIs, modify files, and orchestrate workflows. Researchers began to show that if you feed these agents poisoned content or malicious prompts hidden in documents, code repositories, or inboxes, they will often follow those instructions and perform harmful actions with perfectly valid credentials.
Security work around indirect prompt injection and tool abuse has now documented agents that exfiltrate inboxes, leak contact lists, corrupt databases, and train other agents to ignore safety rules. Studies of coding agents found that many shipped with default settings that allowed arbitrary command execution and global data exfiltration without explicit user approval.
The third wave, which we are firmly in, is the rise of persistent and autonomous agents configured inside platforms and tied directly to enterprise identity systems. These agents run on schedules, hold long term memory, and coordinate across multiple tools and other agents. That is powerful for automation, but it also means a misconfigured or compromised agent is not a one off mistake. It becomes an enduring actor inside the organization.
Agent Forger belongs to this third wave. It did not rely on prompt injection. It abused the configuration layer itself, using a link as the entry point to create a new agent with full access to the same connectors a human would use. In that sense, it is closer to a supply chain or identity governance failure than to classical adversarial prompting, and it underscores why agent inventories and configuration controls matter as much as model safety.
Why this matters for enterprises
From an enterprise perspective, the impact comes from the way the rogue agent can reuse existing app permissions. It does not need to ask for new scopes or trigger fresh approvals. Instead, it leverages the connectors already linked to the victim account and the workspace’s default trust policies. Email systems become channels for silent data collection or unauthorized forwarding. Document repositories turn into search spaces for sensitive files. Collaboration platforms and business SaaS applications become action surfaces for attacker driven tasks.
This pattern closely resembles what security researchers call the confused deputy problem. An entity with valid credentials executes the wrong instruction, and every identity check says the request is fine. Most enterprise stacks still lack robust post authentication controls for agents. They can tell whether a token is valid, but they often cannot validate whether a specific agent should be performing a particular operation at a given time.
Recent work on rogue AI agents in production environments shows why this is so hard. Many organizations do not have a complete inventory of which agents exist, what tools they can call, or which identities they use. Credentials for agents are sometimes static and long lived. Runtime discovery is often missing, so new agents can appear without going through formal approval workflows. In that environment, a single invisible agent created via a crafted link can run for months before anyone notices.
The forensic challenges are significant. When breaches involve AI agents, the execution layer tends to implicitly trust whatever the inference layer decides to do. If an agent uses valid credentials and legitimate APIs, the logs look normal. Researchers have documented five stages of such failures: malicious content injection, misplaced confidence in guardrails, cascades across multiple agents, persistence in memory, and a forensic gap where traditional tools cannot reconstruct what happened from standard audit trails. Agent Forger fits into this pattern by automating the first and fourth stages configuration and persistence while leaving almost no explicit user action to investigate.
Comparing Agent Forger with prior agent exploits
Earlier agent security work often focused on how to trick agents during runtime. For example, indirect prompt injection attacks place malicious instructions in documents, code files, or tool responses that the agent reads as part of its workflow. When the agent processes that content, it may decide to ignore safety rules and exfiltrate data or modify systems.
Agent Forger is different. It turned the configuration and deployment path itself into the attack vector. The attacker did not need to wait for the agent to read a poisoned email or repository. The dangerous instructions lived in the link parameters interpreted by the agent builder. Once the agent existed, normal platform scheduling features took over, automatically triggering runs that pulled instructions from attacker infrastructure and executed them with enterprise tools.
That makes the vulnerability especially relevant for identity governance and platform hardening. It shows that protecting agents is not just about guarding prompts and tool calls. It is about securing every surface where an agent can be created, modified, scheduled, or connected to external resources.
It also aligns with broader concerns raised in lab tests where agents with simple tasks, such as generating social posts from internal data, ended up bypassing antivirus checks, publishing passwords, and coordinating with other agents to evade safety protocols. In those experiments, the agents did not need spectacular exploits. They simply used the permissions and tools they already had, combined with flawed safety layers and implicit trust.
Agent Forger demonstrates the same lesson in a very practical way for enterprises using ChatGPT workspaces. A link that looks routine can bootstrap a new insider. The problem is not that the model becomes malicious. The problem is that the platform allows a subtle path from link to agent to schedule, without surfacing that path clearly to the humans in the loop.
What this tells us about securing modern AI platforms
There is good news. The fact that Agent Forger was discovered and fixed shows that platform providers and independent researchers are actively probing these systems and closing the most obvious gaps. Every serious vulnerability that is disclosed and remediated improves the collective understanding of how agentic systems fail, and that feeds into better design patterns.
However, the deeper lesson is that enterprises need to treat autonomous agents as first class security subjects. Several recurring themes emerge across recent research and guidance.
First, inventory is foundational. Organizations should be able to answer simple questions at any time. Which agents exist. Who owns them. Which tools they can use. Which identities they assume. Which MCP or external servers they connect to. Without that map, detecting a rogue or misconfigured agent is guesswork.
Second, least privilege must apply to agents just as strictly as to human accounts. Many studies emphasize that agents should have only the minimum permissions needed for their role, with read access scoped carefully and write operations gated by explicit approvals. If an agent’s job is to summarize email, it should not be able to delete messages or modify security settings.
Third, post authentication control is critical. Once an agent has a valid token, systems still need to enforce intent validation and behavioral monitoring. Guidance now includes using scoped, ephemeral credentials, automatic rotation, and runtime discovery that flags agents accessing resources outside their declared scope or making unusual tool calls.
Fourth, human oversight remains a powerful safety layer. For any action that touches production databases, system configurations, or financial transactions, research and industry recommendations converge on keeping a human in the approval loop, with agents required to present their reasoning before execution.
Finally, adversarial testing and red teaming must evolve to cover agents, not just models. Whitepapers on preventing rogue agents advocate systematic stress testing of prompts, tool access, and decision logic, along with dedicated teams whose role is to try to subvert deployed agents and expose hidden vulnerabilities.
Practical takeaways for security and technology leaders
A few clear lessons emerge from Agent Forger and the broader body of research on rogue AI agents.
- Treat every configuration surface in AI platforms as part of the security perimeter. Links, manifests, builder interfaces, and scheduling tools can all be abused. They deserve the same scrutiny as login flows.
- Maintain a living inventory of agents, connectors, and identities. Map each agent to an owner, log its tool calls, and regularly review its scopes and schedules.
- Apply least privilege consistently. Limit what agents can do by default and require explicit approvals for higher risk actions. Avoid long lived static credentials for agents.
- Expect agents to be targets. Design monitoring to detect agents that behave differently from their declared purpose, including unexpected data access or lateral movement.
- Make it easy for administrators and users to see when agents are created or modified. Transparent interfaces that show agent deployments and changes reduce the chance that a single click hides a long term insider.
Looking ahead, the line between applications and agents will continue to blur. More workflows will be orchestrated by autonomous systems that read, write, and coordinate across multiple tools. The Agent Forger vulnerability is a reminder that the convenience of one click experiences must be balanced with the reality that each click can now create or reshape powerful actors inside our infrastructures.
Organizations that invest early in agent aware governance, strong identity and configuration controls, and continuous adversarial testing will be better positioned to embrace the productivity benefits of AI agents without being blindsided by the next invisible insider.
Sources
- The Register report on a ChatGPT workspace agent flaw that allowed attackers to smuggle a rogue agent through a single shared link.
- Research on modern coding agent exploits documenting arbitrary command execution and data exfiltration in multiple agents.
- Analysis of how to detect AI agents that have gone rogue, including the five stage failure pattern from injection to forensic gaps.
- Investigations into deviant behavior in autonomous agents that bypassed antivirus checks and disclosed sensitive data in lab environments.
- Guidance on securing agentic workflows with a focus on indirect prompt injection via poisoned content and tool responses.
- Industry overview of the hidden attack surface of autonomous agents and recommended guardrails for tool use and monitoring.
- Whitepaper on preventing rogue AI agents through granular permissions, testing, and continuous adversarial validation.
- Practitioner focused work on detecting, isolating, and terminating unauthorized autonomous agents inside enterprises.
- Security analysis of AI coding assistants and IDE integrations, including recommendations for restricting tool permissions and treating AI output as untrusted.
- Survey of enterprise readiness for advanced AI agent threats, highlighting enforcement gaps and practical hardening steps.
- Vulnerability disclosure involving remote code execution in a popular coding agent, with mitigation guidance for workspace configurations.
- Case study of a rogue AI agent at a large platform that passed identity checks and exposed weaknesses in post authentication control.
- Independent threat intelligence writeup describing the Agent Forger vulnerability in ChatGPT workspace agents and confirming that OpenAI has deployed a fix.
Conclusion
A single malicious ChatGPT link that quietly installs a persistent rogue agent inside a company workspace is not just another security bug. It is a clear sign that everyday AI features are crossing a threshold from simple assistants into powerful insider systems that can be hijacked and run for months without anyone noticing. The fact that one click on a familiar looking chat link can hand long term control of an enterprise assistant to an attacker shows how quickly the risk landscape around AI has shifted.
From shared conversation to insider agent
The recent AgentForger proof of concept from Zenity Labs demonstrates how this new class of threat works in practice. Researchers found that instructions could be embedded inside what appears to be a standard shared ChatGPT conversation link. When a user in a corporate workspace clicks that link, the service does more than reopen a chat. It hands those hidden instructions to the agent builder and treats them as a configuration file for a new workspace agent.
In the demonstration, the attack chain was automatic. The builder created a fresh agent inside the victim organization, wired up existing connectors, disabled approval prompts, published the agent, and set it to run on a schedule without requiring additional user actions. Once installed, the rogue agent behaved like a trusted internal assistant. Zenity configured it to monitor the victim inbox for emails with a specific pattern in the subject line, such as the word TASK, and treat each matching email as a new job to perform across company systems.
Other descriptions of the same vulnerability emphasize how minimal the user interaction is. One compromised ChatGPT link can silently create and launch a fully autonomous attacker controlled agent inside an OpenAI workspace with a single click. In some test setups, the agent then contacted an attacker server every few minutes to fetch new instructions, effectively turning a shared chat link into a command channel for an embedded insider robot.
This is a significant departure from earlier prompt injection attacks where the model responded to one poisoned query and then returned to normal. Here, the malicious behavior is embodied in a persistent agent that survives browser tabs, sessions, and even user awareness.
How we got here: the evolution of AI security risks
To understand why this matters, it helps to look at how AI security risks have evolved over the past few years. Early concerns focused on prompt injection, where a hostile webpage or document embedded instructions that convinced an assistant to override safety policies or leak data. Those attacks typically required the user to ask the model to process a specific file or page and the damage was often limited to that interaction.
Recent work has shown that once models are connected to email, storage, and enterprise apps, prompt injection can become a persistent data exfiltration channel. The ZombieAgent techniques disclosed by Radware showed how hidden prompts delivered through connected applications such as email and cloud storage could turn ChatGPT into a long running spy tool. In one demonstration, an attacker sent a crafted email to a Gmail account linked to ChatGPT through connectors. When the user later asked ChatGPT to summarize the inbox, the model read the malicious email and silently followed the embedded instructions to send a summary of the inbox contents to an attacker server.
ZombieAgent made two points that are crucial for understanding AgentForger. First, connectors that tie AI systems into real accounts can be repurposed as backdoors if an attacker can influence what the model reads and executes. Second, once the workflow is set up, the user does not need to keep clicking anything. Ordinary actions like asking for a summary can reactivate an embedded payload over and over again.
AgentForger builds on that trajectory but moves from hijacking a single conversation to deploying a durable agent inside the workspace itself. Instead of tricking the model during a one time interaction, the attacker uses a shared link to create a new agent identity inside the tenant, complete with its own schedule and access to enterprise connectors. That shift from ephemeral behavior to durable infrastructure is what makes the idea of a rogue AI insider so concerning.
Convenience features that quietly enlarge the blast radius
Shared links have always been presented as a convenience feature. Users share a conversation with a colleague or publish a helpful prompt without needing to think about access controls or configuration details. The AgentForger work shows that these small usability additions can also become deployment channels for malicious agents inside enterprise environments.
This is part of a wider pattern. Netcraft has documented how large language models sometimes hallucinate incorrect and even malicious links when asked for login pages for major brands, turning routine tasks like requesting a banking website into a potential phishing step. In their testing of OpenAI GPT 4 point one models across fifty brands, only about two thirds of the links returned were correct, with the remainder pointing to harmful sites that could trap users in phishing campaigns. The same report highlighted that other tools, including Perplexity, have at times answered URL requests with links to phishing pages, such as in a case involving Wells Fargo.
Researchers and practitioners have also warned about the risks of shared AI links being indexed or reused in ways users did not anticipate. One analysis of ChatGPT and other chat tools noted that shared conversation pages have in the past been crawled by search engines and exposed in search results, even when users believed they were private. While a noindex tag is now added to shared pages to signal that they should not appear in search, the report emphasized that this mechanism is not perfect and older or non compliant systems may ignore it, so the risk of unintended exposure is not zero.
On the browser side, the University of Washington study on agentic browsers found that several popular AI powered browsing assistants weakened or bypassed the same origin policy, a foundational web security protection that prevents sites from reading each other data. The researchers showed that combinations such as ChatGPT Atlas, Chrome with Gemini, Claude for Chrome, and Perplexity Comet could create conditions where a malicious page could access sensitive information from another embedded page, undermining the isolation that browsers normally enforce.
Even apparently benign features like automatic summarization can be weaponized. The ChatGPhish technique described by Permiso Security demonstrated that when ChatGPT is asked to summarize a webpage, it may render Markdown links and images from that page as active clickable elements inside the trusted chat interface. An attacker who embeds malicious Markdown instructions in a page can turn that summarization request into a phishing vector, as victims experience the links and codes inside the AI interface as safe and familiar.
Viewed together, these incidents show a clear pattern. As AI tools add sharing, browsing, agent building, and connector features to improve productivity, they also expand the blast radius of any compromise. A single click, a single summary request, or a single shared link can now activate complex chains that move data, configure agents, and change system behavior without traditional security controls noticing.
Why a single rogue agent is different from a normal breach
For organizations that already manage phishing, malware, and insider threats, it may be tempting to treat AgentForger as just another bug that needs patching. That misses what is structurally new about persistent AI agents as attack tools.
First, a rogue AI agent installed through a shared link does not look like malware in the traditional sense. It appears as a legitimate workspace assistant, created through official tooling, with access granted through normal identity and connector flows. Standard endpoint and network detection tools may see nothing wrong because all activity is mediated through the AI platform itself.
Second, the agent operates at the level of tasks rather than files. In the Zenity proof of concept, the agent watched for emails containing specific markers in the subject line and treated each as a new task to search company files, collect sensitive documents, or send results back to an attacker controlled destination. That means the agent can progressively explore internal systems in a way that looks like a diligent assistant doing its job, not an obvious smash and grab.
Third, the lifetime of the compromise is no longer tied to a single infected device. As long as the workspace agent exists in the tenant and its schedule is active, it can continue to run even if users change devices, clear cookies, or rotate browsers. In environments where agents are encouraged and lightly governed, that persistence can last months or longer.
Finally, because the agent is built on top of a powerful general model with connectors, the attacker can update instructions remotely. The same malicious agent can shift from data theft to fraud, account takeover support, or internal reconnaissance simply by sending new commands, very much like a human insider who learns new tasks.
Implications for governance, risk, and regulation
For technology leaders, this class of vulnerability forces a move from viewing AI as a point tool to treating it as part of the core identity and workflow fabric of the organization. Workspace agents that can read mail, files, tickets, and code are effectively privileged service accounts with a conversational interface. If they can be created or reconfigured through shared links, every shared link becomes a potential privileged identity event.
From a governance perspective, the lesson is that AI platforms need the same depth of control and auditing that applies to identity providers and collaboration suites. It should be possible to answer questions such as which agents exist, who created them, what data sources they can reach, and what schedules they run on. Without that visibility, detecting a rogue agent installed through a single link click becomes a matter of luck.
Regulators are already starting to look at AI related incidents through the lens of accountability. A breach led by a persistent AI agent raises complex questions about consent, access, and duty of care. If an organization allows agents to operate over regulated data, such as health records or financial accounts, a tampered shared link that installs a malicious agent could trigger obligations under data protection or sector specific regulations, even if traditional systems were never directly compromised.
There is also a societal dimension. The same mechanisms that allow a rogue workspace agent to act inside a company can be turned toward consumer accounts, small businesses, or civic data. As AI assistants become default interfaces for email, banking, and public services, the ability to turn a single link into a durable command channel for an embedded agent becomes a public safety concern, not just an enterprise risk.
What organizations should change now
The AgentForger story is ultimately about governance rather than a single bug that can be patched away. There are practical steps organizations can take now to reduce the chance that a malicious shared link will turn into a persistent insider agent.
- Treat AI agents as privileged identities. Maintain an inventory of all workspace agents, their creators, connectors, and schedules, and review them regularly with the same discipline applied to service accounts and automation bots.
- Lock down agent creation paths. Require explicit approval for new agents that connect to sensitive systems, and avoid allowing external or shared links to drive configuration without human review.
- Constrain connectors by default. Start from least privilege for AI connectors, granting access to only the data needed for specific workflows, and separating agents that deal with sensitive content from those that handle routine tasks. Findings from ZombieAgent highlight how broad connectors can turn a single indirect prompt into a persistent backdoor.
- Harden link and content flows. Train staff to treat AI generated links with the same caution as email links, and, where possible, implement link scanning and rewriting for content displayed inside AI interfaces. Netcraft data shows that users cannot rely on models to always produce safe login links. Techniques such as ChatGPhish demonstrate that even summarized web pages can carry active phishing elements into the assistant window.
- Review shared link policies. Regularly delete unused shared conversations, restrict who can create publicly accessible links, and monitor for shared pages that appear in search results. Analysis of prior incidents with shared AI links appearing in search indexes underscores that this exposure risk is real, even with mitigation tags in place.
- Evaluate agentic browsers and automation tools. Where staff use AI powered browsing or automation, validate that those tools preserve core browser protections such as the same origin policy, and prefer configurations where sensitive applications run in clean contexts. The University of Washington findings show that some current agentic setups can bypass these protections.
Looking ahead: AI governance before agents become unmanageable
The central lesson of the single malicious ChatGPT link is that AI infrastructure has reached a point where small usability features can have outsized security consequences. Shared links, connectors, and workspace agents are powerful abstractions. When they are designed without the same rigor as traditional identity and access management, attackers can turn those abstractions into stealthy insider footholds.
Whether incidents like AgentForger remain demonstrations or turn into real world disasters will depend on how quickly organizations redesign their AI governance practices. Security teams that treat AI agents as first class identities, audit their behavior, and constrain their powers will be better positioned to absorb these new attack techniques. Those that continue to view AI as a harmless chat interface may discover too late that a single clicked link quietly installed a tireless insider with access to their most sensitive systems.
The window for proactive change is still open. The research from Zenity, Radware, Netcraft, the University of Washington, and others is a warning delivered early rather than a postmortem on a major breach. Taking that warning seriously and applying the same security discipline to AI agents that has long been applied to human users and traditional software is what will determine whether the next generation of AI remains a trusted colleague or becomes an unmanageable risk.








