Demystifying the Vulnerability Propagation and Its Evolution via Dependency Trees in the NPM Ecosystem
Chengwei Liu, Sen Chen, Lingling Fan, Bihuan Chen, Yang Liu, Xin Peng

TL;DR
This paper introduces a precise dependency resolution method using dependency trees in the NPM ecosystem, enabling large-scale analysis of vulnerability propagation and evolution to improve security mitigation strategies.
Contribution
It proposes a knowledge graph-based approach and a dependency tree resolution method that accurately captures dependency relations considering NPM-specific rules, enabling ecosystem-wide vulnerability analysis.
Findings
Constructed a comprehensive dependency-vulnerability knowledge graph (DVGraph) with over 10 million library versions.
Developed DTResolver for precise dependency tree resolution considering official rules.
Demonstrated improved vulnerability remediation performance over existing tools.
Abstract
Third-party libraries with rich functionalities facilitate the fast development of Node.js software, but also bring new security threats that vulnerabilities could be introduced through dependencies. In particular, the threats could be excessively amplified by transitive dependencies. Existing research either considers direct dependencies or reasoning transitive dependencies based on reachability analysis, which neglects the NPM-specific dependency resolution rules, resulting in wrongly resolved dependencies. Consequently, further fine-grained analysis, such as vulnerability propagation and their evolution in dependencies, cannot be carried out precisely at a large scale, as well as deriving ecosystem-wide solutions for vulnerabilities in dependencies. To fill this gap, we propose a knowledge graph-based dependency resolution, which resolves the dependency relations of dependencies as…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Software System Performance and Reliability · Software Reliability and Analysis Research
