arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.01214cs.CRcs.SE
收藏

Python 生态系统中的 SBOM 生成工具:一项深入分析

SBOM Generation Tools in the Python Ecosystem: an In-Detail Analysis

Serena Cofano, Giacomo Benedetti, Matteo Dell'Amico

AI总结:

本文以 PyPI 生态系统为对象,使用 CycloneDX 标准分析四种 SBOM 生成工具,揭示影响 SBOM 完整性与正确性的依赖版本、元数据、远程及可选依赖等问题,并指出 PyPI 元数据标准缺失的系统性缺陷。

摘要:

软件物料清单(SBOM)通过列出构成软件的组件来提高透明度,是应对日益严重的软件供应链攻击问题的关键对策。SBOM 生成工具接收项目源文件并输出 SBOM,与软件生态系统进行交互。虽然 SBOM 对安全从业者来说是一项重大改进,但提供完整且正确的 SBOM 仍然是一个悬而未决的问题。本文以 PyPI 生态系统为研究对象,调查了影响 SBOM 完整性和正确性问题的成因。我们使用 CycloneDX 标准分析了四种流行的 SBOM 生成工具。我们的分析揭示了与依赖版本、元数据文件、远程依赖和可选依赖相关的问题。此外,我们还发现了一个系统性问题,即 PyPI 生态系统中元数据标准缺失,包括元数据文件存在与否的不一致,以及其内容格式的差异。

英文摘要:

Software Bills of Material (SBOMs), which improve transparency by listing the components constituting software, are a key countermeasure to the mounting problem of Software Supply Chain attacks. SBOM generation tools take project source files and provide an SBOM as output, interacting with the software ecosystem. While SBOMs are a substantial improvement for security practitioners, providing a complete and correct SBOM is still an open problem. This paper investigates the causes of the issues affecting SBOM completeness and correctness, focusing on the PyPI ecosystem. We analyze four popular SBOM generation tools using the CycloneDX standard. Our analysis highlights issues related to dependency versions, metadata files, remote dependencies, and optional dependencies. Additionally, we identified a systematic issue with the lack of standards for metadata in the PyPI ecosystem. This includes inconsistencies in the presence of metadata files as well as variations in how their content is formatted.

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

↑