Sbom provenance

From RedHatProductSecurity/prodsec-skills · View interactive version

Sbom provenance is an AI agent skill from the GitHub repository RedHatProductSecurity/prodsec-skills. Generate Software Bill of Materials (SBOM) for AI software releases. Use when building release pipelines, reviewing supply chain security, or preparing compliance documentation for AI systems.

How to use this skill

Skill file

SBOM and Provenance

Security Requirement

All releases of AI software MUST include a Software Bill of Materials (SBOM) to provide transparency about the components and dependencies included in the software.

What an SBOM Contains

| Component | Details |

|---|---|

| Direct dependencies | All libraries and packages directly used |

| Transitive dependencies | Dependencies of dependencies |

| Versions | Exact versions of all components |

| Licenses | License information for each component |

| Hashes | Cryptographic hashes for integrity verification |

| Supplier information | Who provides each component |

Standard Formats

| Format | Description |

|---|---|

| SPDX | ISO standard (ISO/IEC 5962:2021); widely supported |

| CycloneDX | OWASP standard; strong security focus |

Generation Tools

# Generate SBOM for a container image (CycloneDX)
syft registry.example.com/mcp-server:v1.0.0 -o cyclonedx-json > sbom.json

# Generate SBOM for a Python project (SPDX)
syft dir:. -o spdx-json > sbom.spdx.json

Provenance

Beyond the SBOM, generate build provenance that attests:

SLSA (Supply Chain Levels for Software Artifacts) framework provides a maturity model for provenance.

Package Manager Security

When consuming or publishing packages through package managers (NPM, NuGet, Maven, pip, etc.):

Publishing

Consuming

Implementation Checklist

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.