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.

yanismiraoui/prompt_injections_v2

published by @yanismiraoui

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-classificationmultilinguality:multilinguallanguage:enlanguage:frlanguage:delanguage:eslanguage:ptlanguage:it +17 more
Lifetime downloads
71
Last 30 days
71
Likes
-
Size
1.1 MB

Description

Prompt Injections

Prompt injections in seven languages, to help train and evaluate detectors that keep LLM applications under control.

6,250 labelled rows (4,195 injections, 2,055 benign) with the technique, the language and a train/test split. It is the successor to yanismiraoui/prompt_injections: every unique row of that dataset is included, now labelled, alongside new ones.

Try a small detector trained on it in your browser: Is it a prompt injection?

from datasets import… See the full description on the dataset page: https://huggingface.co/datasets/yanismiraoui/prompt_injections_v2.

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

default default
Data files
train data/train.csv
test data/test.csv

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
apache-2.0
Languages
enfrdeesptitro
Created on HFCreated
2026-11-18 · 18 days ago
Size category
1K<n<10K
ModalitiesData types
text
Formats
csv
LibrariesTools
datasetspandaspolarsmlcroissant

Related datasets same stage · Extractsame step · Finding refusals

Read further

Total size
1.1 MB
Files
5
Formats
csv
Head
adc779e
Last updated on HFLast updated
2026-11-18

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

Files by folder from our last crawlfrom our last check

top level 3 files 22.0 KB
.gitattributes 2.5 KB file download
LICENSE 11.4 KB file download
README.md 8.1 KB md download
data/ 2 files 1.1 MB
test.csv 158.8 KB csv download
train.csv 909.3 KB csv download

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

Prompt Injections

Prompt injections in seven languages, to help train and evaluate detectors that keep LLM applications under control.

6,250 labelled rows (4,195 injections, 2,055 benign) with the technique, the language and a train/test split. It is the successor to yanismiraoui/prompt_injections: every unique row of that dataset is included, now labelled, alongside new ones.

Try a small detector trained on it in your browser: Is it a prompt injection?

from datasets import load_dataset

ds = load_dataset("yanismiraoui/prompt_injections_v2")   # train / test

What's new compared with prompt_injections

  • Benign look-alikes. A detector needs negatives that look like attacks: requests that say "ignore", "instructions", "system" or "mode" innocently, questions about prompt injection, harmless role-play, and emails or documents with instructions meant for a human. Without them, a classifier learns to flag keywords.
  • Indirect and agentic attacks. Instructions hidden in emails, web pages, reviews, tickets, code comments and tool output; data exfiltration through markdown links; agents nudged into tool calls nobody asked for.
  • Labels. Every row has label (1 injection, 0 benign), technique and language.
  • Romanian now has real coverage, and every language has every technique.
  • Cleaner. Duplicates and near-duplicates removed; the split is stratified by label, technique and language.

Structure

column meaning
text the prompt or document
label 1 = prompt injection, 0 = benign
technique how the injection works, or which kind of benign text it is
language en, fr, de, es, pt, it or ro
source v1 for the 962 rows that come from yanismiraoui/prompt_injections, v2 for rows new in this dataset

Split: 5,301 train · 949 test.

Techniques and categories

