djinn-problems-v1.0
收藏资源简介:
该数据集是针对代码安全漏洞检测与利用任务的评估数据集。每个样本包含一个函数描述(description)、函数名(function_name)、测试用例(test_cases)、真实漏洞标签(ground_truth)、漏洞利用代码(exploit)、不安全测试用例(insecure_test_cases)及其验证信息(insecure_verifier_info)、信息泄露方法(info_leak_method)、漏洞利用解释(exploit_explanation)、预期漏洞利用状态(exploit_expected_status)、关键词(keywords)以及多项质量与难度评估指标(如evaluated_gt_difficulty、evaluated_exploit_difficulty、vuln_cheatiness、exploit_fairness、problem_quality等)。此外,还包含模型在漏洞检测和利用上的结果(gt_model_results、exploit_model_results)以及漏洞发现相关属性(problem_appears_as、exploit_finding_appearance、order_dependent、exploit_type)。数据集划分为训练集(1227条)、评估集(42条)、备用训练集(665条)和备用测试集(604条),可用于训练和评估模型在代码漏洞发现、利用生成及安全性分析方面的能力。
This dataset is an evaluation dataset for code security vulnerability detection and exploitation tasks. Each sample contains a function description (description), function name (function_name), test cases (test_cases), ground truth vulnerability label (ground_truth), exploit code (exploit), insecure test cases (insecure_test_cases) and their verification information (insecure_verifier_info), information leakage method (info_leak_method), exploit explanation (exploit_explanation), expected exploit status (exploit_expected_status), keywords (keywords), and multiple quality and difficulty assessment metrics (e.g., evaluated_gt_difficulty, evaluated_exploit_difficulty, vuln_cheatiness, exploit_fairness, problem_quality, etc.). Additionally, it includes model results on vulnerability detection and exploitation (gt_model_results, exploit_model_results) and vulnerability discovery-related attributes (problem_appears_as, exploit_finding_appearance, order_dependent, exploit_type). The dataset is divided into a training set (1227 samples), an evaluation set (42 samples), a reserve training set (665 samples), and a reserve test set (604 samples). It can be used to train and evaluate models in code vulnerability discovery, exploit generation, and security analysis.
数据集详情总结
基本信息
- 数据集名称: djinn-problems-v1.0
- 发布机构: EleutherAI
- 数据集总量: 约19.8 MB(下载大小约7.6 MB)
数据集结构
该数据集包含4个数据分割(split):
| 分割名称 | 样本数量 | 大小 |
|---|---|---|
| train | 1227 | ~9.5 MB |
| eval | 42 | ~388 KB |
| train_alternate | 665 | ~5.1 MB |
| test_alternate | 604 | ~4.8 MB |
数据结构(字段说明)
每条数据包含以下23个字段:
基础信息
- id: 样本唯一标识符(字符串)
- description: 问题描述(字符串)
- function_name: 函数名称(字符串)
- test_cases: 测试用例(字符串)
- ground_truth: 标准答案(字符串)
安全与漏洞相关信息
- exploit: 漏洞利用代码(字符串)
- insecure_test_cases: 不安全测试用例(字符串)
- insecure_verifier_info: 不安全验证器信息(字符串)
- info_leak_method: 信息泄露方法(字符串)
- exploit_explanation: 漏洞利用说明(字符串)
- exploit_expected_status: 漏洞利用预期状态(字符串)
- exploit_type: 漏洞类型(字符串)
评估与质量指标
- evaluated_gt_difficulty: 标准答案难度评分(整数)
- evaluated_exploit_difficulty: 漏洞利用难度评分(整数)
- gt_model_results: 模型在标准答案上的结果(字符串)
- exploit_model_results: 模型在漏洞利用上的结果(字符串)
- vuln_cheatiness: 漏洞作弊程度(浮点数)
- exploit_fairness: 漏洞利用公平性(浮点数)
- problem_quality: 问题质量评分(浮点数)
- problem_appears_as: 问题出现形式(字符串)
- exploit_finding_appearance: 漏洞发现出现频率(浮点数)
其他
- order_dependent: 是否顺序依赖(布尔值)
- keywords: 关键词列表(列表类型)
数据集用途
该数据集由EleutherAI发布,主要用于测试和评估模型在安全相关代码问题上的表现,特别关注:
- 标准问题求解能力(ground_truth)
- 漏洞识别与利用能力(exploit)
- 模型在安全场景中的公平性和鲁棒性评估




