跳到主要导航 跳到搜索 跳到主要内容

SeRe: A Security-Related Code Review Dataset Aligned with Real-World Review Activities

  • Zixiao Zhao
  • , Yanjie Jiang*
  • , Hui Liu
  • , Kui Liu
  • , Lu Zhang
  • *此作品的通讯作者
  • Peking University
  • Tianjin University
  • Huawei Technologies Co., Ltd.

科研成果: 书/报告/会议事项章节 › 会议稿件 › 同行评审

摘要

Software security vulnerabilities can lead to severe consequences, making early detection essential. Although code review serves as a critical defense mechanism against security flaws, relevant feedback remains scarce due to limited attention to security issues or a lack of expertise among reviewers. Existing datasets and studies primarily focus on general-purpose code review comments, either lacking security-specific annotations or being too limited in scale to support large-scale research. To bridge this gap, we introduce SeRe, a security-related code review dataset, constructed using an active learning-based ensemble classification approach. The proposed approach iteratively refines model predictions through human annotations, achieving high precision while maintaining reasonable recall. Using the fine-tuned ensemble classifier, we extracted 6,732 security-related reviews from 373,824 raw review instances, ensuring representativeness across multiple programming languages. Statistical analysis indicates that SeRe generally aligns with real-world security-related review distribution. To assess both the utility of SeRe and the effectiveness of existing code review comment generation approaches, we benchmark state-of-the-art approaches on security-related feedback generation. By releasing SeRe along with our benchmark results, we aim to advance research in automated security-focused code review and contribute to the development of more effective secure software engineering practices.

源语言英语
主期刊名Proceedings - 2026 IEEE/ACM 48th International Conference on Software Engineering, ICSE 2026
出版商Association for Computing Machinery, Inc
页2186-2197
页数12
ISBN(电子版)9798400720253
DOI
出版状态已出版 - 11 9月 2026
活动48th International Conference on Software Engineering, ICSE 2026 - Rio de Janeiro, 巴西
期限: 12 4月 2026 → 18 4月 2026

丛书

姓名Proceedings - 2026 IEEE/ACM 48th International Conference on Software Engineering, ICSE 2026

会议

会议48th International Conference on Software Engineering, ICSE 2026
国家/地区巴西
市Rio de Janeiro
时期12/04/26 → 18/04/26

学术指纹

探究 'SeRe: A Security-Related Code Review Dataset Aligned with Real-World Review Activities' 的科研主题。它们共同构成独一无二的学术指纹。

引用此