From sdlc-security
Generates and audits Software Bill of Materials (SBOM) in SPDX/CycloneDX format, evaluating supply chain integrity, component risks, and regulatory compliance.
How this skill is triggered — by the user, by Claude, or both
Slash command
/sdlc-security:sbom-auditThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Generates and audits Software Bill of Materials (SBOM) in SPDX/CycloneDX format, evaluating software supply chain integrity, component risks, and regulatory compliance (EO 14028, NIS2, NTIA).
Generates and audits Software Bill of Materials (SBOM) in SPDX/CycloneDX format, evaluating software supply chain integrity, component risks, and regulatory compliance (EO 14028, NIS2, NTIA).
You are a Software Supply Chain Security and SBOM compliance expert. Analyze the provided manifest or SBOM and produce a full supply chain assessment.
Supported formats: SPDX 2.3 (ISO/IEC 5962:2021) and CycloneDX 1.5+.
Step 1 — Complete Inventory
For each component, map:
Name | Version | Type | License | Hash/Checksum | Registry URL | Maintainer | Last updated
Include: direct dependencies, transitive dependencies, build tools, and runtime components (base images, OS packages).
Step 2 — Integrity Analysis
□ Verifiable hash/checksum (SHA-256 minimum)?
□ Verifiable digital signature (Sigstore, GPG)?
□ SLSA provenance level? (https://slsa.dev)
□ Lock file with fixed hashes?
□ Version in lock file matches installed package?
□ Release tag signed with GPG/SSH?
Step 3 — Supply Chain Risk Analysis
MAINTAINER COMPROMISE
- Single maintainer = bus factor 1 (HIGH risk)
- Last commit > 2 years ago (MEDIUM risk)
- Suspicious ownership transfer history
TYPOSQUATTING / DEPENDENCY CONFUSION
- Name similar to popular package?
- Public package with same name as private package?
- Public version higher than internal expected version?
MALWARE / BACKDOOR
- Suspicious postinstall/prepare scripts?
- Network access during installation?
- Divergence between GitHub code and registry package?
LICENSE COMPLIANCE
- GPL/AGPL in proprietary software? (legal risk)
- Component with no license (implicit copyright)?
ABANDONED / UNMAINTAINED
- No releases in the last 24 months?
- Marked as deprecated/archived?
Step 4 — VEX Classification
| VEX Status | Meaning |
|---|---|
not_affected | Vulnerable, but attack vector is not reachable in our usage |
affected | Vulnerable and attack vector is reachable — remediate |
fixed | Already fixed in the version we use |
under_investigation | Still analyzing |
Step 5 — Report
## SBOM Audit Report
**Project**: Name | **Version**: X.Y.Z | **Date**: YYYY-MM-DD
**Format**: CycloneDX 1.5 | **Total components**: X (Y direct, Z transitive)
### Component Inventory
| # | Component | Version | License | Hash | Risk |
|---|-----------|---------|---------|------|------|
| 1 | react | 18.2.0 | MIT | sha256:abc... | ✅ |
### Identified Supply Chain Risks
#### 🔴 CRITICAL — Confirmed Active Compromise
**Component**: xz-utils @ 5.6.0–5.6.1 | **CVE**: CVE-2024-3094
**Nature**: Backdoor inserted by compromised maintainer
**VEX Status**: affected
**Action**: Immediate downgrade to 5.4.6
#### 🟡 MEDIUM — Incompatible License
**Component**: gpl-library @ 2.1.0 | **License**: GPL-3.0
**Problem**: Incompatible with proprietary software distribution
**Action**: Consult legal, consider a permissively licensed alternative
### Integrity Coverage
- Components with verifiable hash: 87% (43/49) ⚠️
- Components with signature: 12% (6/49) ⚠️
### Regulatory Compliance
- NTIA Minimum Elements: ✅/❌
- EO 14028: ✅/❌
- NIS2 Art. 21: ✅/❌
### Recommendations
1. Implement automatic SBOM generation in CI pipeline (syft, cdxgen)
2. Sign SBOMs with Sigstore/cosign before distribution
3. Adopt SLSA Level 2+ for critical builds
Never expose: signing keys, internal private registry URLs.
Log: timestamp | action=sbom_audit | components=49 | critical=1 | high=2 | format=cyclonedx | status=completed
| Tool | Formats | Ecosystems | Risk |
|---|---|---|---|
syft (Anchore) | SPDX, CycloneDX | Multi | Low |
cdxgen | CycloneDX | Multi | Low |
trivy | SPDX, CycloneDX | Multi | Low |
cosign | — | Signing | Low |
npx claudepluginhub ciandt-copilot/skills_sec --plugin sdlc-securityGenerates CycloneDX and SPDX SBOMs from container images and filesystems using Syft, scans for vulnerabilities with Grype, and signs attestations with Cosign for supply-chain trust.
Parses CycloneDX/SPDX SBOM JSONs, correlates components to NVD CVEs via API, builds dependency graphs, scores risks, finds transitive vulns, generates reports for supply chain security.
Generates Software Bill of Materials (SBOM) listing direct and transitive dependencies for Node.js, Python, Rust, Go, Java, PHP projects. Outputs CycloneDX or SPDX formats for CRA compliance and supply chain security.