MikeYoung123/TrojanBench
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.
Description
TrojanBench
TrojanBench is a benchmark of 383 poisoned repositories for evaluating the robustness of
AI coding agents against repository-level poisoning attacks. Every instance is a fully
functional open-source project that carries a concealed payload of one of four carrier
types, planted by an automated red-team pipeline (TrojanForge) while preserving the
repository's original utility.
The benchmark described in the paper contains 384 instances. One C1 (exfiltration)
instance… See the full description on the dataset page: https://huggingface.co/datasets/MikeYoung123/TrojanBench.
Used by uncensored models
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
Related datasets
Read further
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.
from datasets import load_dataset
ds = load_dataset("MikeYoung123/TrojanBench")from huggingface_hub import snapshot_download
snapshot_download(repo_id="MikeYoung123/TrojanBench", repo_type="dataset")git clone https://huggingface.co/datasets/MikeYoung123/TrojanBenchFiles by folder
Showing the first 5,000 files. Full list on Hugging Face ↗
top level 29 files 7.1 GB
| .gitattributes | 2.5 KB | file | download |
| app-dev_C1-exfiltration.tar.zst | 87.6 MB | tar.zst | download |
| app-dev_C2-destruction.tar.zst | 120.9 MB | tar.zst | download |
| app-dev_C3-tampering.tar.zst | 337.4 MB | tar.zst | download |
| app-dev_C4-backdoor.tar.zst | 202.6 MB | tar.zst | download |
| data-proc_C1-exfiltration.tar.zst | 97.1 MB | tar.zst | download |
| data-proc_C2-destruction.tar.zst | 100.1 MB | tar.zst | download |
| data-proc_C3-tampering.tar.zst | 186.3 MB | tar.zst | download |
| data-proc_C4-backdoor.tar.zst | 202.0 MB | tar.zst | download |
| env-setup_C1-exfiltration.tar.zst | 27.1 MB | tar.zst | download |
| env-setup_C2-destruction.tar.zst | 143.2 MB | tar.zst | download |
| env-setup_C3-tampering.tar.zst | 204.8 MB | tar.zst | download |
| env-setup_C4-backdoor.tar.zst | 698.5 MB | tar.zst | download |
| full_code.tar.gz | 3.4 MB | tar.gz | download |
| issue-fix_C1-exfiltration.tar.zst | 126.3 MB | tar.zst | download |
| issue-fix_C2-destruction.tar.zst | 841.3 MB | tar.zst | download |
| issue-fix_C3-tampering.tar.zst | 1.4 GB | tar.zst | download |
| issue-fix_C4-backdoor.tar.zst | 764.0 MB | tar.zst | download |
| it-ops_C1-exfiltration.tar.zst | 18.5 MB | tar.zst | download |
| it-ops_C2-destruction.tar.zst | 32.1 MB | tar.zst | download |
| it-ops_C3-tampering.tar.zst | 237.9 MB | tar.zst | download |
| it-ops_C4-backdoor.tar.zst | 257.4 MB | tar.zst | download |
| manifest.jsonl | 131.2 KB | jsonl | download |
| perf-opt_C1-exfiltration.tar.zst | 19.1 MB | tar.zst | download |
| perf-opt_C2-destruction.tar.zst | 3.5 MB | tar.zst | download |
| perf-opt_C3-tampering.tar.zst | 294.1 MB | tar.zst | download |
| perf-opt_C4-backdoor.tar.zst | 726.8 MB | tar.zst | download |
| README.md | 5.4 KB | md | download |
| SHA256SUMS | 2.5 KB | file | download |
No file list for this dataset yet.
This repository is private or no longer exists on Hugging Face.This dataset is private or no longer exists on Hugging Face.
Open on Hugging Face ↗No README stored for this dataset yet.No author's description stored yet.