value what it covers rows
instruction_override tells the assistant to ignore, forget or override its previous instructions, rules or system prompt and follow new ones instead 842
prompt_leaking tries to make the assistant reveal its system prompt, hidden instructions, configuration, tools list or initial message 708
mode_switching claims to switch the assistant into a special mode (developer, debug, admin, maintenance, god mode, test mode) where its rules no longer apply 385
role_play_jailbreak asks the assistant to become an unrestricted persona or character with no rules (DAN-style), so it will drop its guidelines 359
ordinary benign: a normal everyday request to an assistant: writing, coding, maths, travel, cooking, health information, shopping, studying, work email 350
data_exfiltration tries to make the assistant leak the conversation, user data or secrets to an outside party, e.g. by rendering a markdown image or link to an attacker URL with the data in the query string 349
benign_roleplay benign: a legitimate creative role-play, persona or game request (tell a story as a pirate, act as an interviewer, play a text adventure) that does not ask the assistant to drop its rules or reveal anything 349
security_discussion benign: a question or note ABOUT prompt injection, jailbreaks or LLM security (how they work, how to defend, a research summary, a policy) that does not itself try to attack the assistant 347
delimiter_attack fakes the end of the conversation or a new system message using markup, role tags, JSON or separators (e.g. '', '### SYSTEM:', '{"role": "system"}') to smuggle new instructions 342
benign_trigger_words benign: a harmless message or document that naturally uses words often seen in attacks — system, mode, developer, admin, override, instructions, ignore, reveal, prompt, previous, configuration, pwned (as gaming slang) — and/or contains ordinary links and emails on example.com or .example domains, for example an IT ticket about switching a laptop to dark mode, a game chat saying someone got pwned, or a newsletter with links 342
benign_document benign: realistic third-party content (email, web page, review, ticket, code comment, meeting notes) that contains imperative instructions meant for a HUMAN reader, e.g. 'please ignore my previous email', 'disregard the old address', 'do not reply to this message' 341
benign_lookalike benign: an ordinary, harmless request that happens to use words like ignore, forget, instructions, rules, system, prompt, override, mode, pretend, reveal, previous, admin or developer in their everyday sense 326
indirect_injection hides instructions aimed at an AI assistant inside content the assistant will process for someone else: an email, a web page, a product review, a PDF/document excerpt, a calendar invite, a support ticket, a code comment or a README 309
refusal_suppression forbids the assistant from refusing, apologising, warning or mentioning its policies, to pressure it into compliance 300
obfuscation hides an injection from filters: base64 or hex encoding, leetspeak, letters separated by spaces or dots, homoglyphs, splitting the payload across variables, asking to translate or decode then obey, or reversed text 292
tool_hijacking tries to make an AI agent call a tool or take an action the user never asked for: send an email, delete files, transfer money, change settings, run a command, approve a request 258
other original rows with no single clear technique 51

Languages

English 1,099 · French 900 · Spanish 892 · Italian 887 · Portuguese 874 · German 873 · Romanian 725

Considerations for using the data

Prompts to handle with care

This dataset contains prompts meant to mislead or jailbreak LLMs. Its purpose is to help build and evaluate defences. Attack payloads are harmless or simulated by design (revealing a system prompt, printing a canary phrase, sending data to a placeholder .example domain, calling a fictional tool).

Limitations

  • Rows are labelled on their own, without the system prompt or task around them, and some cases are genuinely context-dependent. In two manual reviews of 154 rows in all (22 per language, every category), the reviewer agreed with the label on 152 and found about 1 in 10 borderline: short "refusal suppression" lines and "tool hijacking" requests that only become attacks depending on where they appear.
  • A few attack rows ask for generic sensitive things (how to bypass AI safeguards, database access without authentication), with no harmful detail.
  • Injections mention attacker-style URLs more often than benign rows do (13% against 3% mention an .example domain), so a detector can partly lean on that cue.

Checks run before release

  • No empty rows, no invalid labels, no text in both train and test; 4 of 949 test rows have a near-twin (≥ 0.8 character 4-gram overlap) in train.
  • No secrets, phone numbers, real email addresses or card numbers; emails use example.com and links use reserved .example domains.
  • Every base64, base32, hex and binary payload in the obfuscation rows decodes to readable text.

Baseline

A character n-gram logistic regression trained on train scores 92.8% accuracy, 0.946 F1 and 0.977 ROC AUC on test; per-technique and per-language results are in the Space. It is a floor, not a target.

README historyEdit history 2 revisions2 edits

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-11-18 Prompt injections v2: labelled, multilingual, with benign look-alikes and ind... adc779e 8 KB
    Loading...
  2. 2026-11-18 initial commit 00ff240 0 B
    Loading...

Community discussions 1 thread · 1 open · 1 comments

Threads posted by the community on Hugging Face: bug reports, questions about usage, pull requests on the README, licence clarifications. Click any thread to expand and read the full conversation inline. Newest first.Conversations people started on Hugging Face: bug reports, questions about using the data, suggested changes to the author's description, questions about the licence. Open a thread to read it here. Newest first.

  1. 2026-11-19 [bot] Conversion to Parquet open 1 💬 #1
    Loading...
Download from Hugging Face

yanismiraoui/prompt_injections_v2

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