extract 0 0 0

rux22/JailbreakDB

published by @rux22

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
145
Last 30 days
42
Likes
-
Size
1.3 GB
Created on HF
2026-08-08
Age
2 months ago

Description

JailbreakDB

JailbreakDB is a large-scale prompt corpus for LLM safety and prompt-security

research. It contains two deduplicated, text-only CSV files:

text_jailbreak_unique.csv (~6.6M rows): jailbreak and adversarial prompts.

text_regular_unique.csv (~5.7M rows): benign prompts.

Each row stores the prompt text and lightweight source metadata. The associated

PromptSecurity evaluation measurements are maintained as a separate Hugging Face

dataset:… See the full description on the dataset page: https://huggingface.co/datasets/rux22/JailbreakDB.

Tags

task_categories:text-classificationlanguage:enlicense:cc-by-4.0arxiv:2510.15476region:usllm-safetyjailbreakpromptssecurity

README current version from Hugging Face


language:

  • en
    license: cc-by-4.0
    pretty_name: JailbreakDB
    task_categories:
  • text-classification
    tags:
  • llm-safety
  • jailbreak
  • prompts
  • security
    configs:
  • config_name: prompt_corpus
    default: true
    data_files:
    • split: jailbreak
      path: text_jailbreak_unique.csv
    • split: regular
      path: text_regular_unique.csv

JailbreakDB

JailbreakDB is a large-scale prompt corpus for LLM safety and prompt-security
research. It contains two deduplicated, text-only CSV files:

  • text_jailbreak_unique.csv (~6.6M rows): jailbreak and adversarial prompts.
  • text_regular_unique.csv (~5.7M rows): benign prompts.

Each row stores the prompt text and lightweight source metadata. The associated
PromptSecurity evaluation measurements are maintained as a separate Hugging Face
dataset: https://huggingface.co/datasets/youbin2014/PromptSecurity-Eval.

Related resources:

Data Files

Split File Description
jailbreak text_jailbreak_unique.csv Jailbreak and adversarial prompts.
regular text_regular_unique.csv Benign prompts.

CSV Field Reference

The prompt-corpus CSV files use the following fields:

Field Meaning
system_prompt Optional system-side instruction associated with the prompt.
user_prompt User-side prompt text.
jailbreak Binary prompt label; 1 denotes jailbreak/adversarial prompt and 0 denotes benign prompt.
source Source corpus or collection from which the prompt was collected.
tactic Prompt tactic or category when available.

Loading

from datasets import load_dataset

corpus = load_dataset("youbin2014/JailbreakDB", "prompt_corpus")
print(corpus)

The CSV files can also be loaded directly:

from datasets import load_dataset

files = {
    "jailbreak": "hf://datasets/youbin2014/JailbreakDB/text_jailbreak_unique.csv",
    "regular": "hf://datasets/youbin2014/JailbreakDB/text_regular_unique.csv",
}
corpus = load_dataset("csv", data_files=files)
print(corpus)

Paper

If you use JailbreakDB, please cite the PromptSecurity paper:

@misc{hong2025sokpromptsecurity,
  title = {SoK: Taxonomy and Evaluation of Prompt Security in Large Language Models},
  author = {Hong, Hanbin and Wu, Shuang and Feng, Shuya and Naderloui, Nima and Yan, Shenao and Zhang, Jingyu and Arastehfard, Ali and Huang, Heqing and Hong, Yuan},
  year = {2025},
  eprint = {2510.15476},
  archivePrefix = {arXiv},
  primaryClass = {cs.CR},
  doi = {10.48550/arXiv.2510.15476},
  url = {https://arxiv.org/abs/2510.15476}
}

Safety Notice

This dataset may contain harmful, offensive, or disturbing prompts. It is
intended strictly for research on model safety, jailbreak robustness, defense
evaluation, and prompt-security analysis. Please review your institutional and
legal requirements before use.

README history 1 revision

Every night we snapshot the README of every dataset in the catalog. When the SHA changes we archive the new version and diff it against the last. This is the evolving thought record of the alignment-data field: what the author decided to say about the corpus, and how that framing shifted over time.

  1. 2026-08-08Duplicate from youbin2014/JailbreakDB03f094c2.9 KB
    Loading...

Used by abliterated models none yet

No abliterated models in our catalog have declared this dataset in their YAML metadata yet. This can mean the dataset is used but not declared, is used outside abliteration workflows, or is new. The link will populate automatically as models are indexed.

Related datasets same stage · extract

Read further

Metadata

License
cc-by-4.0

Repository

Download the dataset

0

Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.

Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("rux22/JailbreakDB")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="rux22/JailbreakDB", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/rux22/JailbreakDB
Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration