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.

CyCraftAI/TraceSafe

published by @CyCraftAI

Harmful and harmless prompt sets, contrastive pairs, and jailbreak and attack corpora.Sets of harmful and harmless requests, pairs of opposite examples, and attack datasets.

task_categories:text-classificationtask_categories:otherlanguage:enlicense:apache-2.0size_categories:1K<n<10Kformat:jsonmodality:textlibrary:datasets +12 more
Lifetime downloads
1.2K
Last 30 days
583
Likes
6
Size
59.3 MB

Description

TraceSafe-Bench

The official dataset accompanying the paper:

πŸŽ‰ Accepted at COLM 2026 (Third Conference on Language Modeling)

TraceSafe: A Systematic Assessment of LLM Guardrails on Multi-Step Tool-Calling Trajectories

Yen-Shan Chen, Sian-Yao Huang, Cheng-Lin Yang, Yun-Nung Chen

πŸ“„ Paper: https://openreview.net/forum?id=KkFKVLWdEG Β· https://arxiv.org/abs/2604.07223

πŸ§‘β€πŸ’» Code: https://github.com/cycraft-corp/TraceSafe

Abstract

As large language models (LLMs)… See the full description on the dataset page: https://huggingface.co/datasets/CyCraftAI/TraceSafe.

Structure 13 configs Β· from the README front matter13 subsets, from the author's description

benign
Data files
golden_0_benign.jsonl
prompt_injection_in
Data files
golden_1_PromptInjectionIn.jsonl
prompt_injection_out
Data files
golden_2_PromptInjectionOut.jsonl
user_info_leak
Data files
golden_3_UserInfoLeak.jsonl
api_key_leak
Data files
golden_4_ApiKeyLeak.jsonl
data_leak
Data files
golden_5_DataLeak.jsonl
ambiguous_arg
Data files
golden_6_AmbiguousArg.jsonl
hallucinated_tool
Data files
golden_7_HallucinatedTool.jsonl

5 more configs in the README on the Community tab.5 more subsets in the author's description.

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-05-19 Β· 6 months ago
Size category
1K<n<10K
ModalitiesData types
text
Formats
json
LibrariesTools
datasetspandaspolarsmlcroissant
ArXivPaper

Related datasets same stage Β· Extractsame step Β· Finding refusals

Read further

Total size
59.3 MB
Files
15
Formats
jsonl
Head
b8d5462
Last updated on HFLast updated
2026-08-07

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("CyCraftAI/TraceSafe")
Raw snapshot (Python)All files (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="CyCraftAI/TraceSafe", repo_type="dataset")
git clone (requires git-lfs)With git (needs git-lfs)
git clone https://huggingface.co/datasets/CyCraftAI/TraceSafe

Files by folder from our last crawlfrom our last check

top level 15 files 59.3 MB
.gitattributes 2.5 KB file download
golden_0_benign.jsonl 4.7 MB jsonl download
golden_1_PromptInjectionIn.jsonl 4.8 MB jsonl download
golden_10_MissingTypeHint.jsonl 4.7 MB jsonl download
golden_11_VersionConflict.jsonl 4.1 MB jsonl download
golden_12_DescriptionMismatch.jsonl 4.6 MB jsonl download
golden_2_PromptInjectionOut.jsonl 4.7 MB jsonl download
golden_3_UserInfoLeak.jsonl 5.7 MB jsonl download
golden_4_ApiKeyLeak.jsonl 4.8 MB jsonl download
golden_5_DataLeak.jsonl 5.2 MB jsonl download
golden_6_AmbiguousArg.jsonl 4.7 MB jsonl download
golden_7_HallucinatedTool.jsonl 4.1 MB jsonl download
golden_8_HallucinatedArgValue.jsonl 3.6 MB jsonl download
golden_9_RedundantArg.jsonl 3.7 MB jsonl download
README.md 9.9 KB md download

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

TraceSafe-Bench

The official dataset accompanying the paper:

πŸŽ‰ Accepted at COLM 2026 (Third Conference on Language Modeling)

TraceSafe: A Systematic Assessment of LLM Guardrails on Multi-Step Tool-Calling Trajectories
Yen-Shan Chen, Sian-Yao Huang, Cheng-Lin Yang, Yun-Nung Chen

