arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.14036cs.CRcs.NI
收藏

保卫核心:基于中心性的npm依赖网络安全保护策略

Defending the Core: A Centrality-Based Protection Strategy for Supply Chain Security in npm Dependency Network

Zixin Wang

AI总结:

针对npm依赖网络的中心节点易受攻击问题,提出基于中心性的节点加固与依赖权重警告双管齐下的防御策略,模拟证明仅对前1%节点实施严格安全协议并修剪30%结构次要边即可防止网络崩溃和级联恶意软件感染。

摘要:

现代软件供应链,以Node Package Manager (npm)依赖网络为例,严重依赖于共享的开源依赖。虽然这促进了快速开发,但也引入了系统性漏洞。针对这一潜在风险,我们通过建模53,481个包和78,520条依赖边分析了npm依赖网络,并将其归类为无标度拓扑。因此,我们展示了其对高中心度枢纽的定向攻击的固有脆弱性。为了缓解这一问题,我们提出并评估了一种双管齐下的防御策略,包括基于中心性的节点加固和依赖权重警告系统。此外,通过模拟网络在各种攻击场景下的表现,我们证明对仅前1%的节点应用严格的安全协议,结合修剪30%的结构次要边,可以防止灾难性的网络崩溃并中和级联的恶意软件感染。源代码可在此https URL找到。

英文摘要:

The modern software supply chain, taking Node Package Manager (npm) dependency network for example, relies heavily on shared open-source dependencies. While this promotes rapid development, it introduces systemic vulnerabilities as well. Concerning this potential risk, we analyze the npm dependency network by modeling 53,481 packages and 78,520 dependency edges, and classify the network as a scale-free topology. Thus, we demonstrate its inherent vulnerability to targeted attacks on high-degree hubs. To mitigate this, we propose and evaluate a dual-pronged defense strategy consisting of Centrality-Based Node-Hardening and Dependency Weight Warning system. Moreover, by simulating the network under various attack scenarios, we prove that applying strict security protocols to just the top 1% of nodes, combined with pruning 30% of structurally trivial edges, prevents catastrophic network collapse and neutralizes cascading malware infections. The source code can be found at https://github.com/5tarWhee1/Centrality-Based-Protection-Strategy-for-Supply-Chain-Security-in-npm-Dependency-Network.

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

↑