abliteration.org
Get the app

Two ways to read this site

Technical mode is the default: exact terms and codes, for engineers, researchers, journalists and companies. Simple mode gives the same facts in plain words, for anyone who wants a model that runs on their own computer. You can switch at any time at the top of the page.

technical
MLX weights for Apple silicon (M1 or later), usually quantized to 4 or 8 bits.
simple
Made for Macs with Apple silicon (M1 or newer), usually compressed to 4 or 8 bits.
EvaluateTesting just added

flintglass/PrismGuard-Hard-Corpus

published by @flintglass

Safety benchmarks, over-refusal tests, and guard-model data.Safety tests and tests for refusing harmless requests.

task_categories:text-classificationlanguage:enlicense:apache-2.0size_categories:1K<n<10Kformat:jsonmodality:textlibrary:datasetslibrary:pandas +14 more
Lifetime downloads
49
Last 30 days
49
Likes
-
Size
12.3 MB

Description

Flintglass PrismGuard-Hard-Corpus

6,354 Dual-Model Independently Blind-Verified Counterfactual Agentic Prompt-Injection & Hard-Benign (Zero-Over-Refusal) Security Tasks (3,177 exact counterfactual pairs) across 6 Production Agentic Surfaces, 30 Sub-Scenarios (including 6 strictly held-out OOD surfaces in hard_test), and 5 Attack Techniques — 100% Apache-2.0, zero proprietary API distillation.

Part of the Flintglass Prism Open-Source Agent & RAG Stack.

Why… See the full description on the dataset page: https://huggingface.co/datasets/flintglass/PrismGuard-Hard-Corpus.

Structure 1 config · from the README front matter1 subset, from the author's description

default default
Data files
train data/train.jsonl
validation data/validation.jsonl
hard_test data/hard_test.jsonl

Used by uncensored 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.No model in our catalog lists this dataset yet. It may be used without being listed, used for other work, or simply be new. The list fills in by itself as models are added.

MetadataDetails

License
apache-2.0
Language
en
Created on HFCreated
2026-12-03 · 3 days ago
Size category
1K<n<10K
ModalitiesData types
text
Formats
json
LibrariesTools
datasetspandaspolarsmlcroissant

Related datasets same stage · Evaluatesame step · Testing

Read further

Total size
12.3 MB
Files
5
Formats
jsonl
Head
f0e4ef8
Last updated on HFLast updated
2026-12-03

Download the dataset

Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.Each of these lines of code downloads the dataset straight from Hugging Face, with your own Hugging Face login.

Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("flintglass/PrismGuard-Hard-Corpus")
Raw snapshot (Python)All files (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="flintglass/PrismGuard-Hard-Corpus", repo_type="dataset")
git clone (requires git-lfs)With git (needs git-lfs)
git clone https://huggingface.co/datasets/flintglass/PrismGuard-Hard-Corpus

Files by folder from our last crawlfrom our last check

top level 2 files 12.3 KB
.gitattributes 2.5 KB file download
README.md 9.8 KB md download
data/ 3 files 12.3 MB
hard_test.jsonl 2.1 MB jsonl download
train.jsonl 9.4 MB jsonl download
validation.jsonl 771.1 KB jsonl download

READMEAuthor's description current version from Hugging Faceas it is now on Hugging Face

Flintglass PrismGuard-Hard-Corpus

6,354 Dual-Model Independently Blind-Verified Counterfactual Agentic Prompt-Injection & Hard-Benign (Zero-Over-Refusal) Security Tasks (3,177 exact counterfactual pairs) across 6 Production Agentic Surfaces, 30 Sub-Scenarios (including 6 strictly held-out OOD surfaces in hard_test), and 5 Attack Techniques — 100% Apache-2.0, zero proprietary API distillation.

Part of the Flintglass Prism Open-Source Agent & RAG Stack.


Why PrismGuard-Hard-Corpus?

Production AI-agent firewalls fail in two opposite ways:

  1. Over-Refusal (High False Positives / NotInject): Naive classifiers panic whenever legitimate enterprise text mentions trigger words like "ignore stale cache", "override default flag", "system prompt config", "bypass local proxy", or "reset admin token".
  2. Missed Indirect Prompt Injections: Stealthy attacks embedded inside realistic MCP JSON tool outputs, GitHub PR diffs, SIEM webhooks, calendar invites, emails, or retrieved RAG pages slip past classifiers trained only on toy chat jailbreaks.