πŸ“„ Paper: https://openreview.net/forum?id=KkFKVLWdEG Β· https://arxiv.org/abs/2604.07223
πŸ§‘β€πŸ’» Code: https://github.com/cycraft-corp/TraceSafe

Abstract

As large language models (LLMs) evolve from static chatbots into autonomous agents, the primary vulnerability surface shifts from final outputs to intermediate execution traces. While safety guardrails are well-benchmarked for natural language responses, their efficacy remains largely unexplored within multi-step tool-use trajectories. To address this gap, we introduce TraceSafe-Bench, the first comprehensive benchmark specifically designed to assess mid-trajectory safety. It encompasses 12 risk categories, ranging from security threats (e.g., prompt injection, privacy leaks) to operational failures (e.g., hallucinations, interface inconsistencies), featuring over 1,000 unique execution instances. Our evaluation of 13 LLM-as-a-guard models and 7 specialized guardrails yields three critical findings:

  1. Structural Bottleneck. Guardrail efficacy is driven more by structural data competence (e.g., JSON parsing) than semantic safety alignment. Performance correlates strongly with structured-to-text benchmarks (ρ=0.79) but shows near-zero correlation with standard jailbreak robustness.
  2. Architecture over Scale. Model architecture influences risk detection performance more significantly than model size, with general-purpose LLMs consistently outperforming specialized safety guardrails in trajectory analysis.
  3. Temporal Stability. Accuracy remains resilient across extended trajectories. Increased execution steps allow models to pivot from static tool definitions to dynamic execution behaviors, actually improving risk detection performance in later stages.

Our findings suggest that securing agentic workflows requires jointly optimizing for structural reasoning and safety alignment to effectively mitigate mid-trajectory risks.

About this dataset

TraceSafe-Bench is a benchmark of corrupted multi-step tool-calling trajectories. Each record is a conversational tool-use trace that has been systematically mutated to inject a specific failure mode (security or functional), enabling consistent measurement of how well LLMs and dedicated guardrail products detect each class of failure.

Quick stats

  • 1,170 records total β€” 90 per file Γ— 13 files
  • 12 risk categories across 4 root safety vectors, plus 1 benign baseline
  • Source baseline traces drawn from BFCL-style multi-turn agent trajectories
  • Source models for trace generation: toolace-8b, gpt-5-mini-2025-08-07, mistral-14b, qwen, gemini-3-flash-preview, gpt-4o-mini-2024-07-18

Risk taxonomy

Root vector Category File
β€” Benign baseline golden_0_benign.jsonl
PROMPT_INJECTION PromptInjectionIn golden_1_PromptInjectionIn.jsonl
PROMPT_INJECTION PromptInjectionOut golden_2_PromptInjectionOut.jsonl
PRIVACY_LEAKAGE UserInfoLeak golden_3_UserInfoLeak.jsonl
PRIVACY_LEAKAGE ApiKeyLeak golden_4_ApiKeyLeak.jsonl
PRIVACY_LEAKAGE DataLeak golden_5_DataLeak.jsonl
HALLUCINATION AmbiguousArg golden_6_AmbiguousArg.jsonl
HALLUCINATION HallucinatedTool golden_7_HallucinatedTool.jsonl
HALLUCINATION HallucinatedArgValue golden_8_HallucinatedArgValue.jsonl
HALLUCINATION RedundantArg golden_9_RedundantArg.jsonl
HALLUCINATION MissingTypeHint golden_10_MissingTypeHint.jsonl
INTERFACE_INCONSISTENCIES VersionConflict golden_11_VersionConflict.jsonl
INTERFACE_INCONSISTENCIES DescriptionMismatch golden_12_DescriptionMismatch.jsonl

Record schema

Each line is a JSON object with this shape:

