Skip to main navigation Skip to search Skip to main content

PyPitfall: Dependency Chaos and Software Supply Chain Vulnerabilities in Python

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution

Abstract

Python software development heavily relies on thirdparty packages. Direct and transitive dependencies create a labyrinth of software supply chains. While it is convenient to reuse code, vulnerabilities within these dependency chains can propagate through dependencies, potentially affecting downstream packages and applications. PyPI, the official Python package repository, hosts many packages and lacks a comprehensive analysis of the prevalence of vulnerable dependencies. This paper introduces PyPitfall, a quantitative analysis of vulnerable dependencies across the PyPI ecosystem. We analyzed the dependency structures of 378,573 PyPI packages and identified 4,655 packages that explicitly require at least one known-vulnerable version and 141,044 packages that permit vulnerable versions within specified ranges. By characterizing the ecosystem-wide dependency landscape and the security impact of transitive dependencies, we aim to raise awareness of Python software supply chain security.

Original languageEnglish (US)
Title of host publicationProceedings - 2025 IEEE International Conference on Big Data, BigData 2025
EditorsCheng-Zhong Xu, Leong Hou U, Xueqi Cheng, Jing Gao, Giuseppe Polese, Hong Mei, Paul Boniol, Michiaki Tatsubori, Chen Zhao, Dawei Zhou, Xiaohua Hu
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages7825-7834
Number of pages10
Edition2025
ISBN (Electronic)9798331594473
DOIs
StatePublished - 2025
Externally publishedYes
Event2025 IEEE International Conference on Big Data, BigData 2025 - Macau, China
Duration: Dec 8 2025 → Dec 11 2025

Conference

Conference2025 IEEE International Conference on Big Data, BigData 2025
Country/TerritoryChina
CityMacau
Period12/8/25 → 12/11/25

All Science Journal Classification (ASJC) codes

  • Artificial Intelligence
  • Computer Networks and Communications
  • Computer Science Applications
  • Information Systems
  • Information Systems and Management
  • Safety, Risk, Reliability and Quality

Keywords

  • Dependency Analysis
  • Python
  • Software Supply Chain

Fingerprint

Dive into the research topics of 'PyPitfall: Dependency Chaos and Software Supply Chain Vulnerabilities in Python'. Together they form a unique fingerprint.

Cite this