PrismGuard-Hard-Corpus solves both with exact minimal-edit counterfactual pairs (avg pair edit similarity = 0.9053):

  • 50% Hard-Benign / 50% Attack Exact Pairing: Every artifact has BOTH a 100% legitimate Hard-Benign version (naturally containing realistic engineering/admin/security trigger vocabulary!) AND a minimally edited Attack twin (INDIRECT_INJECTION or DIRECT_INJECTION) preserving ~90.5% of the surrounding legitimate artifact. Firewalls cannot rely on keyword triggers — they must detect genuine instruction hijacking!
  • Dual-Model Independent Blind Verification (100% Apache-2.0):
    1. Generator (openai/gpt-oss-120b, Apache-2.0): Synthesizes realistic, completely fictitious enterprise agent artifacts (MCP JSON tool outputs, RAG docs, emails/calendar invites, GitHub PR diffs/CI logs, multi-turn traces, direct chat prompts) as counterfactual (benign_input, attack_input) pairs with exact injected_payload, attack_goal, and benign_reason.
    2. Independent Blind Firewall Classifier (qwen/qwen3.6-35b-a3b, Apache-2.0): Evaluates BOTH benign_input and attack_input completely blind (separately, with zero access to the gold label or the counterfactual twin) into BENIGN, DIRECT_INJECTION, or INDIRECT_INJECTION.
    3. Strict Consensus Gate: A pair is kept ONLY IF the blind classifier gets BOTH exact labels right (benign_input -> BENIGN AND attack_input -> expected attack class) and passes length, edit-similarity, and SHA-256 deduplication checks (78.8% acceptance rate across 4,032 candidate pairs; 481 false-positive-prone benign drafts & 265 weak attacks rejected!).
  • 100% OOD-Scenario hard_test Split: Zero text overlap across splits. Every single row in hard_test (1,024 rows / 512 pairs) comes from 6 strictly held-out OOD agentic scenarios:
    1. Cloud billing / IAM audit log JSON from MCP query_audit_events (mcp_tool_json_output)
    2. Retrieved regulatory compliance FAQ & internal HR benefits handbook (rag_retrieved_document)
    3. Recruiting candidate resume & cover letter parsed by HR screening agent (email_and_calendar_agent)
    4. SQL migration script & schema comments reviewed by DBA assistant (coding_and_pr_agent)
    5. Multi-tenant analytics SQL assistant with row-level permissions (direct_user_jailbreak)
    6. Two-turn agent trace comparing two retrieved vendor quotes (multi_turn_agent_state)

Dataset Statistics

Split Rows Counterfactual Pairs BENIGN (Hard-Benign) INDIRECT_INJECTION DIRECT_INJECTION OOD Scenarios
train 4,930 2,465 2,465 (50.0%) 2,028 437 0%
validation 400 200 200 (50.0%) 166 34 0%
hard_test 1,024 512 512 (50.0%) 423 89 100%
Total 6,354 3,177 3,177 (50.0%) 2,617 560 —

Breakdown by Agentic Surface

Surface Pairs Rows Attack Class
direct_user_jailbreak 560 1,120 DIRECT_INJECTION
mcp_tool_json_output 541 1,082 INDIRECT_INJECTION
multi_turn_agent_state 532 1,064 INDIRECT_INJECTION
rag_retrieved_document 532 1,064 INDIRECT_INJECTION
coding_and_pr_agent 529 1,058 INDIRECT_INJECTION
email_and_calendar_agent 483 966 INDIRECT_INJECTION

Breakdown by Attack Technique (attack rows)

attack_technique Count
instruction_and_policy_override 683
role_or_authority_spoofing 673
tool_data_exfiltration 642
stealth_conditional_trigger 636
unauthorized_tool_action 543
  • Average counterfactual pair similarity (SequenceMatcher): 0.9053

Schema

Each JSONL row contains:

  • id: Unique row ID (pg-XXXXX-benign or pg-XXXXX-attack)
  • pair_id: Shared ID linking each Hard-Benign / Attack counterfactual twin
  • split: train, validation, or hard_test
  • surface, scenario, is_ood_scenario
  • label: "BENIGN", "DIRECT_INJECTION", or "INDIRECT_INJECTION" (is_injection: boolean)
  • attack_technique: "none" for benign rows, or one of the 5 techniques above
  • counterfactual_attack_label, counterfactual_attack_technique, benign_trigger_style
  • text: Complete prompt / [USER_REQUEST] ... [UNTRUSTED_DATA] ... artifact
  • injected_payload: Exact injected snippet ("" for benign rows)
  • explanation, pair_edit_similarity, generator_model, judge_model

Quickstart

from datasets import load_dataset

ds = load_dataset("flintglass/PrismGuard-Hard-Corpus")
print(ds)
print("OOD hard_test rows:", len(ds["hard_test"]))

License & Provenance

Released under Apache-2.0 by Flintglass Labs strictly for defensive AI-agent firewall training and evaluation. All examples use fictitious organizations, example.com domains, and dummy test strings (sk-test-0000). Generated and independently cross-verified exclusively using Apache-2.0 open-weight models (openai/gpt-oss-120b and qwen/qwen3.6-35b-a3b).

README historyEdit history 2 revisions2 edits

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.Every night we save the author's description of every dataset in the catalog. When it changes, we keep the new text and compare it with the one before. This shows what each author chose to say about their dataset, and how that changed over time.

  1. 2026-12-03 Release Flintglass PrismGuard-Hard-Corpus (6,354 blind-verified counterfactua... 921fcd1 8.2 KB
    Loading...
  2. 2026-12-03 initial commit 0ec22b5 0 B
    Loading...

Community discussions 1 thread · 1 open · 1 comments

Threads posted by the community on Hugging Face: bug reports, questions about usage, pull requests on the README, licence clarifications. Click any thread to expand and read the full conversation inline. Newest first.Conversations people started on Hugging Face: bug reports, questions about using the data, suggested changes to the author's description, questions about the licence. Open a thread to read it here. Newest first.

  1. 2026-12-04 [bot] Conversion to Parquet open 1 💬 #1
    Loading...
Download from Hugging Face

flintglass/PrismGuard-Hard-Corpus

Catalog is the map. Apps are the tools.

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

Every GGUF model page has an "Open in Abliteration" button that lets you pick a file, then opens it in the desktop app. No API keys, no subscription, no prompt leakage.Each model page in the format the app uses has an "Open in Abliteration" button to open a file in the desktop app. No API keys, no subscription, your requests stay on your computer.

Open in Abliteration