evaluate 0 just added 0

Athithya117/prompt-injection-eval-suite

published by @Athithya117

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
84
Last 30 days
84
Likes
2
Size
10.7 MB
Created on HF
2026-10-17
Age
5 days ago

Description

Prompt Injection Eval Suite

This is the evaluation suite behind the

Prompt Injection Guard model card, packaged so

anyone can reproduce the comparison or evaluate their own detector. It covers over-defense (false alarms on benign

text that looks suspicious), direct injection and jailbreaks, and indirect injection planted in documents, emails and

RAG contexts.

Every row has text, label (1 = injection or jailbreak, 0 = benign), source, kind (direct / indirect) and lang.

Under this… See the full description on the dataset page: https://huggingface.co/datasets/Athithya117/prompt-injection-eval-suite.

Tags

task_categories:text-classificationlanguage:enlanguage:multilinguallicense:othersize_categories:10K<n<100Kformat:parquetmodality:textlibrary:datasetslibrary:pandaslibrary:polarslibrary:mlcroissantregion:usprompt-injectionjailbreakllm-securitybenchmarkevaluation

README current version from Hugging Face


license: other
license_name: mixed-per-config
task_categories:

  • text-classification
    language:
  • en
  • multilingual
    tags:
  • prompt-injection
  • jailbreak
  • llm-security
  • benchmark
  • evaluation
    pretty_name: Prompt Injection Eval Suite
    configs:
  • config_name: notinject
    data_files:
    • split: test
      path: data/notinject.parquet
  • config_name: xstest
    data_files:
    • split: test
      path: data/xstest.parquet
  • config_name: orbench_hard
    data_files:
    • split: test
      path: data/orbench_hard.parquet
  • config_name: deepset_test
    data_files:
    • split: test
      path: data/deepset_test.parquet
  • config_name: jackhhao_test
    data_files:
    • split: test
      path: data/jackhhao_test.parquet
  • config_name: simsonsun_jailbreaks
    data_files:
    • split: test
      path: data/simsonsun_jailbreaks.parquet
  • config_name: boundary_pairs_test
    data_files:
    • split: test
      path: data/boundary_pairs_test.parquet
  • config_name: agentic5k_test
    data_files:
    • split: test
      path: data/agentic5k_test.parquet
  • config_name: neuralchemy_test
    data_files:
    • split: test
      path: data/neuralchemy_test.parquet
  • config_name: slabs_test
    data_files:
    • split: test
      path: data/slabs_test.parquet
  • config_name: bipia
    data_files:
    • split: test
      path: data/bipia.parquet
  • config_name: piarena
    data_files:
    • split: test
      path: data/piarena.parquet
  • config_name: llmail_phase2
    data_files:
    • split: test
      path: data/llmail_phase2.parquet
  • config_name: synthetic_docs_test
    data_files:
    • split: test
      path: data/synthetic_docs_test.parquet
  • config_name: synthetic_direct_test
    data_files:
    • split: test
      path: data/synthetic_direct_test.parquet
  • config_name: synthetic_v2_test
    data_files:
    • split: test
      path: data/synthetic_v2_test.parquet

Prompt Injection Eval Suite

This is the evaluation suite behind the
Prompt Injection Guard model card, packaged so
anyone can reproduce the comparison or evaluate their own detector. It covers over-defense (false alarms on benign
text that looks suspicious), direct injection and jailbreaks, and indirect injection planted in documents, emails and
RAG contexts.

Every row has text, label (1 = injection or jailbreak, 0 = benign), source, kind (direct / indirect) and lang.
Under this suite's definition, plain harmful requests with no attempt to override instructions are benign. That is
why XSTest's "unsafe" prompts are labelled 0.

