Skip to content

Dataset · DetectVul

Python code vulnerability detection dataset

DetectVul/devign

A dataset of code files with labeled vulnerable lines for training security models.

What's inside

Contains Python code text data with instruction-level vulnerability information. Size ranges from 10K to 100K records. Based on the DetectVul (2024) study.

What you can do with it

  • Training models to find vulnerabilities in source code
  • Creating AI-powered static code analysis systems
Size
10K–100K rows
Downloads this month
340
Likes
12

Models trained on it

How to load it

from datasets import load_dataset

ds = load_dataset("DetectVul/devign")