How Software Bill of Materials change the dependency game
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. This made CVE and license-change impact analysis (log4j, Akka) take minutes, enabled automated mass pull requests for patches, and exposed waste such as apps bundling the full 200MB+ AWS Java SDK. Their data shows dependency counts rising steeply by language: Python has the fewest, Go roughly 1.4-2x more, JVM 2-3x more than Go, and JavaScript 5-10x more than Java. SBOM quality is uneven: JVM package naming is inconsistent and uber-jars strip the metadata scanners need, so generation should be verified per application.
Related posts
- Microsoft open sources its software bill of materials (SBOM) generation tool
Engineering@Microsoft easyNoviceMicrosoft 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.
- What is an SBOM (and Why Can’t You Ship Without One)?
Docker mediumAdeptA 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. For container images, the SBOM is best generated at build time with BuildKit (`docker buildx build --attest type=sbom`). That captures OS packages and transitive dependencies that manifest-based SBOMs miss, and attaches the SBOM as an in-toto attestation alongside SLSA provenance in the OCI registry. Stored there, SBOMs feed continuous CVE matching and CI policy gates, and regulations such as EO 14028 and the EU CRA are making them a procurement requirement. A maturity model and an incremental adoption path start with a single image.
- Generating Software Bills of Materials (SBOMs) with SPDX at Microsoft
Engineering@Microsoft mediumAdeptMicrosoft 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. The NTIA minimum fields map onto SPDX fields, and Microsoft makes supplier, version, checksum and relationship fields mandatory. A cross-platform generator, injected into CI/CD across roughly 500,000 builds a day, detects OSS dependencies across many ecosystems, records SHA256 and SHA1 hashes, and signs the SBOM. A signing service binds the SBOM hash to build-session claims (commit, build ID, repo) for provenance, and release-time validation blocks deployment on any hash or signature mismatch.
- How to Generate an SBOM for Container Workflows
Docker mediumAdeptGenerating 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. An actionable SBOM is complete, records resolved rather than declared versions, is regenerated with every build, is cryptographically bound to the image digest, and validates against the SPDX or CycloneDX schema. In CI, generate from the final stage via BuildKit attestations and attach the SBOM as an OCI attestation. Validate component counts and digest binding before pushing, and pin generator tools to commit SHAs because they run with elevated build access. SPDX is the default for container images, while CycloneDX suits security-focused workflows.
- Package managers have an integrity problem
Trail of Bits mediumAdeptAn experiment across 25 popular package managers tested whether each detects a compromised repository injecting malicious code into legitimate packages. Fewer than half verify lockfile hashes by default, only Go and vcpkg verify every download, and only Go checks signatures by default. The tests used a Docker and mitmproxy harness that simulated a malicious server. Several failures are documented design choices rather than bugs: Pub and older pnpm overwrite mismatched hashes, Conan and CocoaPods use MD5 or SHA-1 identifiers that are never rechecked, Composer trusts GitHub-served ZIPs, and cpanminus still uses plain HTTP. Lockfiles serve many purposes besides integrity, which helps explain the gaps.