Study of Java']JavaScript Static Analysis Tools for Vulnerability Detection in Node.js']js Packages

被引:3
|
作者
Brito, Tiago [1 ]
Ferreira, Mafalda [1 ]
Monteiro, Miguel [1 ]
Lopes, Pedro [1 ]
Barros, Miguel [1 ]
Santos, Jose Fragoso [1 ]
Santos, Nuno [1 ]
机构
[1] Univ Lisbon, IST, INESC ID, P-1649004 Lisbon, Portugal
关键词
Automatic testing; computer security; static analysis;
D O I
10.1109/TR.2023.3286301
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
With the emergence of the Node.js ecosystem, JavaScript has become a widely used programming language for implementing server-side web applications. In this article, we present the first empirical study of static code analysis tools for detecting vulnerabilities in Node.js code. To conduct a comprehensive tool evaluation, we created the largest known curated dataset of Node.js code vulnerabilities. We characterized and annotated a set of 957 vulnerabilities by analyzing information contained in npm advisory reports. We tested nine different tools and found that many important vulnerabilities appearing in the OWASP top-10 are not detected by any tool. The three best performing tools combined only detect up to 57.6% of all vulnerabilities in the dataset, but at a very low precision of 0.11%. Our curated dataset offers a new benchmark to help characterize existing Node.js code vulnerabilities and foster the development of better vulnerability detection tools for Node.js code.
引用
收藏
页码:1324 / 1339
页数:16
相关论文
共 50 条
  • [21] NodeRacer: Event Race Detection for Node.js']js Applications
    Endo, Andre Takeshi
    Moller, Anders
    [J]. 2020 IEEE 13TH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VALIDATION AND VERIFICATION (ICST 2020), 2020, : 120 - 130
  • [22] An Implementation of Java']Java Programming Learning Assistant System Platform Using Node.js']js
    Aung, Soe Thandar
    Funabiki, Nobuo
    Aung, Lynn Htet
    Htet, Hein
    Kyaw, Htoo Htoo Sandi
    Sugawara, Shinji
    [J]. 2022 10TH INTERNATIONAL CONFERENCE ON INFORMATION AND EDUCATION TECHNOLOGY (ICIET 2022), 2022, : 47 - 52
  • [23] Race Detection for Event-Driven Node.js']js Applications
    Chang, Xiaoning
    Dou, Wensheng
    Wei, Jun
    Huang, Tao
    Xie, Jinhui
    Deng, Yuetang
    Yang, Jianbo
    Yang, Jiaheng
    [J]. 2021 36TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING ASE 2021, 2021, : 480 - 491
  • [24] JS']JSTAP: A Static Pre-Filter for Malicious Java']JavaScript Detection
    Fass, Aurore
    Backes, Michael
    Stock, Ben
    [J]. 35TH ANNUAL COMPUTER SECURITY APPLICATIONS CONFERENCE (ACSA), 2019, : 257 - 269
  • [25] 基于Node.js的JavaScript并发控制流框架
    李轶
    [J]. 江汉大学学报(自然科学版), 2015, 43 (02) : 170 - 176
  • [26] Detecting prototype pollution for node.js']js: Vulnerability review and new fuzzing inputs
    Zhou, Peng
    Gao, Yuhan
    [J]. COMPUTERS & SECURITY, 2024, 137
  • [27] Analysis of Node.js']js Application Performance Using MongoDB Drivers
    Cayres, Leandro Ungari
    de Lima, Bruno Santos
    Garcia, Rogerio Eduardo
    Messias Correia, Ronaldo Celso
    [J]. INFORMATION TECHNOLOGY AND SYSTEMS, ICITS 2020, 2020, 1137 : 213 - 222
  • [28] A Comprehensive Study on Real World Concurrency Bugs in Node.js']js
    Wang, Jie
    Dou, Wensheng
    Gao, Yu
    Gao, Chushu
    Qin, Feng
    Yin, Kang
    Wei, Jun
    [J]. PROCEEDINGS OF THE 2017 32ND IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE'17), 2017, : 520 - 531
  • [29] JS']JSSlicer: a static program slicing tool for Java']JavaScript
    Wang, Liming
    Xian, Ying
    Zhang, Li
    Liu, Xiyang
    [J]. INDUSTRIAL INSTRUMENTATION AND CONTROL SYSTEMS, PTS 1-4, 2013, 241-244 : 2690 - 2695
  • [30] JS']JSFox: Integrating Static and Dynamic Type Analysis of Java']JavaScript Programs
    Tan, Tian Huat
    Xue, Yinxing
    Chen, Manman
    Liu, Shuang
    Yu, Yi
    Sun, Jun
    [J]. PROCEEDINGS OF THE 2017 IEEE/ACM 39TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING COMPANION (ICSE-C 2017), 2017, : 256 - 258