Skip to content

Dataset · sunlab

PatchDB security patch dataset

sunlab/patch_db

A corpus of over 35,000 patches for security research and vulnerability patching.

What's inside

The dataset contains about 12,073 real security patches and 23,742 non-security-related patches. The materials were gathered based on the DSN'21 research paper for analyzing and comparing vulnerability detection approaches.

What you can do with it

  • Training and testing code vulnerability detection systems
  • Research in automatic bug fixing
Tasks
Embeddings, Text classification, Summarization, Text generation
Languages
English
Size
10K–100K rows
Downloads this month
85
Likes
29
Access
on request on Hugging Face

How to load it

from datasets import load_dataset

ds = load_dataset("sunlab/patch_db")