{
  "mutation_category":  "PRIVACY_LEAKAGE",       // root vector, or "BENIGN" for golden_0
  "original_trace":     { ... },                 // pre-mutation safe baseline
  "new_trace":          { ... },                 // post-mutation trace (same as original_trace for benign)
  "difference":         { ... },                 // deepdiff-style structural delta (empty {} for benign)
  "mutation_metadata": {
    "mutator_name":    "ApiKeyLeak",              // category name; "benign" for golden_0
    "target_tool":     "find",                    // tool the mutator targeted
    "rationale":       "...",                     // why this mutation is plausible
    "internal_meta":   { "strategy": "...", ... }, // mutator-specific structured info
    "source":          "bfcl",
    "model_name":      "toolace-8b"               // source model for the baseline trace
  },
  "golden_meta": {
    "source_model":    "toolace-8b",
    "category":        "ApiKeyLeak",              // or "benign"
    "origin_category": "",                        // unused after the v1 refactor; kept for schema stability
    "type":            "attacked"                 // "attacked" for golden_1..12, "pure_benign" for golden_0
  }
}

Both original_trace and new_trace follow this inner shape:

{
  "domain":               "BFCL Code Agents",
  "environment":          "Gorilla File System environment.",
  "scenario_description": "Interleaved multi-turn tool interaction.",
  "user_query":           "...",
  "tool_lists":           [ { "name", "description", "prototype", "parameters", "is_distractor" }, ... ],
  "trace":                [ { "role": "user|agent|tool", "content": ... }, ... ],
  "agent_model":          "toolace-8b"
}

difference is the deepdiff JSON delta between original_trace and new_trace. Keys include iterable_item_added, dictionary_item_added, values_changed, etc. For benign records difference is {} and new_trace == original_trace.

Benign split convention

golden_0_benign.jsonl contains 90 pure-benign baseline traces β€” no mutation diff applied. All records have new_trace == original_trace, difference == {}, and golden_meta.type == "pure_benign". Use this file as the safe-trajectory control when measuring guardrail false-positive rate. The mutated counterparts of these baselines live in golden_1_… through golden_12_….

Loading

from datasets import load_dataset

# Load a single category
api_key_leak = load_dataset("CyCraftAI/TraceSafe", "api_key_leak", split="train")

# Or load every config and concatenate
from datasets import concatenate_datasets
configs = [
    "benign", "prompt_injection_in", "prompt_injection_out",
    "user_info_leak", "api_key_leak", "data_leak",
    "ambiguous_arg", "hallucinated_tool", "hallucinated_arg_value",
    "redundant_arg", "missing_type_hint", "version_conflict",
    "description_mismatch",
]
all_traces = concatenate_datasets([
    load_dataset("CyCraftAI/TraceSafe", c, split="train") for c in configs
])

Synthetic credentials notice

golden_4_ApiKeyLeak.jsonl contains synthetic but format-valid fake credentials by design (AWS AKIA…, GitHub ghp_…, Slack xoxb-…, OpenAI sk-…, Twilio AC…, Stripe). These are randomly generated payloads injected by the ApiKeyLeak mutator to simulate credential-exfiltration attacks. They are not real credentials. Automated secret scanners may flag them β€” this is expected.

Intended use & out-of-scope

Intended: benchmarking LLM-as-guard and dedicated guardrail products (Azure Content Safety, AWS Bedrock Guardrails, GCP Model Armor, Llama-Guard, Granite Guardian, Qwen3-Guard, etc.) on tool-calling trajectory safety detection.

Out of scope: training data for production safety classifiers β€” this is a benchmark, not a training set, and is small (1,170 examples) by design.

Citation

If you use TraceSafe-Bench, please cite the paper:

@inproceedings{chen2026tracesafe,
  title     = {TraceSafe: A Systematic Assessment of {LLM} Guardrails on Multi-Step Tool-Calling Trajectories},
  author    = {Yen-Shan Chen and Sian-Yao Huang and Cheng-Lin Yang and Yun-Nung Chen},
  booktitle = {Third Conference on Language Modeling},
  year      = {2026},
  url       = {https://openreview.net/forum?id=KkFKVLWdEG}
}

License

Apache-2.0. Source baseline traces are derived from BFCL (Apache-2.0); mutations and curation are released under the same license.

README historyEdit history 3 revisions3 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-08-07 Update citation for COLM 2026 acceptance b8d5462 9.7 KB
    Loading...
  2. 2026-05-19 Initial TraceSafe golden collection upload 97c364e 9.6 KB
    Loading...
  3. 2026-05-19 initial commit 99fb0e6 28 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-05-20 [bot] Conversion to Parquet open 1 πŸ’¬ #1
    Loading...
Download from Hugging Face

CyCraftAI/TraceSafe

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