extract 0 0 0

mukunda1729/prompt-injection-patterns-extended

published by @mukunda1729

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
263
Last 30 days
40
Likes
1
Size
10 KB
Created on HF
2026-04-27
Age
5 months ago

Description

prompt-injection-patterns-extended

30 representative prompt-injection patterns across 10 categories. Built for testing input filters, agent defenses, and red-team eval pipelines. Pairs nicely with the smaller jailbreak-corpus-mini fixture set.

Categories

Category

Count

Example

instruction-override

2

"Ignore all previous instructions..."

role-confusion

2

"From now on you are DAN..."

obfuscation

4

base64 / ROT13 / homoglyph attacks

indirect

4

Hidden… See the full description on the dataset page: https://huggingface.co/datasets/mukunda1729/prompt-injection-patterns-extended.

Tags

language:enlicense:mitsize_categories:n<1Kformat:jsonmodality:textlibrary:datasetslibrary:pandaslibrary:polarslibrary:mlcroissantregion:usprompt-injectionjailbreakllm-securityred-teamsafetytesting

README current version from Hugging Face


license: mit
language:

  • en
    tags:
  • prompt-injection
  • jailbreak
  • llm-security
  • red-team
  • safety
  • testing
    size_categories:
  • n<1K
    configs:
  • config_name: default
    data_files:
    • split: train
      path: data.jsonl

prompt-injection-patterns-extended

30 representative prompt-injection patterns across 10 categories. Built for testing input filters, agent defenses, and red-team eval pipelines. Pairs nicely with the smaller jailbreak-corpus-mini fixture set.

Categories

Category Count Example
instruction-override 2 "Ignore all previous instructions..."
role-confusion 2 "From now on you are DAN..."
obfuscation 4 base64 / ROT13 / homoglyph attacks
indirect 4 Hidden in RAG pages or HTML comments
tool-abuse 2 Tries to call dangerous tools with bad args
data-exfiltration 2 Asks to leak prior chat / env vars
jailbreak 2 Classic hypothetical / authority framing
context-pollution 2 Fakes past agreements
auth-spoofing 2 Fake admin tokens
multi-step 2 Chained nested instructions
delimiter-injection 2 Fakes system/user XML or markdown delimiters
language-switch 2 Same attack in non-English
social-engineering 2 Sob-story manipulation

Schema

{
  "id": "string",
  "category": "string",
  "text": "string",                          // the attack payload
  "severity": "critical | high | medium"     // analyst-rated risk
}

Quickstart

from datasets import load_dataset
ds = load_dataset("mukunda1729/prompt-injection-patterns-extended", split="train")
critical = [r for r in ds if r["severity"] == "critical"]
print(f"{len(critical)} critical patterns")

Notes

These are defensive fixtures — patterns to test your filters and agent guardrails against. Do not use them to probe production systems you don't own.

Related

License

MIT.

README history 2 revisions

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-04-27Initial: 30 prompt-injection patterns across 10 categories818f58c2.2 KB
    Loading...
  2. 2026-04-27initial commit259f98f0 B
    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 · extract

Read further

Metadata

License
mit

Repository

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("mukunda1729/prompt-injection-patterns-extended")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="mukunda1729/prompt-injection-patterns-extended", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/mukunda1729/prompt-injection-patterns-extended
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