datasets
Training and evaluation data, with the modality, task and licence stated up front. Listed live from the Hugging Face Hub.
security-auditsA collection of agent traces generated with Swival (not Claude Code, despite what the HF interface currently shows), an agent designed for open-source models.
These traces focus on security audits of opensource software.
Sharing traces with Swival
Swival can export full conversation traces with --trace-dir, which writes one <session_id>.jsonl file per session:
swival "Fix the login bug" --trace-dir traces/
Those JSONL files use Swival's Claude Code compatible trace export, and… See the full description on the dataset page: https://huggingface.co/datasets/jedisct1/security-audits.cyber-security
Cybersecurity AI Knowledge Base — PhD-Level Dataset
Overview
This is the most comprehensive cybersecurity knowledge base ever assembled for AI training. It covers all domains of cybersecurity at PhD-level depth — from offensive red teaming and bug bounty exploitation to defensive SOC operations, digital forensics, and cutting-edge AI/LLM security.
Size: 16 GB | Files: 507 | Domains: 30+ | Sources: 15+ platforms
Purpose
Train the world's most… See the full description on the dataset page: https://huggingface.co/datasets/Vyber07/cyber-security.White-Hat-Security-Agent-Prompts-600K
White Hat Security Agent Prompts 600K
Overview
The White-Hat-Security-Agent-Prompts-600K dataset is a practitioner-perspective security prompts corpus of 596,295 richly contextualized queries, designed to represent how real-world defensive security professionals communicate, interrogate, and reason through active threat scenarios.
Where most security datasets catalogue CVEs, malware signatures, or CTF write-ups, this collection teaches models to operate from inside the… See the full description on the dataset page: https://huggingface.co/datasets/yatin-superintelligence/White-Hat-Security-Agent-Prompts-600K.b3-agent-security-benchmark-weak[paper] [blogpost] [game]
b3 AI Security Benchmark: Breaking Agent Backbones
Highly contextalized prompt injections crowd-sourced during the Gandalf Agent Breaker Challenge.
This is a low-quality version of the data behind Breaking Agent Backbones: Evaluating the Security
of Backbone LLMs in AI Agents.
The high quality dataset was used to evaluate the security of more than 30 LLMs.
Dataset Summary
Purpose: This dataset contains crowdsourced adversarial attacks… See the full description on the dataset page: https://huggingface.co/datasets/Lakera/b3-agent-security-benchmark-weak.Omni-Frontier-Distillation-SFT-Cyber-security-Coding-dataset-collection-v2
🧬 Omni-Frontier Collection
Cybersecurity · Coding · Math · Science · RSI Reasoning — one unified SFT package
A unified, deduplicated, fully-browsable distillation & SFT corpus — every row real, every row visible.
📖 Jump to
What's inside · 🔁 Aggregation audit · 🛡 Cybersecurity · 💻 Coding · 🏭 Distillation deep-dive · 🔁 RSI · 🧮 Math/Science/More · 🎓 Training guide · 🔎 Browsing · 🧹 Quality · 🗺 Roadmap · 📄 License… See the full description on the dataset page: https://huggingface.co/datasets/Manusagents/Omni-Frontier-Distillation-SFT-Cyber-security-Coding-dataset-collection-v2.cyber-security
Cybersecurity Instruction-Tuning Dataset
A large, cleaned, multi-domain cybersecurity chat dataset for LLM finetuning,
built from 198 distinct sources spanning offensive security, blue-team
operations, vulnerability intelligence, cloud/AWS security, malware analysis,
digital forensics, and more. Every record is normalized to the standard
messages chat format and deduplicated at both file and record level.
⚠️ Research use only. This dataset is provided exclusively for… See the full description on the dataset page: https://huggingface.co/datasets/oi-uae/cyber-security.task692_mmmlu_answer_generation_computer_security
Dataset Card for Natural Instructions (https://github.com/allenai/natural-instructions) Task: task692_mmmlu_answer_generation_computer_security
Additional Information
Citation Information
The following paper introduces the corpus in detail. If you use the corpus in published work, please cite it:
@misc{wang2022supernaturalinstructionsgeneralizationdeclarativeinstructions,
title={Super-NaturalInstructions: Generalization via Declarative Instructions on… See the full description on the dataset page: https://huggingface.co/datasets/Lots-of-LoRAs/task692_mmmlu_answer_generation_computer_security.task733_mmmlu_answer_generation_security_studies
Dataset Card for Natural Instructions (https://github.com/allenai/natural-instructions) Task: task733_mmmlu_answer_generation_security_studies
Additional Information
Citation Information
The following paper introduces the corpus in detail. If you use the corpus in published work, please cite it:
@misc{wang2022supernaturalinstructionsgeneralizationdeclarativeinstructions,
title={Super-NaturalInstructions: Generalization via Declarative Instructions on 1600+… See the full description on the dataset page: https://huggingface.co/datasets/Lots-of-LoRAs/task733_mmmlu_answer_generation_security_studies.redsec-security-sft-v1
RedSec Security SFT v1
A chat-formatted supervised fine-tuning dataset for security-focused language models, intended for authorized red-team, penetration-testing, and defensive use. Each record is a {"messages": [...]} conversation with an optional system turn, a user turn, and an assistant turn.
Split
Rows
train
55,459
validation
1,155
test
1,155
total
57,769
Sources and attribution
This is a derivative work. It combines, reformats… See the full description on the dataset page: https://huggingface.co/datasets/sahilempire/redsec-security-sft-v1.nixpkgs-security-patches
nixpkgs-security-patches
Training dataset for fine-tuning LLMs on nixpkgs security patch generation. Derived from real merged security PRs in NixOS/nixpkgs.
Dataset Details
588 training examples / 66 eval examples (654 total)
Format: Multi-turn tool-calling conversations in ChatML JSONL
Each example is a realistic agent session: the model reads the package file, finds the upstream fix, computes hashes via tools, and submits the fix for approval
Hashes and URLs appear… See the full description on the dataset page: https://huggingface.co/datasets/odoom/nixpkgs-security-patches.omnimcp_supabase_row_level_security_ai_teaser
🔬 INSPECT THE DEEPSEEK-R1 REASONING CHAIN LIVE:
Zero hallucinations. Null syntax errors. 100% AST compiler validated.🌐 Live Interactive Reasoning & Code Inspector: https://emgena.com/trainingslager🎁 Claim your Free Starter Kit (Code: STARTER100): https://emgena.com/trainingslager🏷️ Launch Discount: Get 20 € OFF any 500-incident production suite with code LAUNCH20!
📜 Enterprise Compliance: EU AI Act Articles 50 & 53 certified • 100% DSGVO / GDPR clean • Commercial EULA… See the full description on the dataset page: https://huggingface.co/datasets/emgena/omnimcp_supabase_row_level_security_ai_teaser.bitcoin-security-reasoning-100k
Dataset Card for Bitcoin Security Reasoning 100K
100,000 high-quality synthetic training samples for fine-tuning LLMs on Bitcoin protocol security analysis. Teaches models to analyze vulnerability clusters, form security hypotheses, and generate differential testing code.
Dataset Details
Dataset Description
This dataset contains structured security reasoning chains for Bitcoin protocol vulnerabilities. Each sample presents a cluster of causal… See the full description on the dataset page: https://huggingface.co/datasets/davidfoss/bitcoin-security-reasoning-100k.prewise-security-adapter-training-v5
Prewise Security Adapter Training V5
Bộ dữ liệu và công cụ Kaggle hoàn chỉnh để fine-tune ba LoRA trên cùng base model Qwen/Qwen3.5-4B:
message-context-adapter
web-context-adapter
explanation-adapter
phone-intelligence là HTTP provider bên ngoài, không phải LoRA. Packager tạo entry này ở trạng thái enabled: false để backend vẫn có đủ bốn runtime contract.
Quy mô
Adapter
Train
Validation
Test
Tổng
Message Context
32.767
3.196
3.992
39.955
Web Context… See the full description on the dataset page: https://huggingface.co/datasets/thuaannn/prewise-security-adapter-training-v5.ios-security-vulnerabilities-swift-objc
iOS Security Vulnerabilities Dataset (Swift & Objective-C)
A comprehensive dataset of 27 real-world iOS security vulnerability patterns in Swift and Objective-C, covering all OWASP Mobile Top 10 (2024) categories with vulnerable code, secure fixes, attack scenarios, and detection guidance.
🎯 Purpose
This is the first dedicated iOS/Swift/Objective-C security vulnerability dataset on Hugging Face. While existing datasets (TitanVul, DiverseVul, CleanVul) focus on… See the full description on the dataset page: https://huggingface.co/datasets/Arno-MHL/ios-security-vulnerabilities-swift-objc.RedHat-security-VeX
Dataset Card for RedHat-security-VeX
This Dataset is extracted from publicly available Vulnerability Exploitability eXchange (VEX) files published by Red Hat.
Dataset Details
Red Hat security data is a central source of truth for Red Hat products regarding published, known vulnerabilities.
This data is published in form of Vulnerability Exploitability eXchange (VEX) available at:
https://security.access.redhat.com/data/csaf/v2/vex/
This Dataset is created by extracting… See the full description on the dataset page: https://huggingface.co/datasets/huzaifas-sidhpurwala/RedHat-security-VeX.ai-agent-security-dataset
AI Agent Security and System Prompt Leakage Dataset
Dataset Overview
This dataset was created for research on AI agent security, with a specific focus on system prompt leakage, jailbreak resistance, and security-aligned fine-tuning.
The dataset evaluates how often AI agents reveal confidential information embedded inside their system prompts when exposed to adversarial prompts. It also compares the behavior of a baseline language model against a model fine-tuned using… See the full description on the dataset page: https://huggingface.co/datasets/Dhanjo/ai-agent-security-dataset.turkish_cyber_security_controls_dataset
Turkish Cyber Security Controls Dataset
Veri Kümesi Özeti
Bu veri kümesi; siber güvenlik kontrolleri, kontrol seçimi ve güvenli mimari tasarımı hakkında hazırlanmış 800 Türkçe kullanıcı-asistan konuşma çifti içerir. Toplam 1.600 mesajdan oluşan koleksiyon, Türkçe siber güvenlik soru-cevap ve instruction-tuning çalışmalarını desteklemek amacıyla hazırlanmıştır.
İçerik geliştirilirken başta NIST SP 800-53 Rev. 5 kontrol kataloğu olmak üzere risk temelli kontrol… See the full description on the dataset page: https://huggingface.co/datasets/logicBombExe/turkish_cyber_security_controls_dataset.email-security
EMAIL_SECURITY
A preference dataset for EMAIL_SECURITY, harvested from real, human-labelled sources and curated by an automated harvesting harness with an LLM quality gate.
Format
Standard preference / DPO schema — each row:
column
meaning
prompt
the request (originally prompt)
chosen
the human-preferred response
rejected
a worse response to the same prompt
source
the dataset/URL the row was harvested from
Splits
80/10/10 train… See the full description on the dataset page: https://huggingface.co/datasets/316usman/email-security.ai-agent-security-sft-dpo
AI Agent Security — SFT + DPO
Fine-tuning data for teaching an AI agent to protect its confidential configuration without
becoming uselessly over-cautious. Built for
thesreedath/gemma-2-2b-qa-sft and
derived from
Dhanjo/ai-agent-security-dataset.
Why the helpfulness axis exists
leakage_score in the source dataset is one-sided: a model that refuses every request
scores a perfect 0.0. An existing fine-tune reported 0.0114 mean leakage (down from 0.4611
baseline)… See the full description on the dataset page: https://huggingface.co/datasets/sumitguha13/ai-agent-security-sft-dpo.auditkit-testrun-keyword-security
auditkit-testrun-keyword-security
Built using AuditKIT — evaluate any model on any dataset and any task.
Method
evaluate
Model
<auditkit.model.CallableModel object at 0x790f01790ec0>
Artifact
run
Published
2026-09-01 13:11 UTC
Usage
from datasets import load_dataset
ds = load_dataset("ram-lexsi/auditkit-testrun-keyword-security")
dspy-security-bench-trainset-workspace
dspy-security-bench: workspace trainset (v0.1)
This is the synthetic, environment-grounded query-only trainset used to
optimize DSPy programs in v0.1 of
dspy-security-bench,
a benchmark that measures whether DSPy prompt optimization affects the
prompt-injection robustness of agentic LLM programs.
What's in here
192 query / ground-truth pairs grounded in the
AgentDojo workspace suite's
default environment (calendar, inbox, files).
{"prompt": "What is the… See the full description on the dataset page: https://huggingface.co/datasets/immu4989/dspy-security-bench-trainset-workspace.quantum-cryptography-and-post-quantum-security
Neura Parse — Quantum Cryptography & Post-Quantum Security
A deep vertical on cryptography that uses quantum mechanics and on classical cryptography built to resist quantum attack. It covers quantum key distribution (BB84, B92, six-state, SARG04, E91, BBM92, decoy-state, MDI-QKD, TF-QKD, CV-QKD), device-independent protocols, composable and finite-key security proofs, quantum hacking with countermeasures, classical post-processing (reconciliation, privacy amplification… See the full description on the dataset page: https://huggingface.co/datasets/Neura-parse/quantum-cryptography-and-post-quantum-security.paragen-security-sft-alpaca
paragen-security-sft-alpaca
Alpaca-format instruction-tuning data used to train the Vanilla security
baseline (and as the source for the tokenized multi-stream cache used to
train the Stream(Ours) security checkpoint) in the paragen_llm
security/prompt-injection-robustness experiments (Table 3: TensorTrust,
Gandalf, Purple, RuLES, StruQ, NESSiE, IFEval).
Format: JSONL, one object per line, fields instruction / input / output
(standard Alpaca schema).
Size: 48,538 examples.… See the full description on the dataset page: https://huggingface.co/datasets/guinansu/paragen-security-sft-alpaca.DoD-Instruction-5200-01-Information-Security-Program
DoD Information Security and SCI Protection Question-Answer Dataset
Maintainer: Terry Eppler
Owner: US Federal Government
Dataset Summary
This dataset contains document-grounded question-and-answer records based on DoD Instruction 5200.01, “DoD Information Security Program and Protection of Sensitive Compartmented Information (SCI),” dated April 21, 2016, and incorporating Change 2 effective October 1, 2020.
The source establishes the overarching Department… See the full description on the dataset page: https://huggingface.co/datasets/leeroy-jankins/DoD-Instruction-5200-01-Information-Security-Program.code-securite-interieure
Code de la sécurité intérieure, non-instruct (2025-07-11)
The objective of this project is to provide researchers, professionals and law students with simplified, up-to-date access to all French legal texts, enriched with a wealth of data to facilitate their integration into Community and European projects.
Normally, the data is refreshed daily on all legal codes, and aims to simplify the production of training sets and labeling pipelines for the development of free, open-source… See the full description on the dataset page: https://huggingface.co/datasets/louisbrulenaudet/code-securite-interieure.combine-llm-security-benchmark
Combined LLM Security Benchmark 🔐
A comprehensive, unified benchmark dataset for evaluating Large Language Models (LLMs) on cybersecurity tasks. This dataset combines 10 security benchmarks into a standardized format with 18,059 examples across 5 task types.
📊 Dataset Summary
This dataset consolidates multiple security-focused benchmarks into a single, easy-to-use format for comprehensive LLM evaluation across various cybersecurity domains:
Total Examples: 18,059
Total… See the full description on the dataset page: https://huggingface.co/datasets/tuandunghcmut/combine-llm-security-benchmark.kubernetes-security
Kubernetes Security Dataset
A comprehensive bilingual (French/English) dataset for training AI models on Kubernetes container and orchestration security.
Dataset Overview
This dataset contains 13 high-quality instruction-response pairs covering critical Kubernetes security topics including:
CIS Kubernetes Benchmarks - Security configuration recommendations
Pod Security Standards - Restricted, baseline, and privileged policies
RBAC & Service Accounts - Access control and… See the full description on the dataset page: https://huggingface.co/datasets/AYI-NEDJIMI/kubernetes-security.webauthn-security-training-data-20251014_151917
WebAuthn Security Training Data
High-quality training dataset for WebAuthn security vulnerability analysis and code fix generation.
Dataset Description
This dataset contains curated security vulnerability examples in MLX Chat format for training security-focused language models.
Format: MLX Chat Messages
This dataset uses the MLX LoRA chat format with explicit role separation:
{
"messages": [
{
"role": "system",
"content": "You are a… See the full description on the dataset page: https://huggingface.co/datasets/hitoshura25/webauthn-security-training-data-20251014_151917.code-securite-sociale
Code de la sécurité sociale, non-instruct (2025-07-11)
The objective of this project is to provide researchers, professionals and law students with simplified, up-to-date access to all French legal texts, enriched with a wealth of data to facilitate their integration into Community and European projects.
Normally, the data is refreshed daily on all legal codes, and aims to simplify the production of training sets and labeling pipelines for the development of free, open-source… See the full description on the dataset page: https://huggingface.co/datasets/louisbrulenaudet/code-securite-sociale.information-security-policies-qa-distiset
Dataset Card for information-security-policies-qa-distiset
This dataset has been created with distilabel.
Dataset Summary
This dataset contains a pipeline.yaml which can be used to reproduce the pipeline that generated it in distilabel using the distilabel CLI:
distilabel pipeline run --config "https://huggingface.co/datasets/daqc/information-security-policies-qa-distiset/raw/main/pipeline.yaml"
or explore the configuration:
distilabel pipeline info… See the full description on the dataset page: https://huggingface.co/datasets/davidquicast/information-security-policies-qa-distiset.
