OpenRouter在研究人员发现AI托管公司长达数月的提示词窃取行为后,下架了3家供应商
作者:Swati Khandelwal 日期:2026年11月22日
人工智能 / 数据泄露
工业网络安全公司Dragos本周表示,攻击者在长达数月的时间里从三家AI推理提供商内部窃取了数据,而这三家提供商直到研究人员告知后才得知此事。
部分被窃取的请求被标记为“零数据保留”(Zero Data Retention),该设置本意是确保提示词永远不会被存储。
作为将客户AI请求路由到第三方供应商池的网关,OpenRouter今日宣布已从平台移除三家供应商,取消125个端点参与“零数据保留”计划的资格,并通知了所有可能受影响的客户。该公司表示,调查结果未显示OpenRouter本身发生数据泄露。
这三起泄露事件中最早的一起始于7月中旬。植入的提示词是诱饵,但它们与真实的客户请求一起被处理,而这些真实请求几乎肯定也被复制了,该公司称。
这一发现源于“金丝雀令牌”(canary token)研究,该研究在7月至11月期间向约200万个提示词植入了唯一的网络链接和凭据,然后监控是否有人使用它们。植入的秘密只能在唯一的地方被获知,因此任何使用该秘密的行为都意味着有人读取了携带该秘密的提示词。
三起泄露事件中最大的一起涉及数百个AWS密钥的植入,每个密钥在10月下旬的几个短暂窗口期内,仅向一家供应商发送一次请求。在这些窗口期内发送的所有请求都被窃取,其中一些来自提供商在模型运行前就已拒绝的请求,这表明攻击者是在流量到达的最初阶段复制流量,而非深入推理栈内部。
在某些情况下,窃贼在几小时内测试了密钥,列出了S3存储桶,搜索了Secrets Manager和Parameter Store,并尝试创建Bedrock API密钥以及添加IAM用户以维持访问权限,从而驱动了数以万计的AWS API调用。
一名攻击者似乎同时入侵了两家提供商,利用来自这两家提供商的秘密信息,从一台租用的服务器进行操作。
11月1日,同一名攻击者引入了ARTEX——一个由AI驱动的渗透测试框架,并仅用它来确认其已持有的密钥仍然有效。它的两个用户代理artex-agent和artex-judge-r121出现在该公司能找到的任何公开指标列表之外,值得加入检测名单。
“当攻击者已经身处内部时,隐私标志毫无帮助。”该公司的首席研究官HD Moore写道。
第二项发现无需入侵即可实现。研究人员发现,AI推理市场上的卖家以最低价格列出模型,启用请求日志记录,并收集流经的数据。
从事这些活动的人看起来像是使用家庭互联网连接的个体。其中一人从法国通过家庭宽带在Mac上工作,从两个提示词中获取密码,手动输入根SSH登录尝试,然后使用同一台机器测试几个植入的AWS密钥。
其中一个密钥曾经过另一条路由器,该路由器悄悄地将部分流量转发给市场,而这一跳接过程未告知任何客户。该路由器随后告知该公司已停止此行为,通过对约2,000条路径的路由追踪发现了数百个未识别的系统,以及一名卖家悄悄地向每个提示词添加约1,000个隐藏令牌。
一家中国AI实验室(研究未具名)在7月至10月期间,从发送给它模型的已植入提示词中超过一半获取了秘密链接,其中包括标记为“不收集数据”或“零数据保留”的请求的约三分之二。发送给转售该实验室模型的美国托管提供商的提示词触发了相同的抓取程序,从而流回该实验室。
后来,另一家云服务商上的一个 Git 客户端尝试克隆提示词中引用的私有仓库,但仅针对该实验室的模型进行克隆;而一家大型美国提供商在向其搜索端点发出单次请求两个多月后,仍在爬取一个秘密链接。
在一个提示词发送后的第24天,其秘密链接被发布到了飞书(Feishu)的一个聊天中,飞书在海外被称为 Lark。该链接在两分钟内被北京和上海三台台式机和三部手机打开。
该公司仅披露了提供商链接的前8个字符,因此发布该链接的人正在阅读完整提示词的缓存副本。
实际上,摩尔写道,这些被标记的提示词被保留下来,传递给其他公司,并由人类阅读。
OpenRouter 在事件公告中表示,从“零数据保留”资格中移除的125个端点涵盖了研究人员标记的提供商以及作为预防措施而切断的其他提供商。任何在审查期间被移除的端点在恢复其状态之前都需要提供保证和验证。
该网关正在调整研究人员的测试方法,以便检查可以持续运行,并正在验证网络路径,以确定请求和响应可能被转发给第三方的位置。
研究人员目前正与约12家提供商合作,截至本周,植入的密钥和秘密链接在首次被盗数月后仍被访问。
平台公司 Railway 在10月表示,其遭受的网络入侵可能是针对平台公司的一系列攻击的一部分,最终目标是破坏 AI 推理提供商。
该网关表示,并非所有受影响的提供商都公开了信息,但它已无论如何通知了受影响的用户。其中三家已公开披露。
提供商披露了什么
Phala 提供商在上周的一份初步事件报告中称,一名攻击者控制了其推理服务器,并能够在处理过程中查看请求数据。该事件已于11月8日得到控制,模型服务已在增加保护措施后恢复。
报告称,在10月21日00:00 UTC至11月8日05:35 UTC期间通过网关到达 Phala 的 DeepSeek V4 Flash 0731 模型的请求应被视为已暴露,其中的每个密钥、令牌、密码或其他秘密都应轮换。
自7月1日以来,一名第三方研究人员一直在请求中放置独特的金丝雀凭证,只有10月21日和22日发送的那些后来被滥用。这些测试是对流量进行采样而非监控每一个请求,因此该提供商维持更广泛的预防性窗口。
Together AI 昨天在一份安全通知中表示,在一次 AI 编码代理将凭证提交到公司公开 GitHub 仓库后,未经授权的一方下载了存储的客户提示词样本。这些样本是为常规软件测试而收集的,由6月和7月对 MiniMax M3、GLM-5.2 和 Kimi K2.6 模型的请求生成。
该方在样本中搜索其他服务的凭证并进行测试,其中五个被测试的凭证来自研究人员的实验。该公司表示没有理由相信数据进一步泄露,确认其已被删除,并已将零数据保留设为新账户的默认设置。
网关上的另一家提供商 Novita 本周在一份隐私通知中确认,路由配置问题导致部分 MiniMax 请求被发送到 MiniMax 的官方 API,超出了这些客户的预期范围。
Dragos 未命名三家被入侵的提供商,OpenRouter 也未命名其移除的三家提供商,且双方均未公开说明它们是否为相同的三家。
研究人员表示,7月中旬那场数据泄露事件的幕后提供商最初将其归咎于内部配置错误,随后又推脱是合作伙伴的数据处理问题,直到其自身调查发现攻击者已窃取了其内部凭证。截至本周,该事件仍未向公众披露。
用户应采取的措施
研究人员给出的建议基于一个前提:隐私标志仅绑定第一跳,摩尔写道,AI代理会发送它们能读取的任何内容,包括凭证。他指出,提示词发送至何处是一个选择,而不做选择的客户会将这一选择权交给最低报价者。
自托管是唯一没有任何第三方读取提示词的选项,而直接面向一级提供商则只需审查一家公司、一份合同和一项隐私政策。
路由器需要更加谨慎:自行选择上游提供商,而不是接受默认池;验证隐私设置是否确实改变了请求的发送路径;并远离转售市场,其中部分容量可能运行在被窃取的密钥之上。
在代理和管道已发送的上下文中植入虚假凭证可作为触发器,如果任何使用行为被视为安全事件,那么一个免费的Thinkst Canarytoken就足以启动检测。从提示词中清除已知凭证格式的设置也有帮助,尽管它们无法捕获那些不以密钥形式呈现的敏感数据。
觉得这篇文章有趣?在Google News、Twitter和LinkedIn上关注我们,阅读我们发布的更多独家内容。
分享
推文
分享
分享
分享
⚡ 本周头条新闻
劫持的Optimizely脚本向CNN、BBC和Zoom访客提供卡片窃取程序和iOS利用工具包
F5警告6个关键BIG-IP漏洞在特定设置下可导致流量崩溃,并可能允许远程代码执行
通往SOC AI自主性的路径
Web应用AI渗透测试清单:选择供应商前需问的15个问题
研究人员演示影响PostgreSQL、MySQL和Oracle的数据库远程代码执行利用
Linux KVM漏洞CVE-2026-99312使客户机虚拟机可在AMD主机上访问宿主机内存
⚡ 每周回顾:N-able零日漏洞、Windows零日漏洞、Chrome零日漏洞、冰箱系统零日漏洞及更多糟糕的一天
Java4Shell漏洞(CVE-2026-114938)在Jira、Jenkins、Keycloak等系统中启用预认证远程代码执行
加载更多 ▼
⭐ 精选资源
您应该首先修复哪些漏洞?获取Gartner的四因素优先级排序研究
下载2026年AI安全运营报告:AI如何交付真正的SOC价值
在SANS CDI 2026上构建威胁狩猎、事件响应和恶意软件分析的实用技能
了解Token Security如何识别AI代理并优先处理身份风险——预约演示
OpenRouter Drops 3 Providers After Researchers Catch Months of Prompt Theft at AI Hosting Firms
Swati KhandelwalNov 22, 2026
Artificial Intelligence / Data Breach
Attackers stole data from inside three AI inference providers for months, and none of the three knew until researchers told them, the industrial cybersecurity company Dragos said this week.
Some of the stolen requests were flagged as Zero Data Retention, the setting that is supposed to mean a prompt is never stored.
OpenRouter, a gateway that routes customers' AI requests to a pool of third-party providers, said today that it has removed three providers from its platform, removed 125 endpoints from eligibility for Zero Data Retention, and notified all potentially affected customers. The findings showed no breach of OpenRouter itself, the company said.
The earliest of the three breaches began in mid-July. The planted prompts were bait, but they were processed alongside real customer requests, and those were almost certainly copied too, the firm said.
The finding comes from canary token research that seeded about two million prompts with unique web links and credentials between July and November, then watched for anyone using them. A planted secret can only be learned in one place, so any use of it means someone read the prompt that carried it.
The largest of the three breaches involved a couple hundred AWS keys that were planted, each sent in exactly one request to one provider during a few short windows in late October. Every request sent during those windows was stolen, and some came from requests the provider had rejected before a model ever ran, indicating the attacker was copying traffic at the first point of arrival rather than deeper in the inference stack.
The thief tested keys within hours in some cases, listed S3 buckets, searched Secrets Manager and Parameter Store, and tried to create Bedrock API keys and add IAM users to keep access, driving tens of thousands of AWS API calls.
One attacker appears to have compromised two of the providers at once, using secrets from both from a single rented server.
On November 1, the same attacker brought in ARTEX, an AI-driven penetration testing framework, and used it only to confirm that keys it already held were still live. Two of its user agents, artex-agent and artex-judge-r121, appear in no public indicator list the firm could find and are worth adding to detections.
"A privacy flag doesn't help when the attacker is already inside," wrote HD Moore, the firm's chief research officer.
The second finding needed no break-in. Sellers on an AI inference marketplace listed models at the lowest prices, enabled request logging, and collected what flowed through, the research found.
The people doing it looked like individuals on home internet connections. One, working from a Mac on home broadband in France, took passwords from two prompts and typed root SSH login attempts by hand, then used the same machine to test several planted AWS keys.
One of those keys had traveled through a different router that quietly forwarded some of its traffic to the marketplace, a hop that no customer was told about. That router has since told the firm it stopped, and route tracing across about 2,000 paths found several hundred unidentified systems, plus one seller that quietly adds about 1,000 hidden tokens to every prompt.
A Chinese AI lab, which the research does not name, fetched the secret links from more than half of the seeded prompts sent to its models between July and October, including about two-thirds of the requests marked no data collection or Zero Data Retention. Prompts sent to U.S. hosting providers that resell the lab's models triggered the same scraper, thereby flowing back to the lab.
A git client on another cloud later tried to clone private repositories referenced in the prompts, but only for that lab's models, and one large U.S. provider kept crawling a secret link more than two months after a single request to its search endpoint.
Twenty-four days after one prompt was sent, its secret link was posted into a chat on Feishu, the Chinese workplace app known as Lark elsewhere. The link was opened within two minutes from three desktops and three phones in Beijing and Shanghai.
The firm had disclosed only the first 8 characters of the provider's link, so whoever posted it was reading a cached copy of the full prompt.
In practice, Moore wrote, the flagged prompts were kept, passed to other companies, and read by human beings.
OpenRouter said in an incident announcement that the 125 endpoints removed from Zero Data Retention eligibility cover providers flagged by the researchers plus others cut as a precaution. Any endpoint removed during the review will require assurances and validation before its status is returned.
The gateway is adapting the researchers' testing approach so that the checks can run on an ongoing basis and is verifying network paths to identify where requests and responses may be forwarded to third parties.
The researchers are now working with about a dozen providers, and planted keys and secret links were still being accessed months after the first thefts, as of this week.
Railway, a platform company, said in October that an intrusion it suffered was likely part of a series of attacks built to target platform companies with the end goal of compromising AI inference providers.
Not all affected providers have posted publicly, the gateway said, and it has notified affected users either way. Three have posted.
What the Providers Have Disclosed
An attacker took control of an inference server at Phala and could view request data while it was being processed, the provider said in a preliminary incident report last week. The incident was contained on November 8, and the model service has been restored with added protections.
Requests to the DeepSeek V4 Flash 0731 model that reached Phala through the gateway between October 21 at 00:00 UTC and November 8 at 05:35 UTC should be treated as exposed, the report says, and every key, token, password, or other secret within them should be rotated.
A third-party researcher had been placing unique canary credentials in requests since July 1, and only the ones sent on October 21 and 22 were later misused. Those tests sampled traffic rather than monitoring every request, so the provider maintains the broader precautionary window.
At Together AI, an unauthorized party downloaded stored samples of customer prompts after an AI coding agent committed a credential to the company's public GitHub repository, the company said yesterday in a security notice. The samples had been collected for routine software testing and were generated by requests to the MiniMax M3, GLM-5.2, and Kimi K2.6 models in June and July.
The party searched the samples for credentials to other services and tested them, and five of the tested credentials were canaries from the researchers' experiment. The company said it has no reason to believe the data went further, understands it has been deleted, and has made zero data retention the default for new accounts.
Novita, another provider on the gateway, confirmed this week in a privacy notice that a routing configuration issue caused some MiniMax requests to be sent on to MiniMax's official API, beyond what was intended for those customers.
Dragos has not named the three breached providers, OpenRouter has not named the three it removed, and neither has said publicly whether they are the same three.
The provider behind the mid-July breach first blamed an internal misconfiguration, then a partner's data processing, before its own investigation found that attackers had compromised its internal credentials, the researchers said. It had still not disclosed the incident publicly as of this week.
What Users Should Do
The researchers' advice starts from one limit: a privacy flag binds only the first hop, Moore wrote, and AI agents will send whatever they can read, credentials included. Where a prompt goes is a choice, he wrote, and a customer who does not choose hands the choice to the lowest price.
Self-hosting is the only option in which no third party reads a prompt, and going directly to a first-tier provider leaves one company, one contract, and one privacy policy to check.
Routers need more care: pick the upstream providers yourself instead of accepting the default pool, verify that privacy settings actually change where requests go, and stay away from reseller marketplaces, some of whose capacity runs on stolen keys.
A fake credential seeded into the context that agents and pipelines already send serves as a tripwire if any use of it is treated as an incident, and a free Thinkst Canarytoken is enough to get started. Settings that scrub known credential formats from prompts help too, though they miss sensitive data that is not shaped like a key.
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
Hijacked Optimizely Scripts Served Card Skimmer and iOS Exploit Kits to CNN, BBC and Zoom Visitors
F5 Warns 6 Critical BIG-IP Flaws Can Crash Traffic in Specific Setups, May Allow RCE
The Path to AI Autonomy in the SOC
AI Pentesting Checklist for Web Apps: 15 Questions to Ask Before Choosing a Vendor
Researcher Demonstrates Database RCE Exploits Affecting PostgreSQL, MySQL and Oracle
Linux KVM Flaw CVE-2026-99312 Lets Guest VMs Access Host Memory on AMD Hosts
⚡ Weekly Recap: N-able 0-Days, Windows 0-Days, Chrome 0-Days, Fridge 0-Days, and More Bad Days
Java4Shell Flaw (CVE-2026-114938) Enables Pre-Auth RCE in Jira, Jenkins, Keycloak and More
LOAD MORE ▼
⭐ Featured Resources
Which Vulnerabilities Should You Fix First? Get Gartner’s 4-Factor Prioritization Research
Download the 2026 AI Security Operations Report: Where AI Delivers Real SOC Value
Build Practical Skills in Threat Hunting, Incident Response, and Malware Analysis at SANS CDI 2026
See How Token Security Identifies AI Agents and Prioritizes Identity Risks—Book a Demo
首次收录 · 2026-11-23 · 9.15 分