Claude Office Party Flaw Lets One Planted File Run Code Through Official Document Skills
A flaw in Anthropic's official document skills for Claude lets an attacker run code on Linux systems by planting a single file where the skills expect to find a helper library. Researchers who disclosed the issue, dubbed Office Party, say it affects the default tools Claude agents use to create and convert Word, PowerPoint and Excel files, and no fix had been published as of this week.
What Happened
Researchers at AIR Security published details of the flaw on November 5. It sits in a shared helper that Anthropic's DOCX, PPTX and XLSX skills use to launch LibreOffice when converting documents. In environments where Unix sockets are blocked, the helper loads a small shim library from a fixed, predictable location in the system's shared temporary directory.
Because that location is shared and the file is not verified before it loads, anyone able to write to the temporary directory can place a malicious library there first. The next time the skill converts a document, the planted code runs with the privileges of the user running the agent. The researchers demonstrated the attack by placing a library in the temporary directory before asking Claude Code to generate a document.
The issue affects Linux environments where Unix sockets are blocked, including certain container security configurations and the Claude Code sandbox. macOS is not affected. As of November 10, no official fix or CVE had been published, though the head of Claude Code has expressed interest in prototyping fixes.
Background
Skills are packaged instructions and scripts that extend what an AI agent can do. Anthropic's official document skills give Claude the ability to create, read, edit and convert Office files, and they are among the most widely used, installed by default in many agent setups and in plugins built on top of them.
The weakness is not in the language model. It is a classic implementation pattern, loading code from a predictable path in a shared directory, that has caused security problems in conventional software for decades. AI agents inherit those risks because the tools they call are ordinary programs running with ordinary permissions.
Why It Matters
The researchers' central point is scale: the vulnerable helper ships with the default skills that a very large number of Claude agents use, so a single planted file can turn a routine document request into code execution with an employee's own access. On a shared server, a build machine or a multi-user container, write access to the temporary directory may belong to a different user, a compromised process or another tenant.
Agent sandboxes are often treated as the boundary that makes this kind of risk acceptable. Office Party shows the limits of that assumption. Code that runs inside the sandbox still runs as the user, can still read what the agent can read, and can still act on whatever credentials and files the session exposes.
The episode also reflects a broader shift. As organizations hand routine work to agents, the security of the agent depends less on the model and more on the scripts, libraries and helpers wired around it, components that receive far less scrutiny than the models themselves.
What To Do
Teams running Claude agents with the official document skills on Linux should identify where those skills are installed, especially in containers or sandboxes that block Unix sockets, and restrict write access to the shared temporary directory used during conversion. Running each agent session with a private temporary directory removes the shared path the attack depends on.
Until a fix ships, avoid running document-conversion workloads on shared hosts or in multi-tenant containers, review temporary directories for unexpected library files, and limit the credentials available to agent sessions so that any code they execute has as little reach as possible. Watch for an official update to the document skills and apply it promptly when it is released.
Domain Intelligence
The domain carries limited organizational neighborhood density. One threat-intelligence source reported adverse evidence that was not independently corroborated and does not affect the score. No active malicious associations are confirmed in the canonical trust record. The score reflects the company domain and is separate from the flaw in its software.