mlsanityData to 14 Oct 2026

From ASR to ASP: Evaluating Prompt Attack Vulnerabilities Against Open-Source LLMs

arXiv 2505.14368 ↗First posted 20 May 2025cs.CR cs.CLcited by 6

On the map: LLM safety and security → Prompt injection and agent security

Abstract (arXiv)

Recent studies demonstrate that Large Language Models (LLMs) are vulnerable to attacks that generate harmful or sensitive outputs. As open-source LLMs are increasingly adopted in high-impact applications such as finance, law, and healthcare, systematically investigating their security risks is becoming increasingly important towards a trustworthy LLM era. This paper comprehensively studies effective prompt injection attacks against 14 widely used open-source and three closed-source LLMs on five attack benchmarks. Moreover, existing evaluation metrics mostly only consider the attack success rate, overlooking uncertainty in model responses. Our proposed Attack Success Probability (ASP) additionally captures uncertain behaviors for evaluation, where the model may initially refuse a harmful request but subsequently provide harmful guidance or vice versa, reflecting inconsistency and ambiguity in attack feasibility. By systematically analyzing the effectiveness of prompt injection attacks, we propose a straightforward and effective hypnotism attack; results show that this attack causes aligned language models, including StableLM2, Mistral, Openchat, and Vicuna, to generate objectionable behaviors, achieving around 90% ASP. We also find that moderately well-known LLMs exhibit higher vulnerability to prompt injection attacks, highlighting the need to raise public awareness and prioritize efficient mitigation strategies.

Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Placed in Prompt injection and agent security, one of 12 directions in LLM safety and security. Builds on 61 of its 92 references that are in the map. First posted on arXiv 20 May 2025.

Builds on

61 of 92 references.

Closest ancestors · 11

Same direction, newest first

  1. 2025WebInject: Prompt Injection Attack to Web Agents16 May
  2. 2025Can Indirect Prompt Injection Attacks Be Detected and Removed?23 Feb
  3. 2024Attention Tracker: Detecting Prompt Injection Attacks in LLMs1 Nov
  4. 2024Agent Security Bench (ASB): Formalizing and Benchmarking Attacks and Defenses in LLM-based Agents3 Oct
  5. 2024SOS! Soft Prompt Attack Against Open-Source Large Language Models3 Jul
  6. 2024InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents5 Mar
  7. 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal6 Feb
  8. 2023Formalizing and Benchmarking Prompt Injection Attacks and Defenses19 Oct
  9. 2023Attack Prompt Generation for Red Teaming and Defending Large Language Models19 Oct
  10. 2023Evaluating the Instruction-Following Robustness of Large Language Models to Prompt Injection17 Aug
  11. 2023Prompt Injection attack against LLM-integrated Applications8 Jun

Other references · 50

  1. 2024The Llama 3 Herd of Modelscited by 14,715
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  3. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
  4. 2024GPT-4o System Cardcited by 4,588
  5. 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,568
  6. 2023Mistral 7Bcited by 3,164
  7. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
  8. 2016Membership Inference Attacks against Machine Learning Modelscited by 2,281
  9. 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
  10. 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,917
  11. 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,420
  12. 2024Gemma: Open Models Based on Gemini Research and Technologycited by 916
