Sign inGet started
Dataset · Hugging Face

S-Labs/prompt-injection-dataset

Prompt Injection Detection Dataset A binary classification dataset for detecting prompt injection attacks in user inputs to LLM-based applications. Dataset Description This dataset is designed to train encoder-only models (e.g., BERT, RoBERTa, DistilBERT) to classify user inputs as either benign or prompt injection attempts. Classes Label Class Description 0 BENIGN Legitimate user queries 1 INJECTION Prompt injection attempts Features… See the full description on the dataset page: https://huggingface.co/datasets/S-Labs/prompt-injection-dataset.

Author / organizationS-Labs
License (as declared)mit
Downloads1.3K (as reported by Hugging Face)
Likes11
Created26 January 2026
Last updated at source29 January 2026
prompt-injectionsecuritynlpsafetyclassification
Embed this entry
<iframe src="https://silytics.si/embed/item/cd9a14c6-b6f5-4db8-9e74-bf7fc4584984" width="420" height="190" style="border:0" loading="lazy" title="Silytics entry"></iframe>

Free, no tracking. More about feeds and embeds.

Silytics shows public metadata from Hugging Face and links to the original. Information may be incomplete or out of date. Last refreshed 16 October 2026. Licenses and terms of the original apply to the work itself. Not financial, legal or professional advice.