Detecting Security Fixes in Open-Source Repositories using Static Code Analyzers
Not on the map. Why?
Abstract (arXiv)
The sources of reliable, code-level information about vulnerabilities that affect open-source software (OSS) are scarce, which hinders a broad adoption of advanced tools that provide code-level detection and assessment of vulnerable OSS dependencies. In this paper, we study the extent to which the output of off-the-shelf static code analyzers can be used as a source of features to represent commits in Machine Learning (ML) applications. In particular, we investigate how such features can be used to construct embeddings and train ML models to automatically identify source code commits that contain vulnerability fixes. We analyze such embeddings for security-relevant and non-security-relevant commits, and we show that, although in isolation they are not different in a statistically significant manner, it is possible to use them to construct a ML pipeline that achieves results comparable with the state of the art. We also found that the combination of our method with commit2vec represents a tangible improvement over the state of the art in the automatic identification of commits that fix vulnerabilities: the ML models we construct and commit2vec are complementary, the former being more generally applicable, albeit not as accurate.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 6 of its 36 references that are in the map. First posted on arXiv 7 May 2021.
Builds on
6 of 36 references.
References · 6
- 2018code2vec: Learning Distributed Representations of Codecited by 249
- 2016Feature Selection: A Data Perspectivecited by 50
- 2019A Manually-Curated Dataset of Fixes to Vulnerabilities of Open-Source Softwarecited by 28
- 2018A Practical Approach to the Automatic Classification of Security-Relevant Commitscited by 13
- 2019Commit2Vec: Learning Distributed Representations of Code Changescited by 12
- 2021Secure Software Development in the Era of Fluid Multi-party Open Software and Servicescited by 1
Built on by
Not cited yet.