cd /news/ai-agents/office-party-a-planted-temp-file-mak… · home › topics › ai-agents › article
[ARTICLE · art-172059] src=air.security ↗ pub= topic=ai-agents verified=true sentiment=↓ negative

Office Party: a planted temp file makes Claude's document skills run code

AIR Security disclosed a code-execution flaw in Anthropic's official DOCX, PPTX and XLSX skills for Claude, in which the shared helper scripts/office/soffice.py falls back to loading lo_socket_shim.so via LD_PRELOAD from a fixed path in the shared temp directory and reuses any file already there without verifying its author, letting an attacker who can write that file run code inside LibreOffice with the agent user's privileges. AIR Security demonstrated both direct placement of the file and a second, apparently benign skill that unpacked the library into /tmp, and reported the issue to Anthropic in May; Anthropic acknowledged it but said the sandboxed code is outside its security boundary, and the helper remained unchanged as of 5 November.

recommendation

Audit agent skills that load shared libraries from fixed temp paths, and verify file ownership or use per-run private directories before any LD_PRELOAD fallback.

more in playbook: Securing agents and AI tools
read1 min views13 publishedNov 5, 2026

AIR Security disclosed a code-execution flaw in Anthropic's official DOCX, PPTX and XLSX skills, which Claude uses to create and convert documents. The shared helper scripts/office/soffice.py falls back to lo_socket_shim.so through LD_PRELOAD when it cannot open a Unix socket, a condition that includes Claude Code's own sandbox. It uses a fixed path in the shared temp directory and reuses any file already there without checking who wrote it, so an attacker who can write that file gets code execution inside LibreOffice with the agent user's privileges. AIR demonstrated both direct placement and a second, apparently benign skill that unpacked the library into /tmp. The researchers reported it to Anthropic in May; Anthropic acknowledged the issue but said the sandboxed code is outside its security boundary, and the helper was still unchanged on 5 November.

── more in #ai-agents 4 stories · sorted by recency
── more on @air security 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/office-party-a-plant…] indexed:0 read:1min 2026-11-05 · —