Talk With an Expert

New Shiny Library or Popular Shiny Library? Build More Secure Software by Choosing Newer Libraries

New Shiny Library or Popular Shiny Library? Build More Secure Software by Choosing Newer Libraries (PDF, 0.53MB)Published: 16 Jun, 2022
Created by:
Kenneth Po

When selecting a third-party library, many software engineers simply choose the one with the highest popularity. Does a library's recent activity provide the best heuristic to minimize security risks and ensure good code quality?

SonarQube, an open-source static code analysis tool, measures software quality and security-focused bugs. Prana et al. analyzed Java, Python, and Ruby repositories, but there is no analysis of .NET-related projects such as C# (2021). This research extends Prana’s work by using SonarQube to analyze a random sample of C# code repositories for security vulnerabilities. Based on SonarQube's results, newer software libraries with recent activity facilitate building secure software with better code quality and fewer security bugs than popular libraries measured by GitHub’s star rating.