研究人员绕过ChatGPT锁定模式,无需用户交互即可窃取聊天记录
Ravie Lakshmanan2026年11月5日
漏洞 / AI安全
网络安全研究人员披露了一项现已修补的漏洞细节,该漏洞可能被利用以绕过OpenAI ChatGPT中的锁定模式(Lockdown Mode)保护。
锁定模式是这家人工智能(AI)公司于2026年6月推出的一项可选设置,旨在最大限度地减少由提示注入(prompt injections)引发的数据外泄风险。
Check Point研究主管Eli Smadja在向The Hacker News分享的报告中表示:“该缺陷可能导致无声的聊天数据窃取、网络钓鱼以及恶意软件投放,包括在ChatGPT桌面应用程序中实现零点击数据外泄。”
该问题源于ChatGPT代码块内的HTML页面预览,它允许HTML内容直接在应用程序内渲染。鉴于执行用户提供的HTML和JavaScript本身可能引入安全风险,该内容被放置在沙箱(sandbox)中,使其无法访问应用中的数据,如Cookie和本地存储。
沙箱还防止渲染后的内容与外部资源进行通信,除非获得用户同意。锁定模式充当安全屏障,通过限制可能被用于将敏感信息传输到攻击者控制的基础设施的外出网络请求,从而缓解数据外泄风险。
然而,Check Point发现HTML预览期间处理弹出窗口的方式存在一个漏洞,使得能够逃脱沙箱的限制并绕过锁定模式。
Smadja解释说:“HTML预览使用了嵌套的沙箱帧(sandboxed frames),虽然ChatGPT拦截了直接尝试打开新窗口的行为,但底层沙箱权限仍然允许弹出窗口,并允许它们逃脱沙箱。”
“通过在渲染页面内创建另一个嵌套帧,可以访问未经修改的弹出函数,从而绕过对原始HTML预览施加的限制。通过此途径打开的内容不再受相同沙箱限制的约束,从而提供了一种规避锁定模式保护的方法。”
一旦绕过限制,威胁行为者就可以利用该漏洞,通过精心构造的提示、恶意GPT或共享聊天记录来窃取数据、聊天消息或投放恶意负载。
此外,由于攻击者完全控制弹出窗口中显示的内容,它可以被用来呈现令人信服的社会工程学诱饵,例如伪造的ChatGPT更新,并通过说服受害者点击链接来诱骗其下载恶意软件。
话虽如此,根本问题并不局限于基于Electron的桌面环境,这突显了AI模型范围之外的弱点如何破坏AI安全控制。在负责任披露后,OpenAI于2026年9月18日解决了该漏洞。
Smadja表示:“锁定模式专门旨在减少数据通过潜在恶意外出请求离开对话的可能性,但另一个应用功能的弱点提供了绕过该安全边界的替代路径。”
“这一发现引发了更广泛的企业安全问题:AI安全控制强度仅与其周围更广泛的应用环境一样强。”
此次披露是在Parameter Labs详细阐述了一种绕过ChatGPT沙箱和内容安全策略(CSP)的方法一周后发生的,该方法只需发送攻击者控制的公共ChatGPT共享链接并提示受害者点击一次HTML预览即可接管任何人的账户。如果HTML块被标记为可预览,它会自动打开。
“攻击者可以创建恶意对话,利用 ChatGPT 的正常分享功能发布该对话,并将链接发送给其他用户,”安全研究员 Mukul Goyal 表示。“当受害者打开分享链接时,有效载荷会以 chatgpt[.]com 的身份执行,并访问受害者的已认证 Web 会话。”
今年9月早些时候,Check Point 还演示了一种隐蔽的跨账户命令通道,攻击者可以利用该通道使用受害者的 ChatGPT 会话来运行隐藏任务,这些任务利用了该会话可用的工具、数据和连接的应用程序,同时与可见对话并行进行。
“受害者可能会收到对其可见请求的正常回答,而攻击者的任务则在后台单独处理,其结果通过跨账户的方式返回,”Check Point 表示。“该通道通过属于不同 ChatGPT 账户的代码执行环境进行操作。”
“隐藏指令可以通过恶意提示、共享的 ChatGPT 对话或自定义 GPT 传递。一旦它存在于受害者的对话上下文中,一条普通消息即可触发由攻击者控制的任务,而不会在可见响应中暴露出来。”
这些发现与过去几个月来在各种 AI 驱动的工具和服务中发现的许多安全缺陷相吻合,这些缺陷旨在诱骗系统泄露机密或执行未经授权的操作——
一种名为 SkillJacking 的攻击,它劫持技能(仓库、包、域名或云应用)所使用的依赖项,以破坏每一个安装它们的智能体。一组与五个 AI 编码助手——Cursor、GitHub Copilot、OpenAI Codex、Microsoft Visual Studio Code 和 Anthropic Claude Desktop——相关的内置浏览器漏洞,可能被利用来在主机上执行代码、读取并窃取文件,或伪造浏览器地址栏。这些问题被命名为 Embrace,即 EMbedded BRowser - Arbitrary Code Execution, Arbitrary Content Exfiltration, and Arbitrary Context Emulation(嵌入式浏览器-任意代码执行、任意内容泄露和任意上下文模拟)的缩写。一种名为 Repeat-After-Me 的技术,针对 LangChain LangGraph、Microsoft Agent Framework、Microsoft AutoGen、Google Agent Development Kit 2.0、AWS Strands Agents 和 CrewAI,通过“看似无害的文本重复请求”诱骗它们运行工具调用。
一种名为 AgentCorruption 的漏洞,可能允许攻击者与在 AWS Bedrock AgentCore 上运行的暴露 AI 智能体进行交互,并利用提示注入技术影响该智能体并提取其 IMDS 凭据,然后利用这些凭据访问其他智能体、读取私密对话、窃取连接工具的凭据以及操纵智能体行为。SpaceXSI Grok 和 GitHub Copilot CLI 中存在一个名为 Cryptographic Context Injection(加密上下文注入)的漏洞,可通过间接提示注入从单个网页中读取开发者的本地文件并将其发送到外部服务器,该方法将恶意指令隐藏在 AES 加密文本中。一种名为 SalesBleed 的零点击漏洞,可利用 Web-to-Lead 表单植入间接提示注入有效载荷,从而从 Salesforce Agentforce 中提取敏感账户数据。一个名为 not-a-mused 的概念验证(PoC)攻击,允许无特权的本地攻击者(或进程)重定向 Meta Muse 的语音输入流量,并滥用授予 AI 助手的权限以执行任意操作。一种名为 Plugin4Shell 的零点击漏洞,可通过静默替换受信任插件为恶意插件并绕过 SHA 固定来实施 AI 供应链攻击。“智能体会检出市场固定的确切提交,但从不验证它是否确实位于该处,因此控制插件仓库的攻击者可以使检出版本解析为恶意代码,而固定值看起来仍然有效,”Air Security 表示。“结果是在 Claude Code、Codex、GitHub Copilot 和 Gemini CLI 上实现零点击远程代码执行。”
一种名为 BragJack 的攻击,可利用已安装的恶意浏览器扩展与提示强制相结合,劫持 Google Chrome、Microsoft Edge、Opera Neon、Perplexity Comet 以及 Anthropic Claude(在 Chrome 中)等内置 AI 智能体。一种称为采样漂移(sampling drift)的行为效应展示了向大语言模型(LLM)的输出添加不可见水印如何无意中改变模型的行为方式,包括 AI 智能体调用的工具,并可能削弱安全拒绝机制。“水印会改变对裸有害请求的拒绝行为,但当相同请求与提示注入技术结合使用时,这种效果更为明显,”Lasso Security 表示。“在几个模型上,水印使模型更有可能回答原本会被拒绝的有害请求。”
一组利用客户支持 AI 智能体编写和发送钓鱼邮件、调用工具调用并绕过多重身份验证(MFA)保护的攻击。一种名为 PuzzleMask 的提示构建技术,通过将恶意指令植入特殊撰写的散文包装中,绕过由轻量级守门员模型执行的基于 LLM 的快速策略检查,随后有效载荷由更强大的目标模型处理以触发恶意操作。
一种被称为“工作流身份劫持”(Workflow Identity Hijacking)的技术允许攻击者通过未经验证的入口点发送正常、无害的请求,从而绕过标准控制措施,导致企业AI管道处理该请求并按设计执行操作。Noma Security表示:“核心问题在于请求者没有权限发出该请求。”“当AI工作流执行下游操作时,它使用的是高权限的服务账户或开发人员API密钥,而不是强制执行外部用户的权限。因此,AI工作流变成了特权操作的未验证代理,以及静默数据泄露的工具。”
一类被称为PleaseFix的零点击漏洞类别,可通过在电子邮件、日历邀请或网页中植入恶意指令来利用,从而劫持嵌入在智能浏览器中的AI代理,并利用一种称为“意图冲突”(intent collision)的技术,使代理“以攻击者的名义使用用户自己的身份、权限和访问权限行事”。
一组影响Anthropic、Google和OpenAI的AI编码代理的漏洞,可能被用来诱骗它们交出受害者的密钥,通过修改AGENTS.md文件实现持久的指令投毒,并通过放置在不受信任的用户输入(如GitHub问题)中的提示注入来破坏软件发布。
Novee Security表示:“代理正成为CI/CD、消息传递、分诊、事件响应和支持的默认基础设施。”“它们越自主,由代理决定哪些内容对你来说是安全的这一机制就越重要,同时不受信任的输入也越容易到达实际执行环节。”
觉得这篇文章有趣?请在Google News、Twitter和LinkedIn上关注我们,阅读我们发布的更多独家内容。
SHARE
Tweet
Share
Share
Share
⚡ 本周头条新闻
PHP2Shell攻击根源波及25台服务器,入侵美国政府关联网络
GoAhead TLS缺陷允许已吊销的客户端证书并实现会话解密
16年历史的UEFI关键漏洞可在网络引导服务器的安全启动前运行代码
泄露的LiteLLM主密钥让攻击者窃取GitHub令牌并劫持发布管道
Wazuh与AI助力增强SOC工作流
Linux内核TCP缺陷(CVSS评分9.8)影响Ubuntu、Red Hat及其他发行版
未修补的Tailscale SSH缺陷可能让被黑设备在其他服务器上获取Root权限
Brotli解码器缺陷导致Node.js远程代码执行,也影响Bun、Python及其他广泛使用的软件
加载更多 ▼
⭐ 精选资源
了解Bitdefender GravityZone如何识别影子AI并优先处理终端风险
通过本实用指南评估组织在AI代码 sprawl中的暴露情况
超越CVE扫描:预约持续AI驱动的网络渗透测试演示
使用Corelight的开放NDP平台检测横向移动和规避攻击
Researchers Bypass ChatGPT Lockdown Mode to Exfiltrate Chats Without User Interaction
Ravie LakshmananNov 05, 2026
Vulnerability / AI Security
Cybersecurity researchers have disclosed details of a now-patched vulnerability that could be exploited to bypass Lockdown Mode protections in OpenAI ChatGPT.
Lockdown Mode was introduced by the artificial intelligence (AI) company in June 2026 as an optional setting to minimize data exfiltration risks arising from prompt injections.
"The flaw could enable silent chat data theft, phishing, and malware delivery, including zero-click data exfiltration in the ChatGPT desktop application," Eli Smadja, head of research at Check Point, said in a report shared with The Hacker News.
The problem stems from HTML page previews inside ChatGPT code blocks, which allow HTML content to be rendered directly within the application. Given that executing user-supplied HTML and JavaScript can introduce security risks of its own, the content is placed inside a sandbox so that it cannot access data from the app, such as cookies and local storage.
The sandbox also prevents the rendered content from communicating with external resources without user consent. Lockdown Mode acts as a security barrier, mitigating data exfiltration risk by limiting outbound network requests that could be used to transfer sensitive information to an attacker-controlled infrastructure.
However, Check Point found a loophole in the manner popup windows are handled during HTML previews that made it possible to escape the confines of the sandbox and bypass Lockdown Mode.
"The HTML preview used nested sandboxed frames, and while ChatGPT intercepted direct attempts to open new windows, the underlying sandbox permissions still allowed popups and permitted them to escape the sandbox," Smadja explained.
"By creating another nested frame within the rendered page, it was possible to access an unmodified popup function and bypass the restrictions placed on the original HTML preview. Content opened through this route was no longer subject to the same sandbox restrictions, providing a way to circumvent the protections of Lockdown Mode."
Once the restrictions are bypassed, a threat actor can exploit the vulnerability to exfiltrate data, chat messages, or deliver malicious payloads by means of a crafted prompt, a malicious GPT, or a shared chat.
What's more, as the attacker is in complete control of the content displayed in the popup window, it could be used to render convincing social-engineering lures, such as a fake ChatGPT update, and trick the victim into downloading malware by persuading them to click on a link.
That said, the underlying issue is not limited to the Electron-based desktop environment, highlighting how weakness outside of the scope of the AI model can undermine AI security controls. Following responsible disclosure, the vulnerability was addressed by OpenAI on September 18, 2026.
"Lockdown Mode was specifically intended to reduce the possibility of data leaving a conversation through potentially malicious outbound requests, yet a weakness in another application feature provided an alternative path around that security boundary," Smadja said.
"The finding raises a broader enterprise security issue: AI security controls are only as strong as the wider application environment around them."
The disclosure comes a week after Parameter Labs detailed a way to bypass ChatGPT's sandbox and content security policy (CSP) and take over anyone's account simply by sending an attacker-controlled public ChatGPT share link and prompting them to click the HTML preview once. If the HTML block is marked as previewable, it's opened automatically.
"An attacker could create a malicious conversation, publish it using ChatGPT's normal sharing feature, and send the link to another user," security researcher Mukul Goyal said. "When the victim opened the share, the payload executed as chatgpt[.]com with access to the victim's authenticated web session."
Earlier this September, Check Point also demonstrated a covert cross-account command channel through which an attacker could use a victim's ChatGPT session to run hidden tasks with the tools, data, and connected apps available to that session, alongside the visible conversation.
"The victim could receive a normal answer to their visible request while the attacker's task was processed separately and its result returned across accounts," Check Point said. "The channel operated through code-execution environments belonging to different ChatGPT accounts."
"The hidden instruction could be delivered through a malicious prompt, a shared ChatGPT conversation, or a custom GPT. Once it was present in the victim's conversation context, an ordinary message could trigger the attacker-controlled task without revealing it in the visible response."
The findings coincide with the discovery of a number of security shortcomings in various AI-driven tools and services over the past few months to trick them into spilling secrets or carrying out unauthorized actions -
An attack called SkillJacking that hijacks dependencies used by skills (repositories, packages, domains, or cloud apps) to compromise every agent installing them.
A set of vulnerabilities in built-in browsers associated with five AI coding assistants, Cursor, GitHub Copilot, OpenAI Codex, Microsoft Visual Studio Code, and Anthropic Claude Desktop that could be exploited to execute code on a host machine, read and steal files, or spoof web browser address bars. The issues have been codenamed Embrace, short for EMbedded BRowser - Arbitrary Code Execution, Arbitrary Content Exfiltration, and Arbitrary Context Emulation.
A technique called Repeat-After-Me that targets LangChain LangGraph, Microsoft Agent Framework, Microsoft AutoGen, Google Agent Development Kit 2.0, AWS Strands Agents, and CrewAI and tricks them into running tool calls by means of a "seemingly benign text-repetition request."
A vulnerability called AgentCorruption that could allow an attacker to interact with an exposed AI agent running on AWS Bedrock AgentCore and leverage prompt injection techniques to influence that agent and extract its IMDS credentials, and then use them to access other agents, read private conversations, steal connected-tool credentials, and manipulate agent behavior.
A vulnerability in SpaceXSI Grok and GitHub Copilot CLI called Cryptographic Context Injection that could be exploited to read a developer's local files and send them to an external server from a single web page via an indirect prompt injection, which hides malicious instructions inside AES-encrypted text.
A zero-click vulnerability called SalesBleed that could be exploited to extract sensitive account data out of Salesforce Agentforce by leveraging the Web-to-Lead form to plant an indirect prompt injection payload.
A proof-of-concept (PoC) attack called not-a-mused that allows an unprivileged local attacker (or process) to redirect Meta Muse's dictation traffic and abuse the permissions granted to the AI assistant to perform arbitrary actions.
A zero-click vulnerability called Plugin4Shell that could be exploited to conduct an AI supply chain attack by silently swapping a trusted plugin with a malicious one while bypassing SHA pinning. "The agent checks out the exact commit the marketplace pinned but never verifies it landed there, so an attacker who controls the plugin's repo makes the checkout resolve to malicious code while the pin still looks honored," Air Security said. "The result is zero-click remote code execution across Claude Code, Codex, GitHub Copilot, and Gemini CLI."
An attack called BragJack that can be exploited to hijack the AI agents built into browsers like Google Chrome, Microsoft Edge, Opera Neon, Perplexity Comet, and Anthropic Claude in Chrome by using an already installed malicious browser extension in conjunction with prompt forcing.
A behavioral effect called sampling drift demonstrates how adding an invisible watermark to a large language model's (LLM) output can unintentionally change how the model behaves, including the tools an AI agent invokes, and likely weaken safety refusals. "Watermarking changes refusal behavior on bare harmful requests, but the effect is more pronounced when the same requests are paired with the prompt-injection technique," Lasso Security said. "On several models, watermarking then makes the model more likely to answer harmful requests that it would otherwise refuse."
A set of attacks that exploit customer support AI agents to compose and send phishing emails, invoke tool calls, and bypass multi-factor authentication (MFA) protections.
A prompt-crafting technique called PuzzleMask that bypasses quick LLM-based policy checks carried out by a lightweight gatekeeper model by planting the malicious instruction in a specially crafted prose wrapper, after which the payload is processed by a more powerful target model to trigger malicious actions.
A technique called Workflow Identity Hijacking allows an attacker to bypass standard controls by sending normal, benign requests through an unauthenticated entry point, causing the enterprise AI pipeline to process the request and execute the action as designed. "The core failure is that the requester had no authority to make that request," Noma Security said. "When an AI workflow performs downstream actions, it executes using high-privilege service accounts or developer API keys rather than enforcing the permissions of the external user. As a result, AI workflows become unauthenticated proxies for privileged actions and silent data exfiltration."
A zero-click vulnerability class called PleaseFix that could be exploited to hijack AI agents embedded in agentic browsers by placing malicious instructions inside emails, calendar invitations, or web pages, and exploit a technique referred to as intent collision to cause the agent to "act on the attacker's behalf using the user's own identity, permissions and access."
A set of vulnerabilities impacting AI coding agents from Anthropic, Google, and OpenAI that could be exploited to trick them into handing over a victim's secrets, achieving persistent instruction poisoning by modifying the AGENTS.md file, and compromising software releases through prompt injections placed inside untrusted user inputs, like GitHub issues.
"Agents are becoming the default infrastructure across CI/CD, messaging, triage, incident response, and support," Novee Security said. "The more autonomous they get, the more the harness decides what's safe on your behalf, and the more untrusted input reaches real execution."
Found this article interesting? Follow us on Google News, Twitter and LinkedIn to read more exclusive content we post.
SHARE
Tweet
Share
Share
Share
⚡ Top Stories This Week
PHP2Shell Attack Roots 25 Servers, Breaches U.S. Government-Affiliated Network
GoAhead TLS Flaws Allow Revoked Client Certificates and Enable Session Decryption
Critical 16-Year-Old UEFI Flaw Can Run Code Before Secure Boot on Network-Booting Servers
Leaked LiteLLM Master Key Let Attackers Steal GitHub Tokens and Hijack Release Pipeline
Wazuh and AI for Enhanced SOC Workflows
Linux Kernel TCP Flaw With 9.8 CVSS Score Affects Ubuntu, Red Hat and Other Distributions
Unpatched Tailscale SSH Flaws Could Let a Hacked Device Reach Root on Other Servers
Brotli Decoder Flaw Behind Node.js RCE Also Affects Bun, Python and Other Widely Used Software
LOAD MORE ▼
⭐ Featured Resources
See How Bitdefender GravityZone Identifies Shadow AI and Prioritizes Endpoint Risks
Assess Your Organization's AI Code Sprawl Exposure With This Practical Guide
Beyond CVE Scanning: Book a Demo of Continuous AI-Powered Web Pentesting
Detect Lateral Movement and Evasive Attacks With Corelight's Open NDR Platform
首次收录 · 2026-11-06 · 9.68 分