analyzing-sbom-for-supply-chain-vulnerabilities

Featured

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 36,355 stars 4443 forks Updated 2 months ago Apache-2.0

Install

View on GitHub

Quality Score: 94/100

Stars 20%
100
Recency 20%
75
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
mukul975
Repository
mukul975/Anthropic-Cybersecurity-Skills
Created
8 months ago
Last Updated
2 months ago
Language
Python
License
Apache-2.0

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category