analyzing-sbom-for-supply-chain-vulnerabilities

Solid

Parses Software Bill of Materials (SBOM) in CycloneDX and SPDX JSON formats to identify supply chain vulnerabilities by correlating components against the NVD CVE database via the NVD 2.0 API. Builds dependency graphs, calculates risk scores, identifies transitive vulnerability paths, and generates compliance reports. Activates for requests involving SBOM analysis, software composition analysis, supply chain security assessment, dependency vulnerability scanning, CycloneDX/SPDX parsing, or CVE correlation.

AI & Automation 46 stars 7 forks Updated 2 days ago MIT

Install

View on GitHub

Quality Score: 90/100

Stars 20%
56
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Analyzing SBOM for Supply Chain Vulnerabilities ## When to Use - A new regulatory requirement (EO 14028, EU CRA) mandates SBOM analysis for software deliveries - Security team needs to assess third-party risk by scanning vendor-provided SBOMs - CI/CD pipeline requires automated vulnerability checks against generated SBOMs - Incident response needs to determine if a newly disclosed CVE affects deployed software - Procurement team requires supply chain risk assessment for a software acquisition **Do not use** for runtime vulnerability scanning of live systems; use container scanning tools (Trivy, Grype CLI) or host-based vulnerability scanners (Nessus, Qualys) instead. ## Prerequisites - SBOM file in CycloneDX JSON (v1.4+) or SPDX JSON (v2.3+) format - Python 3.9+ with requests, networkx, and packaging libraries installed - NVD API key (free, from https://nvd.nist.gov/developers/request-an-api-key) for higher rate limits - Network access to NVD API (https://services.nvd.nist.gov/rest/json/cves/2.0) - Optionally: syft for SBOM generation, grype for cross-validation ## Workflow ### Step 1: Generate SBOM (if not provided) Use syft to create an SBOM from a container image or project directory: ```bash # Generate CycloneDX JSON from a container image syft alpine:latest -o cyclonedx-json > sbom-cyclonedx.json # Generate SPDX JSON from a project directory syft dir:/path/to/project -o spdx-json > sbom-spdx.json # Generate from a running container syft docker:my-app-contain...

Details

Author
adriannoes
Repository
adriannoes/awesome-agentic-ai
Created
9 months ago
Last Updated
2 days ago
Language
Jupyter Notebook
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category