arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2110.11695cs.SI
收藏

节点包管理器的依赖网络健壮性

Node package manager's dependency network robustness

Andrej Hafner, Anže Mur, Jaka Bernard

摘要:

npm依赖网络的鲁棒性是一个至关重要的属性,因为许多项目和Web应用程序严重依赖于包的功能,特别是那些有许多依赖包的流行项目。过去,曾发生过某些npm包的删除或更新导致互联网上大范围混乱和网页宕机的情况。我们的目标是跟踪网络对此类事件的弹性,并确定网络的状态是否趋向于更健壮的结构。我们表明,网络是不强大的有针对性的攻击,因为在几个关键节点的安全风险影响了网络的很大一部分。由于这些软件包通常由具有高标准的严肃社区支持,因此这个问题并不令人担忧,并且是网络的幂律分布的结果。目前,重要节点对网络其余部分的平均依赖数量和影响正在减少,这进一步提高了弹性,并为发展奠定了积极的道路。此外,我们表明,社区周围形成的最重要的包,虽然他们不符合共同的社区定义使用模块化。我们还为软件包开发提供指导,以提高网络的健壮性并降低引入安全风险的可能性。

英文摘要:

The robustness of npm dependency network is a crucial property, since many projects and web applications heavily rely on the functionalities of packages, especially popular ones that have many dependant packages. In the past, there have been instances where the removal or update of certain npm packages has caused widespread chaos and web-page downtime on the internet. Our goal is to track the network's resilience to such occurrences through time and figure out whether the state of the network is trending towards a more robust structure. We show that the network is not robust to targeted attacks, since a security risk in a few crucial nodes affects a large part of the network. Because such packages are often backed up by serious communities with high standards, the issue is not alarming and is a consequence of power law distribution of the network. The current trend in average number of dependencies and effect of important nodes on the rest of the network is decreasing, which further improves the resilience and sets a positive path in development. Furthermore, we show that communities form around the most important packages, although they do not conform well to the common community definition using modularity. We also provide guidelines for package development that increases the robustness of the network and reduces the possibility of introducing security risks.

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

↑