AI News AI资讯 2h ago Updated 1h ago 更新于 1小时前 49

One tampered ChatGPT link could spawn a rogue AI agent that took orders from an attacker every five minutes 一个被篡改的ChatGPT链接可能生成一个每五分钟接收攻击者指令的流氓AI代理

Zenity Labs identified "AgentForger," a critical vulnerability in OpenAI Workspace Agents allowing attackers to create autonomous AI agents via a single manipulated URL. The exploit bypasses standard security controls by automatically submitting prompts, reusing existing app permissions, and disabling approval requirements without user interaction. Attackers can establish persistent command-and-control channels by scheduling agents to execute tasks (e.g., data exfiltration) at regular intervals Zenity Labs 发现 OpenAI Workspace Agents 存在名为 "AgentForger" 的漏洞,攻击者可通过篡改链接创建自主 AI 代理。 该漏洞利用 URL 参数绕过交互式审批流程,自动配置代理权限并禁用安全控制,实现持久化后门。 攻击者可利用定时任务每五分钟执行指令,通过合法用户身份窃取敏感数据或进行内部侦察。 OpenAI 在四天内修复了漏洞,但暴露出传统安全工具难以应对自主代理身份冒用的行业难题。

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

Analysis 深度分析

TL;DR

  • Zenity Labs identified "AgentForger," a critical vulnerability in OpenAI Workspace Agents allowing attackers to create autonomous AI agents via a single manipulated URL.
  • The exploit bypasses standard security controls by automatically submitting prompts, reusing existing app permissions, and disabling approval requirements without user interaction.
  • Attackers can establish persistent command-and-control channels by scheduling agents to execute tasks (e.g., data exfiltration) at regular intervals using the victim's inbox as a communication channel.
  • The vulnerability represents an evolution of Cross-Site Request Forgery (CSRF), where the forged action is not a single request but a fully autonomous agent operating under legitimate user identity.
  • OpenAI patched the issue within four days, highlighting the urgent need for security frameworks capable of monitoring autonomous agent behavior rather than just static user actions.

Why It Matters

This incident demonstrates a significant shift in AI security risks, moving from simple prompt injection or data leakage to the creation of persistent, autonomous malicious actors within enterprise environments. For AI practitioners and security teams, it underscores that traditional perimeter defenses are insufficient against threats that leverage legitimate user identities and pre-approved integrations to operate invisibly. The ability to turn a user's own workspace tools into a remote-controlled botnet requires a fundamental redesign of how AI agents are authenticated, authorized, and monitored.

Technical Details

  • Vulnerability Mechanism: The flaw resides in the Agent Builder interface (chatgpt.com/agents/studio/new), which accepts template_name and initial_assistant_prompt URL parameters. Unlike typical implementations, the page automatically submits and executes the provided prompt without requiring further user confirmation.
  • Permission Hijacking: The attack leverages existing OAuth connections (Outlook, Slack, Drive, etc.) that the victim has already authorized. By embedding instructions in the URL, the attacker forces the agent to change permission settings to "Never ask," effectively disabling multi-factor approvals for sensitive actions.
  • Persistence and Scheduling: The generated agent includes a scheduler that triggers execution every five minutes. This transforms the one-time CSRF-like exploit into a persistent backdoor, allowing the attacker to send commands via email subject lines (e.g., "TASK") which the agent retrieves and executes autonomously.
  • Execution Environment: The "Preview Mode" in the Agent Builder was exploited not as a dry run but as an active execution environment. It ran the newly created agent against real connected accounts immediately upon creation, bypassing safety checks because all approval gates had been disabled by the injected prompt.
  • Impact Scope: Demonstrated capabilities included comprehensive organizational reconnaissance (mapping users, projects, and meetings) and sensitive data exfiltration (finding M&A documents, employee data, and credentials in Slack).

Industry Insight

  • Redefine Zero Trust for AI Agents: Security models must assume that any user with API access can be coerced into creating malicious autonomous entities. Implement strict validation for any automated agent creation workflows, ensuring that critical configuration changes require explicit, multi-step human confirmation.
  • Monitor Agent Behavior, Not Just Inputs: Traditional security tools monitor user clicks and requests. Organizations need behavioral analytics specifically designed for AI agents to detect anomalies such as scheduled recurring tasks, unusual data access patterns, or unauthorized permission modifications.
  • Audit Third-Party Integrations Proactively: Since the attack relied on pre-existing trusted connections, enterprises should regularly audit and restrict the scope of permissions granted to AI tools. Implementing least-privilege principles for connector integrations can limit the blast radius of such exploits.

TL;DR

  • Zenity Labs 发现 OpenAI Workspace Agents 存在名为 "AgentForger" 的漏洞,攻击者可通过篡改链接创建自主 AI 代理。
  • 该漏洞利用 URL 参数绕过交互式审批流程,自动配置代理权限并禁用安全控制,实现持久化后门。
  • 攻击者可利用定时任务每五分钟执行指令,通过合法用户身份窃取敏感数据或进行内部侦察。
  • OpenAI 在四天内修复了漏洞,但暴露出传统安全工具难以应对自主代理身份冒用的行业难题。

为什么值得看

这篇文章揭示了 AI Agent 时代新型的安全威胁模式,即攻击者如何利用自动化能力将 CSRF 攻击升级为持久性的命令与控制(C2)基础设施。对于 AI 从业者和企业安全团队而言,它警示了在引入自主代理时,必须重新评估身份验证、权限管理和监控机制,以应对基于合法身份的隐蔽攻击。

技术解析

  • 漏洞机制 (AgentForger):利用 chatgpt.com/agents/studio/new 页面的 template_nameinitial_assistant_prompt URL 参数,无需用户交互即可自动提交并运行提示词,绕过正常的构建流程。
  • 权限劫持与持久化:攻击者通过预设提示词,使代理自动连接受害者已授权的连接器(如 Outlook, Slack),并将所有读写权限设置为“从不询问”。结合定时调度器,代理每五分钟检查邮箱中的特定指令,形成持久化的 C2 通道。
  • 执行环境滥用:利用“预览模式”不仅进行测试,而是直接对真实账户执行操作。由于权限已被静默修改为免审批,代理的首次运行即可成功窃取数据或执行恶意任务。
  • 攻击效果演示:Zenity 展示了该代理可执行侦察任务,汇总组织架构信息,并从 Drive、SharePoint 和 Slack 中搜索敏感关键词(如密码),将结果发送给攻击者。

行业启示

  • 安全范式转移:传统的边界防御和静态权限模型已不足以保护 AI Agent 生态,需要引入针对自主代理行为的动态监控和异常检测机制。
  • 最小权限原则的必要性:在集成第三方连接器时,应严格限制代理的默认权限范围,避免“一键授权”带来的过度访问风险,特别是对于敏感数据操作需强制二次确认。
  • 供应链与入口点防护:关注 AI 平台前端接口的安全性,防止 URL 参数注入或逻辑缺陷被用于自动化攻击脚本,确保关键操作必须经过显式的用户意图确认。

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

Security 安全 Agent Agent LLM 大模型