OpenVEX
OpenVEX is a minimal, embeddable JSON-LD implementation of Vulnerability Exploitability eXchange (VEX), published by the OpenVEX community (an OpenSSF project) in the openvex/spec repository. With this skill the agent writes and reads OpenVEX documents whose statements tell scanners and people whether a product is affected by a vulnerability, and embeds them in attestations.
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.
The OpenVEX spec has no section numbers, so citations name the file and the heading: "Spec" is OPENVEX-SPEC.md, "Attesting" is ATTESTING.md, "Schema" is openvex_json_schema.json, and "CISA" is the Minimum Requirements for VEX (which does have numbers).
Inputs (fill in, or ask before starting)
- Role: producer (author of VEX for software you ship or assess), consumer (scanner, policy engine or dashboard that reads VEX), or attester (wraps VEX in an in-toto attestation).
- Target version: OpenVEX v0.2.0 (default, the only line to author). OpenVEX v0.0.2 is legacy: read it and upgrade from it, never author it. No preview exists. See
references/versions.md. - Revision: the pinned revision in Sources, unless the user names another.
- Sources: when refreshing this skill or when a rule looks out of date, re-read every URL in Sources first, check the
openvex/specreleases page for a new tag andmainfor a new spec heading orns/context directory, and update the pins. - Products: the software the statements are about, with a purl (preferred), CPE or IRI for each, and hashes when known.
- Vulnerabilities: the identifier for each (CVE, GHSA, OSV or an internal id understood across the supply chain), plus aliases.
- Delivery: a standalone
.jsondocument, an in-toto attestation predicate, or VEX data inside another format (CSAF, CycloneDX).
Invariants
- Required document fields.
@context,@id,author,timestamp,versionandstatementsare required; files are UTF-8 (Spec, Document Struct Fields; Spec, Document). The schema forbids any other top-level field (Schema). - Versioned context.
@contextishttps://openvex.dev/ns/v0.2.0; an unversionedhttps://openvex.dev/nsmeans v0.0.1 (Spec, Document Struct Fields). @idis an IRI (Spec, Document Struct Fields; Spec, VEX Extensions). The sharedhttps://openvex.dev/docs/public/...and.../example/...namespaces are for demos and docs only (Spec, Public IRI Namespaces).authoris an individual or organization, not a tool; tools go intooling. Its identity SHOULD be cryptographically bound to the signature (Spec, Document Struct Fields; CISA § 2.2.3).versiongoes up on every content change, including any change to a statement (Spec, Document Struct Fields). It is an integer of at least 1 (Schema).- Every statement is complete. It has one
vulnerabilitywith aname, astatus, at least one product and a timestamp, where product and timestamp may be inherited from the document or the encapsulating format. A document with incomplete statements is not valid (Spec, Data Inheritance). statusis one ofnot_affected,affected,fixed,under_investigation(Spec, Status Labels; Schema).not_affectedneeds ajustificationor animpact_statement. Issuers SHOULD use the machine-readablejustificationand MAY add animpact_statement; a lone impact statement is highly discouraged because it breaks automation (Spec, Note onjustificationandimpact_statement).affectedneeds anaction_statementthat SHOULD say how to remediate or mitigate (Spec, Statement Fields; Schema).- Products are addressable. Each product and subcomponent has an
@idoridentifiers(Schema); purls are recommended (Spec, Product Data Structure).identifierskeys arepurl,cpe22,cpe23(Spec, Appendix B);hasheskeys come from Appendix A. - One status per statement for all its products. If the status differs for some products, write another statement (CISA § 2.7.1, § 3.1.2).
- Updates keep old statements intact. When the document
timestampchanges, statements that inherited the old one get it written in explicitly (Spec, Updating Statements with Inherited Data).
Workflow
- Pick the version. Author OpenVEX v0.2.0. If the input has
"@context": "https://openvex.dev/ns", a stringvulnerabilityor stringproducts, it is v0.0.2 or older: plan the upgrade (step 8). ->references/versions.md✓@contextishttps://openvex.dev/ns/v0.2.0. - Identify products and vulnerabilities. Give each product an
@id(a purl works) plusidentifiersandhashes; list subcomponents (the dependency where the vulnerability lives) inside the product. Give each vulnerability anameandaliases. ->references/document-and-statements.md✓ Every product and subcomponent has@idoridentifiers, and identifiers match the SBOM. - Choose status and justification. Pick the status from the evidence; for
not_affectedpick the narrowest justification, foraffectedwrite the action. ->references/status-and-justifications.md✓ Everynot_affectedhas a justification (or at least an impact statement), and everyaffectedhas anaction_statement. - Assemble the document. Fill the document fields, group statements that share status and vulnerability, and let statements inherit the document
timestampwhen issued together. ->references/document-and-statements.md✓ The document validates against the JSON Schema. - Update or merge. For a new finding, add a statement (newer statements override older ones for the same product and vulnerability), bump
version, setlast_updated, and pin inherited timestamps on untouched statements. ->references/producing-and-consuming.md✓ No earlier statement changed meaning or timestamp. - Embed or sign (when attesting). Move products into the attestation
subject, or repeat them there; sign with the identity named inauthor. ->references/producing-and-consuming.md✓ Every product left in a statement also appears as a subject. - Consume. Resolve inheritance, match statements to findings by product identifier and vulnerability name or alias, order by timestamp, and apply the latest status.
->
references/producing-and-consuming.md✓ Statements whose products do not include the attested subject are ignored. - Upgrade (only when asked). Follow the v0.0.2 to v0.2.0 steps.
->
references/versions.md✓ The upgraded document validates against the schema and says the same thing about the same products.
Verify before done
- The document validates against
openvex_json_schema.json(no extra fields, integerversion≥ 1,statementsnot empty). -
@contextishttps://openvex.dev/ns/v0.2.0and@idis an IRI (not underpublicorexampleoutside demos and docs). - Every statement has a vulnerability
name, a status, and a product and timestamp, either set or inherited (Spec, Data Inheritance). -
not_affectedstatements carry ajustificationfrom the five labels;affectedstatements carry anaction_statement. -
identifiersuses onlypurl,cpe22,cpe23;hashesuses only Appendix A names. - After an update,
versionis higher, and statements that inherited the old document timestamp now carry it explicitly. - In an attestation, every product in a statement is also a subject, and the signer matches
authorwhere possible.
Reference index
references/versions.md: OpenVEX v0.2.0 and v0.0.2, what changed, the upgrade steps, and why there is no preview. Load for steps 1 and 8.references/document-and-statements.md: every document, statement, product, component and vulnerability field, inheritance, JSON-LD, the hash and identifier tables, a full example, and schema-versus-text gaps. Load for steps 2 and 4.references/status-and-justifications.md: the four statuses, the five justifications, impact, action and status notes, and how to choose. Load for step 3.references/producing-and-consuming.md: updating and merging documents, embedding in in-toto attestations, signing, consumer matching, the CISA minimum elements mapping, and common mistakes. Load for steps 5 to 7.
Related skills
purlfor building product identifiers:npx skills add ScaleDockHQ/scaledock-skills --skill purl.in-totofor the attestation Statement and envelope that carry OpenVEX as a predicate:npx skills add ScaleDockHQ/scaledock-skills --skill in-toto.csaffor the CSAF VEX profile, an encapsulating format with product trees:npx skills add ScaleDockHQ/scaledock-skills --skill csaf.cyclonedxfor CycloneDX VEX and the SBOMs products point into:npx skills add ScaleDockHQ/scaledock-skills --skill cyclonedx.osvfor OSV vulnerability ids and aliases:npx skills add ScaleDockHQ/scaledock-skills --skill osv.
Sources
Status uses the publishing body's own maturity term. Checked is the date the source was last read.
- OpenVEX Specification (OPENVEX-SPEC.md): draft specification, v0.2.0 text at commit 61b5f88 (2026-09-09), checked 2026-10-05.
- OpenVEX spec releases: released, v0.2.0 is latest (2023-08-22), checked 2026-10-05.
- OpenVEX Specification v0.0.2: released, superseded by v0.2.0, tag v0.0.2 (2023-07-18), checked 2026-10-05.
- Attesting OpenVEX Documents (ATTESTING.md): draft, commit 61b5f88 (2026-09-09), checked 2026-10-05.
- OpenVEX JSON Schema: JSON Schema 2020-12 for v0.2.0, commit 61b5f88, checked 2026-10-05.
- OpenVEX JSON-LD context v0.2.0: context for
https://openvex.dev/ns/v0.2.0, commit 61b5f88, checked 2026-10-05. - openvex.dev: project site, redirects to the
openvex/specrepository, checked 2026-10-05. - OPEV-0014: Expansion of the VEX Product Field: accepted enhancement, merged into v0.2.0, checked 2026-10-05.
- OPEV-0015: Expansion of the Vulnerability Field: accepted enhancement, merged into v0.2.0, checked 2026-10-05.
- CISA Minimum Requirements for VEX: published by CISA (VEX Working Group), requirements version 1.0.0 (April 2023), checked 2026-10-05.