From ASR to ASP: Evaluating Prompt Attack Vulnerabilities Against Open-Source LLMs
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
- 2025WebInject: Prompt Injection Attack to Web Agents16 May
- 2025Can Indirect Prompt Injection Attacks Be Detected and Removed?23 Feb
- 2024Attention Tracker: Detecting Prompt Injection Attacks in LLMs1 Nov
- 2024Agent Security Bench (ASB): Formalizing and Benchmarking Attacks and Defenses in LLM-based Agents3 Oct
- 2024SOS! Soft Prompt Attack Against Open-Source Large Language Models3 Jul
- 2024InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents5 Mar
- 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal6 Feb
- 2023Formalizing and Benchmarking Prompt Injection Attacks and Defenses19 Oct
- 2023Attack Prompt Generation for Red Teaming and Defending Large Language Models19 Oct
- 2023Evaluating the Instruction-Following Robustness of Large Language Models to Prompt Injection17 Aug
- 2023Prompt Injection attack against LLM-integrated Applications8 Jun
Other references · 50
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
- 2024GPT-4o System Cardcited by 4,588
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,568
- 2023Mistral 7Bcited by 3,164
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
- 2016Membership Inference Attacks against Machine Learning Modelscited by 2,281
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
- 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,917
- 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,420
- 2024Gemma: Open Models Based on Gemini Research and Technologycited by 916
38 more
- 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 832
- 2024How Johnny Can Persuade LLMs to Jailbreak Them: Rethinking Persuasion to Challenge AI Safety by Humanizing LLMscited by 573
- 2024JailbreakBench: An Open Robustness Benchmark for Jailbreaking Large Language Modelscited by 536
- 2023Jailbreaking ChatGPT via Prompt Engineering: An Empirical Studycited by 498
- 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 491
- 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Modelscited by 489
- 2023Catastrophic Jailbreak of Open-source LLMs via Exploiting Generationcited by 451
- 2024LoRA+: Efficient Low Rank Adaptation of Large Modelscited by 377
- 2023OpenChat: Advancing Open-source Language Models with Mixed-Quality Datacited by 252
- 2021Adversarial GLUE: A Multi-Task Benchmark for Robustness Evaluation of Language Modelscited by 232
- 2024SALAD-Bench: A Hierarchical and Comprehensive Safety Benchmark for Large Language Modelscited by 228
- 2023PromptRobust: Towards Evaluating the Robustness of Large Language Models on Adversarial Promptscited by 226
- 2024COLD-Attack: Jailbreaking LLMs with Stealthiness and Controllabilitycited by 175
- 2023Defending Large Language Models Against Jailbreaking Attacks Through Goal Prioritizationcited by 170
- 2023Backdooring Instruction-Tuned Large Language Models with Virtual Prompt Injectioncited by 157
- 2024Attacks, Defenses and Evaluations for LLM Conversation Safety: A Surveycited by 130
- 2023Large Language Models in Law: A Surveycited by 128
- 2024Making Them Ask and Answer: Jailbreaking Large Language Models in Few Queries via Disguise and Reconstructioncited by 107
- 2024DrAttack: Prompt Decomposition and Reconstruction Makes Powerful LLM Jailbreakerscited by 101
- 2024JailbreakRadar: Comprehensive Assessment of Jailbreak Attacks Against LLMscited by 95
- 2024Stable LM 2 1.6B Technical Reportcited by 90
- 2024Defending Large Language Models Against Jailbreak Attacks via Layer-specific Editingcited by 79
- 2023FinGPT: Democratizing Internet-scale Data for Financial Large Language Modelscited by 67
- 2024SG-Bench: Evaluating LLM Safety Generalization Across Diverse Tasks and Prompt Typescited by 60
- 2025Foot-In-The-Door: A Multi-turn Jailbreak for LLMscited by 54
- 2024Membership Inference Attacks Cannot Prove that a Model Was Trained On Your Datacited by 50
- 2023MathAttack: Attacking Large Language Models Towards Math Solving Abilitycited by 32
- 2024AttackEval: How to Evaluate the Effectiveness of Jailbreak Attacking on Large Language Modelscited by 28
- 2025CARES: Comprehensive Evaluation of Safety and Adversarial Robustness in Medical LLMscited by 26
- 2023FFT: Towards Harmlessness Evaluation and Analysis for LLMs with Factuality, Fairness, Toxicitycited by 25
- 2024GPT-4 Jailbreaks Itself with Near-Perfect Success Using Self-Explanationcited by 25
- 2024Attend First, Consolidate Later: On the Importance of Attention in Different LLM Layerscited by 25
- 2024Exploring Memorization and Copyright Violation in Frontier LLMs: A Study of the New York Times v. OpenAI 2023 Lawsuitcited by 18
- 2024WalledEval: A Comprehensive Safety Evaluation Toolkit for Large Language Modelscited by 17
- 2024LLMs and Memorization: On Quality and Specificity of Copyright Compliancecited by 16
- 2024Multi-expert Prompting Improves Reliability, Safety, and Usefulness of Large Language Modelscited by 14
- 2024Rethinking How to Evaluate Language Model Jailbreakcited by 12
- 2022Privacy-Preserving Models for Legal Natural Language Processingcited by 10
Built on by
Citing papers per year: 2025: 5; 2026: 1.
6 papers.
- 2025It's a TRAP! Task-Redirecting Agent Persuasion Benchmark for Web Agentscited by 10
- 2025Sentinel: SOTA model to protect against prompt injectionscited by 6
- 2025FuncPoison: Poisoning Function Library to Hijack Multi-agent Autonomous Driving Systemscited by 2
- 2026PRISM: Generation-Time Detection and Mitigation of Secret Leakage in Multi-Agent LLM Pipelinescited by 2
- 2025A Real-Time, Self-Tuning Moderator Framework for Adversarial Prompt Detectioncited by 0
- 2025How to Trick Your AI TA: A Systematic Study of Academic Jailbreaking in LLM Code Evaluationcited by 0
- 2026PRISM: Generation-Time Detection and Mitigation of Secret Leakage in Multi-Agent LLM Pipelines11 May 2026
- 2025It's a TRAP! Task-Redirecting Agent Persuasion Benchmark for Web Agents29 Dec 2025
- 2025How to Trick Your AI TA: A Systematic Study of Academic Jailbreaking in LLM Code Evaluation11 Dec 2025
- 2025FuncPoison: Poisoning Function Library to Hijack Multi-agent Autonomous Driving Systems29 Sep 2025
- 2025A Real-Time, Self-Tuning Moderator Framework for Adversarial Prompt Detection10 Aug 2025
- 2025Sentinel: SOTA model to protect against prompt injections5 Jun 2025
Similar, not cited
Close in wording, no citation either way
- 2024Systematically Analyzing Prompt Injection Vulnerabilities in Diverse LLM Architectures
- 2026An Empirical Evaluation of Prompt Injection Vulnerabilities in Large Language Models Across Multilingual and Obfuscated Attack Scenarios
- 2026Analysis of LLMs Against Prompt Injection and Jailbreak Attacks
- 2024CyberSecEval 2: A Wide-Ranging Cybersecurity Evaluation Suite for Large Language Models
- 2025LLMail-Inject: A Dataset from a Realistic Adaptive Prompt Injection Challenge
- 2025A Critical Evaluation of Defenses against Prompt Injection Attacks
- 2025Breaking to Build: A Threat Model of Prompt-Based Attacks for Securing LLMs
- 2024Automatic and Universal Prompt Injection Attacks against Large Language Models