abliteration.org
Get the app

Two ways to read this site

Technical mode is the default: exact terms and codes, for engineers, researchers, journalists and companies. Simple mode gives the same facts in plain words, for anyone who wants a model that runs on their own computer. You can switch at any time at the top of the page.

technical
MLX weights for Apple silicon (M1 or later), usually quantized to 4 or 8 bits.
simple
Made for Macs with Apple silicon (M1 or newer), usually compressed to 4 or 8 bits.

Abdennebi/shieldlm-prompt-injection

published by @Abdennebi

No longer matches the catalog's relevance filter since 2026-11-21; still on Hugging Face. We keep the record as we last saw it.No longer fits the catalog's topic since 2026-11-21. It is still on Hugging Face. We keep the record as we last saw it. Checked 2026-12-06.

Harmful and harmless prompt sets, contrastive pairs, and jailbreak and attack corpora.Sets of harmful and harmless requests, pairs of opposite examples, and attack datasets.

task_categories:text-classificationlanguage:enlanguage:frlanguage:delanguage:eslanguage:itlanguage:ptlanguage:ro +16 more
Lifetime downloads
1.4K
Last 30 days
90
Likes
-
Size
13.6 MB

Description

ShieldLM Prompt Injection Dataset

A unified prompt injection detection dataset with 54,162 samples spanning three attack categories: direct injection, indirect injection, and jailbreak. Curated from 11 source datasets with a 3-level hierarchical label schema.

Dataset Description

Purpose

Training and evaluating prompt injection classifiers for production deployment. Designed to address gaps in existing datasets:

