Get started with SafeDep xBom - Open Source Bill of Materials (BOM) generator enriched with AI, SaaS, Crypto.
generate
command:
/path/to/your/code
with the actual path to your project’s source code directory and /path/to/output/bom.cdx.json
with the desired path and filename for the generated BOM.
This command will produce a Software Bill of Materials (SBOM) in the CycloneDX v1.6 JSON format. The BOM will include any AI components and other supported elements detected within the codebase.
xbom
supports the following programming languages:
Language | Status |
---|---|
Python | |
Java | |
JavaScript |
xbom
is currently focused on AI BOM generation. Its primary strength lies in using static code analysis to identify AI products, SaaS APIs, and similar non-library components used in your codebase.
Recommendation for comprehensive SBOMs (vet tool):
For generating a more comprehensive SBOM that includes a detailed list of all your open-source library dependencies (often derived from manifest files), we recommend using a complementary tool like vet. vet
is another tool from SafeDep that specializes in dependency analysis and vulnerability management. Using xBom and vet together can provide a more holistic view of your software supply chain.
xbom
collects anonymous telemetry to help us understand how the tool is used. This data provides valuable insights into common use cases, popular integrations, and potential areas for improvement, ultimately helping us make xBom a better product for everyone. We do not collect any personally identifiable information or sensitive data.
How to disable:
If you prefer to disable telemetry collection, you can do so by setting the XBOM_DISABLE_TELEMETRY
environment variable to true
: