🛡️ CyberSec-Premium-Unified
A rigorously cleaned, deduplicated, unified cybersecurity instruction SFT dataset
merging the best public sources into one canonical, schema-tagged release. Built
through the same cleaning recipe as the Premium series: cross-source SHA-256
deduplication, PII scrubbing, quality filtering, and 85/7.5/7.5 splits.
Priorities: Quality > Ease of Access > Quantity
⚠️ Intended use: defensive security research, red-team evaluation harnesses,
and authorized testing education. Not for unauthorized access.
📊 Dataset Overview
| Property | Value |
|---|---|
| Total Rows | 82,272 |
| Train Split | 69,931 (85.0%) |
| Validation Split | 6,170 (7.5%) |
| Test Split | 6,171 (7.5%) |
| Formats | Parquet (zstd) + JSONL |
| Directories | openai_chat/, agent_traces/ |
| License | Apache-2.0 (RedTeam subset MIT) |
| Created | 2026-11-10 |
📦 Formats Available
- OpenAI Chat Format — Standard
messagesarray withuser/assistantroles. - Agent Traces Format — Identical rows in native agent-traces layout.
| Format | Path | Splits |
|---|---|---|
| OpenAI Chat | openai_chat/ |
train · validation · test (parquet + jsonl) |
| Agent Traces | agent_traces/ |
train · validation · test (parquet + jsonl) |
🔗 Sources
| Source | Raw | Kept | License | Description |
|---|---|---|---|---|
| PentesterFlow/OffsecCyber | 60,496 | 54,484 | Apache-2.0 | CVE/CWE/CVSS vulnerability instruction data |
| saidutta69/CyberSec-Reasoning-Premium | 3,067 | 3,067 | Apache-2.0 | Kimi K3 cybersecurity reasoning CoT |
| saidutta69/RedTeam-Premium | 19,033 | 19,033 | MIT | Red-team instruction data |
🧹 Quality Pipeline
- Load & normalize — All sources converted to canonical
messagesJSON. - Source tagging — Each row tagged with
sourceanddomain. - Quality filter — Drop rows with combined length < 200 chars or refusal patterns.
- Deduplication — Cross-source SHA-256 on normalized messages (0 duplicates found).
- Splits — 85 / 7.5 / 7.5, fixed seed 1337, stratified by source.
- Sharding — ~100k rows per parquet shard, zstd compression.
❓ FAQ
What is CyberSec-Premium-Unified?
A unified cybersecurity instruction SFT dataset of 82,272 rows merging PentesterFlow,
CyberSec-Reasoning-Premium, and RedTeam-Premium into one canonical release.
Why unify?
The cybersecurity SFT space is fragmented across many small datasets. This release
collapses them into one deduplicated, schema-tagged, quality-filtered corpus.
Can I use it commercially?
Apache-2.0 for PentesterFlow and CyberSec subsets; MIT for the RedTeam subset.
Attribution required per source license.
How do I cite it?
Cite this dataset and the upstream sources listed above.
🧰 Schema
Both formats carry identical rows: messages (JSON string), model, source,domain, session_id, quality_score (float), license.
🧾 Provenance & License
Apache-2.0 (PentesterFlow, CyberSec) + MIT (RedTeam). Full build stats inbuild_stats.json. Companion datasets:
CyberSec-Reasoning-Premium ·
RedTeam-Premium.