| Kind | dataset | dataset |
|---|
| Published | 2026 | 2024 |
|---|
| License | apache-2.0 | apache-2.0 |
|---|
| License family | Permissive | Permissive |
|---|
| Access | free | free |
|---|
| Language codes | en | — |
|---|
| Modalities | text | code, text |
|---|
| Size | 10K to 100K rows | 1K to 10K rows |
|---|
| Downloads (last month) | 3,059 | 1,111 |
|---|
| Likes | 32 | 171 |
|---|
| Last updated | 2026-04-23 | 2024-02-29 |
|---|
| Tasks | text-classification | — |
|---|
| Formats | parquet, optimized-parquet | json |
|---|
| Scale | core train/val/test 4391/941/942; full train 14036 with same val/test. Independently core-train 2650 pos / 1741 neg; 31 categories. Hub usedStorage ~2.2 MB. | Independently 4656 train rows; Hub usedStorage ~3.85 MB; likes 169 |
|---|
| Format | Parquet configs core|full. Columns: text, label, category, source, severity, group_id, augmented, tags | JSON/parquet via Hub viewer. Columns: lang, vulnerability, system, question, chosen, rejected |
|---|
| Type | Labeled text classification (security) | Synthetic DPO preference dataset (code) |
|---|
| Cost | Free | Free |
|---|
| Languages | English prompts | Independently nearly uniform across 11 langs (~422-424 each): c++, python, java, javascript, c#, php, ruby, swift, go, kotlin, fortran. Natural-language prompts in English. |
|---|
| Modality | Text only | Text + source code |
|---|
| Domain | LLM prompt injection / jailbreak detection; AI safety classifiers | Secure coding / vulnerability remediation across 11 programming languages |
|---|
| Time period | HF createdAt 2026-01-25; lastModified 2026-04-23. Taxonomy includes 2025 attack styles per card. | HF createdAt 2024-02-28; lastModified 2024-02-29. Synthetic coding vignettes; no real-world dated corpus. |
|---|
| Purpose | Train and eval binary malicious-vs-benign prompt detectors with group-aware leakage-free splits | DPO pairs (chosen=secure, rejected=vulnerable) for preference-tuning code models toward secure fixes |
|---|
| Used for | Classical ML and transformer detectors; card reports RF 96.3% / DeBERTa-v3-small 95.1% test accuracy | Preference/DPO training; secure-coding assistants; educational demos (card use cases) |
|---|
| Authors | NeurAlchemy originals + HackAPrompt + WildGuard/JudgeComparison + HarmBench (+ benign counterparts) + hand-crafted hard negatives (licenses mixed; package Apache-2.0) | Cybernative.ai; synthetic via LoneStriker/deepseek-coder-33b-instruct per card |
|---|
| Bias | Independently core-train skewed to benign + direct_injection (1699+1397). Jailbreak 291; many rare categories <30. ~60/40 malicious/benign claimed on card. | Even language coverage. Vulnerability descriptions are LLM-written; may over-represent classic OWASP-style bugs vs rare CVEs. Not audited against real CVE corpora. |
|---|
| Text quality | High for a security classifier set. Sampled benign hard-negatives look realistic; group_id + augmented flags support clean eval. Card claims automated zero-leakage verification across 16918 samples. | Medium. Sampled chosen/rejected pairs are coherent secure-vs-insecure contrasts; some rejected snippets show mojibake/garbled tokens. system field often empty. |
|---|
| Sample size | core ~6.3K; full ~15.9K across splits | Independently 4656 rows; ~equal per language |
|---|
| Long context | Low-Medium (some context_overflow / many_shot categories by design) | Low-Medium (snippet-length code pairs) |
|---|
| Intermediate steps | No (single-turn classification labels) | No (direct preference pairs; vulnerability label is a short description, not a multi-step chain) |
|---|
| Idea quality | High (leakage-aware splits + severity/category metadata + published baselines) | Medium-High (clear secure-vs-insecure DPO framing across many langs) |
|---|
| Novelty | Medium-High (well-engineered 2026 packaging of injection taxonomy with group splits) | Medium (synthetic secure-coding DPO; useful niche, not first of its kind) |
|---|
| Text conversion | High | High (load_dataset ready; small download) |
|---|
| Collection method | Download | Download |
|---|
| Static | Mostly (lastModified 2026-04-23) | Yes (lastModified 2024-02-29; frozen) |
|---|
| Processed | Yes (curation, augmentation, group splits) | Yes (synthetic generation + packaging) |
|---|
| Summary | A high-quality, leakage-free binary classification dataset for detecting **prompt injection** and **jailbreak** attacks against Large Language Models. | The Cybernative.ai Code Vulnerability and Security Dataset is a dataset of synthetic Data Programming by Demonstration (DPO) pairs, focusing on the intricate relationship between secure and insecure code across a variety of programming languages. This dataset is meticulously crafted to serve as a pivotal resource for researchers, cybersecurity professionals, and AI developers who are keen on understanding, identifying, and mitigating vulnerabilities in code. |
|---|