38 more
  1. 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 832
  2. 2024How Johnny Can Persuade LLMs to Jailbreak Them: Rethinking Persuasion to Challenge AI Safety by Humanizing LLMscited by 573
  3. 2024JailbreakBench: An Open Robustness Benchmark for Jailbreaking Large Language Modelscited by 536
  4. 2023Jailbreaking ChatGPT via Prompt Engineering: An Empirical Studycited by 498
  5. 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 491
  6. 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Modelscited by 489
  7. 2023Catastrophic Jailbreak of Open-source LLMs via Exploiting Generationcited by 451
  8. 2024LoRA+: Efficient Low Rank Adaptation of Large Modelscited by 377
  9. 2023OpenChat: Advancing Open-source Language Models with Mixed-Quality Datacited by 252
  10. 2021Adversarial GLUE: A Multi-Task Benchmark for Robustness Evaluation of Language Modelscited by 232
  11. 2024SALAD-Bench: A Hierarchical and Comprehensive Safety Benchmark for Large Language Modelscited by 228
  12. 2023PromptRobust: Towards Evaluating the Robustness of Large Language Models on Adversarial Promptscited by 226
  13. 2024COLD-Attack: Jailbreaking LLMs with Stealthiness and Controllabilitycited by 175
  14. 2023Defending Large Language Models Against Jailbreaking Attacks Through Goal Prioritizationcited by 170
  15. 2023Backdooring Instruction-Tuned Large Language Models with Virtual Prompt Injectioncited by 157
  16. 2024Attacks, Defenses and Evaluations for LLM Conversation Safety: A Surveycited by 130
  17. 2023Large Language Models in Law: A Surveycited by 128
  18. 2024Making Them Ask and Answer: Jailbreaking Large Language Models in Few Queries via Disguise and Reconstructioncited by 107
  19. 2024DrAttack: Prompt Decomposition and Reconstruction Makes Powerful LLM Jailbreakerscited by 101
  20. 2024JailbreakRadar: Comprehensive Assessment of Jailbreak Attacks Against LLMscited by 95
  21. 2024Stable LM 2 1.6B Technical Reportcited by 90
  22. 2024Defending Large Language Models Against Jailbreak Attacks via Layer-specific Editingcited by 79
  23. 2023FinGPT: Democratizing Internet-scale Data for Financial Large Language Modelscited by 67
  24. 2024SG-Bench: Evaluating LLM Safety Generalization Across Diverse Tasks and Prompt Typescited by 60
  25. 2025Foot-In-The-Door: A Multi-turn Jailbreak for LLMscited by 54
  26. 2024Membership Inference Attacks Cannot Prove that a Model Was Trained On Your Datacited by 50
  27. 2023MathAttack: Attacking Large Language Models Towards Math Solving Abilitycited by 32
  28. 2024AttackEval: How to Evaluate the Effectiveness of Jailbreak Attacking on Large Language Modelscited by 28
  29. 2025CARES: Comprehensive Evaluation of Safety and Adversarial Robustness in Medical LLMscited by 26
  30. 2023FFT: Towards Harmlessness Evaluation and Analysis for LLMs with Factuality, Fairness, Toxicitycited by 25
  31. 2024GPT-4 Jailbreaks Itself with Near-Perfect Success Using Self-Explanationcited by 25
  32. 2024Attend First, Consolidate Later: On the Importance of Attention in Different LLM Layerscited by 25
  33. 2024Exploring Memorization and Copyright Violation in Frontier LLMs: A Study of the New York Times v. OpenAI 2023 Lawsuitcited by 18
  34. 2024WalledEval: A Comprehensive Safety Evaluation Toolkit for Large Language Modelscited by 17
  35. 2024LLMs and Memorization: On Quality and Specificity of Copyright Compliancecited by 16
  36. 2024Multi-expert Prompting Improves Reliability, Safety, and Usefulness of Large Language Modelscited by 14
  37. 2024Rethinking How to Evaluate Language Model Jailbreakcited by 12
  38. 2022Privacy-Preserving Models for Legal Natural Language Processingcited by 10

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 5; 2026: 1.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Systematically Analyzing Prompt Injection Vulnerabilities in Diverse LLM Architectures
  2. 2026An Empirical Evaluation of Prompt Injection Vulnerabilities in Large Language Models Across Multilingual and Obfuscated Attack Scenarios
  3. 2026Analysis of LLMs Against Prompt Injection and Jailbreak Attacks
  4. 2024CyberSecEval 2: A Wide-Ranging Cybersecurity Evaluation Suite for Large Language Models
  5. 2025LLMail-Inject: A Dataset from a Realistic Adaptive Prompt Injection Challenge
  6. 2025A Critical Evaluation of Defenses against Prompt Injection Attacks
  7. 2025Breaking to Build: A Threat Model of Prompt-Based Attacks for Securing LLMs
  8. 2024Automatic and Universal Prompt Injection Attacks against Large Language Models