extract gated 0 0

Cogensec/jailbreak-corpus

published by @Cogensec

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
204
Last 30 days
51
Likes
3
Size
32.1 MB
Created on HF
2026-06-24
Age
3 months ago

Description

Jailbreak Corpus — v0.3

A labeled corpus of real jailbreak attempts — adversarial prompts that try

to make a language model violate its safety policy — assembled for defensive

work: training/evaluating jailbreak detectors and guardrails, studying attack

taxonomies, and measuring model robustness.

Prompts only — no model completions. Every record is an attack prompt plus

metadata. The corpus contains no model outputs, hence no successful harmful

generations. It is gated and… See the full description on the dataset page: https://huggingface.co/datasets/Cogensec/jailbreak-corpus.

Tags

task_categories:text-classificationannotations_creators:machine-generatedsource_datasets:extendedlanguage:enlanguage:delanguage:eslanguage:frlanguage:itlanguage:ptlanguage:nllicense:othersize_categories:10K<n<100Kformat:parquetmodality:tabularmodality:textlibrary:datasetslibrary:pandaslibrary:polarslibrary:mlcroissantregion:usai-safetyred-teamingjailbreakllm-robustnesssecurityguardrails

README current version from Hugging Face


license: other
license_name: mixed-source-attribution
pretty_name: Jailbreak Corpus
language:

  • en
  • de
  • es
  • fr
  • it
  • pt
  • nl
    task_categories:
  • text-classification
    tags:
  • ai-safety
  • red-teaming
  • jailbreak
  • llm-robustness
  • security
  • guardrails
    size_categories:
  • 10K<n<100K
    annotations_creators:
  • machine-generated
    source_datasets:
  • extended
    extra_gated_prompt: >-
    Jailbreak Corpus is released for DEFENSIVE security and AI-safety research
    only: training/evaluating jailbreak detectors, studying attack taxonomies, and
    measuring robustness. By requesting access you agree to the Responsible Use
    Policy (RESPONSIBLE_USE.md) and confirm you will not use this data to attack
    systems you are not authorized to test, to harass anyone, or to generate
    harmful content. Access is logged.
    extra_gated_fields:
    Full name: text
    Affiliation / organization: text
    Country: country
    Intended use (one or two sentences): text
    I will use this dataset for defensive / research purposes only: checkbox
    I accept the Responsible Use Policy: checkbox
    extra_gated_button_content: Request access
    configs:
  • config_name: default
    data_files:
    • split: train
      path: train.parquet
    • split: validation
      path: validation.parquet
    • split: test
      path: test.parquet

Jailbreak Corpus — v0.3

A labeled corpus of real jailbreak attempts — adversarial prompts that try
to make a language model violate its safety policy — assembled for defensive
work: training/evaluating jailbreak detectors and guardrails, studying attack
taxonomies, and measuring model robustness.

Prompts only — no model completions. Every record is an attack prompt plus
metadata. The corpus contains no model outputs, hence no successful harmful
generations. It is gated and excludes CSAE content entirely. See
RESPONSIBLE_USE.md. The prompts describe harmful intents
(that is the attack surface a detector must recognize); handle accordingly.

Composition (v0.3)

Records 59,508 (train 47,577 / validation 5,990 / test 5,941)
Real seed prompts 43,026 (72%) — aggregated + de-duplicated from 14 public datasets
Synthetic 16,482 (28%) — labeled augmentations of the real seeds
Languages 15 (en-dominant; de, es, fr, it, pt, nl, da, …) · Median tokens ~173

Real seeds by source (all MIT/Apache-2.0 except WildJailbreak = ODC-BY; see
LICENSES.md):

source seeds source seeds source seeds
WildJailbreak 19,978 multi-turn cipher (Claude) 1,322 StrongREJECT 281
SPML injection 12,541 In-The-Wild 990 jackhhao jailbreak 235
HackAPrompt 3,088 multilingual injection 973 deepset injection 195
Mosscap injection 2,273 AdvBench 492 HarmBench 194
Forbidden-Question-Set 377 JailbreakBench 87

Synthetic augmentation wraps the real seeds in encoding/cipher transforms and
persona/template attacks (across model families), flagged synthetic=true with
parent_id lineage. Pipeline: dedup real seeds → augment unique seeds → final
dedup → group-aware stratified split
(a seed and its variants never cross the
train/test boundary).

Distributions (counts)

  • Family (provenance): unspecified 40,739 · openai 9,097 · anthropic 2,291 ·
    meta 1,833 · cohere 1,526 · google 1,022 · mistral 874 · xai 784 · deepseek 759 ·
    alibaba 742 — all 9 families present.
  • Technique (primary): other 30,555 · hypothetical_fiction 8,389 ·
    encoding_obfuscation 7,433 · role_play_persona 4,343 · cipher 2,878 ·
    privilege_escalation 1,660 · refusal_suppression 1,428 · prompt_injection 1,175 · …
  • Harm (primary): unknown 54,471 · cyber 1,292 · hate_harassment 938 ·
    sexual_content 670 · misinformation 634 · illegal_other 460 · privacy_pii 453 · …
  • Outcome: unknown 56,420 · success 2,370 · refusal 718 (success/refusal from
    HackAPrompt; outcome_method = source_reported).

Record schema

