extract 0 0 0

youbin2014/JailbreakDB

published by @youbin2014

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
4.8K
Last 30 days
938
Likes
8
Size
1.3 GB
Created on HF
2025-10-17
Age
1 years 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/youbin2014/JailbreakDB.

Tags

task_categories:text-classificationlanguage:enlicense:cc-by-4.0region: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 accepted at the
2027 IEEE Symposium on Security and Privacy (S&P / Oakland):

@inproceedings{hong2027sokpromptsecurity,
  title = {{SoK}: Systematizing {LLM} Prompt Security: Taxonomies, Datasets, and Unified Evaluation of Attacks and Defenses},
  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},
  booktitle = {2027 IEEE Symposium on Security and Privacy (SP)},
  year = {2027},
  note = {To appear}
}

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 13 revisions

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-09-25Update paper citation to IEEE S&P 202763912b83 KB
    Loading...
  2. 2026-07-08Move PromptSecurity-Eval to standalone dataset1accfcf2.9 KB
    Loading...
  3. 2026-07-04Update citation author listd340a5213.2 KB
    Loading...
  4. 2026-06-12Document CSV field definitionseee466713.2 KB
    Loading...
  5. 2026-06-12Set PromptSecurity sample records as default dataset preview49dc9785.2 KB
    Loading...
  6. 2026-06-12Convert PromptSecurity-Eval measurement records to CSVcca7a153.9 KB
    Loading...
  7. 2026-06-12Add PromptSecurity-Eval measurement recordsa9b95184 KB
    Loading...
  8. 2025-10-31Move `text-classification` to `task_categories` metadata (#1)990377b1.7 KB
    Loading...
  9. 2025-10-21Add paper link and BibTeX citationa5277011.7 KB
    Loading...
  10. 2025-10-17Add text_regular_unique.csvf5e6e671.1 KB
    Loading...
  11. 2025-10-17Add text_jailbreak_unique.csv84035371.1 KB
    Loading...
  12. 2025-10-17Add dataset card (cc-by-4.0, public)16295df1.1 KB
    Loading...
  13. 2025-10-17initial commit19819f40 B
    Loading...

Used by abliterated models 5 in catalog

Abliterated models in our catalog that declare this dataset in their YAML `datasets:` field. Sorted by downloads. This back-reference is unique to abliteration.org: Hugging Face does not surface it.

Community discussions 3 threads · 2 open · 4 comments

Threads posted by the community on Hugging Face: bug reports, questions about usage, pull requests on the README, license clarifications. Click any thread to expand and read the full conversation inline. Newest first.

  1. 2026-06-13[bot] Conversion to Parquetopen1 💬#3
    Loading...
  2. 2025-10-30tactic seems to be wrongopen2 💬#2
    Loading...
  3. 2025-10-22PRMove `text-classification` to `task_categories` metadatamerged1 💬#1
    Loading...

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("youbin2014/JailbreakDB")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="youbin2014/JailbreakDB", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/youbin2014/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