config rows positives what it tests source license
notinject 339 0 over-defense: benign prompts with trigger words (all label 0) leolee99/NotInject MIT
xstest 450 0 safe and unsafe-but-not-injection prompts (all label 0 for injection detection) Paul/XSTest CC-BY-4.0
orbench_hard 1319 0 seemingly toxic but benign prompts (all label 0) bench-llm/or-bench (or-bench-hard-1k) CC-BY-4.0
deepset_test 116 60 direct injections, en/de deepset/prompt-injections (test) Apache-2.0
jackhhao_test 262 139 jailbreak vs benign prompts jackhhao/jailbreak-classification (test) Apache-2.0
simsonsun_jailbreaks 2426 2426 contamination-filtered jailbreaks (all label 1) Simsonsun/JailbreakPrompts MIT
boundary_pairs_test 240 120 agentic minimal pairs 3nesdeniz/agentic-prompt-injection-boundary-pairs (test) CC-BY-4.0
agentic5k_test 545 280 agentic injections and hard negatives 3nesdeniz/agentic-prompt-injection-5k (test) CC-BY-4.0
neuralchemy_test 942 552 direct injections and hard negatives neuralchemy/Prompt-injection-dataset (core test) Apache-2.0
slabs_test 2101 1051 direct injections and hard negatives S-Labs/prompt-injection-dataset (test) MIT
bipia 3178 3000 indirect injection in email/table/code contexts geodesic-research/bipia (derived: attacked contexts + the same contexts with the attack removed) CC-BY-SA-4.0
piarena 1500 750 indirect injection in RAG/QA contexts sleeepeer/PIArena (derived: injected task inserted at a sentence boundary vs clean context) MIT
llmail_phase2 2000 2000 real adaptive email injections (all label 1) microsoft/llmail-inject-challenge (Phase 2, deduplicated sample) MIT
synthetic_docs_test 3354 1113 documents in 45 types / 30 languages: clean, injected, hard-benign Horizon-Labs (generated with Qwen/Qwen3.8-27B) Apache-2.0
synthetic_direct_test 3162 1585 direct attacks and look-alike benign messages, 30 languages Horizon-Labs (generated with Qwen/Qwen3.8-27B) Apache-2.0
synthetic_v2_test 2839 1412 role-play framing pairs and planted-task documents Horizon-Labs (generated with Qwen/Qwen3.8-27B) Apache-2.0

Notes:

  • Each config keeps its upstream license. Please cite and respect the original datasets. BIPIA-derived rows are
    CC-BY-SA-4.0, so derivatives must keep that license.
  • bipia and piarena are derived: we built positive/negative pairs from the upstream contexts. See
    code/data/build_v0.py in the model repo.
  • The synthetic_* configs were generated by us and are in-distribution for our own models. Treat them as
    supplementary.
  • Two more sets used on the model card are not included, because they are gated and non-commercial:
    qualifire/prompt-injections-benchmark and Mindgard/evaded-prompt-injection-and-jailbreak-samples.

Results for 9 open detectors: Prompt Injection Detector Leaderboard.

Quick evaluation

from datasets import load_dataset
from transformers import pipeline
clf = pipeline("text-classification", model="Horizon-Labs/prompt-injection-guard-base", truncation=True)
ds = load_dataset("Horizon-Labs/prompt-injection-eval-suite", "notinject", split="test")
preds = [int(p["label"] == "injection") for p in clf(ds["text"], batch_size=32)]
print("accuracy", sum(int(p == y) for p, y in zip(preds, ds["label"])) / len(preds))

README history 1 revision

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.

  1. 2026-10-17Duplicate from Horizon-Labs/prompt-injection-eval-suite86ddd776 KB
    Loading...

Used by abliterated 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.

Related datasets same stage · evaluate

Read further

Metadata

License
other

Download the dataset

0

Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.

Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("Athithya117/prompt-injection-eval-suite")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="Athithya117/prompt-injection-eval-suite", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/Athithya117/prompt-injection-eval-suite
Catalog is the map. Apps are the tools.

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

Every model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration