Table of Contents
Fetching ...

SoK: Taxonomy and Evaluation of Prompt Security in Large Language Models

Hanbin Hong, Shuya Feng, Nima Naderloui, Shenao Yan, Jingyu Zhang, Biying Liu, Ali Arastehfard, Heqing Huang, Yuan Hong

TL;DR

This work tackles the fragmentation and inconsistent evaluation in large language model prompt security by introducing a holistic Systematization of Knowledge (SoK). It furnishes a multi-level taxonomy of jailbreak attacks, defenses, and intrinsic vulnerabilities, plus declarative, machine-readable threat models to enable reproducible comparisons. An open-source evaluation toolkit and JailbreakDB corpus are released to standardize benchmarking and auditing, complemented by a platform and leaderboard to track progress. The results show clear differences across local versus API-backed models and highlight the need for comprehensive, cross-modal, and multilingual defense strategies, establishing a principled foundation for robust, trustworthy LLM deployments.

Abstract

Large Language Models (LLMs) have rapidly become integral to real-world applications, powering services across diverse sectors. However, their widespread deployment has exposed critical security risks, particularly through jailbreak prompts that can bypass model alignment and induce harmful outputs. Despite intense research into both attack and defense techniques, the field remains fragmented: definitions, threat models, and evaluation criteria vary widely, impeding systematic progress and fair comparison. In this Systematization of Knowledge (SoK), we address these challenges by (1) proposing a holistic, multi-level taxonomy that organizes attacks, defenses, and vulnerabilities in LLM prompt security; (2) formalizing threat models and cost assumptions into machine-readable profiles for reproducible evaluation; (3) introducing an open-source evaluation toolkit for standardized, auditable comparison of attacks and defenses; (4) releasing JAILBREAKDB, the largest annotated dataset of jailbreak and benign prompts to date;\footnote{The dataset is released at \href{https://huggingface.co/datasets/youbin2014/JailbreakDB}{\textcolor{purple}{https://huggingface.co/datasets/youbin2014/JailbreakDB}}.} and (5) presenting a comprehensive evaluation platform and leaderboard of state-of-the-art methods \footnote{will be released soon.}. Our work unifies fragmented research, provides rigorous foundations for future studies, and supports the development of robust, trustworthy LLMs suitable for high-stakes deployment.

SoK: Taxonomy and Evaluation of Prompt Security in Large Language Models

TL;DR

This work tackles the fragmentation and inconsistent evaluation in large language model prompt security by introducing a holistic Systematization of Knowledge (SoK). It furnishes a multi-level taxonomy of jailbreak attacks, defenses, and intrinsic vulnerabilities, plus declarative, machine-readable threat models to enable reproducible comparisons. An open-source evaluation toolkit and JailbreakDB corpus are released to standardize benchmarking and auditing, complemented by a platform and leaderboard to track progress. The results show clear differences across local versus API-backed models and highlight the need for comprehensive, cross-modal, and multilingual defense strategies, establishing a principled foundation for robust, trustworthy LLM deployments.

Abstract

Large Language Models (LLMs) have rapidly become integral to real-world applications, powering services across diverse sectors. However, their widespread deployment has exposed critical security risks, particularly through jailbreak prompts that can bypass model alignment and induce harmful outputs. Despite intense research into both attack and defense techniques, the field remains fragmented: definitions, threat models, and evaluation criteria vary widely, impeding systematic progress and fair comparison. In this Systematization of Knowledge (SoK), we address these challenges by (1) proposing a holistic, multi-level taxonomy that organizes attacks, defenses, and vulnerabilities in LLM prompt security; (2) formalizing threat models and cost assumptions into machine-readable profiles for reproducible evaluation; (3) introducing an open-source evaluation toolkit for standardized, auditable comparison of attacks and defenses; (4) releasing JAILBREAKDB, the largest annotated dataset of jailbreak and benign prompts to date;\footnote{The dataset is released at \href{https://huggingface.co/datasets/youbin2014/JailbreakDB}{\textcolor{purple}{https://huggingface.co/datasets/youbin2014/JailbreakDB}}.} and (5) presenting a comprehensive evaluation platform and leaderboard of state-of-the-art methods \footnote{will be released soon.}. Our work unifies fragmented research, provides rigorous foundations for future studies, and supports the development of robust, trustworthy LLMs suitable for high-stakes deployment.
Paper Structure (23 sections, 1 equation, 3 figures, 2 tables)

This paper contains 23 sections, 1 equation, 3 figures, 2 tables.

Figures (3)

  • Figure 1: Overview of Taxonomy I: Jailbreak Attack Techniques
  • Figure 2: Overview of Taxonomy II: Jailbreak Defense Techniques
  • Figure 3: Overview of Taxonomy III: LLM Jailbreak Vulnerabilities