Dataset
Code Vulnerability and Security DPO Dataset
Summary
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.
- Venue
- CyberNative
- Source
- huggingface
- Access
- free
- License
- apache-2.0
- License family
- Permissive
- Hugging Face
- CyberNative/Code_Vulnerability_Security_DPO
- Author type
- unknown
- Added
- Jul 17, 2026
- Verified
- Jul 17, 2026
- Research status
- done
From the source
- Repository
- CyberNative/Code_Vulnerability_Security_DPO
- Created
- Feb 28, 2024
- Last updated
- Feb 29, 2024
- Downloads (last month)
- 1,111
- Likes
- 171
- Size
- 1K to 10K rows
- Modalities
- code, text
- Formats
- json
Topics
Code
Dataset profile
- Scale
- Independently 4656 train rows; Hub usedStorage ~3.85 MB; likes 169
- Format
- JSON/parquet via Hub viewer. Columns: lang, vulnerability, system, question, chosen, rejected
- Type
- Synthetic DPO preference dataset (code)
- License
- apache-2.0
- Cost
- Free
- Languages
- 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 + source code
- Domain
- Secure coding / vulnerability remediation across 11 programming languages
- Time period
- HF createdAt 2024-02-28; lastModified 2024-02-29. Synthetic coding vignettes; no real-world dated corpus.
- Purpose
- DPO pairs (chosen=secure, rejected=vulnerable) for preference-tuning code models toward secure fixes
- Used for
- Preference/DPO training; secure-coding assistants; educational demos (card use cases)
- Authors
- Cybernative.ai; synthetic via LoneStriker/deepseek-coder-33b-instruct per card
- Bias
- 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
- Medium. Sampled chosen/rejected pairs are coherent secure-vs-insecure contrasts; some rejected snippets show mojibake/garbled tokens. system field often empty.
- Sample size
- Independently 4656 rows; ~equal per language
- Long context
- Low-Medium (snippet-length code pairs)
- Intermediate steps
- No (direct preference pairs; vulnerability label is a short description, not a multi-step chain)
- Idea quality
- Medium-High (clear secure-vs-insecure DPO framing across many langs)
- Novelty
- Medium (synthetic secure-coding DPO; useful niche, not first of its kind)
- Text conversion
- High (load_dataset ready; small download)
- Collection method
- Download
- Static
- Yes (lastModified 2024-02-29; frozen)
- Processed
- Yes (synthetic generation + packaging)
Research notes
- downloads=2621; likes=164
- Discord msg 1490725124364566549 bare link. Remaining dump leftover. Spot-check quality before RLHF production use.
Similar entries
- Dataset UltraData-Code (OpenBMB L0–L3 tiered code pretrain: L2 algorithmic + L3 synthesis)
- Paper BigO(Bench): Can LLMs Generate Code with Controlled Time and Space Complexity?
- Paper Invent a Dataset: Measuring Dataset Generation Abilities With Zero Seed Data
- Paper Cross-Benchmark Transfer from RL on Agentic Coding Tasks
- Dataset github-top-code
- Dataset Jupyter Agent Dataset