软件供应链中的自动多样性
Automatic Diversity in the Software Supply Chain
摘要:
尽管有明显的好处,但越来越多地采用包管理器来自动化库的重用,这为一类新的危险打开了大门:供应链攻击。通过在一个库中注入恶意代码,攻击者可能会危及依赖于该库的所有应用程序的所有实例。为了减轻供应链攻击的影响,我们提出了库替代框架的概念。这个新颖的概念利用了一个关键的观察:当应用程序依赖于一个库时,很可能存在提供类似功能的其他库。库替代框架的主要目标是使应用程序的开发人员能够利用其供应链中的库的多样性。该框架允许他们生成一系列应用程序变体,每个变体都依赖于提供类似功能的不同替代库。为了研究这个概念的相关性,我们开发了ARGO,这是这个框架的概念验证实现,它利用了JSON供应商的多样性。我们研究了图书馆替代的可行性及其对368个客户端的影响。我们的实证结果表明,在368个测试的Java应用程序中,有195个可以用至少15个其他JSON库来替换客户端使用的原始JSON库,而无需修改客户端的代码。这些结果表明,图书馆替代框架的能力,以多样化的供应链的客户端应用程序的图书馆,它的目标。
英文摘要:
Despite its obvious benefits, the increased adoption of package managers to automate the reuse of libraries has opened the door to a new class of hazards: supply chain attacks. By injecting malicious code in one library, an attacker may compromise all instances of all applications that depend on the library. To mitigate the impact of supply chain attacks, we propose the concept of Library Substitution Framework. This novel concept leverages one key observation: when an application depends on a library, it is very likely that there exists other libraries that provide similar features. The key objective of Library Substitution Framework is to enable the developers of an application to harness this diversity of libraries in their supply chain. The framework lets them generate a population of application variants, each depending on a different alternative library that provides similar functionalities. To investigate the relevance of this concept, we develop ARGO, a proof-of-concept implementation of this framework that harnesses the diversity of JSON suppliers. We study the feasibility of library substitution and its impact on a set of 368 clients. Our empirical results show that for 195 of the 368 java applications tested, we can substitute the original JSON library used by the client by at least 15 other JSON libraries without modifying the client's code. These results show the capacity of a Library Substitution Framework to diversify the supply chain of the client applications of the libraries it targets.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。