# 软件物料清单

软件物料清单（Software Bill of Materials，SBOM）是一份正式记录，载明构建一款软件所用各组件的详细信息及供应链关系，这一定义确立于美国第14028号行政令《改善国家网络安全》第10(j)节<sup>[1](https://www.law.cornell.edu/executive-orders/executive-order-on-improving-the-nations-cybersecurity)</sup>。美国国家电信和信息管理局（NTIA）将其描述为一份嵌套式清单，即软件的“配料表”<sup>[2](https://www.ntia.gov/page/software-bill-materials)</sup>。由于现代应用由开源库、第三方模块和商业组件组装而成，SBOM为开发者、采购方和运营方提供了一种机器可读的方式，用以了解产品内部究竟包含什么<sup>[3](https://public-inspection.federalregister.gov/2024-10922.pdf?1715949915=)</sup>。

| 关键事实 | 详情 |
|---|---|
| 定义 | “一份正式记录，载明构建软件所用各组件的详细信息及供应链关系”（第14028号行政令第10(j)节）<sup>[1](https://www.law.cornell.edu/executive-orders/executive-order-on-improving-the-nations-cybersecurity)</sup> |
| 美国政策基线 | NTIA依据第14028号行政令的一项指令，于2021年7月12日发布了SBOM最低要素<sup>[4](https://www.ntia.gov/report/2021/minimum-elements-software-bill-materials-sbom)</sup> |
| 主要格式 | SPDX、CycloneDX和SWID是NTIA工作组认定广泛使用的三种格式<sup>[5](https://www.ntia.gov/files/ntia/publications/sbom_formats_survey-version-2021.pdf)</sup> |
| SPDX标准化 | SPDX规范V2.2.1于2021年8月作为国际标准ISO/IEC 5962:2021发布<sup>[6](https://www.iso.org/standard/81870.html)</sup> |
| CycloneDX标准化 | CycloneDX是Ecma国际标准，编号ECMA-424；1.7版于2025年10月21日发布<sup>[7](https://github.com/CycloneDX/specification/blob/master/README.md)</sup> |
| 美国指南更新 | CISA、NSA、FBI及国际伙伴发布了2026年最低要素，新增组件哈希、许可证、SBOM工具名称和SBOM生成上下文等必填字段<sup>[8](https://content.govdelivery.com/accounts/USDHSCISA/bulletins/422a7eb)</sup> |
| 已知弱点 | 在一项评估中，多数SBOM工具未能检出Python requirements.txt文件中超过90%的依赖项<sup>[9](https://cs.ucr.edu/~heng/pubs/sbom-dsn24.pdf)</sup> |

## SBOM包含什么

SBOM的核心是列出组件及其标识属性：供应商名称、组件名称、版本字符串、组件哈希、包URL（PURL）、唯一标识符，以及与其他组件的依赖关系<sup>[10](https://public-inspection.federalregister.gov/2025-00592.pdf?1736862326=)</sup>。一份完整的清单应覆盖所有直接依赖和传递依赖及其之间的关系，因为若没有这种关联，深层次嵌套库中的漏洞便无从发现<sup>[11](https://www.cyclonedx.org/guides/OWASP_CycloneDX-Authoritative-Guide-to-SBOM-en.pdf)</sup>。

NTIA最低要素报告通过2018年启动的多利益相关方流程编制而成，定义了SBOM应包含的基线字段和实践，并描述了提升供应链透明度的用例<sup>[4](https://www.ntia.gov/report/2021/minimum-elements-software-bill-materials-sbom)</sup><sup> • </sup><sup>[12](https://www.ntia.gov/blog/marking-conclusion-ntia-s-sbom-process)</sup>。2026年7月，CISA、NSA、FBI及十五个国际伙伴在2021年文件的基础上发布了更新版联合指南。该指南细化了基线数据字段，新增组件哈希、许可证、SBOM工具名称和SBOM生成上下文等要求，将指导范围扩展至开源、人工智能和软件即服务，并强调采用机器可处理格式以实现可扩展的风险管理<sup>[8](https://content.govdelivery.com/accounts/USDHSCISA/bulletins/422a7eb)</sup>。

## 格式

NTIA格式工作组有意不宣布单一胜出者，而是记录了三种广泛使用的机器可读格式，并指出在有完善文档的格式之间进行映射在技术上是可行的<sup>[5](https://www.ntia.gov/files/ntia/publications/sbom_formats_survey-version-2021.pdf)</sup>。

**SPDX**（系统包数据交换，原为软件包数据交换）是Linux基金会的一个项目，其规范定义了一种开放标准，用于跨主题领域传递物料清单信息。它定义了一个底层数据模型，配有多种序列化格式，其元数据涵盖包、文件和片段层面的软件组成；构建信息；AI模型和数据集；创建者、供应商和分发者身份；来源与完整性；许可证与版权；安全漏洞与缺陷；元素之间的关系；以及使用和生命周期数据<sup>[13](https://spdx.github.io/spdx-spec/v3.0.1/scope/)</sup>。[SPDX](https://www.edgepedia.org/zh/spdx)起初高度重视许可证合规：SPDX许可证列表为常见的自由及开源许可证和例外条款分配标准化短标识符、全名、许可证文本和永久URL，SPDX 2.0引入了许可证表达式，使常见变体无需逐一单列<sup>[14](https://spdx.org/licenses/)</sup>。SPDX文档按节组织，包括文档创建信息、包信息、文件信息、片段信息、其他许可信息、关系和注释；关系元素表达包之间的依赖关系<sup>[15](https://spdx.github.io/spdx-spec/v2.2.2/composition-of-an-SPDX-document/)</sup>。该规范于2021年8月成为ISO/IEC 5962:2021<sup>[6](https://www.iso.org/standard/81870.html)</sup>。

**CycloneDX**起源于OWASP社区，侧重安全分析，现为[Ecma国际](https://www.edgepedia.org/zh/ecma-international)标准ECMA-424，依据免专利使用费的专利政策发布<sup>[5](https://www.ntia.gov/files/ntia/publications/sbom_formats_survey-version-2021.pdf)</sup><sup> • </sup><sup>[7](https://github.com/CycloneDX/specification/blob/master/README.md)</sup>。除SBOM本身外，该规范还支持硬件、机器学习、密码学、制造和运维物料清单，以及漏洞披露报告（VDR）和漏洞可利用性交换（VEX）<sup>[7](https://github.com/CycloneDX/specification/blob/master/README.md)</sup>。其安全用例包括：通过CPE、PURL和SWID等组件标识符识别漏洞；通过VEX传达可利用性状态；用密码学哈希验证完整性；用JSON或XML签名对SBOM签名以确立真实性<sup>[16](https://cyclonedx.org/use-cases/security/)</sup>。1.0版于2018年3月26日发布，1.7版于2025年10月21日发布<sup>[7](https://github.com/CycloneDX/specification/blob/master/README.md)</sup>。

**SWID**（软件标识）是商业软件发行商使用的ISO/IEC行业标准<sup>[5](https://www.ntia.gov/files/ntia/publications/sbom_formats_survey-version-2021.pdf)</sup>。美国指南和欧盟《网络韧性法案》均未强制要求特定格式；CISA和NTIA同样接受SPDX和[CycloneDX](https://www.edgepedia.org/zh/cyclonedx)，只要SBOM满足最低要素即可，而《网络韧性法案》的参考文件将CycloneDX和SPDX均列为符合其“常用且机器可读格式”要求的格式<sup>[17](https://safeguard.sh/resources/blog/spdx-vs-cyclonedx-comparing-sbom-formats)</sup><sup> • </sup><sup>[18](https://cra-reference.eu/en/sbom/formats/)</sup>。

## 用途

首要安全用途是漏洞响应：当新漏洞披露时，组织可以查询其SBOM，找出哪些产品包含受影响的组件和版本。2020年[SolarWinds](https://www.edgepedia.org/zh/solarwinds)构建系统被入侵事件常被援引为典型事例，说明严格的组件清单管理本可缩短暴露评估时间<sup>[19](https://www.techradar.com/pro/why-every-ciso-should-demand-a-comprehensive-software-bill-of-materials-sbom)</sup>。VEX文档通过说明已识别的漏洞在特定产品情境中是否实际可利用，对SBOM形成补充，其理由包括protected_by_mitigating_control等，可减少漏洞分级处置中的噪声<sup>[16](https://cyclonedx.org/use-cases/security/)</sup><sup> • </sup><sup>[20](https://www.cyclonedx.org/use-cases/vulnerability-exploitability/)</sup>。

除安全之外，SBOM还服务于许可证与版权合规、采购与并购尽职调查、供应商风险管理以及一般供应链透明度<sup>[11](https://www.cyclonedx.org/guides/OWASP_CycloneDX-Authoritative-Guide-to-SBOM-en.pdf)</sup>。监管层面的采纳也随之跟进：欧盟《网络韧性法案》包含针对受影响软件的SBOM条款，美国FDA要求联网医疗器械在审批过程中提供SBOM，SBOM也出现在欧盟NIS2指令的语境中<sup>[21](https://www.itpro.com/software/enterprises-need-to-sharpen-up-on-software-supply-chain-security)</sup><sup> • </sup><sup>[22](https://www.itpro.com/security/does-your-business-need-a-software-bill-of-materials)</sup>。在美国联邦采购中，一项拟议的《联邦采购条例》条款将要求承包商为合同履约所用软件开发并维护SBOM，因为SBOM可在事件响应期间迅速识别漏洞来源<sup>[23](https://public-inspection.federalregister.gov/2023-21328.pdf)</sup>。

## 局限性

SBOM的质量取决于其生成过程，实证研究发现存在重大缺口。一项对基于元数据的生成器的差分分析发现，多数工具未能检出Python requirements.txt文件中超过90%的依赖项，因为自行实现的解析器仅支持常见语法，且不解析传递依赖；同一研究表明，不支持的语法可让攻击者将依赖项完全对SBOM工具隐藏，这是一种解析器混淆攻击向量<sup>[9](https://cs.ucr.edu/~heng/pubs/sbom-dsn24.pdf)</sup>。各工具在是否纳入开发依赖上也存在分歧，而SBOM格式处理依赖范围字段方式的不一致使下游使用更加复杂<sup>[9](https://cs.ucr.edu/~heng/pubs/sbom-dsn24.pdf)</sup><sup> • </sup><sup>[28](https://cyclonedx.org/docs/1.7/json/#components_items_scope)</sup>。一项大规模遵循度研究发现，跨语言的包检测工具间一致率低至7.84%至12.77%，详细包信息的许可证准确率低于20%<sup>[24](https://arxiv.org/abs/2601.05622)</sup>。基于元数据或文件系统产物构建的SBOM还会遗漏仅在运行时加载的组件<sup>[25](https://www.sciencedirect.com/science/article/pii/S0167404826003019)</sup>。

采纳本身也有其经济学。代尔夫特理工大学对四个利益相关方群体的研究发现，系统集成商和软件供应商的采纳潜力最高，它们认为透明度收益与其战略目标一致；而B2B客户和个体开发者——分别是SBOM的主要消费者和供应者——动机最弱，认为增加了复杂性却无相应收益<sup>[26](https://repository.tudelft.nl/record/uuid%3Af2ae0a19-527b-41d8-8f3b-ea65f5255c93)</sup>。卡内基梅隆大学软件工程研究所在2024年面向运行测试活动的指南中指出，SBOM的采纳尚处于早期且程度不一，完整性、准确性和时效性等质量问题持续存在，并建议SBOM应补充而非替代现有测试方法<sup>[27](https://sei.cmu.edu/library/software-bill-of-materials-sbom-considerations-for-operational-test-evaluation-activities/)</sup>。

## References

1. [Executive Order on Improving the Nation's Cybersecurity (EO 14028), Legal Information Institute](https://www.law.cornell.edu/executive-orders/executive-order-on-improving-the-nations-cybersecurity)
2. [Software Bill of Materials, NTIA](https://www.ntia.gov/page/software-bill-materials)
3. [SBOM Background, Federal Register inspection copy (CISA SBOM-a-rama notice)](https://public-inspection.federalregister.gov/2024-10922.pdf?1715949915=)
4. [The Minimum Elements For a Software Bill of Materials (SBOM), NTIA, July 12, 2021](https://www.ntia.gov/report/2021/minimum-elements-software-bill-materials-sbom)
5. [Survey of Existing SBOM Formats and Standards, Version 2021, NTIA](https://www.ntia.gov/files/ntia/publications/sbom_formats_survey-version-2021.pdf)
6. [ISO/IEC 5962:2021 — Information technology — SPDX® Specification V2.2.1, ISO](https://www.iso.org/standard/81870.html)
7. [CycloneDX Bill of Materials Specification (ECMA-424), CycloneDX/specification GitHub README](https://github.com/CycloneDX/specification/blob/master/README.md)
8. [CISA, U.S. Government and International Partners Release Updated Minimum Elements for a Software Bill of Materials, CISA bulletin, July 2026](https://content.govdelivery.com/accounts/USDHSCISA/bulletins/422a7eb)
9. [On the Correctness of Metadata-Based SBOM Generation: A Differential Analysis Approach, UC Riverside](https://cs.ucr.edu/~heng/pubs/sbom-dsn24.pdf)
10. [BIS proposed rule modifying SBOM definition and compliance requirements, Federal Register inspection copy](https://public-inspection.federalregister.gov/2025-00592.pdf?1736862326=)
11. [Authoritative Guide to SBOM, OWASP CycloneDX](https://www.cyclonedx.org/guides/OWASP_CycloneDX-Authoritative-Guide-to-SBOM-en.pdf)
12. [Marking the Conclusion of NTIA's SBOM Process, NTIA, April 9, 2022](https://www.ntia.gov/blog/marking-conclusion-ntia-s-sbom-process)
13. [SPDX Specification 3.0.1, Scope](https://spdx.github.io/spdx-spec/v3.0.1/scope/)
14. [SPDX License List, SPDX](https://spdx.org/licenses/)
15. [Clause 5: Composition of an SPDX document, specification v2.2.2](https://spdx.github.io/spdx-spec/v2.2.2/composition-of-an-SPDX-document/)
16. [Security Use Cases and Examples, CycloneDX](https://cyclonedx.org/use-cases/security/)
17. [SPDX vs CycloneDX: Comparing SBOM Formats, safeguard.sh](https://safeguard.sh/resources/blog/spdx-vs-cyclonedx-comparing-sbom-formats)
18. [Formats, CRA Reference](https://cra-reference.eu/en/sbom/formats/)
19. [Why every CISO should demand a comprehensive Software Bill of Materials (SBOM), TechRadar Pro](https://www.techradar.com/pro/why-every-ciso-should-demand-a-comprehensive-software-bill-of-materials-sbom)
20. [Security Use Case: Vulnerability Exploitability, CycloneDX](https://www.cyclonedx.org/use-cases/vulnerability-exploitability/)
21. [Enterprises need to sharpen up on software supply chain security, ITPro](https://www.itpro.com/software/enterprises-need-to-sharpen-up-on-software-supply-chain-security)
22. [Does your business need a software bill of materials?, ITPro](https://www.itpro.com/security/does-your-business-need-a-software-bill-of-materials)
23. [Proposed FAR rule on SBOM requirements for contractors, Federal Register inspection copy](https://public-inspection.federalregister.gov/2023-21328.pdf)
24. [A Large Scale Empirical Analysis on the Adherence Gap between Standards and Tools in SBOM, arXiv](https://arxiv.org/abs/2601.05622)
25. [What You See Is Not What You Execute: Memory-Based Runtime SBOM Generation for Supply Chain Security, ScienceDirect](https://www.sciencedirect.com/science/article/pii/S0167404826003019)
26. [Unraveling Incentives: Understanding the Adoption Barriers of SBOM in the Software Supply Chain, TU Delft Repository](https://repository.tudelft.nl/record/uuid%3Af2ae0a19-527b-41d8-8f3b-ea65f5255c93)
27. [Software Bill of Materials (SBOM) Considerations for Operational Test & Evaluation Activities, CMU Software Engineering Institute, June 14, 2024](https://sei.cmu.edu/library/software-bill-of-materials-sbom-considerations-for-operational-test-evaluation-activities/)
28. [CycloneDX v1.7 JSON Reference](https://cyclonedx.org/docs/1.7/json/#components_items_scope)

---
*Initially written Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 软件与编程 › Software engineering and development process › Software testing and quality › Security testing and supply chain assurance

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/software-bill-of-materials

English original: https://www.edgepedia.org/software-bill-of-materials
