Dataset
Prompt-injection-dataset
Open on Hugging FaceHugging Face · relatedHugging Face · relatedHugging Face · relatedMarkdown · JSON · BibTeX
Summary
A high-quality, leakage-free binary classification dataset for detecting **prompt injection** and **jailbreak** attacks against Large Language Models.
- Venue
- neuralchemy
- Source
- huggingface
- Access
- free
- License
- apache-2.0
- License family
- Permissive
- Language
- en
- Hugging Face
- neuralchemy/Prompt-injection-dataset
- Author type
- unknown
- Added
- Jul 17, 2026
- Verified
- Jul 17, 2026
- Research status
- done
From the source
- Repository
- neuralchemy/Prompt-injection-dataset
- Created
- Jan 25, 2026
- Last updated
- Apr 23, 2026
- Downloads (last month)
- 3,059
- Likes
- 32
- Size
- 10K to 100K rows
- Modalities
- text
- Tasks
- text-classification
- Formats
- parquet, optimized-parquet
Dataset profile
- Scale
- core train/val/test 4391/941/942; full train 14036 with same val/test. Independently core-train 2650 pos / 1741 neg; 31 categories. Hub usedStorage ~2.2 MB.
- Format
- Parquet configs core|full. Columns: text, label, category, source, severity, group_id, augmented, tags
- Type
- Labeled text classification (security)
- License
- apache-2.0
- Cost
- Free
- Languages
- English prompts
- Modality
- Text only
- Domain
- LLM prompt injection / jailbreak detection; AI safety classifiers
- Time period
- HF createdAt 2026-01-25; lastModified 2026-04-23. Taxonomy includes 2025 attack styles per card.
- Purpose
- Train and eval binary malicious-vs-benign prompt detectors with group-aware leakage-free splits
- Used for
- Classical ML and transformer detectors; card reports RF 96.3% / DeBERTa-v3-small 95.1% test accuracy
- Authors
- NeurAlchemy originals + HackAPrompt + WildGuard/JudgeComparison + HarmBench (+ benign counterparts) + hand-crafted hard negatives (licenses mixed; package Apache-2.0)
- Bias
- Independently core-train skewed to benign + direct_injection (1699+1397). Jailbreak 291; many rare categories <30. ~60/40 malicious/benign claimed on card.
- Text quality
- High for a security classifier set. Sampled benign hard-negatives look realistic; group_id + augmented flags support clean eval. Card claims automated zero-leakage verification across 16918 samples.
- Sample size
- core ~6.3K; full ~15.9K across splits
- Long context
- Low-Medium (some context_overflow / many_shot categories by design)
- Intermediate steps
- No (single-turn classification labels)
- Idea quality
- High (leakage-aware splits + severity/category metadata + published baselines)
- Novelty
- Medium-High (well-engineered 2026 packaging of injection taxonomy with group splits)
- Text conversion
- High
- Collection method
- Download
- Static
- Mostly (lastModified 2026-04-23)
- Processed
- Yes (curation, augmentation, group splits)
Research notes
- downloads=2318; likes=24
- Discord msg 1490732147580076082. Companion Threat-Matrix dataset linked on card. Strong leftover candidate.
Similar entries
- Paper Invent a Dataset: Measuring Dataset Generation Abilities With Zero Seed Data
- Dataset X-Voice-Dataset-Train
- Dataset DeepScaleR-Preview-Dataset
- Dataset Jupyter Agent Dataset
- Post Invent a Dataset: Training Data for Custom Models
- Paper GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learning