CycloneDX
CycloneDX is the OWASP full-stack Bill of Materials standard, published by Ecma International TC54 as ECMA-424. One object model covers software, services, hardware, cryptographic assets, ML models, build processes, vulnerabilities and attestations. With this skill the agent produces, validates, signs and consumes CycloneDX BOMs, and upgrades older ones.
Follow the workflow below step by step. Every rule here comes from a source in Sources, with the section it cites. When a rule and the pinned source disagree, the source wins; when the source has a newer revision than the pin, follow the refresh steps.
Citations: "ECMA-424 §" is the 2nd edition (CycloneDX v1.7). "Schema x" is the definition or property x in bom-1.7.schema.json at tag 1.7.2, which the standard names as its reference implementation (ECMA-424 § 6, Table 1 note).
Inputs (fill in, or ask before starting)
- Role: producer (generates or enriches BOMs), consumer (ingests, analyses or gates on them), or both (ECMA-424 § 2).
- Target version: CycloneDX 1.7 (default, schema 1.7.2). CycloneDX 1.6 is supported for consumers that cannot read 1.7. CycloneDX 1.5, CycloneDX 1.4 and CycloneDX 1.0-1.3 are legacy: read them and upgrade from them, never author them. The CycloneDX 2.0 draft is a preview (posture: track): never emit it. See
references/versions.md. - Revision: the pinned revision in Sources, unless the user names another.
- BOM type: SBOM, SaaSBOM, HBOM, CBOM, ML-BOM, OBOM, MBOM, VDR, VEX or CDXA, and the lifecycle phase the data comes from. See
references/bom-types.md. - Serialization: JSON (default; the reference implementation), XML or Protobuf.
- Signing: none, or JSF with a named key and algorithm.
- Sources: when refreshing this skill or when a rule looks out of date, re-read every URL in Sources first, run
gh api repos/CycloneDX/specification/releasesfor a newer patch or minor, check the ECMA-424 page for a new edition, check the2.0-devbranch, and update the pins.
Invariants
- Root identity.
bomFormatis"CycloneDX"andspecVersionis the version string, both required in JSON (ECMA-424 § 6.1, § 6.2; schemarequired). XML carries the version in the namespacehttp://cyclonedx.org/schema/bom/1.7; Protobuf inspec_version(packagecyclonedx.v1_7). - Serial number and version. Every generated BOM SHOULD get a new
serialNumber, even if the content did not change; it matches^urn:uuid:plus a lowercase RFC 4122 UUID. Each modification SHOULD incrementversion(integer, minimum 1, default 1); a consumer with several BOMs of one serial number SHOULD use the highest version (ECMA-424 § 6.3, § 6.4). bom-refis unique. Everybom-refis unique within the BOM and SHOULD NOT start withurn:cdx:(schemarefType). The XSD enforces uniqueness withxs:unique; the JSON Schema does not, so check it yourself.- References resolve.
dependencies[].refanddependsOnpoint to abom-refin the same BOM (schemarefLinkType).compositions[].assemblies,vulnerabilities[].affects[].refandannotations[].subjectsmay also hold a BOM-Link elementurn:cdx:<serial>/<version>#<bom-ref>(schemabomLinkElementType). - Empty dependencies are explicit. A component or service with no dependencies is declared as an entry with no
dependsOn. A component missing from the graph has unknown dependencies, not none (schemadependency; ECMA-424 § 6.9). - Components.
typeandnameare required.versionandversionRangeare mutually exclusive, andversionRange(vers syntax) is only allowed whenisExternalistrue(schemacomponent,allOf). - Identifiers are valid. A
purlmust conform to the purl specification; acpemust conform to CPE 2.2 or 2.3; aswidneedstagIdandname(schemacomponent.purl,component.cpe,swid). - Licenses use SPDX.
license.idis an SPDX license ID andexpressiona valid SPDX license expression (schemalicense,licenseChoice). 1.7 allows several expressions mixed with licenses; 1.6 allows either a list of licenses or exactly one expression. - VEX analysis is justified.
analysis.stateis one ofresolved,resolved_with_pedigree,exploitable,in_triage,false_positive,not_affected; everynot_affectedSHOULD carry ajustification, andexploitableis strongly encouraged to carry aresponse(schemaimpactAnalysisState,vulnerability.analysis). - Producers stay conformant. A producer's BOMs conform to the standard, and enriching or modifying a BOM introduces no non-conforming content. A consumer does not raise an error on a conforming BOM, SHOULD warn on a non-conforming one, and need not process every field (ECMA-424 § 2).
- No deprecated fields in new BOMs. Do not emit the legacy
toolsarray,component.author,metadata.manufacture,component.modified, a single-objectevidence.identity, or the CBOM fields deprecated in 1.7 (schemadeprecatedmarks; 1.6 and 1.7 release notes). - JSF signatures cover the canonical form. A
signatureis a JSF 0.82 object; the signed data is the JCS (RFC 8785) canonicalization of the enclosing object withvalueremoved andexcludesproperties left out (JSF § 6, § 7; schemasignature). Only the JSON schema definessignature.
Workflow
- Pick the version. Use CycloneDX 1.7 unless a named consumer reads only 1.6.
->
references/versions.md✓specVersion(or the XML namespace) is1.7or1.6, never a legacy or preview line. - Pick the BOM type and lifecycle. Decide which inventory the BOM holds and set
metadata.lifecyclesto the phase the data was captured in (schemametadata.lifecycles). ->references/bom-types.md✓ The BOM type maps to the root elements it needs, and the lifecycle phase is recorded. - Write the root and metadata. Set
bomFormat,specVersion, a freshserialNumber,version,metadata.timestamp,metadata.tools(object withcomponents/services),metadata.component(the subject) andsupplierormanufacturer. ->references/object-model.md✓ Invariants 1, 2 and 11 hold. - Inventory components and identify them. Add every first- and third-party component with
type,name,version,bom-ref,purl(or CPE, SWID, OmniBOR, SWHID),hashes,licensesandscope. ->references/identifiers-and-links.md✓ Invariants 3, 6, 7 and 8 hold; every component has at least one identifier a consumer can match. - Add services, dependencies and compositions. Describe services and data flows, build the dependency graph from
metadata.componentdown, and state completeness withcompositions[].aggregate. ->references/object-model.md✓ Invariants 4 and 5 hold; every composition has anaggregate, andcompleteis used only when nothing is missing. - Add vulnerabilities or VEX (when the BOM type needs them). Record
id,source,ratings,affectsandanalysis, inline or in a separate BOM that links with BOM-Link. ->references/vulnerabilities-and-vex.md✓ Invariant 9 holds, and everyaffects[].refresolves. - Add provenance and assurance (optional). Formulation for how it was built, annotations, declarations with definitions for attestations, and citations for who supplied which field.
->
references/object-model.md✓ Everysubjects,assessor,requirement,attributedToandprocessreference resolves. - Serialize, validate and sign. Write
bom.jsonor*.cdx.json(or XML or Protobuf), validate against the 1.7 schema, run the semantic checks the schema cannot do, then sign. ->references/validation-and-signing.md✓ Schema validation passes with the SPDX, JSF and cryptography-defs schemas loaded, and the signature verifies. - Consume (consumer role). Detect format and version, validate, pick the highest
versionper serial number, follow BOM-Links, and treat absent dependency entries as unknown. ->references/validation-and-signing.md✓ A conforming BOM never raises an error; a non-conforming one raises a warning or error. - Upgrade (only when asked). Follow the upgrade section for each step from the source version to the target.
->
references/versions.md✓ The upgraded BOM validates against the target schema and describes the same inventory.
Verify before done
- The BOM validates against the target
bom-1.x.schema.json(or XSD, or.proto) at the pinned patch. -
serialNumberis a lowercaseurn:uuid:UUID andversionis an integer of at least 1 (ECMA-424 § 6.3, § 6.4). - Every
bom-refis unique, and every reference resolves to abom-refor a well-formed BOM-Link. - Every component in
componentsappears independencies, with an empty entry when it has none. - No component has both
versionandversionRange;versionRangeappears only withisExternal: true. - Every
purlparses, every license ID and expression is valid SPDX, and everynot_affectedanalysis has ajustification. - No deprecated field is emitted (invariant 11).
- A JSF signature, if present, verifies over the JCS canonical form.
- Nothing from the CycloneDX 2.0 draft (
specFormat,signatures,$schema2020-12) is emitted.
Reference index
references/versions.md: every line from 1.0 to 1.7 and the 2.0 draft, with ECMA-424 editions, what changed, and upgrade checklists. Load for steps 1 and 10.references/bom-types.md: SBOM, SaaSBOM, HBOM, CBOM, ML-BOM, OBOM, MBOM, BOV, VDR, VEX and CDXA, the elements each uses, and lifecycle phases. Load for step 2.references/object-model.md: root, metadata, components, services, dependencies, compositions, formulation, annotations, declarations, definitions, citations and properties, with a minimal example. Load for steps 3, 5 and 7.references/identifiers-and-links.md: purl, CPE, SWID, OmniBOR, SWHID, hashes,bom-ref, BOM-Link, external references, media types and file names. Load for step 4.references/vulnerabilities-and-vex.md: the vulnerability object, ratings, affects, analysis states, justifications and responses, and VEX and VDR patterns. Load for step 6.references/validation-and-signing.md: schema validation per format, semantic checks, JSF signing and verification, CI production and consumption. Load for steps 8 and 9.
Related skills
spdxfor the other SBOM format and SPDX license expressions:npx skills add ScaleDockHQ/scaledock-skills --skill spdx.purlfor building and parsing Package URLs:npx skills add ScaleDockHQ/scaledock-skills --skill purl.openvexfor VEX statements in the OpenVEX format:npx skills add ScaleDockHQ/scaledock-skills --skill openvex.csaffor security advisories and CSAF VEX profiles:npx skills add ScaleDockHQ/scaledock-skills --skill csaf.eu-crafor Cyber Resilience Act SBOM and vulnerability-handling obligations:npx skills add ScaleDockHQ/scaledock-skills --skill eu-cra.slsafor build provenance and in-toto attestations that can carry a CycloneDX BOM:npx skills add ScaleDockHQ/scaledock-skills --skill slsa.
Sources
Status uses the publishing body's own maturity term. Checked is the date the source was last read.
- ECMA-424: CycloneDX Bill of materials specification: Ecma Standard, 2nd edition December 2025 (CycloneDX v1.7); 1st edition June 2024 archived, checked 2026-10-05.
- ECMA-424 2nd edition (PDF): Ecma Standard, 2nd edition December 2025, defines CycloneDX v1.7, checked 2026-10-05.
- ECMA-424 1st edition (PDF): Ecma Standard (superseded edition), 1st edition June 2024, defines CycloneDX v1.6, checked 2026-10-05.
- CycloneDX Specification Overview: Released, current version 1.7 (2025-10-21), checked 2026-10-05.
- CycloneDX v1.7 JSON Reference: Released, 1.7, checked 2026-10-05.
- CycloneDX specification releases: Released, latest 1.7.2 (2026-09-17); 1.6.2 and 1.5.1 (2026-06-02), checked 2026-10-05.
- CycloneDX 1.7 JSON Schema: Released, tag 1.7.2, checked 2026-10-05.
- CycloneDX 1.7 XML Schema: Released, tag 1.7.2, checked 2026-10-05.
- CycloneDX 1.7 Protobuf schema: Released, tag 1.7.2, checked 2026-10-05.
- CycloneDX 1.6 JSON Schema: Released, tag 1.6.2, checked 2026-10-05.
- CycloneDX schema directory (1.0 to 1.7): Released, tag 1.7.2 (includes 1.5.1, 1.4, 1.3, 1.2 JSON and 1.0, 1.1 XSD), checked 2026-10-05.
- CycloneDX specification README: Released, tag 1.7.2 (media types, file names, release history), checked 2026-10-05.
- CycloneDX BOM-Link: Capability page, checked 2026-10-05.
- CycloneDX VEX: Capability page, checked 2026-10-05.
- CycloneDX VDR: Capability page, checked 2026-10-05.
- JSF: JSON Signature Format: Specification, version 0.82 (2020-10-10), as referenced by
jsf-0.82.schema.json, checked 2026-10-05. - CycloneDX CLI: Released, v0.33.1 (2026-07-23), checked 2026-10-05.
- CycloneDX 2.0 schemas (development branch): Draft,
2.0-devat 7a3ab08 (2026-10-05); Draft posture: track, checked 2026-10-05.