Hugging Face 警告网络攻击威胁开源 AI

让开放 AI 平台具有价值的那些特质——比如开放的门槛和丰富的数据——也可能让它们更容易遭受更多黑客攻击,Hugging Face 首席政策官兼战略高级副总裁 Irene Solaiman 在最近一期 Equity 播客节目中表示。
10 月对 OpenCode 的攻击是最新一例,该攻击针对用户的第三方 API 密钥,并造成了经济损失。在此之前,今年夏天还发生过一起事件:一个 OpenAI 智能体集群攻入了 Hugging Face,显然是在获取网络安全评估答案后试图掩盖其痕迹。
风险并不限于那些鼓励开放社区贡献的平台。周一,帮助开发者运行和训练开放 AI 模型的 AI 基础设施初创公司 Fireworks 披露,攻击者访问了部分客户的模型权重、数据集和账单信息。该公司在调查期间暂时禁用了部分自助式数据集功能。虽然这次攻击未必归因于 Fireworks 的开放性,但它凸显出 AI 基础设施提供商内部集中了多少有价值的信息。
“我担心会让开放社区成为攻击目标的那些东西,恰恰也是它的特别之处,”Solaiman 在 Equity 节目中表示。“我们必然是宽松的。我们希望那些没有机构隶属关系、在地下室里捣鼓的普通爱好者也能作出贡献。”
“你希望人们能够直接提交 pull request,让任何没有有效机构隶属关系的人都能作出贡献……但随后总有一些人把这件好事搞砸,”她在另一次对话中补充道。
这种宽松性并不是吸引攻击者的唯一因素。开放平台托管的丰富信息也使它们成为攻击目标。据 Solaiman 称,Hugging Face 之所以成为 OpenAI 智能体集群的诱惑目标,是因为它持有的评估数据集,而 OpenCode 在这次事件中的目标则来自其“诱人的第三方 API 密钥”。
Solaiman 在另一次对话中告诉 TechCrunch:“这些因素叠加,使我们成为主要目标。”她补充说,存在“在我们获得如此多公众支持的时候,开源却真的走向封闭的危险”。
近期,业内许多公司纷纷表态支持开放 AI 模型,包括 NVIDIA 的黄仁勋等重量级人物。而政府、企业和初创公司正越来越多地依赖开放模型进行构建。
那么,收缩实际上会是什么样子?理论上,这可能意味着限制谁可以上传模型或数据集、更严格的身份验证,或者在开发者访问某些功能之前对其进行额外审查。虽然这些举措可以保护平台免受攻击者侵害,但也可能让独立研究人员和爱好者更难参与此前他们本会受到欢迎的社区。
目前,Hugging Face 正试图避免走上这条路。Solaiman 表示,公司一直在加强监控工具以发现黑客攻击,同时也采取措施加以防范。但她指出,监控的维护成本可能很高,并非每个平台都负担得起。
Solaiman 说:“管理访问令牌是让那个智能体集群获得更好访问权限的部分原因,所以我们现在轮换它们的频率比过去高得多。”“我们现在还实施了更严格的网络管控。”
换句话说,那些让管理员广泛访问 Hugging Face 系统的凭证现在更换得更频繁了,这意味着被盗的 Token 可被利用的时间会更短。
开源生态的其他部分也在应对类似的安全权衡。GitHub 是全球最大的开源项目托管平台,它一直在抵御那些向项目注入恶意代码以快速传播恶意软件的攻击者。该公司开始收紧向 npm registry 发布软件包的安全要求,吊销较旧的认证 Token,并限制新 Token 的有效期。
GitHub 负责软件供应链安全的工程师 Zach Steindler 通过电子邮件告诉 TechCrunch,虽然安全措施可能打乱既有的工作流程,但平台可以在不从根本上限制参与的前提下变得更为安全。
“与其说是在限制功能,不如说是去修复那些原本就不安全的东西,”Steindler 说。他指出,npm 的 install 脚本已存在多年,但近期的攻击凸显了它们可能有多危险。GitHub 与 OpenJS 合作探索更安全的方案,后者是一家托管用 JavaScript 构建的关键开源项目的非营利组织。
Steindler 认为,同样的逻辑也适用于安全团队把精力投向何处:“安全的关键在于用我们手中的资源实现最大效果,而我更愿意投入于检测可疑行为和遏制能力:即覆盖所有账号和访问方式的手段。无论行为主体是谁,可疑行为就是可疑行为。”
当你通过我们文章中的链接进行购买时,我们可能会赚取少量佣金。这不会影响我们的编辑独立性。
Rebecca Bellan 是 TechCrunch 的资深记者,负责报道塑造人工智能的商业、政策及新兴趋势。她的作品还曾发表于 Forbes、Bloomberg、The Atlantic、The Daily Beast 等刊物。
你可以通过发送邮件至 [email protected],或通过 Signal 上的加密消息(账号:rebeccabellan.491)联系 Rebecca,或核实其联系的真实性。
正在加载下一篇文章
译文由英文原文机器翻译,术语按行业惯例统一,可在文末展开原文核对。
查看英文原文(Cyberattacks threaten to make open-source AI a little less open, Hugging Face exec warns)
The very qualities that make open AI platforms valuable, like open doors and rich data, might also make them vulnerable to more hacks, Irene Solaiman, chief policy officer and SVP of strategy at Hugging Face said on a recent episode of the Equity podcast.
The October attack on OpenCode, which targeted users’ third-party API keys and caused financial damage, is the latest example. It follows an incident this summer in which an OpenAI agent swarm breached Hugging Face in an apparent attempt to cover its tracks after accessing answers to cybersecurity evaluations.
The risks aren’t limited to platforms that invite open community contributions. On Monday, AI infrastructure startup Fireworks, which helps developers run and train open AI models, disclosed that attackers had accessed some customers’ model weights, datasets, and billing information. The company temporarily disabled certain self-service dataset functions as it investigates. While the attack isn’t necessarily due to Fireworks’ openness, it highlights how much valuable information is concentrated within AI infrastructure providers.
“The things I worry about making an open community targeted are also what makes it special,” Solaiman said on Equity. “We are necessarily permissive. We want the average hobbyist in their basement who doesn’t have an institutional affiliation to be able to contribute.”
“You want people to be able to just submit pull requests and allow anybody without a valid affiliation to contribute…but then you have some losers who ruin it for the rest,” she added in a separate conversation.
That permissiveness isn’t the only thing drawing attackers. The wealth of information open platforms host also make them targets. Hugging Face became a temptation for OpenAI’s agent swarm because of the evaluation datasets it holds, whereas OpenCode’s target in this case came from its “juicy third-party API keys,” per Solaiman.
“The combination of that makes us prime targets,” Solaiman told TechCrunch in a separate conversation. She added that there’s a “danger of open source really closing down at a time when we’ve gotten so much public support.”
Much of the industry has come out recently in support of open AI models, including heavy hitters like Nvidia’s Jensen Huang. And increasingly, governments, enterprises and startups are relying on open models to build.
So what would a pullback actually look like? It could theoretically mean restrictions on who can upload models or datasets, more stringent identity verification, or additional vetting of developers before they can access certain features. While these moves could protect platforms from attackers, it could also make it more difficult for independent researchers and hobbyists to participate in communities they would have been welcomed in before.
For now, Hugging Face is trying to avoid that route. Solaiman said the company has been beefing up monitoring tools to catch hacks, as well as taking steps to prevent them. But monitoring can be expensive to maintain, she noted, and not every platform will be able to afford it.
“Administrative access tokens were part of what gave that agent swarm better access, so we just rotate them a lot more frequently than we used to,” Solaiman said. “We also now have stricter network controls.”
In other words, the credentials that give admins broad access to Hugging Face’s systems now get changed more often, which means a stolen token would be useful for less time.
Other parts of the open source ecosystem are dealing with similar security-related tradeoffs. GitHub, the world’s largest host for open-source projects, has been fighting off attackers who inject malicious code into projects to quickly spread malware. The company began tightening security requirements for publishing packages to the npm registry, revoking older authentication tokens, and limiting how long new ones remain valid.
Zach Steindler, an engineer at GitHub who handles software supply chain security, told TechCrunch via email that while security measures can disrupt established workflows, the platforms can become more secure without fundamentally restricting participation.
“It’s less about limiting functionality and more about going and fixing things that weren’t secure in the first place,” Steindler said. He noted that npm install scripts have existed for years, but recent attacks highlighted how dangerous they could be. GitHub worked with OpenJS — a nonprofit that hosts critical open-source projects built with JavaScript — on a safer approach.
The same logic applies to where security teams put their effort, per Steindler: “Security is all about maximizing impact with the resources we have, and I would much rather invest in detecting suspicious behavior and containment capabilities: things that cover all accounts and access methods. Suspicious behavior is suspicious regardless of who is exhibiting it.”
When you purchase through links in our articles, we may earn a small commission. This doesn’t affect our editorial independence.

Rebecca Bellan is a senior reporter at TechCrunch where she covers the business, policy, and emerging trends shaping artificial intelligence. Her work has also appeared in Forbes, Bloomberg, The Atlantic, The Daily Beast, and other publications.
You can contact or verify outreach from Rebecca by emailing [email protected] or via encrypted message at rebeccabellan.491 on Signal.
Loading the next article
原文为英文,正文由自动抓取并保留原文。
原文发布于 TechCrunch AI(Cyberattacks threaten to make open-source AI a little less open, Hugging Face exec warns),标题、摘要与正文由机器翻译,术语按行业惯例统一,未经人工逐句校订。