mlsanityData to 26 Nov 2026

Detecting and Mitigating Query-Based System Prompt Leakage Attacks

arXiv 2610.36295 ↗Submitted 26 Oct 2026cs.CR cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 36 of its 66 references that are in the map. Submitted 26 Oct 2026.

Builds on

36 of 66 references.

References · 36

  1. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,787
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,661
  3. 2021Training Verifiers to Solve Math Word Problemscited by 11,055
  4. 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,238
  5. 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,622
  6. 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,526
  7. 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 889
  8. 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Modelscited by 839
  9. 2023OpenAssistant Conversations -- Democratizing Large Language Model Alignmentcited by 753
  10. 2024WildChat: 1M ChatGPT Interaction Logs in the Wildcited by 710
  11. 20218-bit Optimizers via Block-wise Quantizationcited by 430
  12. 2023ToxicChat: Unveiling Hidden Challenges of Toxicity Detection in Real-World User-AI Conversationcited by 254
24 more
  1. 2024WildTeaming at Scale: From In-the-Wild Jailbreaks to (Adversarially) Safer Language Modelscited by 253
  2. 2024Security and Privacy Challenges of Large Language Models: A Surveycited by 196
  3. 2024AdvPrompter: Fast Adaptive Adversarial Prompting for LLMscited by 165
  4. 2024PLeak: Prompt Leaking Attacks against Large Language Model Applicationscited by 133
  5. 2024Automatic and Universal Prompt Injection Attacks against Large Language Modelscited by 124
  6. 2020Deep Nearest Neighbor Anomaly Detectioncited by 110
  7. 2023Effective Prompt Extraction from Language Modelscited by 96
  8. 2018ROUGE 2.0: Updated and Improved Measures for Evaluation of Summarization Taskscited by 71
  9. 2024Prompt Stealing Attacks Against Large Language Modelscited by 44
  10. 2025Simple Prompt Injection Attacks Can Leak Personal Data Observed by LLM Agents During Task Executioncited by 29
  11. 2025A Survey on Model Extraction Attacks and Defenses for Large Language Modelscited by 22
  12. 2024Raccoon: Prompt Extraction Benchmark of LLM-Integrated Applicationscited by 19
  13. 2024PROMPTFUZZ: Harnessing Fuzzing Techniques for Robust Testing of Prompt Injection in LLMscited by 19
  14. 2024LeakAgent: RL-based Red-teaming Agent for LLM Privacy Leakagecited by 15
  15. 2025Methods and Trends in Detecting AI-Generated Images: A Comprehensive Reviewcited by 13
  16. 2024Prompt Obfuscation for Large Language Modelscited by 12
  17. 2025Gandalf the Red: Adaptive Security for LLMscited by 11
  18. 2024PromptKeeper: Safeguarding System Prompts for LLMscited by 6
  19. 2025ProxyPrompt: Securing System Prompts against Prompt Extraction Attackscited by 6
  20. 2025You Can't Steal Nothing: Mitigating Prompt Leakages in LLMs via System Vectorscited by 6
  21. 2025Automating Prompt Leakage Attacks on Large Language Models Using Agentic Approachcited by 5
  22. 2025Enhancing Security in LLM Applications: A Performance Evaluation of Early Detection Systemscited by 2
  23. 2025LeakSealer: A Semisupervised Defense for LLMs Against Prompt Injection and Leakage Attackscited by 2
  24. 2026TRACE: Trajectory Aware Reasoning for Multi-Turn Adversarial Conversation Evaluationcited by 2

Built on by

Not cited yet.