眼见为实:利用可视化推动第三方依赖更新
See to Believe: Using Visualization To Motivate Updating Third-party Dependencies
AI总结:
针对开发者不愿更新第三方依赖的问题,本研究提出依赖图可视化方法,用户实验显示该方法能更有效地推动开发者重新调整漏洞依赖的更新优先级。
摘要:
随着JavaScript的NPM包等大型库生态系统的出现,应用因使用第三方依赖引入的安全漏洞正不断增多。如今的库相互依赖,依赖这些大型生态系统意味着漏洞依赖不仅包括直接依赖,还存在间接(传递性)依赖。目前已有自动化工具可管理这些复杂依赖,但近期研究仍显示,开发者对库更新持谨慎态度,即便更新是为修复漏洞也不例外,理由是对漏洞不知情,或是认为更新的迁移成本高于决策收益。\n 本文提出假设:依赖图可视化(DGV)方法能够推动开发者更新依赖,尤其在说服开发者方面效果显著。为验证该假设,我们开展了一项用户研究,共招募20名参与者,平均分为实验组和对照组,将现有主流工具与两项任务进行对比:审查具有复杂度的漏洞、审查涉及间接依赖的漏洞。\n 研究发现,看到可视化结果的参与者中,有70%在两项任务中都重新调整了更新优先级。这一比例高于使用npm audit工具的参与者在两项任务中分别仅30%和60%的重排比例。
英文摘要:
Security vulnerabilities introduced by applications using third-party dependencies are on the increase, caused by the emergence of large ecosystems of libraries such as the NPM packages for JavaScript. Nowadays, libraries depend on each other. Relying on these large ecosystems thus means that vulnerable dependencies are not only direct but also indirect (transitive) dependencies. There are automated tool supports to manage these complex dependencies but recent work still shows that developers are wary of library updates, even to fix vulnerabilities, citing that being unaware, or that the migration effort to update outweighs the decision. In this paper, we hypothesize that the dependency graph visualization (DGV) approach will motivate developers to update, especially when convincing developers. To test this hypothesis, we performed a user study involving 20 participants divided equally into experimental and control groups, comparing the state-of-the-art tools with the tasks of reviewing vulnerabilities with complexities and vulnerabilities with indirect dependencies. We find that 70% of the participants who saw the visualization did re-prioritize their updates in both tasks. This is higher than the 30% and 60% of the participants who used the npm audit tool in both tasks, respectively.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。