arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.05576cs.SE
收藏

JavaVFC:来自开源软件的 Java 漏洞修复提交

JavaVFC: Java Vulnerability Fixing Commits from Open-source Software

Tan Bui, Yan Naing Tun, Yiran Cheng, Ivana Clairine Irsan, Ting Zhang, Hong Jin Kang

AI总结:

本文构建并发布 JavaVFC 与 JavaVFC-extended 数据集,利用关键词启发式、多轮人工标注和大规模仓库筛选,为漏洞修复提交识别与自动修复研究提供数据基础。

摘要:

我们提出了一个全面的 Java 漏洞修复提交(VFC)数据集,以推进 Java 漏洞分析研究。我们的数据集源自 GitHub 上数千个开源 Java 项目,包含两个变体:JavaVFC 和 JavaVFC-extended。该数据集通过严格的流程构建,涉及启发式规则和多轮人工标注。我们最初使用关键词根据提交消息筛选候选 VFC,随后通过迭代式人工标注优化该关键词集合。最后一轮标注在三名标注者之间取得了 0.7 的精确率分数。我们将优化后的关键词集合应用于 34,321 个拥有超过 50 个 GitHub star 的开源 Java 仓库,得到包含 784 个人工验证 VFC 的 JavaVFC,以及包含 16,837 个自动识别 VFC 的 JavaVFC-extended。两个变体均以标准化 JSONL 格式提供,便于访问和分析。该数据集支持多种研究工作,包括 VFC 识别、细粒度漏洞检测和自动化漏洞修复。JavaVFC 和 JavaVFC-extended 可在 https://zenodo.org/records/13731781 公开获取。

英文摘要:

We present a comprehensive dataset of Java vulnerability-fixing commits (VFCs) to advance research in Java vulnerability analysis. Our dataset, derived from thousands of open-source Java projects on GitHub, comprises two variants: JavaVFC and JavaVFC-extended. The dataset was constructed through a rigorous process involving heuristic rules and multiple rounds of manual labeling. We initially used keywords to filter candidate VFCs based on commit messages, then refined this keyword set through iterative manual labeling. The final labeling round achieved a precision score of 0.7 among three annotators. We applied the refined keyword set to 34,321 open-source Java repositories with over 50 GitHub stars, resulting in JavaVFC with 784 manually verified VFCs and JavaVFC-extended with 16,837 automatically identified VFCs. Both variants are presented in a standardized JSONL format for easy access and analysis. This dataset supports various research endeavors, including VFC identification, fine-grained vulnerability detection, and automated vulnerability repair. The JavaVFC and JavaVFC-extended are publicly available at https://zenodo.org/records/13731781.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