Obfuscating Code Vulnerabilities against Static Analysis in JavaScript Code
Francesco Pagano, Lorenzo Pisu, Leonardo Regano, Davide Maiorca, Alessio Merlo, Giorgio Giacinto

TL;DR
This paper empirically demonstrates that common JavaScript obfuscation techniques can significantly undermine the effectiveness of static analysis tools in detecting vulnerabilities, revealing a critical security gap.
Contribution
It introduces the Vulnerability Detection Loss metric and systematically evaluates the impact of obfuscation on SAST tools across multiple datasets.
Findings
Obfuscation techniques often suppress high-severity vulnerability findings.
Stacked obfuscations can nearly completely evade static analysis detection.
Current JavaScript SAST tools are not robust against common obfuscation methods.
Abstract
Code obfuscation is widely adopted in modern software development to protect intellectual property and hinder reverse engineering, but it also provides attackers with a powerful means to conceal malicious logic inside otherwise legitimate JavaScript code. In a software supply chain where a single compromised package can affect thousands of applications, this raises a critical question: how robust are the Static Application Security Testing (SAST) tools that CI/CD pipelines rely on as automated security gatekeepers? This paper answers that question by empirically quantifying the impact of JavaScript obfuscation on state-of-practice SAST. We define a realistic supply-chain threat model in which an adversary injects vulnerable code and iteratively obfuscates it until the pipeline reports a clean scan. To measure the resulting degradation, we introduce the Vulnerability Detection Loss (VDL)…
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.
