# The Illusion of Local Privacy: Confidentiality Boundary Failures in Consumer LLM Serving Systems

DevFeed: [The Illusion of Local Privacy: Confidentiality Boundary Failures in Consumer LLM Serving Systems](<https://devfeed.tech/articles/the-illusion-of-local-privacy-confidentiality-boundary-failures-in-consumer-llm-serving-systems-108999.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2609.18526>)

Author: Youssef Hamdi Zafan Ibrahim, Muhammad Ikram, Mohammed Khalaf Salama

Published: 2026-10-30T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>)

Topics: [LLM security](<https://devfeed.tech/topics/llm-security.md>), [llama.cpp](<https://devfeed.tech/topics/llama-cpp.md>), [ai security](<https://devfeed.tech/topics/ai-security.md>), [tenant data protection](<https://devfeed.tech/topics/tenant-data-protection.md>), [Local AI](<https://devfeed.tech/topics/local-ai.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Persistence](<https://devfeed.tech/topics/persistence.md>), [LLM Techniques](<https://devfeed.tech/topics/llm-techniques.md>), [interface](<https://devfeed.tech/topics/interface.md>)

Tags: [authorization](<https://devfeed.tech/tags/authorization.md>), [boundary](<https://devfeed.tech/tags/boundary.md>), [consumer](<https://devfeed.tech/tags/consumer.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [isolation](<https://devfeed.tech/tags/isolation.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llm-serving](<https://devfeed.tech/tags/llm-serving.md>), [local](<https://devfeed.tech/tags/local.md>), [memory](<https://devfeed.tech/tags/memory.md>), [oracle](<https://devfeed.tech/tags/oracle.md>), [persistence](<https://devfeed.tech/tags/persistence.md>), [prefix-caching](<https://devfeed.tech/tags/prefix-caching.md>), [privacy](<https://devfeed.tech/tags/privacy.md>), [prompt](<https://devfeed.tech/tags/prompt.md>), [storage](<https://devfeed.tech/tags/storage.md>)

## AI overview

Keeping LLM inference on-device does not by itself ensure prompt confidentiality: serving software can expose prompts at several stages. The authors use LLAnalyzer to examine model loading, runtime memory, wrapper persistence, and serving interfaces across four open-weight model families and two consumer platforms. In a 24-hour AFL++ campaign exceeding 12 million executions, they found no parser crashes or successful malformed GGUF loads within the explored state space. By contrast, plaintext prompt remnants persisted in allocator-managed memory after inference; sanitisation reduced but did not remove them, and wrappers could prolong prompt lifetime through plaintext storage. They also report a llama.cpp authorization flaw that let one authenticated client restore another tenant's saved conversation in 200/200 controlled trials, plus a shared-prefix-cache timing oracle distinguishable over WAN. The authors call for explicit guarantees on prompt lifetime, persistent storage, and tenant isolation.

## Source excerpt

arXiv:2609.18526v3 Announce Type: replace Abstract: Running large language models (LLMs) locally is often considered more private than cloud-hosted inference because user prompts remain on the device. We ask whether keeping inference local is, by itself, sufficient to keep those prompts confidential. Our results show that it is not: prompt confidentiality also depends on how the surrounding serving software handles prompt data before, during, and after inference. We examine four boundaries at which prompt confidentiality can fail in consumer local-LLM serving systems: model loading, runtime memory, wrapper-level persistence, and the serving interface. To study these boundaries, we develop LLAnalyzer, a measurement framework that tests each boundary separately and traces observed failures to the responsible software component. Applying LLAnalyzer to four open-weight model families and two consumer deployment platforms, we find markedly different behaviour across boundaries. In a 24-hour AFL++ campaign with more than 12 million executions, we observe no parser crashes or successful malformed GGUF loads within the explored state space. Runtime memory tells a different story: we recover prompts after inference because multiple plaintext representations survive in allocator-managed memory, and sanitisation reduces this residue without eliminating it. We also find that consumer wrappers can extend prompt lifetime through plaintext persistence. At the serving boundary, we uncover a previously undocumented authorization flaw in llama.cpp that allows one authenticated client to restore another tenant's saved conversation state; the attack succeeds in 200/200 controlled trials. Separately, shared prompt-prefix caching exposes a remote timing oracle that remains distinguishable under WAN conditions. We argue that local LLM systems need explicit guarantees for prompt lifetime, persistent storage, and tenant isolation.