Original Sin of npm : A Study on Vulnerability Propagation in JavaScript Dependency Networks Conference: ACM Asia Conference on Computer and Communications Security; June 1–5, 2026; Bangalore, India ACM Asia Conference on Computer and Communications Security (ASIA CCS ’26), June 1–5, 2026, Bangalore, India DOI: 10.1145/3779208.3785388 ISBN: 979-8-4007-2356-8/26/06 CCS: Security and privacy Software and application security
Michael Robinson, Sajal Halder, Muhammad Ejaz Ahmed, Muhammad Ikram, Seyit Camtepe, Hyoungshick Kim · 2026
Read Original Sin of npm : A Study on Vulnerability Propagation in JavaScript Dependency Networks Conference: ACM Asia Conference on Computer and Communications Security; June 1–5, 2026; Bangalore, India ACM Asia Conference on Computer and Communications Security (ASIA CCS ’26), June 1–5, 2026, Bangalore, India DOI: 10.1145/3779208.3785388 ISBN: 979-8-4007-2356-8/26/06 CCS: Security and privacy Software and application security by Michael Robinson, Sajal Halder, Muhammad Ejaz Ahmed, Muhammad Ikram, Seyit Camtepe, Hyoungshick Kim (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2604-17668.txt.
Introduction
Robinson and five colleagues study how a few vulnerable JavaScript packages create a far larger number of at-risk packages through link networks. From a custom database of 1,077,946 packages and 1,515 reported vulnerabilities, built with the deps.dev API and Google's Open Source Vulnerability list, they find 61.30 percent rely on one or more deps, and 21.60 percent carry at least one known vulnerability. The work supports more exact impact analysis and stronger threat spotting and fixes.
Catalog record
| CREATOR | Michael Robinson, Sajal Halder, Muhammad Ejaz Ahmed, Muhammad Ikram, Seyit Camtepe, Hyoungshick Kim |
|---|---|
| YEAR | 2026 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 72407 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2604.17668
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Original Sin of npm : A Study on Vulnerability Propagation in JavaScript Dependency Networks Conference: ACM Asia Conference on Computer and Communications Security; June 1–5, 2026; Bangalore, India ACM Asia Conference on Computer and Communications Security (ASIA CCS ’26), June 1–5, 2026, Bangalore, India DOI: 10.1145/3779208.3785388 ISBN: 979-8-4007-2356-8/26/06 CCS: Security and privacy Software and application security Michael Robinson, Sajal Halder, Muhammad Ejaz Ahmed, Muhammad Ikram, Seyit Camtepe, Hyoungshick Kim Abstract . In software development, the widespread adoption of open-source software has led to a proliferation of reusable modules and package libraries such as the Node Package Manager ( npm ). While this approach can significantly reduce development time, it also introduces the risk of vulnerability inheritance where a dependent parent package inherits vulnerabilities from a referenced dependency package . Understanding vulnerability propagation is essential for assessing how vulnerabilities spread across components of a software package. This supports more accurate impact analysis and enhances threat detection and mitigation. There is a need for frameworks that capture propagation across multiple layers and dynamic environments, along with comprehensive simulation tools that reflect real-world software systems. In this paper, we investigate how a small number of vulnerable JavaScript packages contribute to the creation of a disproportionately large number of vulnerable packages. This paper presents insights from 1,515 reported vulnerabilities gathered from a custom-built vulnerability database containing 1,077,946 JavaScript packages sourced from ‘ npm-follower ’ and their associated dependency networks. Dependency networks were constructed using the deps.dev API, with vulnerabilities identified by parsing package names and version numbers through the Google Open Source Vulnerability API. Our findings reveal that 61.30% (660,748) of packages are reliant on one or more dependency packages, and 21.60% (232,836) of total packages have at least one known vulnerability throughout their dependency networks–of which most (42%) are of High severity. Moreover, we found that the number of vulnerabilities and affected packages on npm since 2015 has increased linearly–with R 2 R^{2} values of 0.97 and 0.96, respectively. We also found that it takes, on average, approximately 4 years and 11 months to fix a vulnerable package from when the first vulnerable version is published on npm – although publication times of vulnerabilities occur approximately 19 days after a fix is available. Finally, we observe a high concentration of frequently present vulnerabilities throughout dependency networks, with the top-7 most frequent vulnerabilities accounting for 25% of vulnerability cases and the top-23 most frequent accounting for 50%. Based on these findings, we propose recommendations for developers and package managers to mitigate the threat and occurrence of vulnerabilities within the npm dependency network and the broader software repository community. † † cc-license: by 1. Introduction Software repositories serve as essential components for managing both private and public software projects. Private repositories are accessible and modifiable only by authorized users, typically owned by individuals or companies. Public repositories, on the other hand, are open to all users. Within publicly accessible packages is open-source software (OSS), characterized by decentralized development that allows numerous developers to contribute to and modify the software. This collaborative approach offers significant benefits, such as accelerated development times and reduced costs for firms that would otherwise need to develop and maintain software in-house ( 16 ) . Accordingly, open-source development has gained significant traction in recent years, with one study revealing that, as of April 2024, 96% of 1,067 codebases gathered across various package managers contained open-source code ( 28 ) . Given the prevalence of OSS, it has become standard practice to incorporate functions from pre-existing OSS projects available within a repository ecosystem, further accelerating development times and minimizing costs ( 2 ; 12 ; 16 ) . Consequently, modern OSS development has evolved into a complex web of interlinked dependencies between many packages, significantly increasing the risk of inheriting vulnerabilities through dependency networks arising due to potentially malicious actors or programming errors. One of the largest repositories for such packages is the npm , which is essential for developing JavaScript (JS) based applications and hosts nearly 4 million JS packages 1 1 1 The ‘ npm -follower’ dataset contained 3,946,361 unique packages at the time of download (as of 5 September 2023). This number extends to 36,432,989 when considering each unique version of each package. . The npm is consequently integral to the JS ecosystem, powering numerous applications and services that are foundational to modern web development through millions of packages that are reused in countless web applications, making it a prime target for malicious activity and programming errors that introduce vulnerabilities ( 31 ) . Identifying and mitigating vulnerabilities in OSS is, therefore, crucial to maintaining software security. A study by Liu et al. highlights how critical vulnerabilities, if left undetected or unpatched, can propagate across software ecosystems, emphasizing the importance of prompt vulnerability discovery ( 20 ) . Real-world incidents, such as the Heartbleed vulnerability in OpenSSL or the more recent Log4Shell vulnerability in Apache Log4j, demonstrate the potential impact of unpatched vulnerabilities ( 4 ; 15 ) . Recent advancements in vulnerability detection tools, such as ‘V1SCAN’ ( 30 ) , leverage code classification techniques to identify vulnerabilities in reused open-source components before they become widespread. However, a major challenge remains: understanding how vulnerabilities propagate through npm dependency networks and identifying which packages are most at risk due to outdated dependencies. Understanding software dependency networks is crucial for assessing security risks in modern package ecosystems. The structure and evolution of the npm dependency network plays a critical role in our study, as its rapid expansion and interconnectivity make it particularly susceptible to security vulnerabilities. Previous research has shown that the npm ecosystem is characterized by superlinear growth in the number of packages and updates, with approximately 81.3% of packages depending on at least one other package by the end of August 2015 ( 29 ) . The increasingly interconnected nature of these packages through dependency networks underscores the urgency of understanding how security vulnerabilities may propagate within these networks and the need to develop methods to mitigate the spread of such vulnerabilities. Prior work has highlighted the increasing prevalence of vulnerabilities within software repositories. For instance, Zerouali et al. revealed a sharp rise in disclosed vulnerabilities for the npm ecosystem compared to other package management systems like RubyGems ( 32 ) . These findings align with the observed increase in transitive dependencies within npm , suggesting that vulnerability risks are compounding over time ( 19 ) . Our work builds on this foundation by specifically examining how vulnerabilities propagate through npm ’s dependency networks. We aim to provide deeper insights into the time-to-disclosure of vulnerabilities and the extent of outdated package dependencies , both of which are crucial for assessing security risks within the ecosystem. To achieve this, we investigate the following research questions: • \mathbf{RQ_{1}} : What is the nature of vulnerability discovery and publication in the npm ecosystem? Understanding how vulnerabilities are discovered and published is essential for assessing the responsiveness of the ecosystem to security threats. By addressing this question, we aim to determine whether vulnerabilities are increasing at a manageable rate and whether developers disclose vulnerabilities in a timely manner relative to the first known exposed version. This insight is critical for maintaining transparency