一句话:首次系统分析软件成分分析(SCA)的隐私需求,并用程序分析削减基于 MPC 的隐私保护方案开销。
软件成分分析(SCA)通过识别应用中的开源组件被学术界与工业界广泛采用,但现有流程要求用户把源码上传至远程 SCA 服务器,而应用往往包含专有代码、算法、商业秘密与用户数据,导致隐私问题阻碍了 SCA 在真实场景中的落地。本文首次系统分析 SCA 的隐私需求,并给出一幅刻画不同隐私收益与开销的技术方案全景图。鉴于事实上的 SCA 框架主要由代码相似度技术驱动,作者探索将多种隐私保护协议与该框架结合;在可行方案中,多方计算(MPC)提供了最强的隐私保证与可接受的准确率,但带来 184 倍的高开销。为此,作者利用程序分析技术减少加密协议的交互次数来优化 MPC-based SCA 框架。评估表明,该优化把 MPC 开销降至 8.5%,且不牺牲隐私保证与 SCA 准确率。
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×). 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.
DOI 原文 ·
@inproceedings{paperbot8818,
title = {Preserving Privacy in Software Composition Analysis: A Study of Technical Solutions and Enhancements},
author = {Huaijin Wang and Zhibo Liu and Yanbo Dai and Shuai Wang and Qiyi Tang and Sen Nie and Shi Wu},
booktitle = {ICSE},
year = {2025},
doi = {10.1109/icse55347.2025.00055}
}