跳到正文
返回论文列表
cs.CR提交于 已译

检测与缓解基于查询的系统提示泄露攻击

Detecting and Mitigating Query-Based System Prompt Leakage Attacks

Tushar Nayan · Pratik Poudel · Qian Lou · Yuede Ji · Jason Liu · Ruimin Sun

中文摘要

大语言模型(LLMs)依赖专有系统提示执行任务指令与安全策略,但易受黑盒对手通过多轮交互提取机密指令的查询泄露攻击。现有防御常独立评估查询,忽略跨交互的恶意行为。AdvGuard 提出一种模型无关框架,利用有界语义交互图建模查询间关系,经统计过滤后转化为线图供图卷积网络(GCN)分类,以捕捉区分协同提取与良性流程的多跳模式。该框架包含轻量级提示级检测器,支持黑盒部署。在混合查询评估中,AdvGuard 召回率较最强基线提升最高 36%,误报率不超过 3.4%。多轮工作负载中 F1 分数达 97.23%-99.1%,召回率 100%。留一攻击族测试平均召回率 99.98%,平均 F1 99.99%,无误报。集成于 PLeak 和 LeakAgent 攻击循环后,精确匹配泄露限制在 0.00-0.01,子串匹配泄露限制在 0.01-0.09,显著降低提示重建风险。

关键要点

  1. 01针对现有防御忽略跨查询交互导致漏检的问题,提出模型无关的 AdvGuard 框架。
  2. 02利用有界语义交互图和 GCN 分类捕捉多跳查询模式,区分协同攻击与良性流程。
  3. 03混合查询评估中召回率较基线提升最高 36%,误报率控制在 3.4% 以内。
  4. 04多轮负载 F1 达 97.23%-99.1%,留一攻击族测试平均 F1 为 99.99% 且无误报。
  5. 05集成于攻击循环后,将精确匹配泄露率限制在 0.00-0.01,子串匹配在 0.01-0.09。

解读

尚无解读。

原始英文摘要

arXiv:2610.36295v1 Announce Type: cross Abstract: Large Language Models (LLMs) rely on proprietary system prompts to enforce task directives, safety policies, and access controls. These prompts are vulnerable to query-based leakage attacks, where black-box adversaries extract confidential instructions through adaptive, multi-turn interactions. Existing defenses often assess queries independently, missing malicious behavior that emerges across interactions. We present AdvGuard, a model-agnostic framework for detecting and mitigating system prompt leakage. AdvGuard models cross-query relationships using a bounded semantic interaction graph, statistically filters candidate components, and converts them into line graphs for graph convolutional network (GCN) classification. This approach captures multi-hop patterns in query similarity that distinguish coordinated extraction from benign workflows. A lightweight prompt-level detector provides protection before sufficient interaction history accumulates, and the framework supports black-box LLM deployments. In mixed-query evaluations, AdvGuard improves recall by up to 36% over the strongest baseline while maintaining a false positive rate of at most 3.4%. In multi-turn workloads, it achieves 97.23%-99.1% F1 with 100% recall. Leave-one-attack-family-out tests yield 99.98% mean recall and 99.99% mean F1, with no observed false positives. Integrated into the adaptive PLeak and LeakAgent attack loops, AdvGuard limits exact-match leakage to 0.00-0.01 and substring-match leakage to 0.01-0.09 across evaluated victim models. These results demonstrate robust detection of unseen attack families and substantially reduced prompt reconstruction.

同方向论文 · cs.CR

查看全部 →

反向发现 · 这篇论文相关的工具与提示词

去交叉发现 →

关联提示词 · 6

编程github.com/f/awesome-chatgpt-prompts·外部收录·

Android AI App Security Specialist Task

Act as an Android AI App Security Specialist. You are responsible for implementing secure configurations to protect API keys, prevent misuse, and establish a sustainable pricing model for your application. Your tasks include: 1. **Backend…

编程github.com/f/awesome-chatgpt-prompts·外部收录·

Network Engineer

Act as a Network Engineer. You are skilled in supporting high-security network infrastructure design, configuration, troubleshooting, and optimization tasks, including cloud network infrastructures such as AWS and Azure. Your task is to: -…

编程github.com/f/awesome-chatgpt-prompts·外部收录·

Code Review Agent

Act as a Code Review Agent. You are an expert in software development with extensive experience in reviewing code. Your task is to provide a comprehensive evaluation of the code provided by the user. You will: - Analyze the code for readab…

编程github.com/f/awesome-chatgpt-prompts·外部收录·

Large Language Models Security Specialist

I want you to act as a Large Language Model security specialist. Your task is to identify vulnerabilities in LLMs by analyzing how they respond to various prompts designed to test the system's safety and robustness. I will provide some spec…