Revealing the Large Language Model Supply Chain: Structure, Domains, and VulnerabilitiesUnveiling Large Language Model Supply Chain: Structure, Domain, and Vulnerabilities
The authors say this is the first empirical study of the large language model supply chain (LLMSC), analyzing open-source packages on PyPI and NPM covering 14 functional domains. The study built a directed dependency graph containing 13,486 nodes, 28,704 edges, and 180 vulnerabilities, finding that the LLMSC exhibits a locally dense, globally sparse topology, with 72.38% of dependency trees having fewer than 5 nodes, while a few large dependency trees account for 77.66% of all nodes, and the top 5 nodes by connection count each have an average of 1,207 dependents. Security analysis showed that critical vulnerabilities propagate on average to 142.1 nodes at the second level of the dependency tree and peak at 237.8 affected nodes at the third level; cascading risk is concentrated at hub nodes such as transformers, directly or indirectly affecting more than 1,300 downstream packages. The authors emphasize the need for targeted mitigation strategies to enhance ecosystem resilience.