ProxyPrompt: Securing System Prompts against Prompt Extraction Attacks
Not on the map. Why?
Abstract (arXiv)
The integration of large language models (LLMs) into a wide range of applications has highlighted the critical role of well-crafted system prompts, which require extensive testing and domain expertise. These prompts enhance task performance but may also encode sensitive information and filtering criteria, posing security risks if exposed. Recent research shows that system prompts are vulnerable to extraction attacks, while existing defenses are either easily bypassed or require constant updates to address new threats. In this work, we introduce ProxyPrompt, a novel defense mechanism that prevents prompt leakage by replacing the original prompt with a proxy. This proxy maintains the original task's utility while obfuscating the extracted prompt, ensuring attackers cannot reproduce the task or access sensitive information. Comprehensive evaluations on 264 LLM and system prompt pairs show that ProxyPrompt protects 94.70% of prompts from extraction attacks, outperforming the next-best defense, which only achieves 42.80%.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). First posted on arXiv 16 May 2025.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2025: 2; 2026: 3.
5 papers.
- 2025A Survey of Context Engineering for Large Language Modelscited by 126
- 2026Just Ask: Curious Code Agents Reveal System Prompts in Frontier LLMscited by 4
- 2025PSM: Prompt Sensitivity Minimization via LLM-Guided Black-Box Optimizationcited by 0
- 2026Evaluation and Hardening of LLM System Instructions Against Extraction via Encoding Attackscited by 0
- 2026ECLIPSE: Self-Evolving Stealthy Prompt Injection Attack against Long-Horizon Agentic Systemscited by 0
- 2026ECLIPSE: Self-Evolving Stealthy Prompt Injection Attack against Long-Horizon Agentic Systems31 Aug 2026
- 2026Evaluation and Hardening of LLM System Instructions Against Extraction via Encoding Attacks1 Apr 2026
- 2026Just Ask: Curious Code Agents Reveal System Prompts in Frontier LLMs29 Jan 2026
- 2025PSM: Prompt Sensitivity Minimization via LLM-Guided Black-Box Optimization20 Nov 2025
- 2025A Survey of Context Engineering for Large Language Models17 Jul 2025