A Practical Approach to the Automatic Classification of Security-Relevant Commits
Not on the map. Why?
Abstract (arXiv)
The lack of reliable sources of detailed information on the vulnerabilities of open-source software (OSS) components is a major obstacle to maintaining a secure software supply chain and an effective vulnerability management process. Standard sources of advisories and vulnerability data, such as the National Vulnerability Database (NVD), are known to suffer from poor coverage and inconsistent quality. To reduce our dependency on these sources, we propose an approach that uses machine-learning to analyze source code repositories and to automatically identify commits that are security-relevant (i.e., that are likely to fix a vulnerability). We treat the source code changes introduced by commits as documents written in natural language, classifying them using standard document classification methods. Combining independent classifiers that use information from different facets of commits, our method can yield high precision (80%) while ensuring acceptable recall (43%). In particular, the use of information extracted from the source code changes yields a substantial improvement over the best known approach in state of the art, while requiring a significantly smaller amount of training data and employing a simpler architecture.
Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). First posted on arXiv 6 Jul 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 6; 2022: 2; 2023: 2; 2024: 1; 2025: 0; 2026: 2.
13 papers.
Sort:
By area:
- 2021CVEfixes: Automated Collection of Vulnerabilities and Their Fixes from Open-Source Softwarecited by 89
- 2021A Survey on Machine Learning Techniques for Source Code Analysiscited by 23
- 2023Can Large Language Models Find And Fix Vulnerable Software?cited by 14
- 2021DeepCVA: Automated Commit-level Vulnerability Assessment with Deep Multi-task Learningcited by 11
- 2022VulCurator: A Vulnerability-Fixing Commit Detectorcited by 11
- 2024Automatic Data Labeling for Software Vulnerability Prediction Models: How Far Are We?cited by 6
- 2021Software Vulnerability Detection via Deep Learning over Disaggregated Code Graph Representationcited by 5
- 2023Multi-Granularity Detector for Vulnerability Fixescited by 4
- 2022GitRanking: A Ranking of GitHub Topics for Software Classification using Active Samplingcited by 3
- 2021Automated Mapping of Vulnerability Advisories onto their Fix Commits in Open Source Repositoriescited by 1
- 2026Favia: Forensic Agent for Vulnerability-fix Identification and Analysiscited by 1
- 2021Detecting Security Fixes in Open-Source Repositories using Static Code Analyzerscited by 0
1 more
- 2026A Comprehensive Evaluation of Code Language Models for Security Patch Detection13 May 2026
- 2026Favia: Forensic Agent for Vulnerability-fix Identification and Analysis13 Feb 2026
- 2024Automatic Data Labeling for Software Vulnerability Prediction Models: How Far Are We?25 Jul 2024
- 2023Can Large Language Models Find And Fix Vulnerable Software?20 Aug 2023
- 2023Multi-Granularity Detector for Vulnerability Fixes23 May 2023
- 2022VulCurator: A Vulnerability-Fixing Commit Detector7 Sep 2022
- 2022GitRanking: A Ranking of GitHub Topics for Software Classification using Active Sampling19 May 2022
- 2021A Survey on Machine Learning Techniques for Source Code Analysis18 Oct 2021
- 2021Software Vulnerability Detection via Deep Learning over Disaggregated Code Graph Representation7 Sep 2021
- 2021DeepCVA: Automated Commit-level Vulnerability Assessment with Deep Multi-task Learning18 Aug 2021
- 2021CVEfixes: Automated Collection of Vulnerabilities and Their Fixes from Open-Source Software19 Jul 2021
- 2021Detecting Security Fixes in Open-Source Repositories using Static Code Analyzers7 May 2021
- 2021CVEfixes: Automated Collection of Vulnerabilities and Their Fixes from Open-Source Softwarecited by 89
- 2021A Survey on Machine Learning Techniques for Source Code Analysiscited by 23
- 2023Can Large Language Models Find And Fix Vulnerable Software?cited by 14
- 2021DeepCVA: Automated Commit-level Vulnerability Assessment with Deep Multi-task Learningcited by 11
- 2022VulCurator: A Vulnerability-Fixing Commit Detectorcited by 11
- 2024Automatic Data Labeling for Software Vulnerability Prediction Models: How Far Are We?cited by 6
- 2021Software Vulnerability Detection via Deep Learning over Disaggregated Code Graph Representationcited by 5
- 2023Multi-Granularity Detector for Vulnerability Fixescited by 4
- 2022GitRanking: A Ranking of GitHub Topics for Software Classification using Active Samplingcited by 3
- 2021Automated Mapping of Vulnerability Advisories onto their Fix Commits in Open Source Repositoriescited by 1
- 2021Detecting Security Fixes in Open-Source Repositories using Static Code Analyzerscited by 0
- 2026A Comprehensive Evaluation of Code Language Models for Security Patch Detectioncited by 0
- 2026A Comprehensive Evaluation of Code Language Models for Security Patch Detection13 May 2026
- 2024Automatic Data Labeling for Software Vulnerability Prediction Models: How Far Are We?25 Jul 2024
- 2023Can Large Language Models Find And Fix Vulnerable Software?20 Aug 2023
- 2023Multi-Granularity Detector for Vulnerability Fixes23 May 2023
- 2022VulCurator: A Vulnerability-Fixing Commit Detector7 Sep 2022
- 2022GitRanking: A Ranking of GitHub Topics for Software Classification using Active Sampling19 May 2022
- 2021A Survey on Machine Learning Techniques for Source Code Analysis18 Oct 2021
- 2021Software Vulnerability Detection via Deep Learning over Disaggregated Code Graph Representation7 Sep 2021
- 2021DeepCVA: Automated Commit-level Vulnerability Assessment with Deep Multi-task Learning18 Aug 2021
- 2021CVEfixes: Automated Collection of Vulnerabilities and Their Fixes from Open-Source Software19 Jul 2021
- 2021Detecting Security Fixes in Open-Source Repositories using Static Code Analyzers7 May 2021
- 2021Automated Mapping of Vulnerability Advisories onto their Fix Commits in Open Source Repositories24 Mar 2021