Security skill · Fix
Draft a CycloneDX Cryptography Bill of Materials.
Draft a starter Cryptography Bill of Materials (CBOM) in CycloneDX format from a completed pqc-crypto-inventory-review table, mapping each quantum-vulnerable public-key use to CycloneDX cryptographic-asset components. Use when you need a machine-readable CBOM for PQC migration planning or vendor exchange.
Facts
- Category
- Fix
- License
- MIT
- Tags
- Vulnerability management
- Code review
- Misconfiguration
- Version
- 1.0.0
- Last updated
- 2026-12-03
- Folder
pqc-cbom-draft/- MCP resource
skill://pqc-cbom-draft/SKILL.md- Files
- SKILL.md
- LICENSE
- references/inventory-to-cyclonedx.md
- references/cbom-starter-template.json
Original Saasment content. Saasment is in early access; this skill does not require joining it.
Install via MCP or as files
Connect your client to https://www.saasment.com/api/mcp (see client setup) and call get_skill:
{
"name": "get_skill",
"arguments": {
"slug": "pqc-cbom-draft"
}
}Or download the .zip and unpack it into your agent's skills directory:
Terminal, from your project root (user-level: ~/.cursor/skills)
mkdir -p .cursor/skills
curl -fsSL https://www.saasment.com/ai-security/skills/pqc-cbom-draft/download.zip -o /tmp/pqc-cbom-draft.zip
unzip -o /tmp/pqc-cbom-draft.zip -d .cursor/skills
# result: .cursor/skills/pqc-cbom-draft/SKILL.mdReview SKILL.md before enabling a skill. Skills are instructions your agent will follow.
SKILL.md
--- name: pqc-cbom-draft description: Draft a starter Cryptography Bill of Materials (CBOM) in CycloneDX format from a completed pqc-crypto-inventory-review table, mapping each quantum-vulnerable public-key use to CycloneDX cryptographic-asset components. Use when you need a machine-readable CBOM for PQC migration planning or vendor exchange. license: MIT metadata: author: Saasment version: "1.0.0" category: fix tags: "vulnerability-management, code-review, misconfiguration" --- # Draft a CycloneDX Cryptography Bill of Materials (fix) License: MIT. Copyright (c) 2026 Saasment. Source: https://www.saasment.com/ai-security/skills/pqc-cbom-draft A Cryptography Bill of Materials (CBOM) is a structured inventory of cryptographic assets. CycloneDX defines CBOM as part of its Bill of Materials specification (ECMA-424; CBOM support from CycloneDX v1.6 onward, with current docs at v1.7). This skill turns the CBOM-style table from `pqc-crypto-inventory-review` into a starter CycloneDX JSON document. It does not re-run discovery; run the inventory skill first. ## When to use - Inventory rows exist and you need a CycloneDX JSON CBOM for tooling, procurement, or migration tracking. - A customer or regulator asks for a cryptographic inventory in a standard machine-readable format. - You are preparing inputs for `pqc-harvest-now-decrypt-later-prioritization` or `pqc-migration-plan` and want a durable artifact. ## Safe by default - Export only systems you are authorized to inventory. Do not embed private keys, passphrases, or raw certificate private material. - Prefer key identifiers, certificate serials, and location paths over secrets. - Mark generated documents as drafts until an owner validates them against live systems. - Cite the CycloneDX schema version you emit; do not invent component types outside the published schema. ## CycloneDX CBOM essentials (cite the spec) From the CycloneDX CBOM capability and JSON reference: - Top-level fields include `bomFormat` (`"CycloneDX"`), `specVersion` (for example `"1.7"`), `serialNumber` (a URN UUID), and `version`. - Cryptographic assets use component `type` `"cryptographic-asset"` with `cryptoProperties`. - `cryptoProperties.assetType` covers values such as `algorithm`, `certificate`, `protocol`, and `related-crypto-material`. - Algorithm properties can record `primitive`, `parameterSetIdentifier`, `cryptoFunctions`, `classicalSecurityLevel`, and `nistQuantumSecurityLevel` (0–6; 0 means no NIST PQC category is met). Field mapping from the inventory table is in `references/inventory-to-cyclonedx.md`. A minimal starter document is in `references/cbom-starter-template.json`. ## Procedure 1. **Confirm inventory input.** Require the filled CBOM-style inventory table produced by `pqc-crypto-inventory-review`. Reject empty or ownerless high-impact rows until they are completed. 2. **Choose CycloneDX version.** Prefer the current documented JSON schema (v1.7 at the time of writing). Record `specVersion` and the schema URL you validated against. 3. **Create document metadata.** Set `metadata.timestamp`, and a root `metadata.component` naming the estate or application under review (not each crypto use). 4. **Map each inventory row to a `cryptographic-asset` component.** Follow `references/inventory-to-cyclonedx.md`. One inventory row becomes one component when the crypto use is distinct; merge only when algorithm, purpose, and location are identical. 5. **Flag quantum-vulnerable public-key uses.** For RSA, finite-field DH, ECDH/ECDSA, and long-lived Ed25519 trust uses, set `nistQuantumSecurityLevel` to `0` unless you are documenting a NIST PQC algorithm (ML-KEM, ML-DSA, SLH-DSA) already in use. 6. **Add dependency links sparingly.** When a library implements an algorithm, relate them with CycloneDX dependency entries as described in the CBOM guide. Do not invent dependency types. 7. **Validate.** Run a CycloneDX-aware JSON Schema check against the official schema, or another validator the team already trusts. Fix schema errors before publishing. 8. **Hand off.** Attach the CBOM to prioritization (`pqc-harvest-now-decrypt-later-prioritization`) and migration (`pqc-migration-plan`). Keep the spreadsheet as the human-editable source of truth until automation replaces it. ## Verification - Every quantum-vulnerable inventory row appears as a `cryptographic-asset` (or is explicitly waived with owner and date). - No private key material appears in the JSON. - `bomFormat`, `specVersion`, and `serialNumber` are present and schema-valid. - Spot-check three components against the live file, host, or vendor record named in the inventory. - Re-validation after edits still passes the schema check. ## Reporting Deliver the CycloneDX JSON file, the schema version used, validation evidence, and a short count of components by `assetType` and by quantum-vulnerable vs PQC/hybrid. Link back to the inventory skill artifact. ## References - CycloneDX Cryptography Bill of Materials (CBOM): https://www.cyclonedx.org/capabilities/cbom/ - CycloneDX v1.7 JSON reference (cryptographic-asset / cryptoProperties): https://cyclonedx.org/docs/1.7/json/ - CycloneDX cryptographic algorithm use case (example CBOM JSON): https://cyclonedx.org/use-cases/cryptographic-algorithm/ - ECMA-424 CycloneDX Bill of materials specification: https://ecma-international.org/publications-and-standards/standards/ecma-424/ - NIST FIPS 203 (ML-KEM): https://csrc.nist.gov/pubs/fips/203/final - NIST FIPS 204 (ML-DSA): https://csrc.nist.gov/pubs/fips/204/final - NIST FIPS 205 (SLH-DSA): https://csrc.nist.gov/pubs/fips/205/final - Companion skills: `pqc-crypto-inventory-review`, `pqc-harvest-now-decrypt-later-prioritization`, `pqc-migration-plan`, `pqc-vendor-questionnaire`.
Helper files
LICENSE
MIT License Copyright (c) 2026 Saasment Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
references/inventory-to-cyclonedx.md
# Inventory table to CycloneDX CBOM mapping
License: MIT. Copyright (c) 2026 Saasment.
Map one `pqc-crypto-inventory-review` row to one CycloneDX `cryptographic-asset` unless the row is a pure organizational note (for example “vendor unanswered”) — those stay in the spreadsheet until crypto facts exist.
| Inventory column | CycloneDX location | Notes |
| --- | --- | --- |
| ID | `bom-ref` / component identity | Stable id such as `cbom-001`; reuse across revisions |
| Asset / system | `metadata.component` or parent service name | Also place in component description |
| Location | `externalReferences` or description | Repo path, hostname, vendor product — no secrets |
| Crypto use | `cryptoProperties.algorithmProperties.cryptoFunctions` and description | e.g. keygen, encapsulate, sign, verify |
| Algorithm / parameters | `name`, `parameterSetIdentifier` | e.g. name `RSA`, parameter `2048`; or `ML-KEM-768` |
| Protocol or format | `cryptoProperties.assetType` `protocol` component and/or description | TLS 1.3, JWS, SSH |
| Key / cert ID | `cryptoProperties` related material name / description | Serial, KMS alias, SSH key comment — never private key PEM |
| Data or trust lifetime | description or property | Feeds HNDL prioritization; not a CycloneDX required field |
| Quantum-vulnerable PKC? | `nistQuantumSecurityLevel` | Use `0` for classical public-key; use NIST category for ML-KEM/ML-DSA/SLH-DSA when known |
| Owner | annotation or organizational contact outside the BOM | Keep owners in the spreadsheet if the schema you use lacks a contact field |
| Evidence date | `metadata.timestamp` (document) + per-component description | Bump when the row is re-verified |
| Next action | omit from CBOM or note in description | Track actions in migration plan |
## Minimal algorithm component shape
```json
{
"type": "cryptographic-asset",
"bom-ref": "cbom-001",
"name": "X25519",
"description": "TLS key exchange on api.example.com (inventory CBOM-001)",
"cryptoProperties": {
"assetType": "algorithm",
"algorithmProperties": {
"primitive": "key-agree",
"parameterSetIdentifier": "X25519",
"cryptoFunctions": ["keygen", "encapsulate"],
"nistQuantumSecurityLevel": 0
}
}
}
```
Primitive and function enumerations must match the CycloneDX schema you validate against. If unsure, put the human-readable details in `description` and keep `cryptoProperties` to fields you can confirm in the schema docs.
## Official schema links
- CBOM overview: https://www.cyclonedx.org/capabilities/cbom/
- JSON reference: https://cyclonedx.org/docs/1.7/json/
- Example cryptographic-asset JSON: https://cyclonedx.org/use-cases/cryptographic-algorithm/
references/cbom-starter-template.json
{
"bomFormat": "CycloneDX",
"specVersion": "1.7",
"serialNumber": "urn:uuid:00000000-0000-4000-8000-000000000000",
"version": 1,
"metadata": {
"timestamp": "2026-12-03T00:00:00Z",
"component": {
"type": "application",
"name": "REPLACE-WITH-ESTATE-OR-APP-NAME",
"version": "draft"
},
"properties": [
{
"name": "saasment:source-skill",
"value": "pqc-crypto-inventory-review"
},
{
"name": "saasment:status",
"value": "draft"
}
]
},
"components": [
{
"type": "cryptographic-asset",
"bom-ref": "cbom-001",
"name": "X25519",
"description": "Example classical TLS key exchange — replace with inventory row CBOM-001",
"cryptoProperties": {
"assetType": "algorithm",
"algorithmProperties": {
"primitive": "key-agree",
"parameterSetIdentifier": "X25519",
"cryptoFunctions": ["keygen"],
"nistQuantumSecurityLevel": 0
}
}
}
]
}
Related
Related guides
Companion skills
- Post-quantum crypto inventory review
- Harvest-now, decrypt-later prioritization
- Post-quantum cryptography migration plan
- PQC vendor readiness questionnaire
Related library entries
Questions
How do I install the Draft a CycloneDX Cryptography Bill of Materials skill?
Download https://www.saasment.com/ai-security/skills/pqc-cbom-draft/download.zip and unzip it into your agent's skills directory (for example .cursor/skills, .claude/skills, .agents/skills, or .github/skills) so that pqc-cbom-draft/SKILL.md exists. Or connect to https://www.saasment.com/api/mcp and call the get_skill tool with the slug pqc-cbom-draft.
What license is the Draft a CycloneDX Cryptography Bill of Materials skill under?
It is original Saasment content under the MIT license, stated in the SKILL.md frontmatter and in the LICENSE file in the skill folder.
Is it safe to run this skill?
A skill is a set of instructions your agent follows, so read SKILL.md first. It tells the agent to test only systems you own or are authorized to test, to use test environments and synthetic data, and to avoid destructive probes. Downloading it does not run any code on your machine.
Next step.
Saasment is an early-access AI security platform that tests a risk and closes it. Connections, live tests, and automated fixes are not available yet.