Learning to Catch Security Patches
Not on the map. Why?
Abstract (arXiv)
Timely patching is paramount to safeguard users and maintainers against dire consequences of malicious attacks. In practice, patching is prioritized following the nature of the code change that is committed in the code repository. When such a change is labeled as being security-relevant, i.e., as fixing a vulnerability, maintainers rapidly spread the change and users are notified about the need to update to a new version of the library or of the application. Unfortunately, oftentimes, some security-relevant changes go unnoticed as they represent silent fixes of vulnerabilities. In this paper, we propose a Co-Training-based approach to catch security patches as part of an automatic monitoring service of code repositories. Leveraging different classes of features, we empirically show that such automation is feasible and can yield a precision of over 90% in identifying security patches, with an unprecedented recall of over 80%. Beyond such a benchmarking with ground truth data which demonstrates an improvement over the state-of-the-art, we confirmed that our approach can help catch security patches that were not reported as such.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). First posted on arXiv 24 Jan 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 3; 2022: 1; 2023: 0; 2024: 1; 2025: 1.
6 papers.
- 2021A Survey on Data-driven Software Vulnerability Assessment and Prioritizationcited by 18
- 2021DeepCVA: Automated Commit-level Vulnerability Assessment with Deep Multi-task Learningcited by 11
- 2022VulCurator: A Vulnerability-Fixing Commit Detectorcited by 11
- 2024A Survey of Source Code Representations for Machine Learning-Based Cybersecurity Taskscited by 4
- 2021Automated Mapping of Vulnerability Advisories onto their Fix Commits in Open Source Repositoriescited by 1
- 2025What Do They Fix? LLM-Aided Categorization of Security Patches for Critical Memory Bugscited by 1
- 2025What Do They Fix? LLM-Aided Categorization of Security Patches for Critical Memory Bugs26 Sep 2025
- 2024A Survey of Source Code Representations for Machine Learning-Based Cybersecurity Tasks15 Mar 2024
- 2022VulCurator: A Vulnerability-Fixing Commit Detector7 Sep 2022
- 2021DeepCVA: Automated Commit-level Vulnerability Assessment with Deep Multi-task Learning18 Aug 2021
- 2021A Survey on Data-driven Software Vulnerability Assessment and Prioritization18 Jul 2021
- 2021Automated Mapping of Vulnerability Advisories onto their Fix Commits in Open Source Repositories24 Mar 2021