Conferência De: orcid
Efficient Static Vulnerability Analysis for JavaScript with Multiversion Dependency Graphs
Proceedings of the ACM on Programming Languages
— 2024 — ACM New York, NY, USA
Informações chave
Autores:
Publicado em
20 de junho de 2024
Resumo
While static analysis tools that rely on Code Property Graphs (CPGs) to detect security vulnerabilities have proven effective, deciding how much information to include in the graphs remains a challenge. Including less information can lead to a more scalable analysis but at the cost of reduced effectiveness in identifying vulnerability patterns, potentially resulting in classification errors. Conversely, more information in the graph allows for a more effective analysis but may affect scalability. For example, scalability issues have been recently highlighted in ODGen, the state-of-the-art CPG-based tool for detecting Node.js vulnerabilities. This paper examines a new point in the design space of CPGs for JavaScript vulnerability detection. We introduce the Multiversion Dependency Graph (MDG), a novel graph-based data structure that captures the state evolution of objects and their properties during program execution. Compared to the graphs used by ODGen, MDGs are significantly simpler without losing key information needed for vulnerability detection. We implemented Graph.js, a new MDG-based static vulnerability scanner specialized in analyzing npm packages and detecting taint-style and prototype pollution vulnerabilities. Our evaluation shows that Graph.js outperforms ODGen by significantly reducing both the false negatives and the analysis time. Additionally, we have identified 49 previously undiscovered vulnerabilities in npm packages.
Detalhes da publicação
Autores da comunidade :
Mafalda Ferreira
ist181613
Miguel Alexandre Figueiredo Monteiro
ist192526
Tiago Luís de Oliveira Brito
ist172647
Miguel E. Coimbra
ist162460
Nuno Miguel Carvalho dos Santos
ist14261
Versão da publicação
AM - Versão aceite após revisão
Editora
ACM New York, NY, USA
Ligação para a versão da editora
https://dl.acm.org/doi/pdf/10.1145/3656394
Título do contentor da publicação
Proceedings of the ACM on Programming Languages
Local da conferência
Copenhagen, Denmark
Data de início conferência
24 de junho de 2024
Data de término da conferência
28 de junho de 2024
Primeira página ou número de artigo
417
Última página
441
Volume
8
Fascículo
PLDI
ISSN
2475-1421
WoS (Web of Science)
Domínio Científico (FOS)
computer-and-information-sciences - Ciências da Computação e da Informação
Palavras-chave
- Static Analysis
- JavaScript
- Vulnerability Detection
Idioma da publicação (código ISO)
eng - Inglês
Acesso à publicação:
Acesso Aberto
Licença Creative Commons
CC-BY - Atribuição
Entidade financiadora da bolsa/projeto
Fundação para a Ciência e a Tecnologia
Nome da bolsa/projeto: INESC-ID
Fonte de financiamento: Fundação para a Ciência e a Tecnologia (FCT) – R&D Units Base Funding Programme (UIDB)
Identificador da Entidade Financiadora: https://doi.org/10.13039/501100001871
Tipo de identificador da Entidade Financiadora: Crossref Funder
Número de bolsa/projeto: UIDB/50021/2020
Entidade financiadora da bolsa/projeto
Fundação para a Ciência e a Tecnologia
Nome da bolsa/projeto: RIGA: Reasoning Over Indirect Discrimination
Fonte de financiamento: Fundação para a Ciência e a Tecnologia (FCT) – R&D Projects (PTDC 2022 call)
Identificador da Entidade Financiadora: https://doi.org/10.13039/501100001871
Tipo de identificador da Entidade Financiadora: Crossref Funder
Número de bolsa/projeto: 2022.03537.PTDC
Entidade financiadora da bolsa/projeto
IAPMEI – Agência para a Competitividade e Inovação, I.P.
Nome da bolsa/projeto: SmartRetail
Fonte de financiamento: Recovery and Resilience Plan (PRR) / European Union – NextGenerationEU, through IAPMEI
Número de bolsa/projeto: C6632206063-00466847
Entidade financiadora da bolsa/projeto
Carnegie Mellon University
Nome da bolsa/projeto: Future Enterprise Security Initiative (FutureEnterprise@CyLab)
Fonte de financiamento: Carnegie Mellon CyLab – Future Enterprise Security Initiative (industry-sponsored research programme)
Identificador da Entidade Financiadora: http://dx.doi.org/10.13039/100008047
Tipo de identificador da Entidade Financiadora: Crossref Funder
Número de bolsa/projeto: N/A