Do Software Security Practices Yield Fewer Vulnerabilities?
Nusrat Zahan, Shohanuzzaman Shohan, Dan Harris, Laurie Williams

TL;DR
This study investigates whether the adoption of specific software security practices correlates with fewer vulnerabilities, using machine learning models on npm and PyPI packages, revealing limited predictive power and highlighting the need for refined metrics.
Contribution
Developed machine learning models linking security practice scores to vulnerability counts, identifying key practices and highlighting limitations in current security scoring methods.
Findings
Four security practices significantly influence vulnerability counts.
Models showed low R^2, indicating limited predictive accuracy.
Reported vulnerabilities increased with higher security scores.
Abstract
Due to the ever-increasing security breaches, practitioners are motivated to produce more secure software. In the United States, the White House Office released a memorandum on Executive Order (EO) 14028 that mandates organizations provide self-attestation of the use of secure software development practices. The OpenSSF Scorecard project allows practitioners to measure the use of software security practices automatically. However, little research has been done to determine whether the use of security practices improves package security, particularly which security practices have the biggest impact on security outcomes. The goal of this study is to assist practitioners and researchers making informed decisions on which security practices to adopt through the development of models between software security practice scores and security vulnerability counts. To that end, we developed five…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsInformation and Cyber Security · Software Engineering Research · Software Reliability and Analysis Research
