arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.00898cs.SEcs.CR
收藏

软件成分分析中的隐私保护:技术解决方案与增强措施研究

Preserving Privacy in Software Composition Analysis: A Study of Technical Solutions and Enhancements

Huaijin Wang, Zhibo Liu, Yanbo Dai, Shuai Wang, Qiyi Tang, Sen Nie, Shi Wu

AI总结:

针对软件成分分析(SCA)需上传源代码至远程服务器导致的隐私问题,首次分析其隐私需求并提出技术方案全景图,优化基于多方计算(MPC)的框架,将开销从184倍降至8.5%且不损失隐私与准确性。

摘要:

软件成分分析(SCA)指识别输入软件应用中开源软件组件的过程,已被学术界和工业界广泛开发与采用。但我们注意到,由于隐私问题,工业场景中的现代SCA技术仍需改进。总体而言,SCA要求用户将应用的源代码上传至远程SCA服务器,服务器检查应用后向用户报告组件使用情况。此过程对隐私敏感,因为应用可能包含专有源代码、算法、商业秘密和用户数据等敏感信息。隐私担忧阻碍了SCA技术在实际场景中的应用,因此学术界和工业界亟需隐私保护型SCA解决方案。我们首次分析了SCA的隐私需求,提供了描绘不同隐私收益与开销的技术解决方案全景图。鉴于实际SCA框架主要由基于代码相似性的技术驱动,我们探索结合多种隐私保护协议封装该框架。在所有可行方案中,多方计算(MPC)提供最强隐私保障和合理准确性,但开销高(184倍)。我们通过程序分析技术减少加密协议事务量,优化了基于MPC的SCA框架。评估结果显示,所提优化可在不牺牲隐私保障或准确性的前提下,将MPC-based SCA开销降至仅8.5%。

英文摘要:

Software composition analysis (SCA) denotes the process of identifying open-source software components in an input software application. SCA has been extensively developed and adopted by academia and industry. However, we notice that the modern SCA techniques in industry scenarios still need to be improved due to privacy concerns. Overall, SCA requires the users to upload their applications' source code to a remote SCA server, which then inspects the applications and reports the component usage to users. This process is privacy-sensitive since the applications may contain sensitive information, such as proprietary source code, algorithms, trade secrets, and user data. Privacy concerns have prevented the SCA technology from being used in real-world scenarios. Therefore, academia and the industry demand privacy-preserving SCA solutions. For the first time, we analyze the privacy requirements of SCA and provide a landscape depicting possible technical solutions with varying privacy gains and overheads. In particular, given that de facto SCA frameworks are primarily driven by code similarity-based techniques, we explore combining several privacy-preserving protocols to encapsulate the similarity-based SCA framework. Among all viable solutions, we find that multi-party computation (MPC) offers the strongest privacy guarantee and plausible accuracy; it, however, incurs high overhead (184 times). We optimize the MPC-based SCA framework by reducing the amount of crypto protocol transactions using program analysis techniques. The evaluation results show that our proposed optimizations can reduce the MPC-based SCA overhead to only 8.5% without sacrificing SCA's privacy guarantee or accuracy.

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

↑