Informa TechTarget
|
Cybersecurity Dive
InformationWeek
Channel Dive
TechTarget Cybersecurity
探索我们的品牌
Dark Reading 资源库
Black Hat News
Omdia Cybersecurity
广告合作
通讯订阅
网络安全主题
全球
边缘计算
DR Technology
活动
资源
端点安全
网络风险
远程劳动力
威胁情报
新闻
攻击者利用 Claude “Office Party”漏洞在 Linux 上运行恶意代码
攻击者可以通过创建一个 Anthropic AI 助手可以访问并在用户机器上运行的临时文件,来利用 Claude 文档处理工具中的缺陷。
Elizabeth Montalbano,特约撰稿人
2026年11月10日
4分钟阅读
来源:PORTRA VIA GETTY IMAGES
攻击者可以利用 Anthropic Claude 文档处理工具中的一个漏洞,仅通过创建一个 AI 助手可以访问的临时文件,就在 Linux 系统上运行恶意代码。这一缺陷凸显了即使是受信任的 AI 工具也可能在企业环境中引入安全差距的风险日益增长。
AIR Security 的研究人员发现了这一缺陷,他们将其命名为“Office Party”,该缺陷存在于 Anthropic 官方的 DOCX、PPTX 和 XLSX 技能中,这些是使 Claude 能够创建、读取、编辑和处理 Microsoft Word 文档、PowerPoint 演示文稿和 Excel 电子表格的工具。
他们在今天发布的一份报告中透露,该漏洞源于一个辅助脚本 soffice.py,它启动 LibreOffice 来转换文档,包括将 Word 文档呈现为 PDF。当该脚本遇到无法打开 Unix 域套接字的环境时,它会使用一种通过 Linux LD_PRELOAD 机制加载共享库的变通方法。
相关报道:Google 与合作伙伴破坏拥有 130 万台设备的 XCPE 僵尸网络
Anthropic 选择不修复此问题。
以用户权限执行攻击者代码
在对话过程中,该脚本会检查共享临时目录中是否已存在名为 lo_socket_shim.so 的库,但不会验证其来源或内容。如果攻击者能够在下一次文档处理操作之前在该位置放置恶意库,则可能使其代码在 LibreOffice 内加载并执行,并获得运行 AI 代理的用户的权限。
AIR Research Lab 联合创始人兼首席技术官(CTO)Niv Hoffman 在一封电子邮件采访中解释说,通过这种方式,该缺陷允许攻击者利用文档转换期间使用的未经验证的文件路径,在用户的 Linux 机器上执行恶意代码。
“攻击者将一个恶意文件放入许多程序使用的共享临时文件夹中,下次员工向 Claude 请求文档时,Anthropic 的受信任技能会加载该文件并运行它,”他告诉 Dark Reading。
通过 Claude 在 Linux 系统上的攻击工作原理
该漏洞影响 Unix 套接字被阻止的 Linux 环境,包括某些容器安全配置和 Claude Code 的沙箱。AIR Security 报告称,macOS 不受影响,因为它不通过 LD_PRELOAD 加载库。
AIR 研究人员展示了两种在 Linux 系统上工作的攻击方式。在一个场景中,他们在要求 Claude Code 生成文档之前手动将恶意库放置在临时目录中。在另一个场景中,他们使用一个单独的、看似合法的 AI 技能将支持文件解压缩到同一目录中。当文档处理技能随后运行时,恶意库被自动加载。
相关报道:“Aokigahara”窃取者针对“开发者密钥环”和 AI 助手
该缺陷对运行 Linux 的企业构成了严重问题,因为它利用了“所有 Claude 代理使用的默认技能——[共有]数亿个”,而一个植入的文件就可以让它们以员工自己的访问权限运行攻击者的代码,Hoffman 解释说。
这种第二种攻击场景令企业安全团队尤为担忧,因为它展示了看似无害的单个 AI 技能如何相互作用以形成攻击链。霍夫曼解释道:“而且,公司通常无法了解已安装了哪些技能和其他智能体插件,也没有一键撤销或修补漏洞组件的功能。”
此外,根据 AIR 研究人员所述,恶意或被攻陷的技能并不一定需要直接利用文档处理工具;它可能只需要放置一个文件,由其他受信任的组件执行即可。
Office Party 漏洞仍未解决
据报告称,AIR 团队于五月发现该漏洞并向 Anthropic 报告,后者承认了该漏洞的存在。然而,AIR 研究实验室的 Omri Saxena 和 Or Nevo 在报告中写道,该公司“认为这不在其安全边界之内,因为易受攻击的代码仅在沙箱内运行”。这意味着截至目前,辅助脚本仍使用相同的固定路径,并加载在该处找到的任何文件。
相关报道:BeyondTrust 远程支持零日漏洞继续呈现被利用的边缘漏洞趋势
霍夫曼表示,Anthropic 的回应“并不完全”令人满意,“因为即使技能在沙箱内运行,攻击者的代码随后也会以用户自己的权限在沙箱内运行,而用户的文件和工作内容就在那里。” Anthropic 尚未立即回复 Dark Reading 关于该公司是否会采取进一步措施来解决此问题的置评请求。
AIR 指出,对于部署 AI 智能体和编码辅助工具的企业而言,Office Party 事件强化了将 AI 技能视为软件依赖项而非受信任扩展程序的观点,并应如此对其进行保护。
霍夫曼表示,为了缓解风险,组织应确保“通过维护员工智能体中每个 AI 技能和插件的实时清单,确切了解组织正在使用 Claude Code 的哪些技能或插件”。他们还应该“像审查其他任何代码一样审查即使是官方的插件,并在发布新漏洞时更新或修补整个集合”。
关于作者
伊丽莎白·蒙巴尔巴诺
特约撰稿人
伊丽莎白·蒙巴尔巴诺是一位自由撰稿人、编辑和记者,拥有 30 年的专业经验以及亚利桑那州立大学的硕士学位。她的专业领域包括企业技术、网络安全、商业和文化。在漫长的职业生涯中,伊丽莎白曾在凤凰城、旧金山和纽约市担任全职记者。她专注于新闻报道和分析,利用多年的经验以批判性的视角审视网络安全的现状。她目前居住在葡萄牙西南海岸的一个村庄,在空闲时间,她喜欢冲浪、与狗一起徒步旅行、种植植物,以及作为歌手和音乐家进行表演。
希望更多 Dark Reading 的故事出现在您的 Google 搜索结果中?
立即添加我们
更多见解
行业报告
2026 年网络安全状况报告:弥合差距
自主端点管理的优势
云安全状况:最新挑战
组织如何管理事件响应
企业如何开发安全应用
获取更多研究
网络研讨会
LLM 安全架构:从头构建安全的 AI 系统
弹性架构:设计能够抵御被攻陷的系统
提示注入入门:它是什么以及如何保持领先
长尾即前线:降低前沿 AI 和第三方应用风险
如何利用您的安全运营数据进行企业防御
更多网络研讨会
您可能还喜欢
端点安全
谷歌 Gemini AI 面板中的漏洞为劫持敞开了大门
作者:Elizabeth Montalbano
2026年3月2日
端点安全
滑动、插接、被黑:研究人员发现黑客攻击汽车的新方法
作者:Robert Lemos
2026年1月23日
端点安全
两起独立活动探测企业大语言模型以窃取机密
作者:Elizabeth Montalbano
2026年1月12日
端点安全
浏览器扩展程序窃取800万用户的AI聊天机器人数据
作者:Elizabeth Montalbano
2025年12月16日
精选内容
查看 Black Hat USA 2026 大会指南,获取来自该展会以及关于该展会的报道和情报!
编辑精选
网络风险
9条真正契合当今威胁迷宫的网络意识建议
作者:Tara Seals
2026年11月3日
16分钟阅读
网络安全运营
投资者谈论新创公司以及他们接下来会支持哪些项目
作者:Arielle Waldman
2026年10月30日
5分钟阅读
网络风险
为何加勒比地区的威胁会级联至全球网络风险
作者:Marlon Cooper
2026年10月23日
4分钟阅读
Black Hat 2026 要点回顾
没能前往拉斯维加斯参加 Black Hat USA?我们追踪了最重要的发展动态。
立即获取您的回顾总结
2026年12月3日 | 虚拟活动
网络安全展望 2027
锁定您的席位
紧跟最新的网络安全威胁、新发现的漏洞、数据泄露信息以及新兴趋势。每日或每周直接发送至您的电子邮件收件箱。
订阅
2026年12月7-10日 | 伦敦
提供为期两天和四天的专业网络安全培训,涵盖所有技能水平的课程。使用代码:DARKREADING,您的通行证可享受9折优惠。
了解更多
2027年5月31日 – 6月2日 | 沙特阿拉伯
这一领先的网络安全会议与展览汇聚了来自世界各地的网络安全专业人士、尖端技术、解决方案提供商和决策者。
了解更多
希望更多 Dark Reading 的文章出现在您的 Google 搜索结果中?
发现更多内容
Black Hat
Omdia
与我们合作
关于我们
认识编辑团队
广告投放
重印许可
加入我们
新闻通讯注册
关注我们
版权所有 © 2026 TechTarget, Inc. d/b/a Informa TechTarget。本网站由 Informa TechTarget 拥有并运营,它是全球网络的一部分,旨在告知、影响并连接全球的科技买家和卖家。所有版权归其所有。Informa PLC 的注册办公室位于英国伦敦 SW1P 1WG Howick Place 5号。在英格兰和威尔士注册。TechTarget, Inc. 的注册办公室位于美国马萨诸塞州牛顿市 Grove St. 275号,邮编02466。
首页|
Cookie政策|
隐私权|
使用条款
您的隐私选择
Informa TechTarget
|
Cybersecurity Dive
InformationWeek
Channel Dive
TechTarget Cybersecurity
Explore our brands
Dark Reading Resource Library
Black Hat News
Omdia Cybersecurity
Advertise
NEWSLETTER SIGN-UP
Cybersecurity Topics
World
The Edge
DR Technology
Events
Resources
ENDPOINT SECURITY
CYBER RISK
REMOTE WORKFORCE
THREAT INTELLIGENCE
NEWS
Attackers Crash Claude's 'Office Party' Flaw to Run Malicious Code on Linux
Attackers can exploit a flaw in Claude's document-processing tool by creating a temporary file that Anthropic's AI assistant can access and run on a user's machine.
Elizabeth Montalbano,Contributing Writer
November 10, 2026
4 Min Read
SOURCE: PORTRA VIA GETTY IMAGES
An attacker can use a flaw in Anthropic Claude's document-processing tool to run malicious code on Linux systems just by creating a temporary file that the AI assistant can access. The flaw highlights a growing risk posed by even trusted AI tools to introduce security gaps in enterprise environments.
Researchers from AIR Security discovered the flaw, which they've dubbed "Office Party," in Anthropic's official DOCX, PPTX, and XLSX skills, which are tools that enable Claude to create, read, edit, and process Microsoft Word documents, PowerPoint presentations, and Excel spreadsheets, respectively.
The vulnerability stems from a helper script, soffice.py, that launches LibreOffice to convert documents, including rendering Word documents as PDFs, they revealed in a report published today. When the script encounters an environment where Unix-domain sockets cannot be opened, it uses a workaround that loads a shared library through the Linux LD_PRELOAD mechanism.
Related:Google, Partners Disrupt 1.3 Million-Device-Strong XCPE Botnet
Anthropic has opted not to fix the issue.
Executing Attacker Code With User Privileges
During conversation, the script checks whether a library named lo_socket_shim.so already exists in a shared temporary directory but does not verify its origin or contents. An attacker who can place a malicious library at that location before the next document-processing operation can potentially have their code loaded and executed within LibreOffice, with the privileges of the user running the AI agent.
In this way, the flaw can allow attackers to execute malicious code on a user's Linux machine by exploiting an unverified file path used during document conversion, explains Niv Hoffman, co-founder and chief technology officer (CTO) of AIR Research Lab, in an email interview.
"An attacker gets one malicious file into a shared temporary folder which many programs use, and the next time an employee asks Claude for a document, Anthropic's trusted skill loads that file and runs it," he tells Dark Reading.
How the Attack on Linux Systems Works via Claude
The vulnerability affects Linux environments where Unix sockets are blocked, including certain container security configurations, and Claude Code's sandbox. AIR Security reports that macOS is not affected because it does not load the library through LD_PRELOAD.
The AIR researchers demonstrated two ways the attack can work on Linux systems. In one scenario, they manually placed a malicious library in the temporary directory before asking Claude Code to generate a document. In another, they used a separate, seemingly legitimate AI skill to unpack a supporting file into the same directory. When the document-processing skill subsequently ran, the malicious library was loaded automatically.
Related:'Aokigahara' Stealer Targets 'Developer Keyrings' & AI Assistants
The flaw presents a serious issue for enterprises running Linux because it exploits "the default skills that all Claude agents use — [of which there are] hundreds of millions — and one planted file can make them run an attacker’s code with the employee's own access," Hoffman explains.
This second attack scenario is particularly concerning for enterprise security teams because it illustrates how individually benign-looking AI skills can interact to create an attack chain. And often, "companies don't have visibility to which skills and other agent add-ons they have installed, and don't have a red button to revoke or patch a vulnerable one," Hoffman explains.
Moreover, a malicious or compromised skill does not necessarily need to exploit the document-processing tool directly; it may simply need to place a file that another trusted component will execute, according to the AIR researchers.
Office Party Flaw Remains Unresolved
The AIR team discovered the flaw in May and reported it to Anthropic, which acknowledged its existence, according to the report. However, the AI company "considers it outside its security boundary, since the vulnerable code only runs inside a sandbox," AIR Research Lab's Omri Saxena and Or Nevo wrote in the report. This means that as of now, the helper script still uses the same fixed path and still loads whatever file it finds there, they said.
Related:BeyondTrust Remote Support Zero-Day Continues Trend of Exploited Edge Bugs
Hoffman says that Anthropic's response is "not quite" adequate, "because even if the skills run within a sandbox, the attacker’s code then runs inside it with the user's own permissions, where the user's files and work already are," he says. Anthropic did not immediately return Dark Reading's request for comment about whether the company would take any further action to remedy the issue.
For businesses deploying AI agents and coding assistants, Office Party reinforces the need to treat AI skills as software dependencies rather than trusted extensions, and secure them as such, according to AIR.
To mitigate, organizations should make it a point to know "exactly what skills or add-ons an organization is using with Claude Code by keeping a live inventory of every AI skill and add-on across employees' agents," Hoffman says. They also should "review even official ones like any other code, and update or patch the whole set whenever a new vulnerability is published."
About the Author
Elizabeth Montalbano
Contributing Writer
Elizabeth Montalbano is freelance writer, editor, and journalist with 30 years of professional experience and a master's degree from Arizona State University. Her areas of expertise include enterprise technology, cybersecurity, business, and culture. During her long career, Elizabeth has lived and worked as a full-time journalist in Phoenix, San Francisco, and New York City. She specializes in news coverage and analysis, using her years of experience to look at the current state of cybersecurity with a critical gaze. She currently resides in a village on the southwest coast of Portugal, where in her free time she enjoys surfing, hiking with her dogs, growing plants, and playing and performing as a singer and musician.
Want more Dark Reading stories in your Google search results?
ADD US NOW
More Insights
Industry Reports
2026 State of Cybersecurity Report: Bridging the Divide
The Autonomous Endpoint Management Advantage
The State of Cloud Security: The Latest Challenges
How Organizations Are Managing Incident Response
How Enterprises Are Developing Secure Applications
Access More Research
Webinars
LLM Security Architecture: Building Secure AI Systems from the Ground Up
Resilient Architecture: Designing Systems That Survive Compromise
Prompt Injection 101: What It Is and How to Stay Ahead
The Long Tail Is Now the Front Line: Reducing Frontier-AI & Third-Party App Risk
How to Harness your Security Operations Data for Enterprise Defense
More Webinars
You May Also Like
ENDPOINT SECURITY
Bug in Google's Gemini AI Panel Opens Door to Hijacking
by Elizabeth Montalbano
MAR 02, 2026
ENDPOINT SECURITY
Swipe, Plug-in, Pwned: Researchers Find New Ways to Hack Vehicles
by Robert Lemos
JAN 23, 2026
ENDPOINT SECURITY
2 Separate Campaigns Probe Corporate LLMs for Secrets
by Elizabeth Montalbano
JAN 12, 2026
ENDPOINT SECURITY
Browser Extension Harvests 8M Users' AI Chatbot Data
by Elizabeth Montalbano
DEC 16, 2025
Featured
Check out the Black Hat USA 2026 Conference Guide for coverage and intel from — and about — the show!
Editor's Choice
CYBER RISK
9 Cyber Awareness Tips That Actually Match Today's Maze of Threats
byTara Seals
NOV 3, 2026
16 MIN READ
CYBERSECURITY OPERATIONS
Investors Dish on New Startups & What They'd Back Next
byArielle Waldman
OCT 30, 2026
5 MIN READ
CYBER RISK
Why Caribbean Threats Cascade Into Global Cyber-Risk
byMarlon Cooper
OCT 23, 2026
4 MIN READ
Black Hat 2026 Takeaways
Couldn’t make it to Las Vegas for Black Hat USA? We tracked the developments that matter most.
Get Your Recap Today
DECEMBER 3, 2026 | VIRTUAL
Cybersecurity Outlook 2027
SECURE YOUR SPOT
Keep up with the latest cybersecurity threats, newly discovered vulnerabilities, data breach information, and emerging trends. Delivered daily or weekly right to your email inbox.
SUBSCRIBE
DEC 7-10, 2026 | LONDON
Offering two-and four-day specialized cybersecurity Trainings, with courses of all skill levels. Use the code: DARKREADING and get 10% off your pass.
LEARN MORE
31 MAY – 2 JUNE 2027 | SAUDI ARABIA
This leading cybersecurity conference & exhibition brings together cybersecurity professionals, cutting-edge technologies, solution providers, and decision-makers from around the world.
LEARN MORE
Want more Dark Reading stories in your Google search results?
Discover More
Black Hat
Omdia
Working With Us
About Us
Meet the Editors
Advertise
Reprints
Join Us
NEWSLETTER SIGN-UP
Follow Us
Copyright © 2026 TechTarget, Inc. d/b/a Informa TechTarget. This website is owned and operated by Informa TechTarget, part of a global network that informs, influences and connects the world’s technology buyers and sellers. All copyright resides with them. Informa PLC’s registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. TechTarget, Inc.’s registered office is 275 Grove St. Newton, MA 02466.
Home|
Cookie Policy|
Privacy|
Terms of Use
Your Privacy Choices
首次收录 · 2026-11-10 · 9.76 分