We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.SE

Change to browse by:

cs

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo ScienceWISE logo

Computer Science > Software Engineering

Title: Technical Leverage in a Software Ecosystem: Development Opportunities and Security Risks

Authors: Fabio Massacci (University of Trento and Vrije Universiteit Amsterdam), Ivan Pashchenko (University of Trento)
Abstract: In finance, leverage is the ratio between assets borrowed from others and one's own assets. A matching situation is present in software: by using free open-source software (FOSS) libraries a developer leverages on other people's code to multiply the offered functionalities with a much smaller own codebase. In finance as in software, leverage magnifies profits when returns from borrowing exceed costs of integration, but it may also magnify losses, in particular in the presence of security vulnerabilities. We aim to understand the level of technical leverage in the FOSS ecosystem and whether it can be a potential source of security vulnerabilities. Also, we introduce two metrics change distance and change direction to capture the amount and the evolution of the dependency on third-party libraries.
The application of the proposed metrics on 8494 distinct library versions from the FOSS Maven-based Java libraries shows that small and medium libraries (less than 100KLoC) have disproportionately more leverage on FOSS dependencies in comparison to large libraries. We show that leverage pays off as leveraged libraries only add a 4% delay in the time interval between library releases while providing four times more code than their own. However, libraries with such leverage (i.e., 75% of libraries in our sample) also have 1.6 higher odds of being vulnerable in comparison to the libraries with lower leverage.
We provide an online demo for computing the proposed metrics for real-world software libraries available under the following URL: this https URL
Comments: 14 pages, 5 figures, to be published in Proceedings of International Conference on Software Engineering (ICSE 2021)
Subjects: Software Engineering (cs.SE)
ACM classes: D.2.8; D.2.13
Cite as: arXiv:2103.03317 [cs.SE]
  (or arXiv:2103.03317v1 [cs.SE] for this version)

Submission history

From: Ivan Pashchenko [view email]
[v1] Thu, 4 Mar 2021 20:42:17 GMT (2410kb,D)

Link back to: arXiv, form interface, contact.