paper-with-me

홈 › Papers

Detecting Security Fixes in Open-Source Repositories using Static Code Analyzers

2021-05-07 · Therese Fehrer, Rocío Cabrera Lozoya, Antonino Sabetta, Dario Di Nucci, Damian A. Tamburri

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.

📄 PDF Abstract BibTeX arXiv:2105.03346

Code (2)

dardin88/fse_2021 공식 구현
sap/project-kb 공식 구현

Similar Papers 제목 키워드 기반

CVEfixes: Automated Collection of Vulnerabilities and Their Fixes from Open-Source Software

2021-07-19 · Guru Prasad Bhandari, Amara Naseer, Leon Moonen

Data-driven research on the automated discovery and repair of security vulnerabilities in source code requires comprehensive datasets of real-life vulnerable code and their fixes. To assist in such research, we propose a…

severity prediction

A Manually-Curated Dataset of Fixes to Vulnerabilities of Open-Source Software

2019-02-07 · Serena E. Ponta, Henrik Plate, Antonino Sabetta, Michele Bezzi 외

Advancing our understanding of software vulnerabilities, automating their identification, the analysis of their impact, and ultimately their mitigation is necessary to enable the development of software that is more secu…

An Empirical Investigation into Learning Bug-Fixing Patches in the Wild via Neural Machine Translation

2018-09-07 · Accepted to the ACM Transactions on Software Engineering and Methodology 2018 9 · Michele Tufano College of William and Mary Williamsburg, USA Cody Watson College of William and Mary Williamsburg, USA Gabriele Bavota Università della Svizzera italiana (USI) Lugano, Switzerland Massimiliano Di Penta University of Sannio Benevento 외

Millions of open-source projects with numerous bug fixes are available in code repositories. This proliferation of software development histories can be leveraged to learn how to fix common programming bugs. To explor…

Bug fixingDecoderMachine TranslationTranslation

DeepDebug: Fixing Python Bugs Using Stack Traces, Backtranslation, and Code Skeletons

2021-05-19 · Dawn Drain, Colin B. Clement, Guillermo Serrato, Neel Sundaresan

The joint task of bug localization and program repair is an integral part of the software development process. In this work we present DeepDebug, an approach to automated debugging using large, pretrained transformers. W…

Program Repair

Can Large Language Models Find And Fix Vulnerable Software?

2023-08-20 · David Noever

In this study, we evaluated the capability of Large Language Models (LLMs), particularly OpenAI's GPT-4, in detecting software vulnerabilities, comparing their performance against traditional static code analyzers like S…