Securing Python Supply Chain: Using Graph Theory for Vulnerability Prediction

The open-source Python ecosystem is a complex system whose community-driven nature creates significant software assurance challenges. This study develops a foundational, graph-theory-based technique for proactively predicting vulnerability in these critical supply chains. Modeling the Python Package Index (PyPI) as a directed graph of 411,056 packages, we evaluate how network centrality metrics, such as indegree, betweenness, and PageRank, serve as proxies for security risk. Our analysis demonstrates their significant power to predict both direct and indirect, dependency-propagated vulnerabilities. The results reveal how a few high-centrality nodes can cascade risk across thousands of downstream packages. This approach provides a scientific basis for ensuring system integrity, enabling new tools and practices to identify systemic weaknesses before exploits occur, and bridging the gap between collaborative innovation and robust cybersecurity.

Authors

Publication Details

Journal
ScholarSpace (University of Hawaii at Manoa)
Published
2025-12-23
Primary Topic
Information and Cyber Security
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Securing Python Supply Chain: Using Graph Theory for Vulnerability Prediction

Gianluca Zanella, Pouria Rad, Charles Zhechao Liu
ScholarSpace (University of Hawaii at Manoa)
Information and Cyber Security
article

Securing Python Supply Chain: Using Graph Theory for Vulnerability Prediction

Gianluca Zanella, Pouria Rad, Charles Zhechao Liu
article en

Abstract

The open-source Python ecosystem is a complex system whose community-driven nature creates significant software assurance challenges. This study develops a foundational, graph-theory-based technique for proactively predicting vulnerability in these critical supply chains. Modeling the Python Package Index (PyPI) as a directed graph of 411,056 packages, we evaluate how network centrality metrics, such as indegree, betweenness, and PageRank, serve as proxies for security risk. Our analysis demonstrates their significant power to predict both direct and indirect, dependency-propagated vulnerabilities. The results reveal how a few high-centrality nodes can cascade risk across thousands of downstream packages. This approach provides a scientific basis for ensuring system integrity, enabling new tools and practices to identify systemic weaknesses before exploits occur, and bridging the gap between collaborative innovation and robust cybersecurity.

ScholarSpace (University of Hawaii at Manoa)
Industry, innovation and infrastructure
Openalex Percentile: Top 23%
Information and Cyber Security
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.