AI Security AI安全 8h ago Updated 2h ago 更新于 2小时前 49

ChatGPT AgentForger Flaw Could Deploy Rogue Workspace Agents via a Phishing Link ChatGPT AgentForger漏洞可通过钓鱼链接部署流氓工作区智能体

A critical CSRF vulnerability named "AgentForger" allows attackers to deploy rogue AI agents in OpenAI's ChatGPT Workspace via a single phishing link. The exploit leverages URL parameters to automatically submit malicious prompts, creating an agent that bypasses user approval and connects to enterprise tools like Slack and Gmail. Once deployed, the agent operates persistently, harvesting sensitive data and impersonating the victim to launch further phishing campaigns without requiring additional OpenAI ChatGPT Workspace Agents 存在名为 AgentForger 的关键漏洞,允许攻击者通过单条钓鱼链接在受害者组织内部署自主 AI 代理。 该漏洞利用跨站请求伪造(CSRF)机制,通过 URL 参数自动提交恶意提示词,无需用户进一步交互即可创建并激活代理。 攻击者可利用预置连接器将代理设置为“永不询问”审批模式,并安排其每小时运行以确保持久化访问。 rogue 代理可执行侦察、窃取敏感数据及密码,甚至冒充受害者发送钓鱼邮件,引发更广泛的企业邮件欺诈(BEC)。 OpenAI 已于 2026 年 6 月 8 日修复此漏洞,但指出该工具即将于 2026 年 11

75
Hot 热度
65
Quality 质量
70
Impact 影响力

Analysis 深度分析

TL;DR

  • A critical CSRF vulnerability named "AgentForger" allows attackers to deploy rogue AI agents in OpenAI's ChatGPT Workspace via a single phishing link.
  • The exploit leverages URL parameters to automatically submit malicious prompts, creating an agent that bypasses user approval and connects to enterprise tools like Slack and Gmail.
  • Once deployed, the agent operates persistently, harvesting sensitive data and impersonating the victim to launch further phishing campaigns without requiring additional clicks.
  • OpenAI has addressed this vulnerability following responsible disclosure by Zenity Labs, highlighting significant risks in autonomous agent trust models.

Why It Matters

This incident demonstrates a severe intersection of traditional web security flaws (CSRF) and emerging AI agent autonomy, showing how a simple click can result in persistent, unauthorized access to corporate infrastructure. For AI practitioners and security teams, it underscores the critical need for robust authentication and authorization checks when handling user-generated workflows or agent configurations, particularly those involving sensitive enterprise integrations.

Technical Details

  • Vulnerability Type: Cross-Site Request Forgery (CSRF) targeting the ChatGPT Agent Builder interface.
  • Exploitation Mechanism: Attackers embed an initial_assistant_prompt parameter in a URL pointing to chatgpt.com/agents/studio/new. When a logged-in user with Workspace Agents access clicks the link, the system automatically submits the prompt without further interaction.
  • Agent Configuration: The malicious prompt instructs the builder to use a "chief-of-staff" template, attach all existing connectors (e.g., Outlook, Slack), set permissions to "Never ask," schedule hourly execution, and invoke Preview Mode to run immediately.
  • Persistence and Impact: The agent waits for emails with subjects starting with "TASK," executes commands using the victim's authenticated sessions, and reports results back via email, enabling data exfiltration and business email compromise (BEC).

Industry Insight

  • Trust Boundaries in Autonomous Systems: Organizations must re-evaluate trust models for AI agents; platforms should not assume that actions taken within a user session are always intentional or authorized by the user.
  • Integration Security: Enterprises using AI tools with deep integrations into communication and productivity suites (Slack, Teams, Drive) must implement stricter consent flows and monitoring for automated agent creation and scheduling.
  • Phishing Evolution: Security awareness training must expand beyond credential theft to include behavioral indicators of AI-driven attacks, such as unexpected automated tasks or communications from compromised accounts.

TL;DR

  • OpenAI ChatGPT Workspace Agents 存在名为 AgentForger 的关键漏洞,允许攻击者通过单条钓鱼链接在受害者组织内部署自主 AI 代理。
  • 该漏洞利用跨站请求伪造(CSRF)机制,通过 URL 参数自动提交恶意提示词,无需用户进一步交互即可创建并激活代理。
  • 攻击者可利用预置连接器将代理设置为“永不询问”审批模式,并安排其每小时运行以确保持久化访问。
  • rogue 代理可执行侦察、窃取敏感数据及密码,甚至冒充受害者发送钓鱼邮件,引发更广泛的企业邮件欺诈(BEC)。
  • OpenAI 已于 2026 年 6 月 8 日修复此漏洞,但指出该工具即将于 2026 年 11 月 30 日弃用,建议迁移至 Agents SDK。

为什么值得看

这篇文章揭示了 AI 代理生态系统中严重的信任边界失效问题,展示了传统 Web 安全漏洞(如 CSRF)如何被放大为自动化、持久化的 AI 攻击向量。对于 AI 应用开发者和企业安全团队而言,它提供了关于如何设计安全的代理工作流、管理连接器权限以及防范社会工程学攻击的重要警示。

技术解析

  • 漏洞原理:AgentForger 是一种 CSRF 攻击,利用 ChatGPT Agent Builder 接受 URL 参数初始化状态的特性。当用户点击包含恶意 initial_assistant_prompt 参数的链接时,页面加载会自动提交并执行该提示,而非仅显示文本。
  • 攻击前置条件:受害者需登录 ChatGPT,拥有 Workspace Agents 访问权限,且至少配置了一个已授权的连接器(如 Outlook, Slack, Google Drive 等)。
  • 自动化部署流程:恶意提示词指示 Builder 使用“首席参谋”模板创建代理,自动附加所有现有连接器并将审批设置改为“Never ask”,随后发布代理、设置每小时调度以确保持久性,并立即调用 Preview Mode 执行初始任务。
  • 持久化与横向移动:一旦部署,代理通过监听特定主题行(以 "TASK" 开头)的邮件接收指令,执行任务后通过邮件回报结果。攻击者无需再次点击链接,只需发送邮件即可控制代理。
  • 危害扩展:代理可利用受害者身份在 Teams 等平台发送钓鱼链接,重定向至伪造的 Microsoft 登录页面以窃取凭证,从而扩大攻击范围至业务邮件欺诈(BEC)。

行业启示

  • 强化代理信任模型:AI 平台必须重新评估“用户意图”的信任假设,引入更严格的二次确认机制或沙箱环境,防止自动化操作绕过人工审核。
  • 连接器权限最小化:企业应严格审查和管理 AI 代理对第三方应用(如邮箱、云存储)的连接器权限,避免默认授予“永不询问”等高权限设置。
  • 关注 AI 基础设施安全:随着 AI 代理成为新的攻击载体,安全策略需从传统的网络防御扩展到对 AI 工作流、提示注入及代理行为的实时监控与审计。

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。

Agent Agent Security 安全