supply-chain

Automate software supply chain hardening with dependency pinning, SBOM generation, and artifact signing.

Updated Apr 9, 2026
One-click install
npx skills add https://github.com/nist0/CoDev --skill supply-chain-nist0
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: supply-chain
Source: https://github.com/nist0/CoDev/tree/main/.github/skills/supply-chain
Command: npx skills add https://github.com/nist0/CoDev --skill supply-chain-nist0

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires cosign, syft, grype, python, oidc, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the hardening of your software supply chain, ensuring that dependencies are secure, artifacts are signed, and compliance with security policies is enforced.

Core Features & Use Cases

  • Dependency Pinning: Ensures all dependencies are pinned to exact versions, reducing the risk of supply chain vulnerabilities.
  • SBOM Generation: Generates Software Bill of Materials (SBOM) to track components and their versions.
  • Artifact Signing: Signs container images with Cosign for authenticity and integrity.
  • Provenance Verification: Verifies the provenance of artifacts in the continuous delivery pipeline.
  • Policy Enforcement: Enforces security policies at various stages of the supply chain.

Quick Start

Use the supply-chain skill to harden your software supply chain by executing the following commands:

./tools/codev/supply-chain.sh init
./tools/codev/supply-chain.sh verify

Frequently Asked Questions about supply-chain

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate SBOM generation and artifact signing in my CI/CD pipeline?

Automating SBOM generation and artifact signing involves using tools like syft to track components and Cosign to sign container images. This Skill integrates those tools to enforce supply chain security policies during continuous delivery.

What is provenance verification and how does it secure software supply chains?

Provenance verification secures software supply chains by validating the origin and integrity of artifacts in a CI/CD pipeline. This process ensures that container images are signed with Cosign and comply with enforced security policies.

Do I need Cosign and OIDC to enforce supply chain security policies?

Yes, you need Cosign for artifact signing and OIDC for authentication to enforce supply chain security policies. The pipeline also relies on syft for SBOM generation and grype for vulnerability scanning.

How do I pin dependencies to exact versions to reduce supply chain vulnerabilities?

Pinning dependencies to exact versions reduces supply chain vulnerabilities by preventing unauthorized package updates. This Skill automates dependency pinning and generates an SBOM to track the exact component versions used in your builds.

Can I use this approach for automated security audits of container images?

Yes, you can use this approach for automated security audits of container images. It generates an SBOM with syft, scans for vulnerabilities with grype, and verifies artifact signatures with Cosign to ensure compliance.

What are the limitations of using script-based supply chain hardening?

Limitations of script-based supply chain hardening include strict dependencies on external tools like Cosign, syft, and grype. Your environment must have Python and OIDC configured correctly for the verification scripts to execute successfully.