Dataset Card for Prompt Injections
A newer version is available: yanismiraoui/prompt_injections_v2.
It includes every unique row of this dataset, now labelled, plus 5,288 new rows: benign texts that look like attacks, indirect and agentic injections, and full coverage of all seven languages. Each row carries a label, technique and language, with a train/test split.
This dataset stays as it is, so existing code keeps working.
Table of Contents
Dataset Description
This dataset of prompt injections enriches Large Language Models (LLMs) by providing task-specific examples and prompts, helping improve LLMs' performance and control their behavior.
Dataset Summary
This dataset contains over 1000 rows of prompt injections in multiple languages. It contains examples of prompt injections using different techniques such as: prompt leaking, jailbreaking, and mode switching.
Languages
The text in the dataset is in English, French, German, Spanish, Italian, Portuguese and Romanian.
Dataset Structure
It consists of one column with the prompt injections examples.
Considerations for Using the Data
Prompts to handle with care
This dataset of prompts has to be handled with care as it contains examples of prompts meant to harm, mislead or jailbreak LLMs. The goal of this dataset is to mainly help better finetune and control LLMs.