← Datasets

Compare

Code Vulnerability and Security DPO Dataset
#318 · remove
Sci-Base
#309 · remove
Kinddatasetdataset
Published20242026
Licenseapache-2.0cc-by-4.0
License familyPermissivePermissive
Accessfreefree
Language codes—en
Modalitiescode, texttext
Size1K to 10K rows1M to 10M rows
Downloads (last month)1,1117,498
Likes17139
Last updated2024-02-292026-05-27
Formatsjsonparquet
ScaleIndependently 4656 train rows; Hub usedStorage ~3.85 MB; likes 169>25 million documents, >600 billion pure tokens
FormatJSON/parquet via Hub viewer. Columns: lang, vulnerability, system, question, chosen, rejectedParquet (JSON containing Markdown, LaTeX formulas, text)
TypeSynthetic DPO preference dataset (code)raw-text
CostFreeFree
LanguagesIndependently nearly uniform across 11 langs (~422-424 each): c++, python, java, javascript, c#, php, ruby, swift, go, kotlin, fortran. Natural-language prompts in English.English
ModalityText + source codeText
DomainSecure coding / vulnerability remediation across 11 programming languagesMedicine and Health Sciences: 36.0% | Life Sciences: 20.9% | Engineering and Manufacturing Science: 11.0% | Earth and Atmospheric Sciences: 5.6% | Physics: 5.0% | Chemistry: 5.0% | Mathematics and Computational Science: 3.7% | Materials Science and Engineering: 3.3% | Astronomy and Space Sciences: 1.8% | Energy and Power Science: 0.5%
Time periodHF createdAt 2024-02-28; lastModified 2024-02-29. Synthetic coding vignettes; no real-world dated corpus.Up to March 2026
PurposeDPO pairs (chosen=secure, rejected=vulnerable) for preference-tuning code models toward secure fixesScientific Knowledge Base, AI4S (AI for Science) foundational pre-training
Used forPreference/DPO training; secure-coding assistants; educational demos (card use cases)None
AuthorsCybernative.ai; synthetic via LoneStriker/deepseek-coder-33b-instruct per cardUnknown (Global Open Access authors)
BiasEven language coverage. Vulnerability descriptions are LLM-written; may over-represent classic OWASP-style bugs vs rare CVEs. Not audited against real CVE corpora.Heavily skewed toward Medicine, Health, and Life Sciences (56.9% combined)
Text qualityMedium. Sampled chosen/rejected pairs are coherent secure-vs-insecure contrasts; some rejected snippets show mojibake/garbled tokens. system field often empty.High-precision parsing via MinerU (nearly flawlessly preserves math, charts, and typographical layouts)
Sample sizeIndependently 4656 rows; ~equal per languageDocument-level (full papers/books)
Long contextLow-Medium (snippet-length code pairs)Yes
Intermediate stepsNo (direct preference pairs; vulnerability label is a short description, not a multi-step chain)No
Idea qualityMedium-High (clear secure-vs-insecure DPO framing across many langs)High
NoveltyMedium (synthetic secure-coding DPO; useful niche, not first of its kind)Moderate
Text conversionHigh (load_dataset ready; small download)Already deeply parsed into pure tokens via MinerU
Collection methodDownloadDownload
StaticYes (lastModified 2024-02-29; frozen)No (Continuously updated)
ProcessedYes (synthetic generation + packaging)No
SummaryThe 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.[**Sciverse**](https://sciverse.space/) is a comprehensive, multi-layered scientific data foundation designed to provide the ultimate data infrastructure for the AI for Science (AI4S) community. As scientific research becomes increasingly data-driven, Sciverse supplies the essential, high-quality data resources required to build robust scientific knowledge systems and accelerate research.