EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Uncovering Similar but Different Packages in PyPI and Potential Security Threats

Sunha Park, Soojin Han, Seunghoon Woo

Proceedings of the ACM on Software Engineering · 30.06.2026 · 3 (FSE) · 4782-4803

DOI: 10.1145/3808217 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Proceedings of the ACM on Software Engineering, online erschienen am 30.06.2026. Verfasst von Sunha Park und 2 weiteren Autor:innen. Die Arbeit nennt 47 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: Institute of Information and Communications Technology Planning and Evaluation, National Research Foundation of Korea, Korea Creative Content Agency.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

In this study, we present a large-scale, in-depth study of package replication in PyPI. As a vital platform, PyPI streamlines Python package distribution for developers. However, beyond small-scale code cloning, we observe that many replicated packages exist on PyPI, which duplicate most of the codebase from existing packages. Such replication not only confuses developers but also propagates known vulnerabilities and enables the creation of new malicious packages. To address this issue, we comprehensively examine the characteristics and potential threats of replicated packages. Using one-third of the entire PyPI repository (200K packages), we investigate replication from three perspectives: replication of popular packages, vulnerable packages, and malicious packages. Our experiments reveal three critical findings about package replication in PyPI: (1) by identifying 1,361 replicated packages of the top 3K popular projects, we show that replication frequently redistributes substantial portions of existing packages under different maintainers; (2) by uncovering 256 previously unknown replicated vulnerable packages, we demonstrate that replication creates vulnerability blind spots that current detection tools rarely catch; (3) by analyzing 3,883 known malicious packages, we found that 186 (4.79%) replicated popular ones, and this pattern further led us to identify seven previously unknown replicated malicious packages, highlighting its role as an attack vector for malware distribution through minor modifications and code injection.

Förderung

  • Institute of Information and Communications Technology Planning and Evaluation
  • National Research Foundation of Korea
  • Korea Creative Content Agency

Zitieren

APA

Park, S., Han, S., & Woo, S. (2026). Uncovering Similar but Different Packages in PyPI and Potential Security Threats. Proceedings of the ACM on Software Engineering, 3(FSE), 4782-4803. https://doi.org/10.1145/3808217

Vancouver

Park S, Han S, Woo S. Uncovering Similar but Different Packages in PyPI and Potential Security Threats. Proceedings of the ACM on Software Engineering. 2026;3(FSE):4782-4803. doi:10.1145/3808217

BibTeX
@article{Park2026,
  author = {Park, Sunha and Han, Soojin and Woo, Seunghoon},
  title = {Uncovering Similar but Different Packages in PyPI and Potential Security Threats},
  journal = {Proceedings of the ACM on Software Engineering},
  year = {2026},
  volume = {3},
  number = {FSE},
  pages = {4782--4803},
  doi = {10.1145/3808217}
}
Kostenlos starten →