mlsanityData to 14 Oct 2026

You Can't Steal Nothing: Mitigating Prompt Leakages in LLMs via System Vectors

arXiv 2509.21884 ↗First posted 26 Sep 2025cs.CR cs.AI cs.CLcited by 4

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs) have been widely adopted across various applications, leveraging customized system prompts for diverse tasks. Facing potential system prompt leakage risks, model developers have implemented strategies to prevent leakage, primarily by disabling LLMs from repeating their context when encountering known attack patterns. However, it remains vulnerable to new and unforeseen prompt-leaking techniques. In this paper, we first introduce a simple yet effective prompt leaking attack to reveal such risks. Our attack is capable of extracting system prompts from various LLM-based application, even from SOTA LLM models such as GPT-4o or Claude 3.5 Sonnet. Our findings further inspire us to search for a fundamental solution to the problems by having no system prompt in the context. To this end, we propose SysVec, a novel method that encodes system prompts as internal representation vectors rather than raw text. By doing so, SysVec minimizes the risk of unauthorized disclosure while preserving the LLM's core language capabilities. Remarkably, this approach not only enhances security but also improves the model's general instruction-following abilities. Experimental results demonstrate that SysVec effectively mitigates prompt leakage attacks, preserves the LLM's functional integrity, and helps alleviate the forgetting issue in long-context scenarios.

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 30 of its 47 references that are in the map. First posted on arXiv 26 Sep 2025.

Builds on

30 of 47 references.

References · 30

  1. 2024The Llama 3 Herd of Modelscited by 14,715
  2. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  3. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  4. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  5. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
  6. 2023Code Llama: Open Foundation Models for Codecited by 2,139
  7. 2017Decoupled Weight Decay Regularizationcited by 1,831
  8. 2023Representation Engineering: A Top-Down Approach to AI Transparencycited by 1,336
  9. 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,302
  10. 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!cited by 1,154
  11. 2023Steering Llama 2 via Contrastive Activation Additioncited by 1,085
  12. 2023BloombergGPT: A Large Language Model for Financecited by 939
18 more
  1. 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 832
  2. 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 651
  3. 2023Prompt Injection attack against LLM-integrated Applicationscited by 605
  4. 2023Jailbreak and Guard Aligned Language Models with Only Few In-Context Demonstrationscited by 431
  5. 2025LLMs Get Lost In Multi-Turn Conversationcited by 429
  6. 2024StruQ: Defending Against Prompt Injection with Structured Queriescited by 375
  7. 2023Benchmarking and Defending Against Indirect Prompt Injection Attacks on Large Language Modelscited by 264
  8. 2023In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steeringcited by 245
  9. 2023Defending Against Alignment-Breaking Attacks via Robustly Aligned LLMcited by 192
  10. 2023Defending Large Language Models Against Jailbreaking Attacks Through Goal Prioritizationcited by 170
  11. 2024Optimization-based Prompt Injection Attack to LLM-as-a-Judgecited by 143
  12. 2024PLeak: Prompt Leaking Attacks against Large Language Model Applicationscited by 127
  13. 2023Aligning Language Models with Preferences through f-divergence Minimizationcited by 120
  14. 2024Personalized Steering of Large Language Models: Versatile Steering Vectors Through Bi-directional Preference Optimizationcited by 118
  15. 2023Language Model Inversioncited by 68
  16. 2023Assessing Prompt Injection Risks in 200+ Custom GPTscited by 55
  17. 2022Prompt Injection: Parameterization of Fixed Inputscited by 36
  18. 2023On the Safety of Open-Sourced Large Language Models: Does Alignment Really Prevent Them From Being Misused?cited by 26

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 2.

4 papers.