A Novel Evaluation Framework for Assessing Resilience Against Prompt Injection Attacks in Large Language Models
On the map: LLM safety and security → Prompt injection and agent security
Abstract (arXiv)
Prompt injection attacks exploit vulnerabilities in large language models (LLMs) to manipulate the model into unintended actions or generate malicious content. As LLM integrated applications gain wider adoption, they face growing susceptibility to such attacks. This study introduces a novel evaluation framework for quantifying the resilience of applications. The framework incorporates innovative techniques designed to ensure representativeness, interpretability, and robustness. To ensure the representativeness of simulated attacks on the application, a meticulous selection process was employed, resulting in 115 carefully chosen attacks based on coverage and relevance. For enhanced interpretability, a second LLM was utilized to evaluate the responses generated from these simulated attacks. Unlike conventional malicious content classifiers that provide only a confidence score, the LLM-based evaluation produces a score accompanied by an explanation, thereby enhancing interpretability. Subsequently, a resilience score is computed by assigning higher weights to attacks with greater impact, thus providing a robust measurement of the application resilience. To assess the framework's efficacy, it was applied on two LLMs, namely Llama2 and ChatGLM. Results revealed that Llama2, the newer model exhibited higher resilience compared to ChatGLM. This finding substantiates the effectiveness of the framework, aligning with the prevailing notion that newer models tend to possess greater resilience. Moreover, the framework exhibited exceptional versatility, requiring only minimal adjustments to accommodate emerging attack techniques and classifications, thereby establishing itself as an effective and practical solution. Overall, the framework offers valuable insights that empower organizations to make well-informed decisions to fortify their applications against potential threats from prompt injection.
Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Placed in Prompt injection and agent security, one of 12 directions in LLM safety and security. First posted on arXiv 2 Jan 2024.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2024: 7; 2025: 4; 2026: 2.
13 papers.
Sort:
By area:
- 2024SecAlign: Defending Against Prompt Injection with Preference Optimizationcited by 179
- 2024COLD-Attack: Jailbreaking LLMs with Stealthiness and Controllabilitycited by 162
- 2024Automatic and Universal Prompt Injection Attacks against Large Language Modelscited by 112
- 2024A New Era in LLM Security: Exploring Security Concerns in Real-World LLM-based Systemscited by 74
- 2024WIPI: A New Web Threat for LLM-Driven Web Agentscited by 50
- 2024Security Threats in Agentic AI Systemcited by 11
- 2025A Multi-Agent LLM Defense Pipeline Against Prompt Injection Attackscited by 11
- 2024Applying Pre-trained Multilingual BERT in Embeddings for Improved Malicious Prompt Injection Attacks Detectioncited by 7
- 2025When AI Meets the Web: Prompt Injection Risks in Third-Party AI Chatbot Pluginscited by 6
- 2025A Call to Action for a Secure-by-Design Generative AI Paradigmcited by 3
- 2025MetaBreak: Jailbreaking Online LLM Services via Special Token Manipulationcited by 2
- 2026Automating Cloud Security and Forensics Through a Secure-by-Design Generative AI Frameworkcited by 1
- 2026Automating Cloud Security and Forensics Through a Secure-by-Design Generative AI Framework5 Apr 2026
- 2026Responsible AI for General-Purpose Systems: Overview, Challenges, and A Path Forward19 Jan 2026
- 2025When AI Meets the Web: Prompt Injection Risks in Third-Party AI Chatbot Plugins8 Nov 2025
- 2025MetaBreak: Jailbreaking Online LLM Services via Special Token Manipulation11 Oct 2025
- 2025A Call to Action for a Secure-by-Design Generative AI Paradigm1 Oct 2025
- 2025A Multi-Agent LLM Defense Pipeline Against Prompt Injection Attacks16 Sep 2025
- 2024Security Threats in Agentic AI System16 Oct 2024
- 2024SecAlign: Defending Against Prompt Injection with Preference Optimization7 Oct 2024
- 2024Applying Pre-trained Multilingual BERT in Embeddings for Improved Malicious Prompt Injection Attacks Detection20 Sep 2024
- 2024Automatic and Universal Prompt Injection Attacks against Large Language Models7 Mar 2024
- 2024A New Era in LLM Security: Exploring Security Concerns in Real-World LLM-based Systems28 Feb 2024
- 2024WIPI: A New Web Threat for LLM-Driven Web Agents26 Feb 2024
1 more
- 2024COLD-Attack: Jailbreaking LLMs with Stealthiness and Controllabilitycited by 162
- 2024Automatic and Universal Prompt Injection Attacks against Large Language Modelscited by 112
- 2024Applying Pre-trained Multilingual BERT in Embeddings for Improved Malicious Prompt Injection Attacks Detectioncited by 7
- 2025When AI Meets the Web: Prompt Injection Risks in Third-Party AI Chatbot Pluginscited by 6
- 2025A Call to Action for a Secure-by-Design Generative AI Paradigmcited by 3
- 2025MetaBreak: Jailbreaking Online LLM Services via Special Token Manipulationcited by 2
- 2026Automating Cloud Security and Forensics Through a Secure-by-Design Generative AI Frameworkcited by 1
- 2026Automating Cloud Security and Forensics Through a Secure-by-Design Generative AI Framework5 Apr 2026
- 2025When AI Meets the Web: Prompt Injection Risks in Third-Party AI Chatbot Plugins8 Nov 2025
- 2025MetaBreak: Jailbreaking Online LLM Services via Special Token Manipulation11 Oct 2025
- 2025A Call to Action for a Secure-by-Design Generative AI Paradigm1 Oct 2025
- 2024Applying Pre-trained Multilingual BERT in Embeddings for Improved Malicious Prompt Injection Attacks Detection20 Sep 2024
- 2024Automatic and Universal Prompt Injection Attacks against Large Language Models7 Mar 2024
- 2024COLD-Attack: Jailbreaking LLMs with Stealthiness and Controllability13 Feb 2024
- 2024WIPI: A New Web Threat for LLM-Driven Web Agentscited by 50
- 2025A Multi-Agent LLM Defense Pipeline Against Prompt Injection Attackscited by 11
- 2025A Multi-Agent LLM Defense Pipeline Against Prompt Injection Attacks16 Sep 2025
- 2024WIPI: A New Web Threat for LLM-Driven Web Agents26 Feb 2024