Syft is a CLI and Go library that lists packages inside container images and directories. Output formats support supply-chain workflows alongside vulnerability scanners.
Overview
Syft generates Software Bill of Materials from container images and filesystem paths. It inventories packages and dependencies so security and compliance workflows can reason about what software is present without manual manifest work.
Run it locally to inspect an image or directory, then emit SBOMs in formats you choose for downstream tools. Documentation covers CLI options, configuration, and a JSON schema for machine consumption. Pairing with scanners such as Grype is a common pattern described in project materials.
On Linux, Syft can read images from a local containers-storage store when explicitly requested, which helps workflows built with Buildah or Podman. Installation paths include curl-based setup, Homebrew, Docker, Scoop, Chocolatey, Nix, and other packaging channels noted in the install docs.
The tool is developed under the Apache-2.0 license with sponsorship from Anchore. Community meetings and issue tracking support users who extend coverage or integrate SBOM generation into pipelines.
Key features
- SBOM from container images
- Filesystem package scanning
- Multiple SBOM output formats
- Go library for embedding
- Local containers-storage on Linux
- CLI and CI-friendly binary
- Documented JSON schema
- Plugin-oriented ecosystem pairing
Use cases
- Produce SBOMs in CI pipelines
- Audit packages inside Docker images
- Feed vulnerability scanners
- Inventory dependencies on disk
- Embed SBOM generation in Go tools