arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2309.04197cs.SE
收藏

来自长尾的教训:分析跨软件生态系统中不安全的依赖项更新

Lessons from the Long Tail: Analysing Unsafe Dependency Updates across Software Ecosystems

Supatsara Wattanakriengkrai, Raula Gaikovina Kula, Christoph Treude, Kenichi Matsumoto

AI总结:

本文分析了跨软件生态系统中不安全的依赖项更新问题,基于88,416个PR的样本发现此类风险不仅限于高影响力库,并提出包含六个关键问题的研究议程以防范整个生态系统中的不安全活动。

摘要:

将第三方依赖项引入应用程序的一个风险是,它们可能成为恶意代码被注入(通常是在不知情的情况下)的通道。尽管工业界和研究界的许多举措都聚焦于最关键的依赖项(即生态系统中被依赖最多的那些),但对于生态系统中的其余部分是否也会遭受同样的命运,我们知之甚少。我们的愿景是促进并在整个生态系统中建立更安全的实践。为了推动这一愿景,本文基于从88,416个拉取请求(PRs)总体中抽取的三个代表性样本,提出了初步数据,并识别出不安全的依赖项更新(即在运行时存在不安全风险的任何拉取请求),这清楚地表明不安全的依赖项更新并不局限于高影响力的库。为了引起对长尾的关注,我们提出了一项研究议程,包含六个关键研究问题,进一步探讨如何防范这些不安全的活动。这包括制定最佳实践,不仅在顶级库中,而且贯穿整个生态系统来解决不安全的依赖项更新问题。

英文摘要:

A risk in adopting third-party dependencies into an application is their potential to serve as a doorway for malicious code to be injected (most often unknowingly). While many initiatives from both industry and research communities focus on the most critical dependencies (i.e., those most depended upon within the ecosystem), little is known about whether the rest of the ecosystem suffers the same fate. Our vision is to promote and establish safer practises throughout the ecosystem. To motivate our vision, in this paper, we present preliminary data based on three representative samples from a population of 88,416 pull requests (PRs) and identify unsafe dependency updates (i.e., any pull request that risks being unsafe during runtime), which clearly shows that unsafe dependency updates are not limited to highly impactful libraries. To draw attention to the long tail, we propose a research agenda comprising six key research questions that further explore how to safeguard against these unsafe activities. This includes developing best practises to address unsafe dependency updates not only in top-tier libraries but throughout the entire ecosystem.

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

↑