Effective Fuzzing-based Prototype Pollution Detection via Forced Execution and Template Synthesis
Open Access
- 24 September 2026
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Software Engineering and Methodology
Abstract
Prototype pollution is a critical class of taint-style vulnerabilities in JavaScript programs, enabling attackers to tamper with object prototypes and thereby alter program behavior in unexpected and often dangerous ways. Despite its severity, existing detection techniques struggle with excessive false positives and poor scalability. In this work, we present Forecast , a lightweight fuzzing-based approach that integrates both forced execution based dynamic analysis and template-based exploit generation to effectively detect prototype pollution vulnerabilities and generate working exploits. Forecast enables better flexibility and scalability and avoids imprecise modeling of JavaScript syntax in static analysis. Our evaluation of curated benchmarks and real-world Node.js packages shows that Forecast identifies more vulnerabilities than prior approaches, including Explode.js , Graph.js , ObjLupAnsys , and ODGen . Specifically, on the benchmark of known vulnerabilities from prior works, Forecast can identify 228 out of 238 vulnerabilities and generate working exploits for them. Forecast also discovers 24 zero-day vulnerabilities between over 60k popular packages collected from npm registry. Additionally, compared to ODGen and ObjLupAnsys , Forecast demonstrates better scalability by mitigating time-out for many packages.Keywords
This publication has 25 references indexed in Scilit:
- Follow My Flow: Unveiling Client-Side Prototype Pollution Gadgets from One Million Real-World Websites2025
- NodeMedic: End-to-End Analysis of Node.js Vulnerabilities with Provenance Graphs2023
- Study of JavaScript Static Analysis Tools for Vulnerability Detection in Node.js PackagesIEEE Transactions on Reliability, 2023
- Scaling JavaScript Abstract Interpretation to Detect and Exploit Node.js Taint-style Vulnerability2023
- SecBench.js: An Executable Security Benchmark Suite for Server-Side JavaScript2023
- DAPP: automatic detection and analysis of prototype pollution vulnerability in Node.js modulesInternational Journal of Information Security, 2021
- Platform-Independent Dynamic Taint Analysis for JavaScriptIEEE Transactions on Software Engineering, 2018
- Remedying the eval that men do2012
- Modeling the HTML DOM and browser API in static analysis of JavaScript web applications2011
- JavaScript instrumentation for browser security2007