一种基于大语言模型的开源软件供应链高隐蔽性后门风险量化评估框架
An LLM-based Quantitative Framework for Evaluating High-Stealthy Backdoor Risks in OSS Supply Chains
AI总结:
针对开源软件供应链高隐蔽性后门攻击风险,本文提出基于大语言模型的细粒度量化评估框架,从攻击者视角分阶段设计指标,通过LLM语义评估弥补静态分析不足,在Debian高优先级包上验证了其风险识别能力。
摘要:
在现代软件开发工作流中,开源软件供应链为高效便捷的工程实践提供了重要支撑。随着系统复杂度不断提升,将开源软件作为第三方依赖使用已成为行业普遍做法。然而,底层依赖缺乏维护、社区审计力度不足的问题,给源代码安全保障与仓库维护者合法性核验带来了挑战,在以XZ-Util事件为代表的高隐蔽性后门攻击场景下这类风险尤为突出。针对上述问题,本文提出了一种用于开源软件后门风险评估的细粒度项目评估框架。该框架从攻击者视角对隐蔽性后门攻击进行建模,为每个攻击阶段定义了针对性评估指标。此外,为克服静态分析在评估仓库维护活动可靠性(如异常提交者权限提升、评审参与度不足等问题)上的局限性,该框架使用大语言模型(LLMs)对代码仓库开展语义评估,无需依赖人工构造的检测规则。本文在Debian生态系统的66个高优先级软件包上对该框架进行了评估,实验结果表明当前开源软件供应链面临着多重安全风险。
英文摘要:
In modern software development workflows, the open-source software supply chain contributes significantly to efficient and convenient engineering practices. With increasing system complexity, using open-source software as third-party dependencies has become a common practice. However, the lack of maintenance for underlying dependencies and insufficient community auditing create challenges in ensuring source code security and the legitimacy of repository maintainers, especially under high-stealthy backdoor attacks exemplified by the XZ-Util incident. To address these problems, we propose a fine-grained project evaluation framework for backdoor risk assessment in open-source software. The framework models stealthy backdoor attacks from the viewpoint of the attacker and defines targeted metrics for each attack stage. In addition, to overcome the limitations of static analysis in assessing the reliability of repository maintenance activities such as irregular committer privilege escalation and limited participation in reviews, the framework uses large language models (LLMs) to conduct semantic evaluation of code repositories without relying on manually crafted patterns. The framework is evaluated on sixty six high-priority packages in the Debian ecosystem. The experimental results indicate that the current open-source software supply chain is exposed to various security risks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。