CyberGuardAI 安全情报工作区
AI 安全知识情报
LJH 管理员
返回首页 学术论文

本地LLM服务的机密性边界失效研究

Youssef Hamdi Zafan Ibrahim、Muhammad Ikram、Mohammed Khalaf Salama

历史版本 v1 · 查看当前版本

摘要与解读

研究本地LLM服务的提示词机密性边界,发现内存残留、明文持久化及llama.cpp授权缺陷等问题。

分析与审核记录

AI 情报分析

历史来源快照

资料档案

文献来源与参考链接

当前保存的来源版本 · v1

作者
Youssef Hamdi Zafan Ibrahim、Muhammad Ikram、Mohammed Khalaf Salama
文献与标准标识
arxiv:2609.18526
主题分类
cs.CR
来源版本
v1
来源更新时间
2026-09-16T11:53:39+00:00
日期依据
来源明确给出发表日期
原始标题与分类记录

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

研究方向
攻击方法
影响维度
机密性
风险类型
隐私泄露
相关技术
LLM

当前为离线关键词规则模式。

分类规则与原始字段
攻击方法 · attack
restore another tenant's saved conversation state; the attack succeeds in 200/200 controlled trials. Separately, shared prompt-prefix caching exposes a remote ti
隐私泄露 · privacy
The Illusion of Local Privacy: Confidentiality Boundary Failures in Consumer LLM Serving Systems Running large language models (L
机密性 · privacy
The Illusion of Local Privacy: Confidentiality Boundary Failures in Consumer LLM Serving Systems Running large language models (L
LLM · llm
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"
}
原文版本历史与校验
版本入库更新时间来源发布日期校验标识
v32026-11-05 04:20 UTC2026-09-16 11:53 UTC93da80aa1b64394186378c8ddd82f7d01e19ebbb81ecdc2dd2721f6784de8bda
v22026-10-14 04:19 UTC2026-09-16 11:53 UTC77f7a33ed2b73cb4fefc63b41f02c1ef3dab4343da973d712d74ad191fcca14d
v1 · 正在查看2026-10-12 06:12 UTC2026-09-16 11:53 UTCfbdfefa130a31cd819a78483e954bd95d46fae1d6a58c4b7594c6f2ca52431fe
可引用分片 · 2 段

CHK-0d97074d27855ebe659ff5ea

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.

CHK-d2d6b3bc6dadb3baa4c27301

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.