An LLM-based Quantitative Framework for Evaluating High-Stealthy Backdoor Risks in OSS Supply Chains

Authors

  • Zihe Yan Shanghai Jiaotong University
  • Kai Luo Tsinghua University
  • Haoyu Yang Tencent Security Xuanwu Lab
  • Yang Yu Tencent Xuanwu Lab
  • Zhuosheng Zhang Shanghai Jiao Tong University
  • Guancheng Li Tencent Xuanwu Lab

DOI:

https://doi.org/10.1609/aaai.v40i2.37116

Abstract

In modern software development workflows, the open-source software supply chain significantly contributes to efficient and convenient engineering practices. With increasing system complexity, it has become a common practice to use open-source software as third-party dependencies. However, due to the lack of maintenance for underlying dependencies and insufficient community auditing, ensuring the security of source code and the legitimacy of repository maintainers has become a challenge, particularly in the context of high-stealth backdoor attacks such as the XZ-Util incident. To address these problems, we propose a fine-grained project evaluation framework for backdoor risk assessment in open-source software. Our evaluation framework models highly stealthy backdoor attacks from the attacker’s perspective and defines targeted metrics for each attack stage. Moreover, to overcome the limitations of static analysis in assessing the reliability of repository maintenance activities, such as irregular committer privilege escalation and insufficient review participation, we employ large language models (LLMs) to perform semantic evaluation of code repositories while avoiding reliance on manually crafted patterns. The effectiveness of our framework is validated on 66 high-priority packages in the Debian ecosystem, and the experimental results reveal that the current open-source software supply chain is exposed to a series of security risks.

Downloads

Published

2026-03-14

How to Cite

Yan, Z., Luo, K., Yang, H., Yu, Y., Zhang, Z., & Li, G. (2026). An LLM-based Quantitative Framework for Evaluating High-Stealthy Backdoor Risks in OSS Supply Chains. Proceedings of the AAAI Conference on Artificial Intelligence, 40(2), 1418–1425. https://doi.org/10.1609/aaai.v40i2.37116

Issue

Section

AAAI Technical Track on Application Domains II