Indirect injection coverage (via… See the full description on the dataset page: https://huggingface.co/datasets/Abdennebi/shieldlm-prompt-injection.

Structure 1 config · from the README front matter1 subset, from the author's description

default default 54,162 rows
SplitPartRowsSize
train 37,913 -
validation 8,124 -
test 8,125 -
FeaturesFields
idstring textstring label_binaryint64 label_categorystring label_intentstring sourcestring languagestring contextstring metadatastring

Used by uncensored 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.No model in our catalog lists this dataset yet. It may be used without being listed, used for other work, or simply be new. The list fills in by itself as models are added.

MetadataDetails

License
mit
Languages
enfrdeesitptroca
Created on HFCreated
2026-02-25 · 9 months ago
Size category
10K<n<100K
ModalitiesData types
text
Formats
parquetoptimized-parquet
LibrariesTools
datasetspandaspolarsmlcroissant

Related datasets same stage · Extractsame step · Finding refusals

Read further

Total size
13.6 MB
Files
5
Formats
parquet
Head
2333058
Last updated on HFLast updated
2026-02-26

Download the dataset

Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.Each of these lines of code downloads the dataset straight from Hugging Face, with your own Hugging Face login.

Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("Abdennebi/shieldlm-prompt-injection")
Raw snapshot (Python)All files (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="Abdennebi/shieldlm-prompt-injection", repo_type="dataset")
git clone (requires git-lfs)With git (needs git-lfs)
git clone https://huggingface.co/datasets/Abdennebi/shieldlm-prompt-injection

Files by folder from our last crawlfrom our last check

top level 2 files 8.3 KB
.gitattributes 2.5 KB file download
README.md 5.8 KB md download
data/ 3 files 13.6 MB
test-00000-of-00001.parquet 2.4 MB parquet download
train-00000-of-00001.parquet 8.9 MB parquet download
validation-00000-of-00001.parquet 2.3 MB parquet download

READMEAuthor's description current version from Hugging Faceas it is now on Hugging Face

ShieldLM Prompt Injection Dataset

A unified prompt injection detection dataset with 54,162 samples spanning three attack categories: direct injection, indirect injection, and jailbreak. Curated from 11 source datasets with a 3-level hierarchical label schema.

Dataset Description

Purpose

Training and evaluating prompt injection classifiers for production deployment. Designed to address gaps in existing datasets:

  • Indirect injection coverage (via InjecAgent tool-embedded attacks)
  • Jailbreak techniques (via TrustAIRLab in-the-wild prompts + jackhhao classification)
  • Application-structured benign data (prevents format-based false positives)
  • Sensitive-topic stress tests (via JailbreakBench — topics != techniques)

Statistics

Metric Value
Total samples 54,162
Train / Val / Test 37,913 / 8,124 / 8,125
Benign 35,197 (65.0%)
Attack 18,965 (35.0%)
Languages 8 (en, fr, es, it, de, pt, ro, ca)
Sources 11 datasets

Category breakdown:

Category Count %
benign 35,197 65.0%
direct_injection 16,893 31.2%
indirect_injection 1,054 1.9%
jailbreak 1,018 1.9%

Label Schema

Level Field Values
1 (Binary) label_binary 0 (BENIGN), 1 (ATTACK)
2 (Category) label_category benign, direct_injection, indirect_injection, jailbreak
3 (Intent) label_intent goal_hijacking, data_exfiltration, financial_harm, ...

Source Datasets

Source License Category Samples
alespalla/chatbot_instruction_prompts Apache-2.0 benign (conversational) 24,804
reshabhs/SPML_Chatbot_Prompt_Injection CC-BY-4.0 direct_injection + benign 15,913
xTRam1/safe-guard-prompt-injection Apache-2.0 direct_injection + benign 8,118
TrustAIRLab/in-the-wild-jailbreak-prompts CC-BY-NC-SA-4.0 jailbreak 1,002
Harelix/Prompt-Injection-Mixed-Techniques-2024 Apache-2.0 direct_injection + benign 987
yanismiraoui/prompt_injections Apache-2.0 direct_injection (multilingual) 974
deepset/prompt-injections Apache-2.0 direct_injection + benign 546
InjecAgent (UIUC) MIT indirect_injection + benign 1,054
jackhhao/jailbreak-classification MIT jailbreak + benign 531
JailbreakBench/JBB-Behaviors MIT benign (FP stress test) 200

Note: Harelix data recovered from ahsanayub/malicious-prompts (original dataset removed from HuggingFace).

Key Design Decisions

  1. JailbreakBench Goals are labeled BENIGN — they describe harmful topics, not injection techniques. Used as a false-positive stress test.
  2. No isolated attacker payloads from InjecAgent — context determines injection (PromptShield insight).
  3. Benign data includes application-structured samples — clean tool responses from InjecAgent prevent the classifier from learning "JSON format = attack."
  4. In-the-wild jailbreaks — real DAN, persona switching, and role-play attacks collected from Reddit, Discord, and jailbreak forums.

Fields

Field Type Description
id string Deterministic unique ID: {source}_{index}_{hash}
text string Text to classify
label_binary int 0 (BENIGN) or 1 (ATTACK)
label_category string One of 4 categories
label_intent string (nullable) Fine-grained attack intent
source string Origin dataset
language string ISO 639-1 language code
context string (nullable) System prompt or user instruction
metadata dict Source-specific metadata

Splits

Split Samples Purpose
train 37,913 Model training (70%)
validation 8,124 Threshold calibration and model selection (15%)
test 8,125 Final evaluation (15%)

Stratified by label_category, random seed 42.

Intended Use

  • Training prompt injection detection classifiers
  • Benchmarking detection systems at low-FPR operating points
  • Research on adversarial robustness of LLM safety filters

Limitations

  • English-dominant: >98% English; multilingual samples limited to 7 other languages
  • Text-only: No multimodal or visual prompt injection
  • Synthetic benign tool responses: Generated by stripping injections from InjecAgent
  • Static benchmark: Does not capture evolving attack techniques
  • No multi-turn: All samples are single-turn

Citation

@software{shieldlm2026,
  author = {Milushev, Dimiter},
  title = {ShieldLM: Unified Prompt Injection Detection Dataset},
  year = {2026},
  url = {https://github.com/dvm81/shieldlm}
}

License

MIT (this curation). Source datasets retain their original licenses (see table above).
Note: TrustAIRLab/in-the-wild-jailbreak-prompts uses CC-BY-NC-SA-4.0; all other sources are Apache-2.0, CC-BY-4.0, or MIT.

README historyEdit history 1 revision1 edit

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.Every night we save the author's description of every dataset in the catalog. When it changes, we keep the new text and compare it with the one before. This shows what each author chose to say about their dataset, and how that changed over time.

  1. 2026-02-26 Duplicate from dmilush/shieldlm-prompt-injection 2333058 5.7 KB
    Loading...
Download from Hugging Face

Abdennebi/shieldlm-prompt-injection

Catalog is the map. Apps are the tools.

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

Every GGUF model page has an "Open in Abliteration" button that lets you pick a file, then opens it in the desktop app. No API keys, no subscription, no prompt leakage.Each model page in the format the app uses has an "Open in Abliteration" button to open a file in the desktop app. No API keys, no subscription, your requests stay on your computer.

Open in Abliteration