arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2109.08931cs.SEcs.CR
收藏

SōjiTantei:npm包的函数调用可达性检测

SōjiTantei: Function-Call Reachability Detection of Vulnerable Code for npm Packages

Bodin Chinthanet, Raula Gaikovina Kula, Rodrigo Eliza Zapata, Takashi Ishio, Kenichi Matsumoto, Akinori Ihara

摘要:

软件项目采用第三方依赖关系已经成为一种常见的做法。我们鼓励开发人员更新任何过时的依赖项,以免受潜在的漏洞威胁。在这项研究中,我们提出了一种方法来帮助开发人员显示是否有一个脆弱的代码是可达的JavaScript项目。我们的原型SōjiTantei从两个方面进行评估:(i)与手动方法相比的准确性;(ii)对78个安全漏洞案例中的780个客户端进行更大规模的分析。第一次评估显示,SōjiTantei具有83.3%的高准确性,每个客户端的分析速度不到一秒。第二次评估显示,在研究的78个漏洞中,有68个报告至少有一个干净的客户端。该研究证明,自动化是有前途的,有进一步改进的潜力。

英文摘要:

It has become common practice for software projects to adopt third-party dependencies. Developers are encouraged to update any outdated dependency to remain safe from potential threats of vulnerabilities. In this study, we present an approach to aid developers show whether or not a vulnerable code is reachable for JavaScript projects. Our prototype, SōjiTantei, is evaluated in two ways (i) the accuracy when compared to a manual approach and (ii) a larger-scale analysis of 780 clients from 78 security vulnerability cases. The first evaluation shows that SōjiTantei has a high accuracy of 83.3%, with a speed of less than a second analysis per client. The second evaluation reveals that 68 out of the studied 78 vulnerabilities reported having at least one clean client. The study proves that automation is promising with the potential for further improvement.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