{"id":1994,"date":"2026-07-24T13:29:09","date_gmt":"2026-07-24T13:29:09","guid":{"rendered":"https:\/\/thedigitalfortress.us\/?p=1994"},"modified":"2026-07-24T13:29:09","modified_gmt":"2026-07-24T13:29:09","slug":"chatgpt-agentforger-flaw-could-deploy-rogue-workspace-agents-via-a-phishing-link","status":"publish","type":"post","link":"https:\/\/thedigitalfortress.us\/?p=1994","title":{"rendered":"ChatGPT AgentForger Flaw Could Deploy Rogue Workspace Agents via a Phishing Link"},"content":{"rendered":"<div id=\"articlebody\">\n<div class=\"separator\" style=\"clear: both;\"><a href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiWjz4Sgp8xNXyO8juw5bycoRamRay35GLzSBPG3I3UWyuUovp8-qM8hMgxWiqIwW45q1cb17EkWhEYmP8ODPyhUTk1j7P2T92fjAW_R1WKleVJsywM7kzongXurU8N9olKf1F1jxpDnBKvY0s2F_wsgoGWYgRFrzN5zAoQZciTWQjLQw5NJRL66s3S1RaT\/s1700-e365\/chatgpt.jpg\" style=\"display: block;  text-align: center; clear: left; float: left;\"><\/a><\/div>\n<p>Cybersecurity researchers have disclosed a critical vulnerability in OpenAI&#8217;s ChatGPT Workspace Agents that could have allowed a single phishing link to stealthily build, authorize, and deploy an autonomous artificial intelligence (AI) agent inside a victim&#8217;s organization.<\/p>\n<p>The vulnerability has been codenamed <strong>AgentForger<\/strong> by Zenity Labs. The issue has since been addressed by OpenAI as of June 8, 2026, following responsible disclosure.<\/p>\n<p>\u00abA single link could hijack OpenAI&#8217;s ChatGPT Agent Builder to stand up an attacker-controlled AI agent with a real employee&#8217;s access and its approvals switched off,\u00bb the AI security company <a href=\"https:\/\/labs.zenity.io\/p\/agentforger-part-1-chatgpt-cross-site-agent-forgery\" target=\"_blank\">said<\/a> in a two-part report shared with The Hacker News.<\/p>\n<p>The attack occurs when an unsuspecting employee clicks open a benign-looking ChatGPT link, causing it to spawn a new AI agent within the company&#8217;s trust boundary that does the attacker&#8217;s bidding. The issue is a case of cross-site request forgery (CSRF) that forges an attacker-controlled autonomous AI agent.<\/p>\n<p><a href=\"https:\/\/developers.openai.com\/api\/docs\/guides\/agent-builder\" target=\"_blank\">Agent Builder<\/a> is a visual, drag-and-drop canvas that allows users to build multi-step agent workflows. Last month, OpenAI <a href=\"https:\/\/openai.com\/index\/introducing-agentkit\/\" target=\"_blank\">announced<\/a> that it&#8217;s deprecating the product effective November 30, 2026, urging users to switch to the Agents SDK.<\/p>\n<p>Zenity said its testing found the Builder tool to accept an initialization state through URL parameters, two of which include an agent template and the prompt to the Builder.<\/p>\n<div class=\"dog_two clear\">\n<div class=\"cf\"><a href=\"https:\/\/thehackernews.uk\/ai-vuln-protection-d\" rel=\"nofollow noopener sponsored\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"lazyload\" alt=\"Cybersecurity\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjQl2axNwsfhbXOFynrg_uAZsvHi3OvNGSA8KJO-BKR8Xm3x7yjKV3EvfY4v5mwXx6LF0uWFb9h9d9iAV_Pi-YYhqimX9wx4OaLdDJEdR215Xrxq_PAtXkaLfQso4pTSjbj6fvh_ZTliLpzWZSZfcoZgyXtKwhN-SSDDlmbtUqGLshc0KqYQGWYHMN52Sl1\/s728-e100\/zz-d.jpg\" width=\"729\" height=\"91\"\/><\/a><\/div>\n<\/div>\n<p>\u00abWe found that when the page loads, the value of initial_assistant_prompt is not merely placed into the prompt box. It is automatically submitted and executed,\u00bb AI Red Team Researcher Mike Takahashi said. \u00abThat means an instruction embedded inside a URL can become the first command the Builder acts on.\u00bb<\/p>\n<p><a name=\"more\"\/><\/p>\n<p>Given that a prompt can be inserted directly into the URL, an attacker can send the URL to a target in the form of a phishing link that adheres to the following pattern: \u00abchatgpt[.]com\/agents\/studio\/new?template_name=[template name]&amp;initial_assistant_prompt=[malicious prompt].\u00bb<\/p>\n<div class=\"separator\" style=\"clear: both;\"><a href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEihhW0XuQ0tZmsH40WLmPR1iqj_Mt9_aRyaeomHUKcyrwA5jwA5i3j4qPhGAWijbkZzFUumnOTWmCEvNTMl7zYiH8fN58O2xrcn2sIBGHypHj6K8qRelvPb-tGay8zhVjCcRzNBVRtJo8hpvwysUmewIY9MchYZVerS8M0P5l4PZrNw3MtoyheKbGtPnLev\/s1700-e365\/ahent.jpg\" style=\"display: block;  text-align: center; clear: left; float: left;\"><img decoding=\"async\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEihhW0XuQ0tZmsH40WLmPR1iqj_Mt9_aRyaeomHUKcyrwA5jwA5i3j4qPhGAWijbkZzFUumnOTWmCEvNTMl7zYiH8fN58O2xrcn2sIBGHypHj6K8qRelvPb-tGay8zhVjCcRzNBVRtJo8hpvwysUmewIY9MchYZVerS8M0P5l4PZrNw3MtoyheKbGtPnLev\/s1700-e365\/ahent.jpg\" alt=\"\" border=\"0\" data-original-height=\"929\" data-original-width=\"1692\"\/><\/a><\/div>\n<p>Should a logged-in user click on the link, ChatGPT opens the Builder in the victim&#8217;s authenticated session and automatically submits the prompt embedded in the URL without requiring any further interaction. The attacker, however, needs to meet the below prerequisites &#8211;<\/p>\n<ul>\n<li>A victim who is logged into ChatGPT<\/li>\n<li>The victim has access to Workspace Agents<\/li>\n<li>The victim has at least one authorized connector (i.e., an already existing ChatGPT integration to an enterprise app like Outlook, Gmail, Google Calendar, Google Drive, Slack, or Teams)<\/li>\n<\/ul>\n<p>The connector integration is necessary because the crafted ChatGPT URL passes as input a chief-of-staff template that allows the agent to pull necessary data from the workspace applications to prepare a \u00abhigh-signal operating brief.\u00bb<\/p>\n<p><iframe loading=\"lazy\" title=\"AgentForger: ChatGPT Workspace Agents Vulnerability - One link creates an autonomous insider Part 1\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/9aeyh1jclQ0?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p>Specifically, the payload passed through the malicious prompt instructs the Builder to perform the following sequence of actions &#8211;<\/p>\n<ul>\n<li>Create an agent from the chief-of-staff template.<\/li>\n<li>Attach all already-available connectors and set every connector to \u00abNever ask\u00bb so that no user approval is needed.<\/li>\n<li>Make the agent live and schedule it such that it runs every hour, turning it into a persistence mechanism.<\/li>\n<li>During each run, check for emails from a specific email address whose subject line begins with the phrase \u00abTASK,\u00bb execute those tasks, and report the results back by sending an email message to the attacker&#8217;s address.<\/li>\n<li>Invoke Preview Mode to run the agent immediately.<\/li>\n<\/ul>\n<p>\u00abPreview Mode is meant to allow users to test an agent before publishing it,\u00bb Zenity explained. \u00abIn this flow, however, Preview is not just a visual preview or dry run. It executes the newly created agent against the victim&#8217;s connected accounts using the approval settings that have just been configured.\u00bb<\/p>\n<p>\u00abIn other words, the forged agent becomes a persistent operator. The original click installs it; the schedule keeps it alive; and the connected apps give it a source of commands, access to sensitive actions and data, as well as a path to return results.\u00bb<\/p>\n<p>Armed with this capability, the forged agent can burrow deeper into the organization, conducting reconnaissance, harvesting sensitive documents from cloud storage services, and stealing passwords mentioned in Slack messages, essentially turning it into a persistent, autonomous insider capable of doing what the attacker wants to do.<\/p>\n<div class=\"dog_two clear\">\n<div class=\"cf\"><a href=\"https:\/\/thn.news\/sygnia-webinar\" rel=\"nofollow noopener sponsored\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"lazyload\" alt=\"Cybersecurity\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhleDdO_4O9-8Pkmidym8Pi9yV4V4jI_M5U0iNRDuoW5Jz3pq7DskZI9OqIChqmY1soaW1ppsC8VLeO55vxSh1m5Q8MJ9ZHuEOSNO5q7K-LwrF6IxrRfCIJOFyoBGaLXGZpkSo8tDirSz-9LmmoOs31tQTlvJWBMLiWJKqMFFaiMmNLV3l-p8zXaFm1VmGG\/s728-e100\/sygnia-d-2.png\" width=\"729\" height=\"91\"\/><\/a><\/div>\n<\/div>\n<p>What&#8217;s more, the rogue workspace agent can impersonate the victim to send phishing links on Teams on their behalf, which can then redirect recipients to a fake Microsoft login page designed to siphon their credentials. This scenario is troubling as it can open the door to broader compromise and other business email compromise (BEC) scenarios.<\/p>\n<p>\u00abThe attacker does not need the victim to click another link,\u00bb Takahashi <a href=\"https:\/\/labs.zenity.io\/p\/agentforger-part-2-the-autonomous-insider\" target=\"_blank\">explained<\/a>. \u00abThey do not need the Builder tab to stay open. Once the agent is published and scheduled, the attacker can keep sending it assignments through the victim&#8217;s mailbox. Each TASK email becomes a new assignment for the agent. The agent is not waiting for another click. It is waiting for instructions.\u00bb<\/p>\n<p><iframe loading=\"lazy\" title=\"AgentForger: ChatGPT Workspace Agents Vulnerability - The insider steals secrets and impersonates\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/9TMvep-1gwQ?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p>\u00abAt its core, AgentForger is an agent trust failure: the platform trusts that the user intentionally created, approved, scheduled, and operated the agent.\u00bb<\/p>\n<p>The findings come nearly a month after the AI security company <a href=\"https:\/\/labs.zenity.io\/p\/why-ai-security-research-needs-to-move-out-of-the-lab-and-into-the-wild\" target=\"_blank\">revealed<\/a> how bad actors are <a href=\"https:\/\/labs.zenity.io\/p\/scanning-for-ai-live-campaigns-mapping-the-internet-s-exposed-llm-backends\" target=\"_blank\">exploiting<\/a> critical LiteLLM vulnerabilities and exposed Ollama endpoints and hijacking AI infrastructure to conduct attacks against third-parties and power their own <a href=\"https:\/\/labs.zenity.io\/p\/bring-your-own-agent-hijacking-exposed-ai-backends-to-power-offensive-operations\" target=\"_blank\">offensive operations<\/a>. These efforts involve the abuse of <a href=\"https:\/\/labs.zenity.io\/p\/threat-actors-are-trying-to-turn-litellm-s-connection-test-into-a-key-exfiltration-channel\" target=\"_blank\">CVE-2024-6587<\/a>, <a href=\"https:\/\/labs.zenity.io\/p\/threat-actors-are-trying-to-use-litellm-s-guardrail-tester-to-run-code-as-root\" target=\"_blank\">CVE-2026-40217<\/a>, and CVE-2026-35029.<\/p>\n<p>\u00abSelf-hosted model servers and agent frameworks keep getting deployed while being misconfigured and unauthenticated, on predictable ports, willing to serve any client,\u00bb Zenity said. \u00abThis turns exposed AI infrastructure into convenient, deniable backend compute for offensive AI agents.\u00bb<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Cybersecurity researchers have disclosed a critical vulnerability in OpenAI&#8217;s ChatGPT Workspace Agents that could have allowed a single phishing link to stealthily build, authorize, and deploy an autonomous artificial intelligence&hellip;<\/p>\n","protected":false},"author":1,"featured_media":1995,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[2706,335,978,229,70,1540,390,699,544],"class_list":["post-1994","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-agentforger","tag-agents","tag-chatgpt","tag-deploy","tag-flaw","tag-link","tag-phishing","tag-rogue","tag-workspace"],"_links":{"self":[{"href":"https:\/\/thedigitalfortress.us\/index.php?rest_route=\/wp\/v2\/posts\/1994","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thedigitalfortress.us\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thedigitalfortress.us\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thedigitalfortress.us\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thedigitalfortress.us\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1994"}],"version-history":[{"count":0,"href":"https:\/\/thedigitalfortress.us\/index.php?rest_route=\/wp\/v2\/posts\/1994\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thedigitalfortress.us\/index.php?rest_route=\/wp\/v2\/media\/1995"}],"wp:attachment":[{"href":"https:\/\/thedigitalfortress.us\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1994"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thedigitalfortress.us\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1994"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thedigitalfortress.us\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1994"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}