Automated Exploit Generation for Node.js Packages
Open Access
- 10 June 2025
- journal article
- Published by Association for Computing Machinery (ACM) in Proceedings of the ACM on Programming Languages
- Vol. 9 (PLDI) , 1341-1366
Abstract
The Node.js ecosystem, with its growing popularity and increasing exposure to security vulnerabilities, has a pressing need for more effective security analysis tools. To reduce false positives, recent works on detecting vulnerabilities in Node.js packages have developed synthesis algorithms to generate proof-of-concept exploits. However, these tools focus mainly on vulnerabilities that can be triggered by a single direct call to an exported function of the analyzed package, failing to generate exploits that require more complex interactions. In this paper, we present Explode.js, the first tool capable of synthesizing exploits that include complex call sequences to trigger vulnerabilities in Node.js packages. By combining static analysis and symbolic execution, Explode.js generates functional exploits that confirm the existence of command, code injection, prototype pollution, and path traversal vulnerabilities, effectively eliminating false positives. The results of evaluating Explode.js on two state-of-the-art datasets of Node.js packages with confirmed vulnerabilities show that it generates significantly more exploits than its main competitor tools. Furthermore, when applied to real-world Node.js packages, Explode.js uncovered 44 zero-day vulnerabilities, with 4 new CVEs.Keywords
This publication has 49 references indexed in Scilit:
- NodeMedic: End-to-End Analysis of Node.js Vulnerabilities with Provenance Graphs2023
- SecBench.js: An Executable Security Benchmark Suite for Server-Side JavaScript2023
- Wasmati: An efficient static vulnerability scanner for WebAssemblyComputers & Security, 2022
- RESTler: Stateful REST API Fuzzing2019
- Angr - The Next Generation of Binary Analysis2017
- Modeling and Discovering Vulnerabilities with Code Property Graphs2014
- Symbolic execution with abstractionInternational Journal on Software Tools for Technology Transfer, 2008
- JPF–SE: A Symbolic Execution Extension to Java PathFinder2007
- Feedback-Directed Random Test Generation29th International Conference on Software Engineering (ICSE'07), 2007
- Generalized Symbolic Execution for Model Checking and Testing2003