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

Download:

Current browse context:

cs.SE

Change to browse by:

References & Citations

DBLP - CS Bibliography

Bookmark

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

Computer Science > Software Engineering

Title: A Large-Scale Security-Oriented Static Analysis of Python Packages in PyPI

Abstract: Different security issues are a common problem for open source packages archived to and delivered through software ecosystems. These often manifest themselves as software weaknesses that may lead to concrete software vulnerabilities. This paper examines various security issues in Python packages with static analysis. The dataset is based on a snapshot of all packages stored to the Python Package Index (PyPI). In total, over 197 thousand packages and over 749 thousand security issues are covered. Even under the constraints imposed by static analysis, (a) the results indicate prevalence of security issues; at least one issue is present for about 46% of the Python packages. In terms of the issue types, (b) exception handling and different code injections have been the most common issues. The subprocess module stands out in this regard. Reflecting the generally small size of the packages, (c) software size metrics do not predict well the amount of issues revealed through static analysis. With these results and the accompanying discussion, the paper contributes to the field of large-scale empirical studies for better understanding security problems in software ecosystems.
Comments: Proceedings of the 18th Annual International Conference on Privacy, Security and Trust (PST 2021), Auckland (online), IEEE, pp. 1-10
Subjects: Software Engineering (cs.SE); Cryptography and Security (cs.CR)
DOI: 10.1109/PST52912.2021.9647791
Cite as: arXiv:2107.12699 [cs.SE]
  (or arXiv:2107.12699v2 [cs.SE] for this version)

Submission history

From: Jukka Ruohonen [view email]
[v1] Tue, 27 Jul 2021 09:57:25 GMT (588kb,D)
[v2] Sun, 26 Dec 2021 12:34:19 GMT (590kb,D)

Link back to: arXiv, form interface, contact.