field type description
id string stable hash id
prompt string the attack prompt (flattened for multi-turn)
turns json string [{role, content}] for multi-turn, else null
is_multi_turn bool
technique / technique_primary list / string attack vector(s), controlled vocab
harm_category / harm_category_primary list / string targeted harm, MLCommons-aligned
outcome / outcome_method string success/partial/refusal/blocked/unknown + how determined
target_model_family list provenance: which of 9 families the attempt targeted
target_model_version string specific model when stated
language string ISO-639-1
synthetic / augmentation_op / parent_id bool / string / string augmentation lineage
source_dataset / source_record_id / source_url / license string provenance + attribution
prompt_sha256 / char_len / token_len string / int / int dedup + length
split string train / validation / test

Authoritative JSON Schema: record.schema.json.

from datasets import load_dataset
ds = load_dataset("Cogensec/jailbreak-corpus")          # gated; accept the terms
real = ds["train"].filter(lambda r: not r["synthetic"]) # real-only seeds

Intended uses

✅ Train/evaluate jailbreak & prompt-injection detectors and guardrails,
robustness benchmarking, taxonomy research, authorized red-teaming of your own
systems. ❌ Attacking third-party systems, harassment, harmful generation — see
the Responsible Use Policy.

Limitations (honest)

  • Labeling is rule-based. Technique is other for 51% and harm is unknown
    for 92% — many prompt-injection seeds don't match keyword signals, and bare
    scaffolds carry no payload-specific harm. An LLM-assisted pass
    (jbcorpus label --llm-assist) is implemented and will raise precision in a
    future release; treat current technique/harm labels as weak.
  • Source concentration. WildJailbreak (~46% of real seeds) and SPML injection
    (~29%) dominate. Filter by source_dataset for balance.
  • Provenance mostly unspecified and otherwise OpenAI-skewed; reflects the
    sources, not current model susceptibility.
  • Outcome unknown for ~95% — only HackAPrompt reports per-prompt results;
    no completions are stored.

Sources & licenses

Aggregated from 14 public datasets (MIT / Apache-2.0, plus WildJailbreak ODC-BY
with attribution to AI2). Synthetic records are Apache-2.0. Full attribution table
and per-record license/source_url: LICENSES.md.

Citation

@misc{cogensec_jailbreak_corpus_2026,
  title  = {Jailbreak Corpus: A Labeled Dataset of Jailbreak Attempts (v0.3)},
  author = {Cogensec},
  year   = {2026},
  note   = {Gated. Aggregated from 14 public MIT/Apache/ODC-BY datasets + synthetic augmentation; see LICENSES.md},
  url    = {https://huggingface.co/datasets/Cogensec/jailbreak-corpus}
}

Please also cite the originating sources of the records you use (source_url per
record); WildJailbreak (ODC-BY) requires attribution to AI2. See the
DATASHEET and Responsible Use Policy.

README history 20 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-06-24Upload LICENSES.md with huggingface_hubcb889297.3 KB
    Loading...
  2. 2026-06-24Upload DATASHEET.md with huggingface_hubc0f89657.3 KB
    Loading...
  3. 2026-06-24Upload README.md with huggingface_hubeed06fb7.3 KB
    Loading...
  4. 2026-06-24Upload test.parquet with huggingface_hub6827d057.6 KB
    Loading...
  5. 2026-06-24Upload validation.parquet with huggingface_hub45ba8a67.6 KB
    Loading...
  6. 2026-06-24Upload train.parquet with huggingface_hub07345d97.6 KB
    Loading...
  7. 2026-06-24Upload LICENSES.md with huggingface_hub9d656d07.6 KB
    Loading...
  8. 2026-06-24Upload DATASHEET.md with huggingface_hub9e4cbcb7.6 KB
    Loading...
  9. 2026-06-24Upload README.md with huggingface_hubc55f0b77.6 KB
    Loading...
  10. 2026-06-24Upload test.parquet with huggingface_hub8cfc3846.7 KB
    Loading...
  11. 2026-06-24Upload validation.parquet with huggingface_huba4dc5246.7 KB
    Loading...
  12. 2026-06-24Upload train.parquet with huggingface_hubbdf4fcd6.7 KB
    Loading...
  13. 2026-06-24Upload LICENSES.md with huggingface_hub48421c96.7 KB
    Loading...
  14. 2026-06-24Upload DATASHEET.md with huggingface_hubda909606.7 KB
    Loading...
  15. 2026-06-24Upload README.md with huggingface_hub641cbd36.7 KB
    Loading...
  16. 2026-06-24Upload test.parquet with huggingface_huba6b03af6.2 KB
    Loading...
  17. 2026-06-24Upload validation.parquet with huggingface_hub3473b886.2 KB
    Loading...
  18. 2026-06-24Upload train.parquet with huggingface_hub036c9d16.2 KB
    Loading...
  19. 2026-06-24Upload LICENSES.md with huggingface_hubf4a11f36.2 KB
    Loading...
  20. 2026-06-24Upload RESPONSIBLE_USE.md with huggingface_hub6dfb02a6.2 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
other

Repository

Download the dataset

Gated dataset. You need to accept the author's terms on Hugging Face before downloading. Visit the repository, click Agree and access repository, then log in locally with huggingface-cli login and use one of the snippets below.

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