[
  {
    "id": "WEAK-RSA-SMALL",
    "title": "RSA key under 2048 bits",
    "severity": "critical",
    "exposure": "weak-today",
    "category": "key",
    "why": "Breakable or deprecated with ordinary computers. Unrelated to quantum; fix it now.",
    "replace": "Generate a new key on the migration path; RSA 3072+ only as a stopgap.",
    "recipe": "migrate/certs.md",
    "refs": [
      "NIST SP 800-131A"
    ]
  },
  {
    "id": "WEAK-DH-SMALL",
    "title": "Diffie-Hellman group under 2048 bits",
    "severity": "critical",
    "exposure": "weak-today",
    "category": "config",
    "why": "Breakable or deprecated with ordinary computers. Unrelated to quantum; fix it now.",
    "replace": "Remove it; use the hybrid group (X25519MLKEM768) with X25519 as fallback.",
    "recipe": "migrate/tls.md",
    "refs": [
      "RFC 8270",
      "FIPS 203"
    ]
  },
  {
    "id": "WEAK-SIG-SHA1",
    "title": "SHA-1 / MD5 signature or DSA",
    "severity": "critical",
    "exposure": "weak-today",
    "category": "config",
    "why": "Breakable or deprecated with ordinary computers. Unrelated to quantum; fix it now.",
    "replace": "SHA-256+ signatures; Ed25519 or ECDSA now, ML-DSA when the stack has it.",
    "recipe": "migrate/certs.md",
    "refs": [
      "RFC 8758",
      "FIPS 204"
    ]
  },
  {
    "id": "WEAK-TLS-OLD",
    "title": "SSLv3, TLS 1.0 or TLS 1.1 enabled",
    "severity": "critical",
    "exposure": "weak-today",
    "category": "config",
    "why": "Breakable or deprecated with ordinary computers. Unrelated to quantum; fix it now.",
    "replace": "TLS 1.2 minimum, TLS 1.3 preferred.",
    "recipe": "migrate/tls.md",
    "refs": [
      "RFC 8996"
    ]
  },
  {
    "id": "OBS-PQ-BROKEN",
    "title": "Broken pre-standard post-quantum scheme (SIKE/SIDH/Rainbow)",
    "severity": "critical",
    "exposure": "weak-today",
    "category": "code",
    "why": "Breakable or deprecated with ordinary computers. Unrelated to quantum; fix it now.",
    "replace": "ML-KEM (FIPS 203) / ML-DSA (FIPS 204).",
    "recipe": "migrate/code.md",
    "refs": [
      "FIPS 203",
      "FIPS 204"
    ]
  },
  {
    "id": "KEX-TLS-PINNED",
    "title": "TLS key-exchange groups pinned to classic curves",
    "severity": "high",
    "exposure": "hndl",
    "category": "config",
    "why": "Traffic or files captured today can be stored and decrypted later if this algorithm falls. It is the only category where waiting costs you retroactively.",
    "replace": "Put X25519MLKEM768 first, keep X25519 and P-256 behind it; or delete the pin on a runtime whose default includes the hybrid.",
    "recipe": "migrate/tls.md",
    "refs": [
      "FIPS 203",
      "RFC 10024"
    ]
  },
  {
    "id": "KEX-TLS-NO13",
    "title": "TLS 1.3 disabled or capped at TLS 1.2",
    "severity": "high",
    "exposure": "hndl",
    "category": "config",
    "why": "Traffic or files captured today can be stored and decrypted later if this algorithm falls. It is the only category where waiting costs you retroactively.",
    "replace": "Enable TLS 1.3 (post-quantum groups exist only in TLS 1.3); keep 1.2 as fallback.",
    "recipe": "migrate/tls.md",
    "refs": [
      "RFC 8446"
    ]
  },
  {
    "id": "KEX-TLS-STATIC-RSA",
    "title": "Cipher list allows RSA key transport",
    "severity": "high",
    "exposure": "hndl",
    "category": "config",
    "why": "Traffic or files captured today can be stored and decrypted later if this algorithm falls. It is the only category where waiting costs you retroactively.",
    "replace": "Remove static-RSA suites; ECDHE suites only (static RSA also lacks forward secrecy).",
    "recipe": "migrate/tls.md",
    "refs": [
      "RFC 9325"
    ]
  },
  {
    "id": "KEX-SSH-PINNED",
    "title": "SSH key exchange pinned without a post-quantum method",
    "severity": "high",
    "exposure": "hndl",
    "category": "config",
    "why": "Traffic or files captured today can be stored and decrypted later if this algorithm falls. It is the only category where waiting costs you retroactively.",
    "replace": "Remove the line (OpenSSH 9.0+) or list mlkem768x25519-sha256,sntrup761x25519-sha512 first.",
    "recipe": "migrate/ssh.md",
    "refs": [
      "OpenSSH PQ"
    ]
  },
  {
    "id": "KEX-VPN-WG-NOPSK",
    "title": "WireGuard peer without a PresharedKey",
    "severity": "high",
    "exposure": "hndl",
    "category": "config",
    "why": "Traffic or files captured today can be stored and decrypted later if this algorithm falls. It is the only category where waiting costs you retroactively.",
    "replace": "Per-peer PresharedKey (wg genpsk), distributed out of band.",
    "recipe": "migrate/vpn.md",
    "refs": [
      "WireGuard protocol"
    ]
  },
  {
    "id": "KEX-VPN-OVPN",
    "title": "OpenVPN without tls-crypt or a post-quantum TLS group",
    "severity": "high",
    "exposure": "hndl",
    "category": "config",
    "why": "Traffic or files captured today can be stored and decrypted later if this algorithm falls. It is the only category where waiting costs you retroactively.",
    "replace": "tls-crypt-v2; a post-quantum tls-groups entry where the build supports it.",
    "recipe": "migrate/vpn.md",
    "refs": [
      "OpenVPN"
    ]
  },
  {
    "id": "KEX-VPN-IKE",
    "title": "IKE/IPsec proposals with classic key exchange only",
    "severity": "high",
    "exposure": "hndl",
    "category": "config",
    "why": "Traffic or files captured today can be stored and decrypted later if this algorithm falls. It is the only category where waiting costs you retroactively.",
    "replace": "RFC 9370 additional key exchange with ML-KEM, or RFC 8784 post-quantum preshared key.",
    "recipe": "migrate/vpn.md",
    "refs": [
      "RFC 9370",
      "RFC 8784"
    ]
  },
  {
    "id": "KEX-CODE-ECDH",
    "title": "Elliptic-curve / X25519 key agreement in code",
    "severity": "high",
    "exposure": "hndl",
    "category": "code",
    "why": "Traffic or files captured today can be stored and decrypted later if this algorithm falls. It is the only category where waiting costs you retroactively.",
    "replace": "TLS 1.3 hybrid between your own services; otherwise the library's ML-KEM hybrid KEM. No home-made combiner.",
    "recipe": "migrate/code.md",
    "refs": [
      "FIPS 203"
    ]
  },
  {
    "id": "KEX-CODE-DH",
    "title": "Finite-field Diffie-Hellman in code",
    "severity": "high",
    "exposure": "hndl",
    "category": "code",
    "why": "Traffic or files captured today can be stored and decrypted later if this algorithm falls. It is the only category where waiting costs you retroactively.",
    "replace": "TLS 1.3 hybrid, or the library's ML-KEM hybrid KEM.",
    "recipe": "migrate/code.md",
    "refs": [
      "FIPS 203"
    ]
  },
  {
    "id": "PKE-CODE-RSA",
    "title": "RSA encryption or key wrapping",
    "severity": "high",
    "exposure": "hndl",
    "category": "code",
    "why": "Traffic or files captured today can be stored and decrypted later if this algorithm falls. It is the only category where waiting costs you retroactively.",
    "replace": "Library hybrid KEM + AEAD (HPKE with an ML-KEM hybrid where available); re-wrap stored data keys.",
    "recipe": "migrate/code.md",
    "refs": [
      "FIPS 203"
    ]
  },
  {
    "id": "PKE-CODE-EC",
    "title": "Elliptic-curve public-key encryption (ECIES, sealed box, JWE ECDH-ES)",
    "severity": "high",
    "exposure": "hndl",
    "category": "code",
    "why": "Traffic or files captured today can be stored and decrypted later if this algorithm falls. It is the only category where waiting costs you retroactively.",
    "replace": "Library hybrid KEM + AEAD; re-wrap stored data keys.",
    "recipe": "migrate/code.md",
    "refs": [
      "FIPS 203"
    ]
  },
  {
    "id": "PKE-TOOL",
    "title": "Script encrypts to a classic public key",
    "severity": "high",
    "exposure": "hndl",
    "category": "code",
    "why": "Traffic or files captured today can be stored and decrypted later if this algorithm falls. It is the only category where waiting costs you retroactively.",
    "replace": "Tool version with post-quantum recipients where it exists; else record as open.",
    "recipe": "migrate/code.md",
    "refs": [
      "FIPS 203"
    ]
  },
  {
    "id": "SIG-CODESIGN",
    "title": "Release, package or firmware signing with a classic key",
    "severity": "high",
    "exposure": "trust-anchor",
    "category": "code",
    "why": "This key is trusted for years and replacing it takes a long lead time, so it moves early even though signatures are not harvestable.",
    "replace": "Plan ML-DSA or SLH-DSA (LMS/XMSS for firmware) with the signing vendor; keep the algorithm in config.",
    "recipe": "migrate/certs.md",
    "refs": [
      "FIPS 204",
      "FIPS 205"
    ]
  },
  {
    "id": "CRT-CA-HORIZON",
    "title": "Classic CA certificate valid past the horizon",
    "severity": "high",
    "exposure": "trust-anchor",
    "category": "cert",
    "why": "This key is trusted for years and replacing it takes a long lead time, so it moves early even though signatures are not harvestable.",
    "replace": "Plan a re-root; do not issue new long-lived classic CAs.",
    "recipe": "migrate/certs.md",
    "refs": [
      "FIPS 204"
    ]
  },
  {
    "id": "KEX-TLS-DHE",
    "title": "Classic finite-field DHE in use",
    "severity": "medium",
    "exposure": "hndl",
    "category": "config",
    "why": "Traffic or files captured today can be stored and decrypted later if this algorithm falls. It is the only category where waiting costs you retroactively.",
    "replace": "Hybrid group first; drop DHE.",
    "recipe": "migrate/tls.md",
    "refs": [
      "RFC 9325"
    ]
  },
  {
    "id": "KEX-LB-POLICY",
    "title": "Cloud load-balancer TLS policy without post-quantum key exchange",
    "severity": "medium",
    "exposure": "hndl",
    "category": "config",
    "why": "Traffic or files captured today can be stored and decrypted later if this algorithm falls. It is the only category where waiting costs you retroactively.",
    "replace": "The provider's post-quantum TLS policy; confirm with probe.",
    "recipe": "migrate/tls.md",
    "refs": []
  },
  {
    "id": "SIG-CODE-RSA",
    "title": "RSA signatures in code",
    "severity": "medium",
    "exposure": "forgery",
    "category": "code",
    "why": "A future break lets someone forge from that day on. Nothing recorded today is exposed. Rank by how long the key is trusted and how hard it is to replace.",
    "replace": "Algorithm from config; ML-DSA where both ends are yours and the library supports it.",
    "recipe": "migrate/code.md",
    "refs": [
      "FIPS 204"
    ]
  },
  {
    "id": "SIG-CODE-EC",
    "title": "ECDSA / EdDSA signatures in code",
    "severity": "medium",
    "exposure": "forgery",
    "category": "code",
    "why": "A future break lets someone forge from that day on. Nothing recorded today is exposed. Rank by how long the key is trusted and how hard it is to replace.",
    "replace": "Algorithm from config; ML-DSA where both ends are yours and the library supports it.",
    "recipe": "migrate/code.md",
    "refs": [
      "FIPS 204"
    ]
  },
  {
    "id": "SIG-JWT",
    "title": "JWT/JOSE signed with RSA or elliptic curves",
    "severity": "medium",
    "exposure": "forgery",
    "category": "token",
    "why": "A future break lets someone forge from that day on. Nothing recorded today is exposed. Rank by how long the key is trusted and how hard it is to replace.",
    "replace": "Allow-list algorithms from config, short token life; move when the issuer supports ML-DSA.",
    "recipe": "migrate/tokens.md",
    "refs": [
      "RFC 7518"
    ]
  },
  {
    "id": "KEY-GEN",
    "title": "Classic key generation",
    "severity": "medium",
    "exposure": "unknown",
    "category": "code",
    "why": "A classic key is created or stored here. How it is used decides the rank: ask or trace it.",
    "replace": "Depends on use: see the KEX-* or SIG-* rule that applies.",
    "recipe": "migrate/code.md",
    "refs": []
  },
  {
    "id": "KEY-FILE",
    "title": "Classic key file",
    "severity": "medium",
    "exposure": "unknown",
    "category": "key",
    "why": "A classic key is created or stored here. How it is used decides the rank: ask or trace it.",
    "replace": "Depends on use: see the KEX-* or SIG-* rule that applies.",
    "recipe": "migrate/certs.md",
    "refs": []
  },
  {
    "id": "CRT-CLASSIC",
    "title": "Certificate or CSR with a classic key or signature",
    "severity": "medium",
    "exposure": "forgery",
    "category": "cert",
    "why": "A future break lets someone forge from that day on. Nothing recorded today is exposed. Rank by how long the key is trusted and how hard it is to replace.",
    "replace": "Short lifetimes and automated reissue now; ML-DSA when your CA offers it.",
    "recipe": "migrate/certs.md",
    "refs": [
      "FIPS 204"
    ]
  },
  {
    "id": "DEP-RUNTIME-OLD",
    "title": "Runtime or library too old for ML-KEM hybrids",
    "severity": "medium",
    "exposure": "blocker",
    "category": "dependency",
    "why": "This library or runtime cannot do the new algorithms, so nothing built on it can migrate until it is upgraded.",
    "replace": "Upgrade to the version listed in support.json.",
    "recipe": "migrate/code.md",
    "refs": []
  },
  {
    "id": "OBS-PQ-DRAFT",
    "title": "Pre-standard Kyber / Dilithium / draft hybrid",
    "severity": "medium",
    "exposure": "obsolete-pq",
    "category": "code",
    "why": "Pre-standard post-quantum code. It does not interoperate with FIPS 203/204 and some of it is broken.",
    "replace": "X25519MLKEM768, ML-KEM (FIPS 203), ML-DSA (FIPS 204).",
    "recipe": "migrate/code.md",
    "refs": [
      "FIPS 203",
      "FIPS 204"
    ]
  },
  {
    "id": "KEX-TLS-DEFAULT",
    "title": "TLS server with no group setting (depends on the TLS library)",
    "severity": "low",
    "exposure": "hndl",
    "category": "config",
    "why": "Traffic or files captured today can be stored and decrypted later if this algorithm falls. It is the only category where waiting costs you retroactively.",
    "replace": "Probe it; upgrade the TLS library if the probe shows no hybrid.",
    "recipe": "migrate/tls.md",
    "refs": [
      "RFC 10024"
    ]
  },
  {
    "id": "KEX-SSH-DEFAULT",
    "title": "sshd without KexAlgorithms (depends on the OpenSSH version)",
    "severity": "low",
    "exposure": "hndl",
    "category": "config",
    "why": "Traffic or files captured today can be stored and decrypted later if this algorithm falls. It is the only category where waiting costs you retroactively.",
    "replace": "OpenSSH 9.0+ (sntrup761 default) or 10.0+ (ML-KEM default).",
    "recipe": "migrate/ssh.md",
    "refs": [
      "OpenSSH PQ"
    ]
  },
  {
    "id": "SIG-SSH-ALGS",
    "title": "Classic SSH host/user key algorithms",
    "severity": "low",
    "exposure": "forgery",
    "category": "config",
    "why": "A future break lets someone forge from that day on. Nothing recorded today is exposed. Rank by how long the key is trusted and how hard it is to replace.",
    "replace": "Nothing to switch to in stable OpenSSH yet: inventory, keep Ed25519, watch.",
    "recipe": "migrate/ssh.md",
    "refs": []
  },
  {
    "id": "DEP-BASE-IMAGE",
    "title": "Container base image that may ship OpenSSL older than 3.5",
    "severity": "low",
    "exposure": "blocker",
    "category": "dependency",
    "why": "This library or runtime cannot do the new algorithms, so nothing built on it can migrate until it is upgraded.",
    "replace": "Run `openssl version` inside the image; move the base tag.",
    "recipe": "migrate/tls.md",
    "refs": []
  },
  {
    "id": "DEP-CRYPTO-LIB",
    "title": "Cryptography library (inventory)",
    "severity": "info",
    "exposure": "none",
    "category": "dependency",
    "why": "Inventory only.",
    "replace": "",
    "recipe": "",
    "refs": []
  },
  {
    "id": "OK-PQ-KEX",
    "title": "Hybrid or ML-KEM key exchange present",
    "severity": "info",
    "exposure": "none",
    "category": "config",
    "why": "Inventory only.",
    "replace": "",
    "recipe": "",
    "refs": [
      "FIPS 203"
    ]
  },
  {
    "id": "OK-PQ-SIG",
    "title": "ML-DSA / SLH-DSA / LMS / XMSS present",
    "severity": "info",
    "exposure": "none",
    "category": "code",
    "why": "Inventory only.",
    "replace": "",
    "recipe": "",
    "refs": [
      "FIPS 204",
      "FIPS 205"
    ]
  },
  {
    "id": "PQ-ONLY",
    "title": "ML-KEM group list with no classic fallback",
    "severity": "info",
    "exposure": "none",
    "category": "config",
    "why": "Inventory only.",
    "replace": "Check client compatibility; hybrid is the default advice.",
    "recipe": "migrate/tls.md",
    "refs": []
  },
  {
    "id": "KEX-ENDPOINT-NO-PQ",
    "title": "TLS endpoint does not accept any ML-KEM hybrid",
    "severity": "high",
    "exposure": "hndl",
    "category": "endpoint",
    "why": "Traffic or files captured today can be stored and decrypted later if this algorithm falls. It is the only category where waiting costs you retroactively.",
    "replace": "Enable X25519MLKEM768 on the server or the edge in front of it.",
    "recipe": "migrate/tls.md",
    "refs": [
      "RFC 10024"
    ]
  },
  {
    "id": "KEX-ENDPOINT-NOT-PREFERRED",
    "title": "TLS endpoint supports the hybrid but prefers a classic group",
    "severity": "medium",
    "exposure": "hndl",
    "category": "endpoint",
    "why": "Traffic or files captured today can be stored and decrypted later if this algorithm falls. It is the only category where waiting costs you retroactively.",
    "replace": "Put the hybrid first in the server's group order.",
    "recipe": "migrate/tls.md",
    "refs": [
      "RFC 10024"
    ]
  },
  {
    "id": "KEX-ENDPOINT-SSH-NO-PQ",
    "title": "SSH server offers no post-quantum key exchange",
    "severity": "high",
    "exposure": "hndl",
    "category": "endpoint",
    "why": "Traffic or files captured today can be stored and decrypted later if this algorithm falls. It is the only category where waiting costs you retroactively.",
    "replace": "OpenSSH 10.0+ or list mlkem768x25519-sha256 first.",
    "recipe": "migrate/ssh.md",
    "refs": [
      "OpenSSH PQ"
    ]
  },
  {
    "id": "ENDPOINT-CERT-CLASSIC",
    "title": "Served certificate uses a classic key",
    "severity": "medium",
    "exposure": "forgery",
    "category": "endpoint",
    "why": "A future break lets someone forge from that day on. Nothing recorded today is exposed. Rank by how long the key is trusted and how hard it is to replace.",
    "replace": "Short lifetimes and automated reissue now; ML-DSA when your CA offers it.",
    "recipe": "migrate/certs.md",
    "refs": []
  },
  {
    "id": "ENDPOINT-TLS12",
    "title": "TLS 1.2 still accepted (those clients get classic key exchange)",
    "severity": "info",
    "exposure": "none",
    "category": "endpoint",
    "why": "Inventory only.",
    "replace": "Keep for compatibility until your clients are on TLS 1.3.",
    "recipe": "migrate/tls.md",
    "refs": []
  },
  {
    "id": "POLICY-EXPIRED",
    "title": "Policy exception past its end date",
    "severity": "high",
    "exposure": "none",
    "category": "config",
    "why": "Exceptions need an owner and an end date so they cannot rot quietly.",
    "replace": "Renew it with a new reason and date, or fix the finding.",
    "recipe": "",
    "refs": []
  }
]
