Fix that Fix Commit: A real-world remediation analysis of JavaScript projects. Bandara, V., Rathnayake, T., Weerasekara, N., Elvitigala, C., Thilakarathna, K., Wijesekera, P., & Keppitiyagama, C. In 2020 IEEE 20th International Working Conference on Source Code Analysis and Manipulation (SCAM), pages 198–202, September, 2020. ISSN: 2470-6892doi abstract bibtex While there is a large body of work on understanding vulnerabilities in the wild, little has been done to understand the dynamics of the remediation phase of the development cycle. To this end, we have done a timeline analysis on 118K commits from 53 of the most used JavaScript projects from GitHub to understand the provenance and prevalence of vulnerabilities in those projects. We used a vulnerability detector (CodeQL) to filter commits that introduced vulnerabilities and the commits that fixed a prior vulnerability. We found that in 82% of the projects, a commit fixing a prior vulnerability, in turn, introduced one or more new vulnerabilities. Among those projects, on average, 18% of the commits intended to fix vulnerabilities, in turn, introduced one or more new vulnerabilities. We also found that 50% of the total vulnerabilities found in those projects originated from a commit meant to fix a prior vulnerability, and 78% of those vulnerabilities could have been avoided if they were to use proper internal testing. We provide critical insights into how proper internal testing can avoid a significant portion of vulnerabilities, increasing organizations' security posture.
@inproceedings{bandara_fix_2020,
title = {Fix that {Fix} {Commit}: {A} real-world remediation analysis of {JavaScript} projects},
shorttitle = {Fix that {Fix} {Commit}},
doi = {10.1109/SCAM51674.2020.00027},
abstract = {While there is a large body of work on understanding vulnerabilities in the wild, little has been done to understand the dynamics of the remediation phase of the development cycle. To this end, we have done a timeline analysis on 118K commits from 53 of the most used JavaScript projects from GitHub to understand the provenance and prevalence of vulnerabilities in those projects. We used a vulnerability detector (CodeQL) to filter commits that introduced vulnerabilities and the commits that fixed a prior vulnerability. We found that in 82\% of the projects, a commit fixing a prior vulnerability, in turn, introduced one or more new vulnerabilities. Among those projects, on average, 18\% of the commits intended to fix vulnerabilities, in turn, introduced one or more new vulnerabilities. We also found that 50\% of the total vulnerabilities found in those projects originated from a commit meant to fix a prior vulnerability, and 78\% of those vulnerabilities could have been avoided if they were to use proper internal testing. We provide critical insights into how proper internal testing can avoid a significant portion of vulnerabilities, increasing organizations' security posture.},
booktitle = {2020 {IEEE} 20th {International} {Working} {Conference} on {Source} {Code} {Analysis} and {Manipulation} ({SCAM})},
author = {Bandara, Vinuri and Rathnayake, Thisura and Weerasekara, Nipuna and Elvitigala, Charitha and Thilakarathna, Kenneth and Wijesekera, Primal and Keppitiyagama, Chamath},
month = sep,
year = {2020},
note = {ISSN: 2470-6892},
keywords = {\#broken, Conferences, Detectors, Jab/\#SCAM, Security, Security Testing, Software, Software Security, Software development management, Testing, Vulnerability Analysis, Vulnerability Remediation},
pages = {198--202},
}
Downloads: 0
{"_id":"rDtsgCzdQkKdzE8tu","bibbaseid":"bandara-rathnayake-weerasekara-elvitigala-thilakarathna-wijesekera-keppitiyagama-fixthatfixcommitarealworldremediationanalysisofjavascriptprojects-2020","author_short":["Bandara, V.","Rathnayake, T.","Weerasekara, N.","Elvitigala, C.","Thilakarathna, K.","Wijesekera, P.","Keppitiyagama, C."],"bibdata":{"bibtype":"inproceedings","type":"inproceedings","title":"Fix that Fix Commit: A real-world remediation analysis of JavaScript projects","shorttitle":"Fix that Fix Commit","doi":"10.1109/SCAM51674.2020.00027","abstract":"While there is a large body of work on understanding vulnerabilities in the wild, little has been done to understand the dynamics of the remediation phase of the development cycle. To this end, we have done a timeline analysis on 118K commits from 53 of the most used JavaScript projects from GitHub to understand the provenance and prevalence of vulnerabilities in those projects. We used a vulnerability detector (CodeQL) to filter commits that introduced vulnerabilities and the commits that fixed a prior vulnerability. We found that in 82% of the projects, a commit fixing a prior vulnerability, in turn, introduced one or more new vulnerabilities. Among those projects, on average, 18% of the commits intended to fix vulnerabilities, in turn, introduced one or more new vulnerabilities. We also found that 50% of the total vulnerabilities found in those projects originated from a commit meant to fix a prior vulnerability, and 78% of those vulnerabilities could have been avoided if they were to use proper internal testing. We provide critical insights into how proper internal testing can avoid a significant portion of vulnerabilities, increasing organizations' security posture.","booktitle":"2020 IEEE 20th International Working Conference on Source Code Analysis and Manipulation (SCAM)","author":[{"propositions":[],"lastnames":["Bandara"],"firstnames":["Vinuri"],"suffixes":[]},{"propositions":[],"lastnames":["Rathnayake"],"firstnames":["Thisura"],"suffixes":[]},{"propositions":[],"lastnames":["Weerasekara"],"firstnames":["Nipuna"],"suffixes":[]},{"propositions":[],"lastnames":["Elvitigala"],"firstnames":["Charitha"],"suffixes":[]},{"propositions":[],"lastnames":["Thilakarathna"],"firstnames":["Kenneth"],"suffixes":[]},{"propositions":[],"lastnames":["Wijesekera"],"firstnames":["Primal"],"suffixes":[]},{"propositions":[],"lastnames":["Keppitiyagama"],"firstnames":["Chamath"],"suffixes":[]}],"month":"September","year":"2020","note":"ISSN: 2470-6892","keywords":"#broken, Conferences, Detectors, Jab/#SCAM, Security, Security Testing, Software, Software Security, Software development management, Testing, Vulnerability Analysis, Vulnerability Remediation","pages":"198–202","bibtex":"@inproceedings{bandara_fix_2020,\n\ttitle = {Fix that {Fix} {Commit}: {A} real-world remediation analysis of {JavaScript} projects},\n\tshorttitle = {Fix that {Fix} {Commit}},\n\tdoi = {10.1109/SCAM51674.2020.00027},\n\tabstract = {While there is a large body of work on understanding vulnerabilities in the wild, little has been done to understand the dynamics of the remediation phase of the development cycle. To this end, we have done a timeline analysis on 118K commits from 53 of the most used JavaScript projects from GitHub to understand the provenance and prevalence of vulnerabilities in those projects. We used a vulnerability detector (CodeQL) to filter commits that introduced vulnerabilities and the commits that fixed a prior vulnerability. We found that in 82\\% of the projects, a commit fixing a prior vulnerability, in turn, introduced one or more new vulnerabilities. Among those projects, on average, 18\\% of the commits intended to fix vulnerabilities, in turn, introduced one or more new vulnerabilities. We also found that 50\\% of the total vulnerabilities found in those projects originated from a commit meant to fix a prior vulnerability, and 78\\% of those vulnerabilities could have been avoided if they were to use proper internal testing. We provide critical insights into how proper internal testing can avoid a significant portion of vulnerabilities, increasing organizations' security posture.},\n\tbooktitle = {2020 {IEEE} 20th {International} {Working} {Conference} on {Source} {Code} {Analysis} and {Manipulation} ({SCAM})},\n\tauthor = {Bandara, Vinuri and Rathnayake, Thisura and Weerasekara, Nipuna and Elvitigala, Charitha and Thilakarathna, Kenneth and Wijesekera, Primal and Keppitiyagama, Chamath},\n\tmonth = sep,\n\tyear = {2020},\n\tnote = {ISSN: 2470-6892},\n\tkeywords = {\\#broken, Conferences, Detectors, Jab/\\#SCAM, Security, Security Testing, Software, Software Security, Software development management, Testing, Vulnerability Analysis, Vulnerability Remediation},\n\tpages = {198--202},\n}\n\n\n\n","author_short":["Bandara, V.","Rathnayake, T.","Weerasekara, N.","Elvitigala, C.","Thilakarathna, K.","Wijesekera, P.","Keppitiyagama, C."],"key":"bandara_fix_2020","id":"bandara_fix_2020","bibbaseid":"bandara-rathnayake-weerasekara-elvitigala-thilakarathna-wijesekera-keppitiyagama-fixthatfixcommitarealworldremediationanalysisofjavascriptprojects-2020","role":"author","urls":{},"keyword":["#broken","Conferences","Detectors","Jab/#SCAM","Security","Security Testing","Software","Software Security","Software development management","Testing","Vulnerability Analysis","Vulnerability Remediation"],"metadata":{"authorlinks":{}},"html":""},"bibtype":"inproceedings","biburl":"https://bibbase.org/zotero/bxt101","dataSources":["Wsv2bQ4jPuc7qme8R"],"keywords":["#broken","conferences","detectors","jab/#scam","security","security testing","software","software security","software development management","testing","vulnerability analysis","vulnerability remediation"],"search_terms":["fix","fix","commit","real","world","remediation","analysis","javascript","projects","bandara","rathnayake","weerasekara","elvitigala","thilakarathna","wijesekera","keppitiyagama"],"title":"Fix that Fix Commit: A real-world remediation analysis of JavaScript projects","year":2020}