CRAForge Knowledge Base · SBOM Conversion
Lossless CycloneDX ↔ SPDX 3.0.1 / 2.3 SBOM Conversion
Enterprise procurement portals often demand SPDX 3.0.1 while CI toolchains emit CycloneDX 1.6. Preserve hashes, suppliers, licences, and graph topology cleanly.
Actionable Engineering Checklist
- Map CycloneDX externalReferences[type="distribution"] to SPDX 3.0.1 software_File + hasDistributionArtifact.
- Preserve SHA-256 and SHA-512 hashes, Package URLs (PURL), CPEs, and concluded/declared SPDX licences.
- Strip embedded vulnerability elements automatically when targeting BSI-compliant static SBOM output.
- Validate exported JSON against official CycloneDX 1.6 and SPDX 3.0.1 JSON Schemas before shipping.
Regulatory & Technical Specification Matrix
| Compliance Dimension | Statutory Specification & CRAForge Implementation |
|---|---|
| Legal & Standard Basis | CycloneDX 1.5 / 1.6 Schema · SPDX 2.3 & SPDX 3.0.1 JSON-LD · BSI TR-03183-2 §4 |
| Accepted Formats | CycloneDX 1.5 / 1.6 (JSON, XML) · SPDX 2.3 / 3.0.1 (JSON-LD) · package-lock.json · Cargo.lock · requirements.txt · poetry.lock · go.sum |
| Vulnerability Feeds | OSV.dev + ENISA EUVD (exploited) + CISA KEV — Article 14 24h watchdog triggers regardless of CVSS score |
| Key CRA Deadlines | Article 14 reporting in force since 2026-09-11 · Full CE / Annex VII compliance mandatory 2027-12-11 |
| CI/CD Gate Command | npx craforge convert ./app.cdx.json --to spdx-3.0.1-jsonld -o ./app.spdx3.json |
Automation & CLI Command
$ npx craforge convert ./app.cdx.json --to spdx-3.0.1-jsonld -o ./app.spdx3.json
CRAForge converts across 6 target encodings (CycloneDX 1.6/1.5 JSON, CycloneDX 1.6 XML, SPDX 2.3 JSON/Tag-Value, SPDX 3.0.1 JSON-LD) in pure TypeScript.
Frequently Asked Questions
Which format is preferred under EU CRA and BSI TR-03183-2?
Both CycloneDX >= 1.6 (JSON/XML) and SPDX >= 3.0.1 (JSON-LD) are explicitly recognized by BSI TR-03183-2 v2.1.0.
Are dependency edges preserved during conversion?
Yes. CRAForge translates CycloneDX dependencies[] into SPDX DESCRIBES / DEPENDS_ON relationships losslessly.
Related EU CRA Engineering Guides
BSI Standard
VEX Standards
Validate your SBOM against BSI TR-03183-2 & ENISA EUVD now
Zero signup · Zero server retention in EU memory · Instant clause-by-clause diff.
Open Free Validator
Zero signup · Zero server retention in EU memory · Instant clause-by-clause diff.