When File Ingestion Misleads Language Models: Measuring and Mitigating Divergences in Office Documents
Not on the map. Why?
Abstract (arXiv)
Office documents are now routinely uploaded to large language models (LLMs) for processing. However, an LLM does not always see what a human sees, because it typically reads the text that an extractor produces from the document's underlying Office Open XML (OOXML) files. Depending on the implementation, extractors differ in which OOXML parts they read and how they interpret them, so their output can differ from what Office applications display. For example, by slightly shifting the positions of text boxes on a slide, an adversary can swap the order in which the model reads them while the slide looks unchanged. We show that this extraction divergence is an attack surface for LLM applications. In this work, we first measure what an adversary can exploit by analyzing the widely used extractors that LLM applications rely on. By combining static source code analysis with dynamic analysis, we identify 19 OOXML channels where extractors read content a human cannot see and 12 where they drop content a human can. We also find that widely used extractors ignore display formatting and reading order, so even visible content reaches the model in a different form. Building on these findings, we construct five attacks that lead the model to interpret a document differently from a human reviewer, without injecting any instruction. We test the attacks on four major chat assistants (ChatGPT, Claude, Gemini, and Microsoft 365 Copilot) and four coding agents (Codex, Claude Code, Antigravity, and GitHub Copilot CLI), and every one of them is misled by at least one attack. Finally, we propose Prism, a lightweight defense that reconstructs the human view from the OOXML specification before passing the text to the model. Prism also generalizes to unseen attack payloads.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 8 of its 48 references that are in the map. Submitted 4 Nov 2026.
Builds on
8 of 48 references.
References · 8
- 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 889
- 2024StruQ: Defending Against Prompt Injection with Structured Queriescited by 433
- 2024Defending Against Indirect Prompt Injection Attacks With Spotlightingcited by 319
- 2025EchoLeak: The First Real-World Zero-Click Prompt Injection Exploit in a Production LLM Systemcited by 33
- 2025Hidden Prompts in Manuscripts Exploit AI-Assisted Peer Reviewcited by 20
- 2021Trojan Source: Invisible Vulnerabilitiescited by 10
- 2025Misleading Large Language Models used (or misused) in Scientific Peer-Reviewing via Hidden Prompt-Injection Attackscited by 8
- 2026Semantic Integrity Failures in Document-to-LLM Supply Chainscited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Beyond the Editing Canvas: Evidence Divergence in OOXML-to-LLM Ingestion
- 2025The Hidden Threat in Plain Text: Attacking RAG Data Loaders
- 2026What the Author Wrote, What the Agent Reads: Silent Cue Loss in Enterprise Document Ingestion
- 2025A Survey on Model Extraction Attacks and Defenses for Large Language Models
- 2024Humanizing the Machine: Proxy Attacks to Mislead LLM Detectors
- 2026A Lifecycle and Application-Stack Survey of Large Language Model Vulnerabilities: Attacks, Risks, Defenses, and Open Problems
- 2026What the Model Cannot See: Covert and Provable Text Invisibility in LLMs
- 2026You Told Me to Do It: Measuring Instructional Text-induced Private Data Leakage in LLM Agents