摘要与解读
研究本地LLM服务的提示词机密性边界,发现内存残留、明文持久化及llama.cpp授权缺陷等问题。
分析与审核记录
AI 情报分析
历史来源快照
历史版本 v1 · 查看当前版本
研究本地LLM服务的提示词机密性边界,发现内存残留、明文持久化及llama.cpp授权缺陷等问题。
历史来源快照
当前保存的来源版本 · v1
The Illusion of Local Privacy: Confidentiality Boundary Failures in Consumer LLM Serving Systems
当前为离线关键词规则模式。
restore another tenant's saved conversation state; the attack succeeds in 200/200 controlled trials. Separately, shared prompt-prefix caching exposes a remote ti
The Illusion of Local Privacy: Confidentiality Boundary Failures in Consumer LLM Serving Systems Running large language models (L
The Illusion of Local Privacy: Confidentiality Boundary Failures in Consumer LLM Serving Systems Running large language models (L
Privacy: Confidentiality Boundary Failures in Consumer LLM Serving Systems Running large language models (LLMs) locally is often considered more private than
{
"ai_relevance": {
"evidence": [
{
"end_offset": 80,
"location": "title_and_content",
"quote": "LLM",
"rule": "ai_term",
"start_offset": 77
},
{
"end_offset": 126,
"location": "title_and_content",
"quote": "large language models",
"rule": "ai_term",
"start_offset": 105
},
{
"end_offset": 132,
"location": "title_and_content",
"quote": "LLMs",
"rule": "ai_term",
"start_offset": 128
},
{
"end_offset": 602,
"location": "title_and_content",
"quote": "LLM",
"rule": "ai_term",
"start_offset": 599
},
{
"end_offset": 1888,
"location": "title_and_content",
"quote": "LLM",
"rule": "ai_term",
"start_offset": 1885
},
{
"end_offset": 1600,
"location": "title_and_content",
"quote": "llama.cpp",
"rule": "ai_component",
"start_offset": 1591
}
],
"matches": [
{
"end_offset": 80,
"location": "title_and_content",
"quote": "LLM",
"rule": "ai_term",
"start_offset": 77
},
{
"end_offset": 126,
"location": "title_and_content",
"quote": "large language models",
"rule": "ai_term",
"start_offset": 105
},
{
"end_offset": 132,
"location": "title_and_content",
"quote": "LLMs",
"rule": "ai_term",
"start_offset": 128
},
{
"end_offset": 602,
"location": "title_and_content",
"quote": "LLM",
"rule": "ai_term",
"start_offset": 599
},
{
"end_offset": 1888,
"location": "title_and_content",
"quote": "LLM",
"rule": "ai_term",
"start_offset": 1885
},
{
"end_offset": 1600,
"location": "title_and_content",
"quote": "llama.cpp",
"rule": "ai_component",
"start_offset": 1591
}
],
"method": "explainable_keyword_rules",
"reason": "Matched AI topic or component evidence",
"relevant": true
},
"entity_ids": [],
"facts": [],
"method": "source_grounded_extraction",
"unknown_fields": [
"affected_products",
"affected_versions",
"fixed_versions",
"cvss",
"mitigations",
"references",
"papers",
"poc"
]
}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.
{
"authors": [
"Youssef Hamdi Zafan Ibrahim",
"Muhammad Ikram",
"Mohammed Khalaf Salama"
],
"content_level": "abstract",
"date_basis": "explicit_published",
"date_evidence": {
"published": "2026-09-16T11:53:39Z",
"updated": "2026-09-16T11:53:39Z"
},
"identifiers": [
"arxiv:2609.18526"
],
"source_updated_at": "2026-09-16T11:53:39+00:00",
"subjects": [
"cs.CR"
],
"version_label": "v1"
}| 版本 | 入库更新时间 | 来源发布日期 | 校验标识 |
|---|---|---|---|
| v3 | 2026-11-05 04:20 UTC | 2026-09-16 11:53 UTC | 93da80aa1b64394186378c8ddd82f7d01e19ebbb81ecdc2dd2721f6784de8bda |
| v2 | 2026-10-14 04:19 UTC | 2026-09-16 11:53 UTC | 77f7a33ed2b73cb4fefc63b41f02c1ef3dab4343da973d712d74ad191fcca14d |
| v1 · 正在查看 | 2026-10-12 06:12 UTC | 2026-09-16 11:53 UTC | fbdfefa130a31cd819a78483e954bd95d46fae1d6a58c4b7594c6f2ca52431fe |
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.
ts 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.
正文译文暂缺,以下仅为中文摘要。
研究本地LLM服务的提示词机密性边界,发现内存残留、明文持久化及llama.cpp授权缺陷等问题。
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.