mlsanityData to 13 Oct 2026

Prompt Leakage effect and defense strategies for multi-turn LLM interactions

arXiv 2404.16251 ↗First posted 24 Apr 2024cs.CR cs.AI cs.CLcited by 23

Not on the map. Why?

Abstract (arXiv)

Prompt leakage poses a compelling security and privacy threat in LLM applications. Leakage of system prompts may compromise intellectual property, and act as adversarial reconnaissance for an attacker. A systematic evaluation of prompt leakage threats and mitigation strategies is lacking, especially for multi-turn LLM interactions. In this paper, we systematically investigate LLM vulnerabilities against prompt leakage for 10 closed- and open-source LLMs, across four domains. We design a unique threat model which leverages the LLM sycophancy effect and elevates the average attack success rate (ASR) from 17.7% to 86.2% in a multi-turn setting. Our standardized setup further allows dissecting leakage of specific prompt contents such as task instructions and knowledge documents. We measure the mitigation effect of 7 black-box defense strategies, along with finetuning an open-source model to defend against leakage attempts. We present different combination of defenses against our threat model, including a cost analysis. Our study highlights key takeaways for building secure LLM applications and provides directions for research in multi-turn LLM interactions

Key facts. Cited by 23 papers in the map (data through 13 Oct 2026). Builds on 20 of its 61 references that are in the map. First posted on arXiv 24 Apr 2024.

Builds on

20 of 61 references.

References · 20

  1. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,979
  2. 2020Extracting Training Data from Large Language Modelscited by 2,181
  3. 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,908
  4. 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,417
  5. 2019PubMedQA: A Dataset for Biomedical Research Question Answeringcited by 1,281
  6. 2023Towards Understanding Sycophancy in Language Modelscited by 1,018
  7. 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 817
  8. 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 647
  9. 2023Prompt Injection attack against LLM-integrated Applicationscited by 600
  10. 2024InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agentscited by 520
  11. 2023Defending Large Language Models Against Jailbreaking Attacks Through Goal Prioritizationcited by 169
  12. 2024The Good and The Bad: Exploring Privacy Issues in Retrieval-Augmented Generation (RAG)cited by 159
8 more
  1. 2019BillSum: A Corpus for Automatic Summarization of US Legislationcited by 117
  2. 2022Preventing Verbatim Memorization in Language Models Gives a False Sense of Privacycited by 99
  3. 2024Coercing LLMs to do and reveal (almost) anythingcited by 88
  4. 2023Effective Prompt Extraction from Language Modelscited by 85
  5. 2024A New Era in LLM Security: Exploring Security Concerns in Real-World LLM-based Systemscited by 77
  6. 2024Follow My Instruction and Spill the Beans: Scalable Data Extraction from Retrieval-Augmented Generation Systemscited by 76
  7. 2023Are You Sure? Challenging LLMs Leads to Performance Drops in The FlipFlop Experimentcited by 74
  8. 2023The Art of Defending: A Systematic Evaluation and Analysis of LLM Defense Strategies on Safety and Over-Defensivenesscited by 67

Built on by

Cited by year (2026 to 13 Oct)

Citing papers per year: 2024: 6; 2025: 9; 2026: 8.

23 papers.

Sort:

By area:

  1. 2025Advances and Challenges in Foundation Agents: From Brain-Inspired Intelligence to Evolutionary, Collaborative, and Safe Systemscited by 125
  2. 2025A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deploymentcited by 114
  3. 2025A Survey on Trustworthy LLM Agents: Threats and Countermeasurescited by 94
  4. 2025Safety at Scale: A Comprehensive Survey of Large Model and Agent Safetycited by 64
  5. 2024Navigating the Risks: A Survey of Security, Privacy, and Ethics Threats in LLM-Based Agentscited by 63
  6. 2024AI Safety in Generative AI Large Language Models: A Surveycited by 33
  7. 2024Have the VLMs Lost Confidence? A Study of Sycophancy in VLMscited by 15
  8. 2025Multi-lingual Multi-turn Automated Red Teaming for LLMscited by 12
  9. 2024Recent advancements in LLM Red-Teaming: Techniques, Defenses, and Ethical Considerationscited by 8
  10. 2024Jailbreaking LLM-Controlled Robotscited by 5
  11. 2024SHARP: Unlocking Interactive Hallucination via Stance Transfer in Role-Playing LLMscited by 5
  12. 2025Red-Teaming Coding Agents from a Tool-Invocation Perspective: An Empirical Security Assessmentcited by 5
11 more
  1. 2025Sycophancy Claims about Language Models: The Missing Human-in-the-Loopcited by 4
  2. 2026ForesightSafety Bench: A Frontier Risk Evaluation and Governance Framework towards Safe AIcited by 3
  3. 2026AgenTEE: Confidential LLM Agent Execution on Edge Devicescited by 3
  4. 2026Mitigating Over-Personalization in LLMs via Structured Memorycited by 3
  5. 2025QueryIPI: Query-agnostic Indirect Prompt Injection on Coding Agentscited by 2
  6. 2026PRISM: Generation-Time Detection and Mitigation of Secret Leakage in Multi-Agent LLM Pipelinescited by 2
  7. 2026Privacy Guard & Token Parsimony by Prompt and Context Handling and LLM Routingcited by 1
  8. 2025Provably Secure Retrieval-Augmented Generationcited by 0
  9. 2026In-Context Learning for Wound Classification with Small Multimodal Language Modelscited by 0
  10. 2026The Latent Diagnostic Taxonomy: A Framework for Constructing Classifiers and Diagnosing Their Decisions, Applied to Prompt Injection Detectioncited by 0
  11. 2026Daydreaming: Stealing Hidden Agent Skills through Black-Box Task Interactioncited by 0