Research map / Adversarial robustness and security / Attacks on text and graphs
PromptKeeper: Safeguarding System Prompts for LLMs
Zhifeng Jiang, Zhihua Jin, Guoliang He
Independent Researcher
Read the paperPlace an idea next to itCheck your own paper ↗
8measured effects
3improved
2no clear effect
2hurt
1mixed
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add PromptKeeper (hypothesis-test leakage detection plus dummy-prompt regeneration) | Llama-3.1 8B Instruct · Real GPTs, adversarial-query attack | attack cosine similarity: 91.0 -> 73.1 | Improved |
| add PromptKeeper | Llama-3.1 8B Instruct · Real GPTs, regular-query attack | attack cosine similarity: 90.9 -> 85.0 | Improved |
| add PromptKeeper | Mistral 7B Instruct v0.3 · Real GPTs, adversarial-query attack | attack BLEU: 30.7 -> 1.4 | Improved |
| add a query filter (gpt-3.5-turbo revises suspicious queries) | Mistral 7B Instruct v0.3 · Real GPTs, adversarial-query attack | attack cosine similarity: 94.9 -> 92.4 | No clear effect |
| append a self-extension instruction to the system prompt | Llama-3.1 8B Instruct · Real GPTs, regular-query attack | attack cosine similarity: 90.9 -> 89.0 | No clear effect |
| detect leakage with cosine-similarity thresholding (Regen w/ CS) instead of hypothesis testing (ablation) | Mistral 7B Instruct v0.3 · Real GPTs, adversarial-query attack | attack cosine similarity: 74.0 -> 80.2 | Hurt |
| replace regeneration with denial of service on detected leakage (ablation) | PromptKeeper · word-limit side-channel proof of concept | attacker's ability to infer the word limit | Hurt |
| increase significance level alpha from 0.01 toward 0.5 (ablation) | PromptKeeper · Real GPTs | prompt adherence vs attack effectiveness | Mixed |
Open problems in LLM jailbreak and prompt injection defense
Which defenses against jailbreaks and prompt injection hold up, and what do they cost in usefulness?
- Adaptive attacks are not ruled out. · 8 papers state it
- Attack success does not carry over between target models. · 7 papers state it
- Strong attacks still need white-box access. · 6 papers state it
Closest papers by meaning
- The Threat of PROMPTS in Large Language Models: A System and User Prompt Perspective (ACL 2025 · similarity 0.90)
- Fight Back Against Jailbreaking via Prompt Adversarial Tuning (NeurIPS 2024 · similarity 0.88)
- On Prompt-Driven Safeguarding for Large Language Models (ICML 2024 · similarity 0.88)
- An LLM can Fool Itself: A Prompt-Based Adversarial Attack (ICLR 2024 · similarity 0.88)
- Protecting Your LLMs with Information Bottleneck (NeurIPS 2024 · similarity 0.87)
- Gandalf the Red: Adaptive Security for LLMs (ICML 2025 · similarity 0.87)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.