Git-Native VEX · Cryptographic Buyer Assurance

.cra-vex.json v2, OpenVEX v0.2.0 & Ed25519 Verification Guide

Scaffold Git-native .cra-vex.json v2 suppression and triage files, publish Ed25519-signed OpenVEX v0.2.0 attestations at /.well-known/vex.json, and verify signatures offline via /.well-known/jwks.json.

1. Zero-Auth CLI Quickstart (@craswitch/cli)

Zero Login · Auto-JSON
# 1. Non-interactively scaffold .cra-vex.json v2 in your repo root
npx -y @craswitch/cli init-vex \
  --repo acme-eu/payments-sdk \
  --contact security@acme.eu \
  --csirt "BSI-DE (CERT-Bund)" \
  --member-states DE,FR,NL \
  --json

# 2. Verify a live Ed25519-signed /.well-known/vex.json document
npx -y @craswitch/cli verify-vex "https://craswitch.dev/.well-known/vex.json?repo=acme-eu/payments-sdk" --json

2. GitHub Action (cra-switch-action@v1)

Free Public Repos
# Automatically evaluate .cra-vex.json v2 suppressions & triageEvents in CI
      - uses: theperipetycompany/cra-switch-action@v1
        with:
          fail-on-confirmed: 'true'
          out-dir: '.cra-switch'

Canonical .cra-vex.json v2 Schema (Suppressions + Triage Audit Events)

{
  "version": "2",
  "securityContactEmail": "security@acme.eu",
  "coordinatorCsirt": "BSI-DE (CERT-Bund)",
  "euMemberStatesDistributed": ["DE", "FR", "NL"],
  "suppressions": [
    {
      "vulnerabilityId": "CVE-2023-38545",
      "purl": "pkg:npm/curl-compat@8.3.0",
      "status": "not_affected",
      "justification": "vulnerable_code_not_in_execute_path",
      "impactStatement": "SOCKS5 proxy transport disabled at compile time.",
      "sourcePath": ".cra-vex.json"
    }
  ],
  "triageEvents": [
    {
      "vulnerabilityId": "CVE-2023-38545",
      "purl": "pkg:npm/curl-compat@8.3.0",
      "detectedAt": "2026-10-01T08:00:00Z",
      "triagedAt": "2026-10-01T09:15:00Z",
      "determination": "not_affected",
      "triagedBy": "security-eng@acme.eu",
      "note": "Verified unreachable in production build."
    }
  ]
}

Verify Live /.well-known/vex.json + /.well-known/jwks.json via curl

# Fetch Ed25519-signed OpenVEX v0.2.0 attestation (X-Ed25519-Public-Key header included)
curl -i "https://craswitch.dev/.well-known/vex.json?repo=acme-eu/payments-sdk"

# Fetch canonical public Ed25519 JWKS for offline / procurement-bot verification
curl -sS "https://craswitch.dev/.well-known/jwks.json"

OpenVEX v0.2.0 Status Mapping & Cryptographic Endpoints

CRA-Switch Triage StateOpenVEX StatusMeaning
cleanno open affected statements0 KEV/EUVD matches in production SBOM components
not_affectednot_affected + justificationSuppressed in .cra-vex.json with auditable justification & impact statement
triage_requiredunder_investigationRaw feed match awaiting reachability triage (4h SLA; statutory 24h clock NOT started)
confirmed_exploitedaffectedMaintainer-confirmed exploitation (24h/72h/14d ENISA Art. 14 statutory clock active)
/.well-known/vex.jsonEd25519 canonical JSONDeterministic sorted-key canonical payload signed with Ed25519
/.well-known/jwks.jsonOKP / Ed25519 JWK SetPublic key discovery endpoint matching signature.keyId (kid)

Key EU CRA Article 14 Guardrails

  • 01Validate .cra-vex.json v1/v2 locally in your browser at /tools/vex-validator and verify Ed25519 signatures via WebCrypto at /tools/vex-verifier.
  • 02CLI verify-vex exits 0 on valid Ed25519 signatures and exits 10 on signature/key mismatch or tampered canonical payloads.
  • 03init-vex is strictly non-interactive and exits 5 (conflict) if .cra-vex.json already exists without --force or --yes.