bom is a Go-based software supply chain utility designed to generate, inspect, transform, and validate Software Bills of Materials. It produces SPDX-compliant manifests from directories, individual files, archives, and container images. Integrated operating system package discovery identifies installed software within Alpine, Debian, and RPM-based container images. Go dependency analysis examines source modules and embedded binary build information. A built-in license classifier recognizes more than 400 licenses from the SPDX catalog. Document inspection commands enable dependency searching, hierarchical visualization, and Graphviz graph exporting. Generated manifests can also be exported as in-toto provenance statements. bom provides a standalone command-line interface and an embeddable Go library.
Features
- Automated SPDX-compliant SBOM generation from source directories, individual files, archives, and container images
- Container image analysis with operating system package discovery and image layer identification
- Go dependency analysis through source module inspection and embedded executable build information
- Integrated software license classification supporting more than 400 licenses from the SPDX catalog
- Interactive SBOM inspection with dependency queries, hierarchical document visualization, and Graphviz exporting
- Artifact validation against existing SBOMs with in-toto provenance exporting and programmable Go library integration