Skip to content
EventPast event

AIR says Claude's official document skills can lead to code execution on Linux

2 reports2 reporting sourcesLatest report

Start here

AI overview

Dark Reading reported on 2026-11-10 that AIR Security disclosed a vulnerability named Office Party in Anthropic Claude's official DOCX, PPTX, and XLSX skills: an attacker who places a file in a shared temporary directory in advance can execute malicious code on Linux with the permissions of the user running the agent. The problem lies in soffice.py, a helper script distributed with these three skills that is responsible for launching LibreOffice to convert documents: when the Unix domain socket is blocked by the sandbox, the script switches to Linux's LD_PRELOAD mechanism to load lo_socket_shim.so from a fixed path in the shared temporary directory, without verifying its origin or contents. The researchers demonstrated two exploitation methods: one is to place a malicious library in that directory and then have Claude Code generate a document; the other is to use another seemingly normal skill to plant the library in the same directory while unpacking support files, after which it is automatically loaded by the document processing skill. AIR Security recommends that enterprises inventory, review, and patch the AI skills they use as they would software dependencies.

Generated by AI from reports · Updated 17 days ago

Progress timeline

Nov 10
  1. Dark ReadingSelected
    Attackers exploit Claude's Office Party vulnerability to execute malicious code on Linux

    Researchers at AIR Security disclosed that Anthropic Claude's official DOCX, PPTX and XLSX skills contain a vulnerability named Office Party: an attacker only needs to place a file in a shared temporary directory to execute malicious code on Linux with the permissions of the user running the AI agent. The problem lies in the helper script soffice.py responsible for launching LibreOffice to convert documents; at the step where it cannot open a Unix domain socket, it switches to the Linux LD_PRELOAD mechanism to load a shared library, reading lo_socket_shim.so from the shared temporary directory without validating its origin or contents. The research team demonstrated two exploitation methods: one is to manually place a malicious library in that directory and then have Claude Code generate a document; the other is to use another seemingly normal AI skill to unpack supporting files into the same directory, which are then automatically loaded by the document processing skill. The researchers recommend that enterprises inventory, review and patch the AI skills they use as they would software dependencies.

Nov 5
  1. AIR Security
    AIR Security: Anthropic document skills can execute code after a malicious shim is written to the temporary directory

    AIR Security disclosed a vulnerability in Anthropic's official document skills: an attacker who pre-places a file in the temporary directory can execute code with user privileges inside LibreOffice. The vulnerability lies in the helper script scripts/office/soffice.py used for converting documents; when the Unix socket is blocked by the sandbox, it loads lo_socket_shim.so from a fixed path in the temporary directory via LD_PRELOAD, and does not verify the file's origin; the script is distributed with the three official skills docx, pptx, and xlsx, and the docx skill causes Claude to render every generated document as a PDF. The researchers reproduced the attack by directly placing the file in the Claude Code sandbox, and also demonstrated a combined approach in which another seemingly normal skill plants the library while unpacking supporting files.

Related discussion

Total 2 items