---
title: "Microsoft open sources its software bill of materials (SBOM) generation tool"
description: "Microsoft has open sourced its build-time SBOM generator, a cross-platform (Windows, Linux, Mac) tool that emits SPDX documents and auto-detects dependencies from npm, NuGet, PyPI, Maven, Go, Rust crates, RubyGems, container Linux packages and more via the Component Detection library."
url: "https://swe.quest/articles/microsoft-open-sources-its-software-bill-of-materials-sbom-generation-tool-333b2dc59a2c5eb3"
canonical: "https://devblogs.microsoft.com/engineering-at-microsoft/microsoft-open-sources-software-bill-of-materials-sbom-generation-tool/"
source: "Engineering@Microsoft"
published: "2022-07-12"
difficulty: "easy"
kind: "Announcement"
reading_minutes: 2
tags: ["supply-chain-security","open-source","build-systems"]
---

# Microsoft open sources its software bill of materials (SBOM) generation tool

A post on [Engineering@Microsoft](https://swe.quest/sources/ms-engineering.md), published 2022-07-12, 2 min read, Announcement. Original: [https://devblogs.microsoft.com/engineering-at-microsoft/microsoft-open-sources-software-bill-of-materials-sbom-generation-tool/](https://devblogs.microsoft.com/engineering-at-microsoft/microsoft-open-sources-software-bill-of-materials-sbom-generation-tool/)

## Summary

Microsoft has open sourced its build-time SBOM generator, a cross-platform (Windows, Linux, Mac) tool that emits SPDX documents and auto-detects dependencies from npm, NuGet, PyPI, Maven, Go, Rust crates, RubyGems, container Linux packages and more via the Component Detection library. Generated SBOMs contain four SPDX sections: document creation info, files with SHA-1/SHA-256 hashes, packages with versions, suppliers, hashes and purl identifiers, and relationships between elements. SBOMs can reference other SBOM documents through externalDocumentRefs with checksums, so layered builds can capture a full dependency tree across predecessor builds.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [Supply chain security](https://swe.quest/tags/supply-chain-security.md) (Security)
- [Open source](https://swe.quest/tags/open-source.md) (Engineering practices)
- [Build systems](https://swe.quest/tags/build-systems.md) (Engineering practices)

## Prerequisites

- software supply chain basics ([easy posts on Supply chain security](https://swe.quest/tags/supply-chain-security.md?difficulty=easy))
- package managers ([easy posts on Build systems](https://swe.quest/tags/build-systems.md?difficulty=easy))

## Keywords

SBOM, SPDX, sbom-tool, Component Detection, Package URL, Executive Order on Improving the Nation's Cybersecurity

## Related posts

- [Generating Software Bills of Materials (SBOMs) with SPDX at Microsoft](https://swe.quest/articles/generating-software-bills-of-materials-sboms-with-spdx-at-microsoft-039b53cdd403b886.md): Engineering@Microsoft · 2021-10-13 · Medium · 5 min read · Supply chain security, CI/CD, Build systems
  Microsoft is converting its proprietary build manifests into SPDX 2.2.1 JSON SBOMs, the ISO/IEC 5962:2021 standard, for every product it builds, to comply with the 2021 U.S. cybersecurity executive order.
- [What is an SBOM (and Why Can’t You Ship Without One)?](https://swe.quest/articles/what-is-an-sbom-and-why-can-t-you-ship-without-one-5b5e9139b8ff0e33.md): Docker · 2026-06-23 · Medium · 12 min read · Supply chain security, Containers, CI/CD
  A software bill of materials is a machine-readable inventory of every resolved component in an artifact, covering name, version, supplier, license, purl identifiers, dependency relationships and checksums, usually expressed in SPDX or CycloneDX.
- [How Software Bill of Materials change the dependency game](https://swe.quest/articles/how-software-bill-of-materials-change-the-dependency-game-78d74981c640e90b.md): Zalando Engineering · 2023-04-12 · Medium · 5 min read · Supply chain security, Microservices, Build systems, Analytics & OLAP
  Zalando generates a Software Bill of Materials from the container image of every deployed application and publishes the dependency data to its data lake, so any engineer can query which apps use a library version, which licenses are in use, and how fast upgrades are adopted.
- [How to Generate an SBOM for Container Workflows](https://swe.quest/articles/how-to-generate-an-sbom-for-container-workflows-37c04afe004cbbed.md): Docker · 2026-06-25 · Medium · 10 min read · Supply chain security, Containers, CI/CD
  Generating SBOMs at build time, rather than scanning finished images, captures resolved transitive dependencies, statically linked components and multi-stage build contents that heuristic post-build scanners miss.
- [The Journey to Secure the Software Supply Chain at Microsoft](https://swe.quest/articles/the-journey-to-secure-the-software-supply-chain-at-microsoft-71490198d2cc7870.md): Engineering@Microsoft · 2023-05-22 · Easy · 6 min read · Supply chain security, CI/CD, Identity & auth, Open source
  Microsoft secures its software supply chain by threat-modeling its CI/CD platform, identities and developer devices, risk-scoring each threat, and folding supply chain requirements into the Security Development Lifecycle with policy enforcement such as blocked pushes, broken builds and gated releases.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
