{
  "tool": "pqshift",
  "version": "1.0.0",
  "schema": "pqshift.findings/1",
  "command": "scan",
  "generated": "2026-12-03T11:17:51Z",
  "root": ".",
  "horizon": "2030-01-01",
  "summary": {
    "files_scanned": 71,
    "files_skipped": 1,
    "seconds": 0.21,
    "by_severity": {
      "critical": 10,
      "high": 43,
      "medium": 50,
      "low": 7,
      "info": 22
    },
    "by_exposure": {
      "forgery": 14,
      "trust-anchor": 3,
      "weak-today": 10,
      "unknown": 28,
      "none": 22,
      "hndl": 45,
      "blocker": 7,
      "obsolete-pq": 3
    },
    "pq_present": 12
  },
  "findings": [
    {
      "id": "F-6a024483cd",
      "rule": "WEAK-DH-SMALL",
      "title": "Diffie-Hellman group under 2048 bits",
      "severity": "critical",
      "exposure": "weak-today",
      "category": "config",
      "asset": {
        "kind": "key",
        "algorithm": "DH",
        "family": "FFDH",
        "parameter": "1024",
        "primitive": "key-agree",
        "usage": "kex",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "certs/dh1024.params",
        "line": 1,
        "col": null,
        "endpoint": null
      },
      "evidence": "PEM block: dh parameters 1024-bit",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-242867640a",
      "rule": "WEAK-RSA-SMALL",
      "title": "RSA key under 2048 bits",
      "severity": "critical",
      "exposure": "weak-today",
      "category": "key",
      "asset": {
        "kind": "certificate",
        "algorithm": "RSA-1024",
        "family": "RSA",
        "parameter": "1024",
        "primitive": "signature",
        "usage": "verify",
        "oid": "1.2.840.113549.1.1.1",
        "quantum_safe": false,
        "subject": "scanner-gw.harbor.example",
        "issuer": "scanner-gw.harbor.example",
        "not_after": "2029-12-02T07:07:28Z",
        "not_before": "2026-12-03T07:07:28Z",
        "sig_alg": "sha1WithRSAEncryption",
        "ca": false,
        "sha256": "37b076afb2dfed1a420b8a0f2442dce4e49ac5435b4beecc91e66ea14f42372c"
      },
      "location": {
        "path": "certs/old.crt",
        "line": 1,
        "col": null,
        "endpoint": null
      },
      "evidence": "certificate CN=scanner-gw.harbor.example RSA-1024 sha1WithRSAEncryption until 2029-12-02",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-b4e95177f1",
      "rule": "WEAK-SIG-SHA1",
      "title": "SHA-1 / MD5 signature or DSA",
      "severity": "critical",
      "exposure": "weak-today",
      "category": "config",
      "asset": {
        "kind": "certificate",
        "algorithm": "RSA-1024",
        "family": "RSA",
        "parameter": "1024",
        "primitive": "signature",
        "usage": "verify",
        "oid": "1.2.840.113549.1.1.1",
        "quantum_safe": false,
        "subject": "scanner-gw.harbor.example",
        "issuer": "scanner-gw.harbor.example",
        "not_after": "2029-12-02T07:07:28Z",
        "not_before": "2026-12-03T07:07:28Z",
        "sig_alg": "sha1WithRSAEncryption",
        "ca": false,
        "sha256": "37b076afb2dfed1a420b8a0f2442dce4e49ac5435b4beecc91e66ea14f42372c"
      },
      "location": {
        "path": "certs/old.crt",
        "line": 1,
        "col": null,
        "endpoint": null
      },
      "evidence": "certificate CN=scanner-gw.harbor.example RSA-1024 sha1WithRSAEncryption until 2029-12-02",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-131fec2b4d",
      "rule": "WEAK-TLS-OLD",
      "title": "SSLv3, TLS 1.0 or TLS 1.1 enabled",
      "severity": "critical",
      "exposure": "weak-today",
      "category": "config",
      "asset": {
        "kind": "protocol",
        "algorithm": "ECDH",
        "family": "ECC",
        "parameter": "+TLSv1",
        "primitive": "key-agree",
        "usage": "kex",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "deploy/apache/ssl.conf",
        "line": 10,
        "col": null,
        "endpoint": null
      },
      "evidence": "SSLProtocol -all +TLSv1 +TLSv1.2 +TLSv1.3",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-a3d8bde3b1",
      "rule": "WEAK-DH-SMALL",
      "title": "Diffie-Hellman group under 2048 bits",
      "severity": "critical",
      "exposure": "weak-today",
      "category": "config",
      "asset": {
        "kind": "protocol",
        "algorithm": "DH",
        "family": "FFDH",
        "parameter": "group1",
        "primitive": "key-agree",
        "usage": "kex",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "deploy/ssh/sshd_config",
        "line": 8,
        "col": null,
        "endpoint": null
      },
      "evidence": "KexAlgorithms curve25519-sha256,ecdh-sha2-nistp256,diffie-hellman-group14-sha256,diffie-hellman-group1-sha1",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-a0ba90d60f",
      "rule": "WEAK-SIG-SHA1",
      "title": "SHA-1 / MD5 signature or DSA",
      "severity": "critical",
      "exposure": "weak-today",
      "category": "config",
      "asset": {
        "kind": "protocol",
        "algorithm": "ssh-rsa (SHA-1)",
        "family": "RSA",
        "parameter": null,
        "primitive": "signature",
        "usage": "sign",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "deploy/ssh/sshd_config",
        "line": 9,
        "col": null,
        "endpoint": null
      },
      "evidence": "HostKeyAlgorithms ssh-ed25519,rsa-sha2-512,ssh-rsa",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-48d36c1872",
      "rule": "OBS-PQ-BROKEN",
      "title": "Broken pre-standard post-quantum scheme (SIKE/SIDH/Rainbow)",
      "severity": "critical",
      "exposure": "weak-today",
      "category": "code",
      "asset": {
        "kind": "algorithm",
        "algorithm": "SIKE/Rainbow",
        "family": "obsolete",
        "parameter": null,
        "primitive": null,
        "usage": "unknown",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "pq/sike_demo.c",
        "line": 5,
        "col": null,
        "endpoint": null
      },
      "evidence": "static const char *kem_name = \"SIKE\";",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-3307a92bd1",
      "rule": "OBS-PQ-BROKEN",
      "title": "Broken pre-standard post-quantum scheme (SIKE/SIDH/Rainbow)",
      "severity": "critical",
      "exposure": "weak-today",
      "category": "code",
      "asset": {
        "kind": "algorithm",
        "algorithm": "SIKE/Rainbow",
        "family": "obsolete",
        "parameter": null,
        "primitive": null,
        "usage": "unknown",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "pq/sike_demo.c",
        "line": 11,
        "col": null,
        "endpoint": null
      },
      "evidence": "int rc = sikep434_keypair(pk, sk);",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-c4b5df2e8e",
      "rule": "WEAK-DH-SMALL",
      "title": "Diffie-Hellman group under 2048 bits",
      "severity": "critical",
      "exposure": "weak-today",
      "category": "config",
      "asset": {
        "kind": "key",
        "algorithm": "DH",
        "family": "FFDH",
        "parameter": "1024",
        "primitive": "key-agree",
        "usage": "kex",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "scripts/make-certs.sh",
        "line": 10,
        "col": null,
        "endpoint": null
      },
      "evidence": "openssl dhparam 1024 > \"$OUT/dh1024.params\"",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-c9361ac02d",
      "rule": "WEAK-RSA-SMALL",
      "title": "RSA key under 2048 bits",
      "severity": "critical",
      "exposure": "weak-today",
      "category": "key",
      "asset": {
        "kind": "key",
        "algorithm": "RSA",
        "family": "RSA",
        "parameter": "1024",
        "primitive": null,
        "usage": "keygen",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "services/api/app/crypto_utils.py",
        "line": 22,
        "col": null,
        "endpoint": null
      },
      "evidence": "return rsa.generate_private_key(public_exponent=65537, key_size=1024)",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-ed59b576fe",
      "rule": "CRT-CA-HORIZON",
      "title": "Classic CA certificate valid past the horizon",
      "severity": "high",
      "exposure": "trust-anchor",
      "category": "cert",
      "asset": {
        "kind": "certificate",
        "algorithm": "RSA-4096",
        "family": "RSA",
        "parameter": "4096",
        "primitive": "signature",
        "usage": "verify",
        "oid": "1.2.840.113549.1.1.1",
        "quantum_safe": false,
        "subject": "Harbor Root CA 2026",
        "issuer": "Harbor Root CA 2026",
        "not_after": "2041-06-30T07:07:20Z",
        "not_before": "2026-12-03T07:07:20Z",
        "sig_alg": "sha256WithRSAEncryption",
        "ca": true,
        "sha256": "30aa71ec64d843853d28a81f39a21abe2e35cef549ba9e5cb8c247a27032b743"
      },
      "location": {
        "path": "certs/ca.crt",
        "line": 1,
        "col": null,
        "endpoint": null
      },
      "evidence": "CA CN=Harbor Root CA 2026 RSA-4096 sha256WithRSAEncryption until 2041-06-30",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-c87e06a2a3",
      "rule": "KEX-TLS-PINNED",
      "title": "TLS key-exchange groups pinned to classic curves",
      "severity": "high",
      "exposure": "hndl",
      "category": "config",
      "asset": {
        "kind": "protocol",
        "algorithm": "ECDH",
        "family": "ECC",
        "parameter": "secp384r1",
        "primitive": "key-agree",
        "usage": "kex",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "deploy/apache/ssl.conf",
        "line": 11,
        "col": null,
        "endpoint": null
      },
      "evidence": "SSLOpenSSLConfCmd Curves secp384r1",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-4a0e33d4f5",
      "rule": "KEX-TLS-PINNED",
      "title": "TLS key-exchange groups pinned to classic curves",
      "severity": "high",
      "exposure": "hndl",
      "category": "config",
      "asset": {
        "kind": "protocol",
        "algorithm": "ECDH",
        "family": "ECC",
        "parameter": "X25519:P-256",
        "primitive": "key-agree",
        "usage": "kex",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "deploy/haproxy/haproxy.cfg",
        "line": 4,
        "col": null,
        "endpoint": null
      },
      "evidence": "ssl-default-bind-curves X25519:P-256",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-c8ec059713",
      "rule": "KEX-TLS-NO13",
      "title": "TLS 1.3 disabled or capped at TLS 1.2",
      "severity": "high",
      "exposure": "hndl",
      "category": "config",
      "asset": {
        "kind": "protocol",
        "algorithm": "ECDH",
        "family": "ECC",
        "parameter": null,
        "primitive": "key-agree",
        "usage": "kex",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "deploy/haproxy/haproxy.cfg",
        "line": 5,
        "col": null,
        "endpoint": null
      },
      "evidence": "ssl-default-bind-options ssl-min-ver TLSv1.2 ssl-max-ver TLSv1.2 no-tls-tickets",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-84f7ec5c0c",
      "rule": "KEX-TLS-PINNED",
      "title": "TLS key-exchange groups pinned to classic curves",
      "severity": "high",
      "exposure": "hndl",
      "category": "config",
      "asset": {
        "kind": "protocol",
        "algorithm": "ECDH",
        "family": "ECC",
        "parameter": "\"X25519:prime256v1\"",
        "primitive": "key-agree",
        "usage": "kex",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "deploy/k8s/ingress-config.yaml",
        "line": 8,
        "col": null,
        "endpoint": null
      },
      "evidence": "ssl-ecdh-curve: \"X25519:prime256v1\"",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-7f9dddea0d",
      "rule": "KEX-TLS-NO13",
      "title": "TLS 1.3 disabled or capped at TLS 1.2",
      "severity": "high",
      "exposure": "hndl",
      "category": "config",
      "asset": {
        "kind": "protocol",
        "algorithm": "ECDH",
        "family": "ECC",
        "parameter": null,
        "primitive": "key-agree",
        "usage": "kex",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "deploy/nginx/nginx.conf",
        "line": 25,
        "col": null,
        "endpoint": null
      },
      "evidence": "ssl_protocols TLSv1.2;",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-c7e53992d2",
      "rule": "KEX-TLS-PINNED",
      "title": "TLS key-exchange groups pinned to classic curves",
      "severity": "high",
      "exposure": "hndl",
      "category": "config",
      "asset": {
        "kind": "protocol",
        "algorithm": "ECDH",
        "family": "ECC",
        "parameter": "X25519:prime256v1",
        "primitive": "key-agree",
        "usage": "kex",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "deploy/nginx/nginx.conf",
        "line": 26,
        "col": null,
        "endpoint": null
      },
      "evidence": "ssl_ecdh_curve X25519:prime256v1;",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-8cd61b6abc",
      "rule": "KEX-TLS-STATIC-RSA",
      "title": "Cipher list allows RSA key transport",
      "severity": "high",
      "exposure": "hndl",
      "category": "config",
      "asset": {
        "kind": "protocol",
        "algorithm": "RSA",
        "family": "RSA",
        "parameter": "AES256-GCM-SHA384",
        "primitive": "pke",
        "usage": "kex",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "deploy/nginx/nginx.conf",
        "line": 27,
        "col": null,
        "endpoint": null
      },
      "evidence": "ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:AES256-GCM-SHA384;",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-853026508c",
      "rule": "KEX-SSH-PINNED",
      "title": "SSH key exchange pinned without a post-quantum method",
      "severity": "high",
      "exposure": "hndl",
      "category": "config",
      "asset": {
        "kind": "protocol",
        "algorithm": "ECDH",
        "family": "ECC",
        "parameter": "-sntrup761x25519-sha512@openssh.com,-mlkem768x25519-sha256",
        "primitive": "key-agree",
        "usage": "kex",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "deploy/ssh/ssh_config",
        "line": 6,
        "col": null,
        "endpoint": null
      },
      "evidence": "KexAlgorithms -sntrup761x25519-sha512@openssh.com,-mlkem768x25519-sha256",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-687ffc7c14",
      "rule": "KEX-SSH-PINNED",
      "title": "SSH key exchange pinned without a post-quantum method",
      "severity": "high",
      "exposure": "hndl",
      "category": "config",
      "asset": {
        "kind": "protocol",
        "algorithm": "ECDH",
        "family": "ECC",
        "parameter": "curve25519-sha256,ecdh-sha2-nistp256,diffie-hellman-group14-",
        "primitive": "key-agree",
        "usage": "kex",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "deploy/ssh/sshd_config",
        "line": 8,
        "col": null,
        "endpoint": null
      },
      "evidence": "KexAlgorithms curve25519-sha256,ecdh-sha2-nistp256,diffie-hellman-group14-sha256,diffie-hellman-group1-sha1",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-9adad0e9e9",
      "rule": "KEX-VPN-OVPN",
      "title": "OpenVPN without tls-crypt or a post-quantum TLS group",
      "severity": "high",
      "exposure": "hndl",
      "category": "config",
      "asset": {
        "kind": "protocol",
        "algorithm": "ECDH",
        "family": "ECC",
        "parameter": null,
        "primitive": "key-agree",
        "usage": "kex",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "deploy/vpn/office.ovpn",
        "line": 4,
        "col": null,
        "endpoint": null
      },
      "evidence": "dev tun",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-7abea36603",
      "rule": "KEX-VPN-IKE",
      "title": "IKE/IPsec proposals with classic key exchange only",
      "severity": "high",
      "exposure": "hndl",
      "category": "config",
      "asset": {
        "kind": "protocol",
        "algorithm": "ECDH",
        "family": "ECC",
        "parameter": "aes256-sha256-ecp256",
        "primitive": "key-agree",
        "usage": "kex",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "deploy/vpn/swanctl.conf",
        "line": 6,
        "col": null,
        "endpoint": null
      },
      "evidence": "proposals = aes256-sha256-ecp256",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-53c823ac69",
      "rule": "KEX-VPN-WG-NOPSK",
      "title": "WireGuard peer without a PresharedKey",
      "severity": "high",
      "exposure": "hndl",
      "category": "config",
      "asset": {
        "kind": "protocol",
        "algorithm": "X25519",
        "family": "ECC",
        "parameter": null,
        "primitive": "key-agree",
        "usage": "kex",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "deploy/vpn/wg0.conf",
        "line": 7,
        "col": null,
        "endpoint": null
      },
      "evidence": "[Peer] depot-rotterdam",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-c72949dff2",
      "rule": "PKE-CODE-RSA",
      "title": "RSA encryption or key wrapping",
      "severity": "high",
      "exposure": "hndl",
      "category": "code",
      "asset": {
        "kind": "algorithm",
        "algorithm": "RSA",
        "family": "RSA",
        "parameter": null,
        "primitive": "pke",
        "usage": "encrypt",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "legacy/export.rb",
        "line": 14,
        "col": null,
        "endpoint": null
      },
      "evidence": "Base64.strict_encode64(pub.public_encrypt(csv, OpenSSL::PKey::RSA::PKCS1_OAEP_PADDING))",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-778cb26e28",
      "rule": "PKE-CODE-RSA",
      "title": "RSA encryption or key wrapping",
      "severity": "high",
      "exposure": "hndl",
      "category": "code",
      "asset": {
        "kind": "algorithm",
        "algorithm": "RSA",
        "family": "RSA",
        "parameter": null,
        "primitive": "pke",
        "usage": "encrypt",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "legacy/pay.php",
        "line": 19,
        "col": null,
        "endpoint": null
      },
      "evidence": "if (!openssl_public_encrypt($pan, $sealed, $acquirerPem, OPENSSL_PKCS1_OAEP_PADDING)) {",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-94527cc8e5",
      "rule": "KEX-CODE-ECDH",
      "title": "Elliptic-curve / X25519 key agreement in code",
      "severity": "high",
      "exposure": "hndl",
      "category": "code",
      "asset": {
        "kind": "algorithm",
        "algorithm": "ECDH",
        "family": "ECC",
        "parameter": null,
        "primitive": "key-agree",
        "usage": "kex",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "mobile/Keys.swift",
        "line": 6,
        "col": null,
        "endpoint": null
      },
      "evidence": "static func pairingSecret(with peer: P256.KeyAgreement.PublicKey) throws -> SharedSecret {",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-27bb6c92d5",
      "rule": "KEX-CODE-ECDH",
      "title": "Elliptic-curve / X25519 key agreement in code",
      "severity": "high",
      "exposure": "hndl",
      "category": "code",
      "asset": {
        "kind": "algorithm",
        "algorithm": "ECDH",
        "family": "ECC",
        "parameter": null,
        "primitive": "key-agree",
        "usage": "kex",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "mobile/Keys.swift",
        "line": 7,
        "col": null,
        "endpoint": null
      },
      "evidence": "let ours = P256.KeyAgreement.PrivateKey()",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-e40c47d8d8",
      "rule": "KEX-TLS-PINNED",
      "title": "TLS key-exchange groups pinned to classic curves",
      "severity": "high",
      "exposure": "hndl",
      "category": "config",
      "asset": {
        "kind": "protocol",
        "algorithm": "ECDH",
        "family": "ECC",
        "parameter": "X25519:P-256",
        "primitive": "key-agree",
        "usage": "kex",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "native/tunnel.c",
        "line": 13,
        "col": null,
        "endpoint": null
      },
      "evidence": "SSL_CTX_set1_groups_list(ctx, \"X25519:P-256\");",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-85a27fb25b",
      "rule": "KEX-CODE-ECDH",
      "title": "Elliptic-curve / X25519 key agreement in code",
      "severity": "high",
      "exposure": "hndl",
      "category": "code",
      "asset": {
        "kind": "algorithm",
        "algorithm": "ECDH",
        "family": "ECC",
        "parameter": null,
        "primitive": "key-agree",
        "usage": "kex",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "native/tunnel.c",
        "line": 29,
        "col": null,
        "endpoint": null
      },
      "evidence": "return ECDH_compute_key(out, outlen, EC_KEY_get0_public_key(peer), ours, NULL);",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-92c0d11b7f",
      "rule": "PKE-CODE-RSA",
      "title": "RSA encryption or key wrapping",
      "severity": "high",
      "exposure": "hndl",
      "category": "code",
      "asset": {
        "kind": "algorithm",
        "algorithm": "RSA",
        "family": "RSA",
        "parameter": null,
        "primitive": "pke",
        "usage": "encrypt",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "native/tunnel.c",
        "line": 34,
        "col": null,
        "endpoint": null
      },
      "evidence": "return RSA_public_encrypt(len, in, out, hub_rsa, RSA_PKCS1_OAEP_PADDING);",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-5bd14e5b4d",
      "rule": "SIG-CODESIGN",
      "title": "Release, package or firmware signing with a classic key",
      "severity": "high",
      "exposure": "trust-anchor",
      "category": "code",
      "asset": {
        "kind": "algorithm",
        "algorithm": null,
        "family": null,
        "parameter": null,
        "primitive": "signature",
        "usage": "sign",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "scripts/release.sh",
        "line": 10,
        "col": null,
        "endpoint": null
      },
      "evidence": "cosign sign --yes --key \"$COSIGN_KEY_REF\" \"$IMAGE\"",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-76116b0339",
      "rule": "SIG-CODESIGN",
      "title": "Release, package or firmware signing with a classic key",
      "severity": "high",
      "exposure": "trust-anchor",
      "category": "code",
      "asset": {
        "kind": "algorithm",
        "algorithm": null,
        "family": null,
        "parameter": null,
        "primitive": "signature",
        "usage": "sign",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "scripts/release.sh",
        "line": 13,
        "col": null,
        "endpoint": null
      },
      "evidence": "gpg --batch --local-user release@harbor.example --armor --detach-sign \"dist/harbor-${VERSION}.tar.gz\"",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-24b51d02e2",
      "rule": "PKE-TOOL",
      "title": "Script encrypts to a classic public key",
      "severity": "high",
      "exposure": "hndl",
      "category": "code",
      "asset": {
        "kind": "algorithm",
        "algorithm": "RSA",
        "family": "RSA",
        "parameter": null,
        "primitive": "pke",
        "usage": "encrypt",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "scripts/release.sh",
        "line": 16,
        "col": null,
        "endpoint": null
      },
      "evidence": "openssl pkeyutl -encrypt -pubin -inkey keys/escrow-pub.der -keyform DER -in dist/bundle.dk -out dist/bundle.dk.enc",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-076fe8ed3f",
      "rule": "KEX-CODE-ECDH",
      "title": "Elliptic-curve / X25519 key agreement in code",
      "severity": "high",
      "exposure": "hndl",
      "category": "code",
      "asset": {
        "kind": "algorithm",
        "algorithm": "X25519",
        "family": "ECC",
        "parameter": null,
        "primitive": "key-agree",
        "usage": "kex",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "services/api/app/crypto_utils.py",
        "line": 9,
        "col": null,
        "endpoint": null
      },
      "evidence": "from cryptography.hazmat.primitives.asymmetric.x25519 import X25519PrivateKey, X25519PublicKey",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-8818468645",
      "rule": "PKE-CODE-RSA",
      "title": "RSA encryption or key wrapping",
      "severity": "high",
      "exposure": "hndl",
      "category": "code",
      "asset": {
        "kind": "algorithm",
        "algorithm": "RSA",
        "family": "RSA",
        "parameter": null,
        "primitive": "pke",
        "usage": "encrypt",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "services/api/app/crypto_utils.py",
        "line": 28,
        "col": null,
        "endpoint": null
      },
      "evidence": "padding.OAEP(mgf=padding.MGF1(algorithm=hashes.SHA256()), algorithm=hashes.SHA256(), label=None),",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-4522f77c7d",
      "rule": "KEX-CODE-ECDH",
      "title": "Elliptic-curve / X25519 key agreement in code",
      "severity": "high",
      "exposure": "hndl",
      "category": "code",
      "asset": {
        "kind": "algorithm",
        "algorithm": "ECDH",
        "family": "ECC",
        "parameter": null,
        "primitive": "key-agree",
        "usage": "kex",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "services/api/app/crypto_utils.py",
        "line": 39,
        "col": null,
        "endpoint": null
      },
      "evidence": "shared = ours.exchange(ec.ECDH(), peer_public)",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-1ec931e165",
      "rule": "KEX-CODE-ECDH",
      "title": "Elliptic-curve / X25519 key agreement in code",
      "severity": "high",
      "exposure": "hndl",
      "category": "code",
      "asset": {
        "kind": "algorithm",
        "algorithm": "X25519",
        "family": "ECC",
        "parameter": null,
        "primitive": "key-agree",
        "usage": "kex",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "services/api/app/crypto_utils.py",
        "line": 44,
        "col": null,
        "endpoint": null
      },
      "evidence": "ephemeral = X25519PrivateKey.generate()",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-0f7d50439a",
      "rule": "KEX-CODE-ECDH",
      "title": "Elliptic-curve / X25519 key agreement in code",
      "severity": "high",
      "exposure": "hndl",
      "category": "code",
      "asset": {
        "kind": "algorithm",
        "algorithm": "ECDH",
        "family": "ECC",
        "parameter": null,
        "primitive": "key-agree",
        "usage": "kex",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "services/billing/src/Crypto.java",
        "line": 23,
        "col": null,
        "endpoint": null
      },
      "evidence": "KeyAgreement ka = KeyAgreement.getInstance(\"ECDH\");",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-b976e9e1c8",
      "rule": "KEX-CODE-DH",
      "title": "Finite-field Diffie-Hellman in code",
      "severity": "high",
      "exposure": "hndl",
      "category": "code",
      "asset": {
        "kind": "algorithm",
        "algorithm": "DH",
        "family": "FFDH",
        "parameter": null,
        "primitive": "key-agree",
        "usage": "kex",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "services/billing/src/Crypto.java",
        "line": 30,
        "col": null,
        "endpoint": null
      },
      "evidence": "KeyAgreement ka = KeyAgreement.getInstance(\"DH\");",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-24db0014ce",
      "rule": "PKE-CODE-RSA",
      "title": "RSA encryption or key wrapping",
      "severity": "high",
      "exposure": "hndl",
      "category": "code",
      "asset": {
        "kind": "algorithm",
        "algorithm": "RSA",
        "family": "RSA",
        "parameter": null,
        "primitive": "pke",
        "usage": "encrypt",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "services/billing/src/Crypto.java",
        "line": 37,
        "col": null,
        "endpoint": null
      },
      "evidence": "Cipher cipher = Cipher.getInstance(\"RSA/ECB/OAEPWithSHA-256AndMGF1Padding\");",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-dfaac06938",
      "rule": "KEX-CODE-ECDH",
      "title": "Elliptic-curve / X25519 key agreement in code",
      "severity": "high",
      "exposure": "hndl",
      "category": "code",
      "asset": {
        "kind": "algorithm",
        "algorithm": "ECDH",
        "family": "ECC",
        "parameter": null,
        "primitive": "key-agree",
        "usage": "kex",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "services/edge/src/main.rs",
        "line": 6,
        "col": null,
        "endpoint": null
      },
      "evidence": "use x25519_dalek::{EphemeralSecret, PublicKey};",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-6f31e7b810",
      "rule": "KEX-CODE-ECDH",
      "title": "Elliptic-curve / X25519 key agreement in code",
      "severity": "high",
      "exposure": "hndl",
      "category": "code",
      "asset": {
        "kind": "algorithm",
        "algorithm": "ECDH",
        "family": "ECC",
        "parameter": null,
        "primitive": "key-agree",
        "usage": "kex",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "services/edge/src/main.rs",
        "line": 9,
        "col": null,
        "endpoint": null
      },
      "evidence": "let ephemeral = EphemeralSecret:<redacted>",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-3b00b9cb55",
      "rule": "KEX-CODE-ECDH",
      "title": "Elliptic-curve / X25519 key agreement in code",
      "severity": "high",
      "exposure": "hndl",
      "category": "code",
      "asset": {
        "kind": "algorithm",
        "algorithm": "ECDH",
        "family": "ECC",
        "parameter": null,
        "primitive": "key-agree",
        "usage": "kex",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "services/edge/src/main.rs",
        "line": 11,
        "col": null,
        "endpoint": null
      },
      "evidence": "(ephemeral.diffie_hellman(depot).to_bytes(), ours)",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-2caa41d1b0",
      "rule": "PKE-CODE-RSA",
      "title": "RSA encryption or key wrapping",
      "severity": "high",
      "exposure": "hndl",
      "category": "code",
      "asset": {
        "kind": "algorithm",
        "algorithm": "RSA",
        "family": "RSA",
        "parameter": null,
        "primitive": "pke",
        "usage": "encrypt",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "services/edge/src/main.rs",
        "line": 15,
        "col": null,
        "endpoint": null
      },
      "evidence": "let padding = Oaep::new::<Sha256>();",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-98b387a7e7",
      "rule": "KEX-TLS-NO13",
      "title": "TLS 1.3 disabled or capped at TLS 1.2",
      "severity": "high",
      "exposure": "hndl",
      "category": "config",
      "asset": {
        "kind": "protocol",
        "algorithm": "ECDH",
        "family": "ECC",
        "parameter": null,
        "primitive": "key-agree",
        "usage": "kex",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "services/gateway/main.go",
        "line": 21,
        "col": null,
        "endpoint": null
      },
      "evidence": "MaxVersion: tls.VersionTLS12,",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-d2cd1d63aa",
      "rule": "KEX-TLS-PINNED",
      "title": "TLS key-exchange groups pinned to classic curves",
      "severity": "high",
      "exposure": "hndl",
      "category": "config",
      "asset": {
        "kind": "protocol",
        "algorithm": "ECDH",
        "family": "ECC",
        "parameter": "tls.X25519, tls.CurveP256",
        "primitive": "key-agree",
        "usage": "kex",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "services/gateway/main.go",
        "line": 22,
        "col": null,
        "endpoint": null
      },
      "evidence": "CurvePreferences: []tls.CurveID{tls.X25519, tls.CurveP256},",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-061f2c6bf1",
      "rule": "PKE-CODE-RSA",
      "title": "RSA encryption or key wrapping",
      "severity": "high",
      "exposure": "hndl",
      "category": "code",
      "asset": {
        "kind": "algorithm",
        "algorithm": "RSA",
        "family": "RSA",
        "parameter": null,
        "primitive": "pke",
        "usage": "encrypt",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "services/gateway/main.go",
        "line": 27,
        "col": null,
        "endpoint": null
      },
      "evidence": "return rsa.EncryptOAEP(sha256.New(), rand.Reader, pub, report, []byte(\"audit\"))",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-f8fc82b350",
      "rule": "PKE-CODE-RSA",
      "title": "RSA encryption or key wrapping",
      "severity": "high",
      "exposure": "hndl",
      "category": "code",
      "asset": {
        "kind": "algorithm",
        "algorithm": "RSA",
        "family": "RSA",
        "parameter": null,
        "primitive": "pke",
        "usage": "encrypt",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "services/reports/Signer.cs",
        "line": 15,
        "col": null,
        "endpoint": null
      },
      "evidence": "recipient.Encrypt(exportKey, RSAEncryptionPadding.OaepSHA256);",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-6f835d431d",
      "rule": "KEX-CODE-ECDH",
      "title": "Elliptic-curve / X25519 key agreement in code",
      "severity": "high",
      "exposure": "hndl",
      "category": "code",
      "asset": {
        "kind": "algorithm",
        "algorithm": "ECDH",
        "family": "ECC",
        "parameter": null,
        "primitive": "key-agree",
        "usage": "kex",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "services/reports/Signer.cs",
        "line": 17,
        "col": null,
        "endpoint": null
      },
      "evidence": "public static byte[] DeriveArchiveKey(ECDiffieHellman ours, ECDiffieHellmanPublicKey theirs) =>",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-382ff9d7e0",
      "rule": "KEX-CODE-ECDH",
      "title": "Elliptic-curve / X25519 key agreement in code",
      "severity": "high",
      "exposure": "hndl",
      "category": "code",
      "asset": {
        "kind": "algorithm",
        "algorithm": "ECDH",
        "family": "ECC",
        "parameter": null,
        "primitive": "key-agree",
        "usage": "kex",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "services/web/src/auth.ts",
        "line": 11,
        "col": null,
        "endpoint": null
      },
      "evidence": "const ecdh = crypto.createECDH(\"prime256v1\");",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-517d94bee3",
      "rule": "PKE-CODE-RSA",
      "title": "RSA encryption or key wrapping",
      "severity": "high",
      "exposure": "hndl",
      "category": "code",
      "asset": {
        "kind": "algorithm",
        "algorithm": "RSA",
        "family": "RSA",
        "parameter": null,
        "primitive": "pke",
        "usage": "encrypt",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "services/web/src/auth.ts",
        "line": 17,
        "col": null,
        "endpoint": null
      },
      "evidence": "return crypto.publicEncrypt({ key: partnerPem, padding: crypto.constants.RSA_PKCS1_OAEP_PADDING, oaepHash: \"sha256\" }, payload);",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-327b6ec4d3",
      "rule": "KEX-CODE-ECDH",
      "title": "Elliptic-curve / X25519 key agreement in code",
      "severity": "high",
      "exposure": "hndl",
      "category": "code",
      "asset": {
        "kind": "algorithm",
        "algorithm": "ECDH",
        "family": "ECC",
        "parameter": null,
        "primitive": "key-agree",
        "usage": "kex",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "services/web/src/auth.ts",
        "line": 25,
        "col": null,
        "endpoint": null
      },
      "evidence": "return crypto.webcrypto.subtle.generateKey({ name: 'ECDH', namedCurve: 'P-384' }, true, [\"deriveBits\"]);",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-9866a25b96",
      "rule": "PKE-CODE-EC",
      "title": "Elliptic-curve public-key encryption (ECIES, sealed box, JWE ECDH-ES)",
      "severity": "high",
      "exposure": "hndl",
      "category": "code",
      "asset": {
        "kind": "algorithm",
        "algorithm": "JWE ECDH-ES",
        "family": "ECC",
        "parameter": null,
        "primitive": "pke",
        "usage": "encrypt",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "services/web/src/auth.ts",
        "line": 28,
        "col": null,
        "endpoint": null
      },
      "evidence": "export const EXPORT_JWE_HEADER = { alg: \"ECDH-ES\", enc: \"A256GCM\", kid: \"exports-2026\" };",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-acb2683699",
      "rule": "CRT-CLASSIC",
      "title": "Certificate or CSR with a classic key or signature",
      "severity": "medium",
      "exposure": "forgery",
      "category": "cert",
      "asset": {
        "kind": "certificate",
        "algorithm": "RSA-2048",
        "family": "RSA",
        "parameter": "2048",
        "primitive": "signature",
        "usage": "verify",
        "oid": "1.2.840.113549.1.1.1",
        "quantum_safe": false,
        "subject": "archive.harbor.example",
        "issuer": "Harbor Root CA 2026",
        "not_after": "2034-12-31T07:07:21Z",
        "not_before": "2026-12-03T07:07:21Z",
        "sig_alg": "sha256WithRSAEncryption",
        "ca": false,
        "sha256": "61a7955cc71bc19928974f127ef67cff3f14d296b88753a2f0371497fbd83e4d"
      },
      "location": {
        "path": "certs/archive.crt",
        "line": 1,
        "col": null,
        "endpoint": null
      },
      "evidence": "certificate CN=archive.harbor.example RSA-2048 sha256WithRSAEncryption until 2034-12-31",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-ff3d3ff646",
      "rule": "KEY-FILE",
      "title": "Classic key file",
      "severity": "medium",
      "exposure": "unknown",
      "category": "key",
      "asset": {
        "kind": "key",
        "algorithm": "RSA-2048",
        "family": "RSA",
        "parameter": "2048",
        "primitive": null,
        "usage": "unknown",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "certs/legacy.key",
        "line": 1,
        "col": null,
        "endpoint": null
      },
      "evidence": "PEM block: rsa private key RSA-2048",
      "context": "prod",
      "confidence": "high",
      "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": [],
      "needs": []
    },
    {
      "id": "F-2af2cc4225",
      "rule": "CRT-CLASSIC",
      "title": "Certificate or CSR with a classic key or signature",
      "severity": "medium",
      "exposure": "forgery",
      "category": "cert",
      "asset": {
        "kind": "certificate",
        "algorithm": "RSA-2048",
        "family": "RSA",
        "parameter": "2048",
        "primitive": "signature",
        "usage": "verify",
        "oid": "1.2.840.113549.1.1.1",
        "quantum_safe": false,
        "subject": "reports.harbor.example",
        "issuer": null,
        "not_after": null,
        "not_before": null,
        "sig_alg": "sha256WithRSAEncryption",
        "ca": null,
        "sha256": null
      },
      "location": {
        "path": "certs/server.csr",
        "line": 1,
        "col": null,
        "endpoint": null
      },
      "evidence": "csr CN=reports.harbor.example RSA-2048 sha256WithRSAEncryption until ?",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-666033ef4b",
      "rule": "KEY-FILE",
      "title": "Classic key file",
      "severity": "medium",
      "exposure": "unknown",
      "category": "key",
      "asset": {
        "kind": "key",
        "algorithm": "EC P-256",
        "family": "ECC",
        "parameter": "256",
        "primitive": null,
        "usage": "unknown",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "certs/server.key",
        "line": 1,
        "col": null,
        "endpoint": null
      },
      "evidence": "PEM block: ec private key EC P-256",
      "context": "prod",
      "confidence": "high",
      "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": [],
      "needs": []
    },
    {
      "id": "F-8ea246d3fa",
      "rule": "KEY-GEN",
      "title": "Classic key generation",
      "severity": "medium",
      "exposure": "unknown",
      "category": "code",
      "asset": {
        "kind": "key",
        "algorithm": null,
        "family": null,
        "parameter": null,
        "primitive": null,
        "usage": "keygen",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "ci/pipeline.yml",
        "line": 17,
        "col": null,
        "endpoint": null
      },
      "evidence": "- ssh-keygen -t ecdsa -b 521 -N \"\" -f ci_deploy_key",
      "context": "prod",
      "confidence": "high",
      "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": [],
      "needs": []
    },
    {
      "id": "F-c936541781",
      "rule": "KEY-GEN",
      "title": "Classic key generation",
      "severity": "medium",
      "exposure": "unknown",
      "category": "code",
      "asset": {
        "kind": "key",
        "algorithm": null,
        "family": null,
        "parameter": null,
        "primitive": null,
        "usage": "keygen",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "deploy/docker/Dockerfile",
        "line": 9,
        "col": null,
        "endpoint": null
      },
      "evidence": "RUN openssl genrsa -out /opt/harbor/tls/internal.key 2048",
      "context": "prod",
      "confidence": "high",
      "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": [],
      "needs": []
    },
    {
      "id": "F-a7d01593dc",
      "rule": "KEY-GEN",
      "title": "Classic key generation",
      "severity": "medium",
      "exposure": "unknown",
      "category": "code",
      "asset": {
        "kind": "key",
        "algorithm": null,
        "family": null,
        "parameter": null,
        "primitive": null,
        "usage": "keygen",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "deploy/docker/Dockerfile",
        "line": 10,
        "col": null,
        "endpoint": null
      },
      "evidence": "RUN ssh-keygen -t rsa -b 4096 -N \"\" -f /opt/harbor/ssh/deploy_key",
      "context": "prod",
      "confidence": "high",
      "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": [],
      "needs": []
    },
    {
      "id": "F-e7a14a80fb",
      "rule": "KEY-GEN",
      "title": "Classic key generation",
      "severity": "medium",
      "exposure": "unknown",
      "category": "code",
      "asset": {
        "kind": "key",
        "algorithm": null,
        "family": null,
        "parameter": null,
        "primitive": null,
        "usage": "keygen",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "deploy/k8s/certificate.yaml",
        "line": 14,
        "col": null,
        "endpoint": null
      },
      "evidence": "algorithm: RSA",
      "context": "prod",
      "confidence": "high",
      "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": [],
      "needs": []
    },
    {
      "id": "F-a344284496",
      "rule": "KEX-TLS-DHE",
      "title": "Classic finite-field DHE in use",
      "severity": "medium",
      "exposure": "hndl",
      "category": "config",
      "asset": {
        "kind": "protocol",
        "algorithm": "DHE",
        "family": "FFDH",
        "parameter": null,
        "primitive": "key-agree",
        "usage": "kex",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "deploy/nginx/nginx.conf",
        "line": 28,
        "col": null,
        "endpoint": null
      },
      "evidence": "ssl_dhparam /etc/nginx/tls/dh2048.pem;",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-34c4ef5c4a",
      "rule": "KEY-GEN",
      "title": "Classic key generation",
      "severity": "medium",
      "exposure": "unknown",
      "category": "code",
      "asset": {
        "kind": "key",
        "algorithm": null,
        "family": null,
        "parameter": null,
        "primitive": null,
        "usage": "keygen",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "deploy/terraform/main.tf",
        "line": 15,
        "col": null,
        "endpoint": null
      },
      "evidence": "algorithm = \"RSA\"",
      "context": "prod",
      "confidence": "high",
      "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": [],
      "needs": []
    },
    {
      "id": "F-f7981aa5b8",
      "rule": "KEY-GEN",
      "title": "Classic key generation",
      "severity": "medium",
      "exposure": "unknown",
      "category": "code",
      "asset": {
        "kind": "key",
        "algorithm": null,
        "family": null,
        "parameter": null,
        "primitive": null,
        "usage": "keygen",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "deploy/terraform/main.tf",
        "line": 21,
        "col": null,
        "endpoint": null
      },
      "evidence": "customer_master_key_spec = \"RSA_4096\"",
      "context": "prod",
      "confidence": "high",
      "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": [],
      "needs": []
    },
    {
      "id": "F-e4e53f2861",
      "rule": "KEX-LB-POLICY",
      "title": "Cloud load-balancer TLS policy without post-quantum key exchange",
      "severity": "medium",
      "exposure": "hndl",
      "category": "config",
      "asset": {
        "kind": "protocol",
        "algorithm": "ECDH",
        "family": "ECC",
        "parameter": "ELBSecurityPolicy-TLS13-1-2-2021-06",
        "primitive": "key-agree",
        "usage": "kex",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "deploy/terraform/main.tf",
        "line": 29,
        "col": null,
        "endpoint": null
      },
      "evidence": "ssl_policy = \"ELBSecurityPolicy-TLS13-1-2-2021-06\"",
      "context": "prod",
      "confidence": "high",
      "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": [],
      "needs": []
    },
    {
      "id": "F-1f6ab1b5a4",
      "rule": "KEX-TLS-DHE",
      "title": "Classic finite-field DHE in use",
      "severity": "medium",
      "exposure": "hndl",
      "category": "config",
      "asset": {
        "kind": "protocol",
        "algorithm": "DH",
        "family": "FFDH",
        "parameter": null,
        "primitive": "key-agree",
        "usage": "kex",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "deploy/vpn/office.ovpn",
        "line": 14,
        "col": null,
        "endpoint": null
      },
      "evidence": "dh dh2048.pem",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-a465012bc1",
      "rule": "KEY-FILE",
      "title": "Classic key file",
      "severity": "medium",
      "exposure": "unknown",
      "category": "key",
      "asset": {
        "kind": "key",
        "algorithm": "ssh-rsa 3072-bit",
        "family": "RSA",
        "parameter": "3072",
        "primitive": null,
        "usage": "unknown",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "keys/authorized_keys",
        "line": 2,
        "col": null,
        "endpoint": null
      },
      "evidence": "ssh-rsa <key> deploy@harbor-ci (ssh-rsa 3072-bit)",
      "context": "prod",
      "confidence": "high",
      "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": [],
      "needs": []
    },
    {
      "id": "F-d33b2cdd06",
      "rule": "KEY-FILE",
      "title": "Classic key file",
      "severity": "medium",
      "exposure": "unknown",
      "category": "key",
      "asset": {
        "kind": "key",
        "algorithm": "ecdsa-sha2-nistp256",
        "family": "ECC",
        "parameter": "256",
        "primitive": null,
        "usage": "unknown",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "keys/authorized_keys",
        "line": 3,
        "col": null,
        "endpoint": null
      },
      "evidence": "from=\"10.20.0.0/16\" ecdsa-sha2-nistp256 <key> ops@bastion-rotterdam (ecdsa-sha2-nistp256)",
      "context": "prod",
      "confidence": "high",
      "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": [],
      "needs": []
    },
    {
      "id": "F-f5fe4f87a1",
      "rule": "KEY-FILE",
      "title": "Classic key file",
      "severity": "medium",
      "exposure": "unknown",
      "category": "key",
      "asset": {
        "kind": "key",
        "algorithm": "ssh-ed25519",
        "family": "ECC",
        "parameter": "256",
        "primitive": null,
        "usage": "unknown",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "keys/authorized_keys",
        "line": 4,
        "col": null,
        "endpoint": null
      },
      "evidence": "ssh-ed25519 <key> backup@harbor-nas (ssh-ed25519)",
      "context": "prod",
      "confidence": "high",
      "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": [],
      "needs": []
    },
    {
      "id": "F-0fe30608c2",
      "rule": "KEY-FILE",
      "title": "Classic key file",
      "severity": "medium",
      "exposure": "unknown",
      "category": "key",
      "asset": {
        "kind": "key",
        "algorithm": "ssh-ed25519",
        "family": "ECC",
        "parameter": "256",
        "primitive": null,
        "usage": "unknown",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "keys/id_ed25519.pub",
        "line": 1,
        "col": null,
        "endpoint": null
      },
      "evidence": "ssh-ed25519 <key> mara@harbor-laptop (ssh-ed25519)",
      "context": "prod",
      "confidence": "high",
      "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": [],
      "needs": []
    },
    {
      "id": "F-409a71d64e",
      "rule": "KEY-FILE",
      "title": "Classic key file",
      "severity": "medium",
      "exposure": "unknown",
      "category": "key",
      "asset": {
        "kind": "key",
        "algorithm": "ssh-rsa 3072-bit",
        "family": "RSA",
        "parameter": "3072",
        "primitive": null,
        "usage": "unknown",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "keys/id_rsa",
        "line": 1,
        "col": null,
        "endpoint": null
      },
      "evidence": "PEM block: openssh private key ssh-rsa 3072-bit",
      "context": "prod",
      "confidence": "high",
      "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": [],
      "needs": []
    },
    {
      "id": "F-349dbcb036",
      "rule": "KEY-GEN",
      "title": "Classic key generation",
      "severity": "medium",
      "exposure": "unknown",
      "category": "code",
      "asset": {
        "kind": "key",
        "algorithm": null,
        "family": null,
        "parameter": null,
        "primitive": null,
        "usage": "keygen",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "legacy/export.rb",
        "line": 8,
        "col": null,
        "endpoint": null
      },
      "evidence": "@partner_key ||= OpenSSL::PKey::RSA.new(2048)",
      "context": "prod",
      "confidence": "high",
      "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": [],
      "needs": []
    },
    {
      "id": "F-dc92422a9b",
      "rule": "KEY-GEN",
      "title": "Classic key generation",
      "severity": "medium",
      "exposure": "unknown",
      "category": "code",
      "asset": {
        "kind": "key",
        "algorithm": null,
        "family": null,
        "parameter": null,
        "primitive": null,
        "usage": "keygen",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "legacy/pay.php",
        "line": 10,
        "col": null,
        "endpoint": null
      },
      "evidence": "$key = openssl_pkey_new(['private_key_bits' => 2048, 'private_key_type' => OPENSSL_KEYTYPE_RSA]);",
      "context": "prod",
      "confidence": "high",
      "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": [],
      "needs": []
    },
    {
      "id": "F-569cbec9ba",
      "rule": "KEY-GEN",
      "title": "Classic key generation",
      "severity": "medium",
      "exposure": "unknown",
      "category": "code",
      "asset": {
        "kind": "key",
        "algorithm": null,
        "family": null,
        "parameter": null,
        "primitive": null,
        "usage": "keygen",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "mobile/Keys.swift",
        "line": 13,
        "col": null,
        "endpoint": null
      },
      "evidence": "kSecAttrKeyType as String: kSecAttrKeyTypeECSECPrimeRandom,",
      "context": "prod",
      "confidence": "high",
      "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": [],
      "needs": []
    },
    {
      "id": "F-826dd045c4",
      "rule": "KEY-GEN",
      "title": "Classic key generation",
      "severity": "medium",
      "exposure": "unknown",
      "category": "code",
      "asset": {
        "kind": "key",
        "algorithm": null,
        "family": null,
        "parameter": null,
        "primitive": null,
        "usage": "keygen",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "mobile/Keys.swift",
        "line": 18,
        "col": null,
        "endpoint": null
      },
      "evidence": "guard let key = SecKeyCreateRandomKey(attributes as CFDictionary, &error) else {",
      "context": "prod",
      "confidence": "high",
      "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": [],
      "needs": []
    },
    {
      "id": "F-1cf7da6e62",
      "rule": "KEY-GEN",
      "title": "Classic key generation",
      "severity": "medium",
      "exposure": "unknown",
      "category": "code",
      "asset": {
        "kind": "key",
        "algorithm": null,
        "family": null,
        "parameter": null,
        "primitive": null,
        "usage": "keygen",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "native/tunnel.c",
        "line": 19,
        "col": null,
        "endpoint": null
      },
      "evidence": "EC_KEY *key = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1);",
      "context": "prod",
      "confidence": "high",
      "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": [],
      "needs": []
    },
    {
      "id": "F-b67996a04c",
      "rule": "KEY-GEN",
      "title": "Classic key generation",
      "severity": "medium",
      "exposure": "unknown",
      "category": "code",
      "asset": {
        "kind": "key",
        "algorithm": null,
        "family": null,
        "parameter": null,
        "primitive": null,
        "usage": "keygen",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "native/tunnel.c",
        "line": 20,
        "col": null,
        "endpoint": null
      },
      "evidence": "if (key == NULL || EC_KEY_generate_key(key) != 1) {",
      "context": "prod",
      "confidence": "high",
      "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": [],
      "needs": []
    },
    {
      "id": "F-1139b9ac43",
      "rule": "OBS-PQ-DRAFT",
      "title": "Pre-standard Kyber / Dilithium / draft hybrid",
      "severity": "medium",
      "exposure": "obsolete-pq",
      "category": "code",
      "asset": {
        "kind": "algorithm",
        "algorithm": "Kyber/Dilithium draft",
        "family": "obsolete",
        "parameter": null,
        "primitive": null,
        "usage": "unknown",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "pq/old_kyber.py",
        "line": 2,
        "col": null,
        "endpoint": null
      },
      "evidence": "from pqcrypto.kem.kyber768 import decrypt, encrypt, generate_keypair",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-028c53fc16",
      "rule": "OBS-PQ-DRAFT",
      "title": "Pre-standard Kyber / Dilithium / draft hybrid",
      "severity": "medium",
      "exposure": "obsolete-pq",
      "category": "code",
      "asset": {
        "kind": "algorithm",
        "algorithm": "Kyber/Dilithium draft",
        "family": "obsolete",
        "parameter": null,
        "primitive": null,
        "usage": "unknown",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "pq/old_kyber.py",
        "line": 4,
        "col": null,
        "endpoint": null
      },
      "evidence": "KEM_NAME = \"Kyber768\"",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-619688a5ff",
      "rule": "OBS-PQ-DRAFT",
      "title": "Pre-standard Kyber / Dilithium / draft hybrid",
      "severity": "medium",
      "exposure": "obsolete-pq",
      "category": "code",
      "asset": {
        "kind": "algorithm",
        "algorithm": "Kyber/Dilithium draft",
        "family": "obsolete",
        "parameter": null,
        "primitive": null,
        "usage": "unknown",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "pq/old_kyber.py",
        "line": 5,
        "col": null,
        "endpoint": null
      },
      "evidence": "TLS_GROUP = \"X25519Kyber768Draft00\"",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-eee4ee4e53",
      "rule": "KEY-GEN",
      "title": "Classic key generation",
      "severity": "medium",
      "exposure": "unknown",
      "category": "code",
      "asset": {
        "kind": "key",
        "algorithm": null,
        "family": null,
        "parameter": null,
        "primitive": null,
        "usage": "keygen",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "scripts/make-certs.sh",
        "line": 8,
        "col": null,
        "endpoint": null
      },
      "evidence": "openssl req -x509 -newkey rsa:4096 -sha256 -days 5475 -nodes -keyout \"$OUT/ca.key\" -out \"$OUT/ca.crt\" -subj \"/CN=Harbor Dev CA\"",
      "context": "prod",
      "confidence": "high",
      "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": [],
      "needs": []
    },
    {
      "id": "F-ee160e308f",
      "rule": "KEY-GEN",
      "title": "Classic key generation",
      "severity": "medium",
      "exposure": "unknown",
      "category": "code",
      "asset": {
        "kind": "key",
        "algorithm": null,
        "family": null,
        "parameter": null,
        "primitive": null,
        "usage": "keygen",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "scripts/make-certs.sh",
        "line": 9,
        "col": null,
        "endpoint": null
      },
      "evidence": "openssl ecparam -name prime256v1 -genkey -noout -out \"$OUT/server.key\"",
      "context": "prod",
      "confidence": "high",
      "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": [],
      "needs": []
    },
    {
      "id": "F-10b81968f7",
      "rule": "SIG-JWT",
      "title": "JWT/JOSE signed with RSA or elliptic curves",
      "severity": "medium",
      "exposure": "forgery",
      "category": "token",
      "asset": {
        "kind": "protocol",
        "algorithm": "JWS",
        "family": null,
        "parameter": null,
        "primitive": "signature",
        "usage": "sign",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "services/api/app/crypto_utils.py",
        "line": 12,
        "col": null,
        "endpoint": null
      },
      "evidence": "JWT_ALGORITHM = \"RS256\"",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-920a186a65",
      "rule": "KEY-GEN",
      "title": "Classic key generation",
      "severity": "medium",
      "exposure": "unknown",
      "category": "code",
      "asset": {
        "kind": "key",
        "algorithm": null,
        "family": null,
        "parameter": null,
        "primitive": null,
        "usage": "keygen",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "services/api/app/crypto_utils.py",
        "line": 17,
        "col": null,
        "endpoint": null
      },
      "evidence": "return rsa.generate_private_key(public_exponent=65537, key_size=2048)",
      "context": "prod",
      "confidence": "high",
      "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": [],
      "needs": []
    },
    {
      "id": "F-53ecbc796c",
      "rule": "KEY-GEN",
      "title": "Classic key generation",
      "severity": "medium",
      "exposure": "unknown",
      "category": "code",
      "asset": {
        "kind": "key",
        "algorithm": null,
        "family": null,
        "parameter": null,
        "primitive": null,
        "usage": "keygen",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "services/api/app/crypto_utils.py",
        "line": 22,
        "col": null,
        "endpoint": null
      },
      "evidence": "return rsa.generate_private_key(public_exponent=65537, key_size=1024)",
      "context": "prod",
      "confidence": "high",
      "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": [],
      "needs": []
    },
    {
      "id": "F-a4aa0ffa84",
      "rule": "SIG-CODE-RSA",
      "title": "RSA signatures in code",
      "severity": "medium",
      "exposure": "forgery",
      "category": "code",
      "asset": {
        "kind": "algorithm",
        "algorithm": "RSA",
        "family": "RSA",
        "parameter": null,
        "primitive": "signature",
        "usage": "sign",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "services/api/app/crypto_utils.py",
        "line": 33,
        "col": null,
        "endpoint": null
      },
      "evidence": "pss = padding.PSS(mgf=padding.MGF1(hashes.SHA256()), salt_length=padding.PSS.MAX_LENGTH)",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-defaf77ec6",
      "rule": "KEY-GEN",
      "title": "Classic key generation",
      "severity": "medium",
      "exposure": "unknown",
      "category": "code",
      "asset": {
        "kind": "key",
        "algorithm": null,
        "family": null,
        "parameter": null,
        "primitive": null,
        "usage": "keygen",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "services/api/app/crypto_utils.py",
        "line": 38,
        "col": null,
        "endpoint": null
      },
      "evidence": "ours = ec.generate_private_key(ec.SECP256R1())",
      "context": "prod",
      "confidence": "high",
      "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": [],
      "needs": []
    },
    {
      "id": "F-3fc2985403",
      "rule": "DEP-RUNTIME-OLD",
      "title": "Runtime or library too old for ML-KEM hybrids",
      "severity": "medium",
      "exposure": "blocker",
      "category": "dependency",
      "asset": {
        "kind": "library",
        "algorithm": null,
        "family": null,
        "parameter": "41.0.7",
        "primitive": null,
        "usage": "unknown",
        "oid": null,
        "quantum_safe": false,
        "library": "cryptography"
      },
      "location": {
        "path": "services/api/requirements.txt",
        "line": 4,
        "col": null,
        "endpoint": null
      },
      "evidence": "cryptography==41.0.7",
      "context": "prod",
      "confidence": "high",
      "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": [],
      "needs": [],
      "note": "pyca/cryptography 48 exposes ML-KEM/ML-DSA with OpenSSL 3.5+ (47 only on AWS-LC/BoringSSL builds)."
    },
    {
      "id": "F-34a0369d3d",
      "rule": "DEP-RUNTIME-OLD",
      "title": "Runtime or library too old for ML-KEM hybrids",
      "severity": "medium",
      "exposure": "blocker",
      "category": "dependency",
      "asset": {
        "kind": "library",
        "algorithm": null,
        "family": null,
        "parameter": "17",
        "primitive": null,
        "usage": "unknown",
        "oid": null,
        "quantum_safe": false,
        "library": "java"
      },
      "location": {
        "path": "services/billing/pom.xml",
        "line": 12,
        "col": null,
        "endpoint": null
      },
      "evidence": "<maven.compiler.release>17</maven.compiler.release>",
      "context": "prod",
      "confidence": "medium",
      "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": [],
      "needs": [],
      "note": "JDK 27 enables X25519MLKEM768 in TLS by default; JDK 24-26 have the ML-KEM API only. This line is a build target: the runtime that actually runs the service may be newer. Check it where it runs."
    },
    {
      "id": "F-ef1f98b13a",
      "rule": "DEP-RUNTIME-OLD",
      "title": "Runtime or library too old for ML-KEM hybrids",
      "severity": "medium",
      "exposure": "blocker",
      "category": "dependency",
      "asset": {
        "kind": "library",
        "algorithm": null,
        "family": null,
        "parameter": "1.78.1",
        "primitive": null,
        "usage": "unknown",
        "oid": null,
        "quantum_safe": false,
        "library": "bcprov"
      },
      "location": {
        "path": "services/billing/pom.xml",
        "line": 17,
        "col": null,
        "endpoint": null
      },
      "evidence": "<dependency><groupId>org.bouncycastle</groupId><artifactId>bcprov-jdk18on</artifactId><version>1.78.1</version></dependency>",
      "context": "prod",
      "confidence": "high",
      "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": [],
      "needs": [],
      "note": "Bouncy Castle Java 1.79 added the standardized ML-KEM, ML-DSA and SLH-DSA algorithms."
    },
    {
      "id": "F-12b869fc0f",
      "rule": "KEY-GEN",
      "title": "Classic key generation",
      "severity": "medium",
      "exposure": "unknown",
      "category": "code",
      "asset": {
        "kind": "key",
        "algorithm": null,
        "family": null,
        "parameter": null,
        "primitive": null,
        "usage": "keygen",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "services/billing/src/Crypto.java",
        "line": 17,
        "col": null,
        "endpoint": null
      },
      "evidence": "KeyPairGenerator kpg = KeyPairGenerator.getInstance(\"RSA\");",
      "context": "prod",
      "confidence": "high",
      "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": [],
      "needs": []
    },
    {
      "id": "F-cb856abc47",
      "rule": "SIG-CODE-EC",
      "title": "ECDSA / EdDSA signatures in code",
      "severity": "medium",
      "exposure": "forgery",
      "category": "code",
      "asset": {
        "kind": "algorithm",
        "algorithm": "ECDSA",
        "family": "ECC",
        "parameter": null,
        "primitive": "signature",
        "usage": "sign",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "services/billing/src/Crypto.java",
        "line": 43,
        "col": null,
        "endpoint": null
      },
      "evidence": "Signature sig = Signature.getInstance(\"SHA256withECDSA\");",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-a686facc76",
      "rule": "SIG-CODE-EC",
      "title": "ECDSA / EdDSA signatures in code",
      "severity": "medium",
      "exposure": "forgery",
      "category": "code",
      "asset": {
        "kind": "algorithm",
        "algorithm": "ECDSA",
        "family": "ECC",
        "parameter": null,
        "primitive": "signature",
        "usage": "sign",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "services/edge/src/main.rs",
        "line": 2,
        "col": null,
        "endpoint": null
      },
      "evidence": "use ed25519_dalek::{Signature, Signer, SigningKey};",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-b572a86477",
      "rule": "DEP-RUNTIME-OLD",
      "title": "Runtime or library too old for ML-KEM hybrids",
      "severity": "medium",
      "exposure": "blocker",
      "category": "dependency",
      "asset": {
        "kind": "library",
        "algorithm": null,
        "family": null,
        "parameter": "1.21",
        "primitive": null,
        "usage": "unknown",
        "oid": null,
        "quantum_safe": false,
        "library": "go"
      },
      "location": {
        "path": "services/gateway/go.mod",
        "line": 3,
        "col": null,
        "endpoint": null
      },
      "evidence": "go 1.21",
      "context": "prod",
      "confidence": "high",
      "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": [],
      "needs": [],
      "note": "Go 1.24+ has crypto/mlkem and X25519MLKEM768 in crypto/tls by default."
    },
    {
      "id": "F-3e9d7bf776",
      "rule": "KEY-GEN",
      "title": "Classic key generation",
      "severity": "medium",
      "exposure": "unknown",
      "category": "code",
      "asset": {
        "kind": "key",
        "algorithm": null,
        "family": null,
        "parameter": null,
        "primitive": null,
        "usage": "keygen",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "services/gateway/main.go",
        "line": 31,
        "col": null,
        "endpoint": null
      },
      "evidence": "return ecdsa.GenerateKey(elliptic.P256(), rand.Reader)",
      "context": "prod",
      "confidence": "high",
      "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": [],
      "needs": []
    },
    {
      "id": "F-8bdb7973a8",
      "rule": "SIG-CODE-EC",
      "title": "ECDSA / EdDSA signatures in code",
      "severity": "medium",
      "exposure": "forgery",
      "category": "code",
      "asset": {
        "kind": "algorithm",
        "algorithm": "ECDSA",
        "family": "ECC",
        "parameter": null,
        "primitive": "signature",
        "usage": "sign",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "services/gateway/main.go",
        "line": 36,
        "col": null,
        "endpoint": null
      },
      "evidence": "return ecdsa.SignASN1(rand.Reader, key, digest[:])",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-6ff47c754a",
      "rule": "SIG-JWT",
      "title": "JWT/JOSE signed with RSA or elliptic curves",
      "severity": "medium",
      "exposure": "forgery",
      "category": "token",
      "asset": {
        "kind": "protocol",
        "algorithm": "JWS",
        "family": null,
        "parameter": null,
        "primitive": "signature",
        "usage": "sign",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "services/gateway/main.go",
        "line": 41,
        "col": null,
        "endpoint": null
      },
      "evidence": "return jwt.NewWithClaims(jwt.SigningMethodES256, claims).SignedString(key)",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-dc5dbdd047",
      "rule": "KEY-GEN",
      "title": "Classic key generation",
      "severity": "medium",
      "exposure": "unknown",
      "category": "code",
      "asset": {
        "kind": "key",
        "algorithm": null,
        "family": null,
        "parameter": null,
        "primitive": null,
        "usage": "keygen",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "services/reports/Signer.cs",
        "line": 9,
        "col": null,
        "endpoint": null
      },
      "evidence": "private readonly RSA _rsa = RSA.Create(3072);",
      "context": "prod",
      "confidence": "high",
      "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": [],
      "needs": []
    },
    {
      "id": "F-3e96c922fc",
      "rule": "SIG-CODE-RSA",
      "title": "RSA signatures in code",
      "severity": "medium",
      "exposure": "forgery",
      "category": "code",
      "asset": {
        "kind": "algorithm",
        "algorithm": "RSA",
        "family": "RSA",
        "parameter": null,
        "primitive": "signature",
        "usage": "sign",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "services/reports/Signer.cs",
        "line": 12,
        "col": null,
        "endpoint": null
      },
      "evidence": "_rsa.SignHash(pdfHash, HashAlgorithmName.SHA256, RSASignaturePadding.Pss);",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-1b7cd2cffd",
      "rule": "DEP-RUNTIME-OLD",
      "title": "Runtime or library too old for ML-KEM hybrids",
      "severity": "medium",
      "exposure": "blocker",
      "category": "dependency",
      "asset": {
        "kind": "library",
        "algorithm": null,
        "family": null,
        "parameter": "8.0",
        "primitive": null,
        "usage": "unknown",
        "oid": null,
        "quantum_safe": false,
        "library": "dotnet"
      },
      "location": {
        "path": "services/reports/reports.csproj",
        "line": 4,
        "col": null,
        "endpoint": null
      },
      "evidence": "<TargetFramework>net8.0</TargetFramework>",
      "context": "prod",
      "confidence": "high",
      "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": [],
      "needs": [],
      "note": ".NET 10 adds MLKem and MLDsa. This line is a build target: the runtime that actually runs the service may be newer. Check it where it runs."
    },
    {
      "id": "F-caeb34d018",
      "rule": "DEP-RUNTIME-OLD",
      "title": "Runtime or library too old for ML-KEM hybrids",
      "severity": "medium",
      "exposure": "blocker",
      "category": "dependency",
      "asset": {
        "kind": "library",
        "algorithm": null,
        "family": null,
        "parameter": "18",
        "primitive": null,
        "usage": "unknown",
        "oid": null,
        "quantum_safe": false,
        "library": "node"
      },
      "location": {
        "path": "services/web/package.json",
        "line": 6,
        "col": null,
        "endpoint": null
      },
      "evidence": "\"node\": \"18.x\"",
      "context": "prod",
      "confidence": "high",
      "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": [],
      "needs": [],
      "note": "Official Node binaries bundle OpenSSL 3.5 from 22.20.0 on 22.x and 24.5.0 on 24.x. Check process.versions.openssl on the deployed build."
    },
    {
      "id": "F-f2e7ff13e4",
      "rule": "SIG-JWT",
      "title": "JWT/JOSE signed with RSA or elliptic curves",
      "severity": "medium",
      "exposure": "forgery",
      "category": "token",
      "asset": {
        "kind": "protocol",
        "algorithm": "JWS",
        "family": null,
        "parameter": null,
        "primitive": "signature",
        "usage": "sign",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "services/web/src/auth.ts",
        "line": 7,
        "col": null,
        "endpoint": null
      },
      "evidence": "return jwt.sign({ sub: userId, iss: ISSUER }, signingPem, { algorithm: \"RS256\", expiresIn: \"15m\" });",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-6bc4c19042",
      "rule": "KEY-GEN",
      "title": "Classic key generation",
      "severity": "medium",
      "exposure": "unknown",
      "category": "code",
      "asset": {
        "kind": "key",
        "algorithm": null,
        "family": null,
        "parameter": null,
        "primitive": null,
        "usage": "keygen",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "services/web/src/auth.ts",
        "line": 21,
        "col": null,
        "endpoint": null
      },
      "evidence": "return crypto.generateKeyPairSync('rsa', { modulusLength: 3072 });",
      "context": "prod",
      "confidence": "high",
      "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": [],
      "needs": []
    },
    {
      "id": "F-ad742dc732",
      "rule": "CRT-CLASSIC",
      "title": "Certificate or CSR with a classic key or signature",
      "severity": "low",
      "exposure": "forgery",
      "category": "cert",
      "asset": {
        "kind": "certificate",
        "algorithm": "RSA-1024",
        "family": "RSA",
        "parameter": "1024",
        "primitive": "signature",
        "usage": "verify",
        "oid": "1.2.840.113549.1.1.1",
        "quantum_safe": false,
        "subject": "scanner-gw.harbor.example",
        "issuer": "scanner-gw.harbor.example",
        "not_after": "2029-12-02T07:07:28Z",
        "not_before": "2026-12-03T07:07:28Z",
        "sig_alg": "sha1WithRSAEncryption",
        "ca": false,
        "sha256": "37b076afb2dfed1a420b8a0f2442dce4e49ac5435b4beecc91e66ea14f42372c"
      },
      "location": {
        "path": "certs/old.crt",
        "line": 1,
        "col": null,
        "endpoint": null
      },
      "evidence": "certificate CN=scanner-gw.harbor.example RSA-1024 sha1WithRSAEncryption until 2029-12-02",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-e0378a8fa6",
      "rule": "CRT-CLASSIC",
      "title": "Certificate or CSR with a classic key or signature",
      "severity": "low",
      "exposure": "forgery",
      "category": "cert",
      "asset": {
        "kind": "certificate",
        "algorithm": "EC P-256",
        "family": "ECC",
        "parameter": "256",
        "primitive": "signature",
        "usage": "verify",
        "oid": "1.2.840.10045.2.1",
        "quantum_safe": false,
        "subject": "api.harbor.example",
        "issuer": "Harbor Root CA 2026",
        "not_after": "2027-09-30T07:07:21Z",
        "not_before": "2026-12-03T07:07:21Z",
        "sig_alg": "sha256WithRSAEncryption",
        "ca": false,
        "sha256": "12ad12ae205fe55cddd19fb25f3b2308251bbb71e64da6ce0802076c7e33476d"
      },
      "location": {
        "path": "certs/server.crt",
        "line": 1,
        "col": null,
        "endpoint": null
      },
      "evidence": "certificate CN=api.harbor.example EC P-256 sha256WithRSAEncryption until 2027-09-30",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": []
    },
    {
      "id": "F-3d77046138",
      "rule": "DEP-BASE-IMAGE",
      "title": "Container base image that may ship OpenSSL older than 3.5",
      "severity": "low",
      "exposure": "blocker",
      "category": "dependency",
      "asset": {
        "kind": "library",
        "algorithm": null,
        "family": null,
        "parameter": "debian:bookworm",
        "primitive": null,
        "usage": "unknown",
        "oid": null,
        "quantum_safe": false,
        "library": "base image"
      },
      "location": {
        "path": "deploy/docker/Dockerfile",
        "line": 1,
        "col": null,
        "endpoint": null
      },
      "evidence": "FROM debian:bookworm",
      "context": "prod",
      "confidence": "high",
      "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": [],
      "needs": [
        "runtime"
      ],
      "note": "Likely ships OpenSSL older than 3.5: run `openssl version` inside the image."
    },
    {
      "id": "F-581ae02a09",
      "rule": "KEX-TLS-DEFAULT",
      "title": "TLS server with no group setting (depends on the TLS library)",
      "severity": "low",
      "exposure": "hndl",
      "category": "config",
      "asset": {
        "kind": "protocol",
        "algorithm": "ECDH",
        "family": "ECC",
        "parameter": null,
        "primitive": "key-agree",
        "usage": "kex",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "deploy/nginx/site-default.conf",
        "line": 11,
        "col": null,
        "endpoint": null
      },
      "evidence": "ssl_certificate /etc/nginx/tls/www.crt;",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": [
        "probe"
      ]
    },
    {
      "id": "F-09cb4f605f",
      "rule": "SIG-SSH-ALGS",
      "title": "Classic SSH host/user key algorithms",
      "severity": "low",
      "exposure": "forgery",
      "category": "config",
      "asset": {
        "kind": "key",
        "algorithm": null,
        "family": null,
        "parameter": null,
        "primitive": "signature",
        "usage": "sign",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "deploy/ssh/sshd_config",
        "line": 6,
        "col": null,
        "endpoint": null
      },
      "evidence": "HostKey /etc/ssh/ssh_host_ed25519_key",
      "context": "prod",
      "confidence": "high",
      "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": [],
      "needs": []
    },
    {
      "id": "F-a7ef18b21f",
      "rule": "SIG-SSH-ALGS",
      "title": "Classic SSH host/user key algorithms",
      "severity": "low",
      "exposure": "forgery",
      "category": "config",
      "asset": {
        "kind": "protocol",
        "algorithm": null,
        "family": null,
        "parameter": "ssh-ed25519,ecdsa-sha2-nistp256,rsa-sha2-512",
        "primitive": "signature",
        "usage": "sign",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "deploy/ssh/sshd_config",
        "line": 10,
        "col": null,
        "endpoint": null
      },
      "evidence": "PubkeyAcceptedAlgorithms ssh-ed25519,ecdsa-sha2-nistp256,rsa-sha2-512",
      "context": "prod",
      "confidence": "high",
      "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": [],
      "needs": []
    },
    {
      "id": "F-0f4f8821c2",
      "rule": "KEX-SSH-DEFAULT",
      "title": "sshd without KexAlgorithms (depends on the OpenSSH version)",
      "severity": "low",
      "exposure": "hndl",
      "category": "config",
      "asset": {
        "kind": "protocol",
        "algorithm": "ECDH",
        "family": "ECC",
        "parameter": null,
        "primitive": "key-agree",
        "usage": "kex",
        "oid": null,
        "quantum_safe": false
      },
      "location": {
        "path": "deploy/ssh/sshd_config.default",
        "line": 1,
        "col": null,
        "endpoint": null
      },
      "evidence": "no KexAlgorithms line (uses the OpenSSH version's default)",
      "context": "prod",
      "confidence": "high",
      "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"
      ],
      "needs": [
        "probe",
        "runtime"
      ]
    },
    {
      "id": "F-77216f8e7c",
      "rule": "OK-PQ-KEX",
      "title": "Hybrid or ML-KEM key exchange present",
      "severity": "info",
      "exposure": "none",
      "category": "config",
      "asset": {
        "kind": "protocol",
        "algorithm": "mlkem768x25519-sha256",
        "family": "ML-KEM",
        "parameter": null,
        "primitive": "kem",
        "usage": "kex",
        "oid": null,
        "quantum_safe": true
      },
      "location": {
        "path": "decoys/sshd_config.d/sshd_append.conf",
        "line": 2,
        "col": null,
        "endpoint": null
      },
      "evidence": "KexAlgorithms +mlkem768x25519-sha256",
      "context": "prod",
      "confidence": "high",
      "why": "Inventory only.",
      "replace": "",
      "recipe": "",
      "refs": [
        "FIPS 203"
      ],
      "needs": []
    },
    {
      "id": "F-45834bc14a",
      "rule": "OK-PQ-KEX",
      "title": "Hybrid or ML-KEM key exchange present",
      "severity": "info",
      "exposure": "none",
      "category": "config",
      "asset": {
        "kind": "protocol",
        "algorithm": "X25519MLKEM768",
        "family": "ML-KEM",
        "parameter": null,
        "primitive": "kem",
        "usage": "kex",
        "oid": null,
        "quantum_safe": true
      },
      "location": {
        "path": "decoys/tls13.go",
        "line": 9,
        "col": null,
        "endpoint": null
      },
      "evidence": "CurvePreferences: []tls.CurveID{tls.X25519MLKEM768, tls.X25519, tls.CurveP256},",
      "context": "prod",
      "confidence": "high",
      "why": "Inventory only.",
      "replace": "",
      "recipe": "",
      "refs": [
        "FIPS 203"
      ],
      "needs": []
    },
    {
      "id": "F-07b82b173b",
      "rule": "OK-PQ-KEX",
      "title": "Hybrid or ML-KEM key exchange present",
      "severity": "info",
      "exposure": "none",
      "category": "config",
      "asset": {
        "kind": "algorithm",
        "algorithm": "ML-KEM",
        "family": "ML-KEM",
        "parameter": null,
        "primitive": "kem",
        "usage": "kex",
        "oid": null,
        "quantum_safe": true
      },
      "location": {
        "path": "pq/kem.go",
        "line": 5,
        "col": null,
        "endpoint": null
      },
      "evidence": "\"crypto/mlkem\"",
      "context": "prod",
      "confidence": "high",
      "why": "Inventory only.",
      "replace": "",
      "recipe": "",
      "refs": [
        "FIPS 203"
      ],
      "needs": []
    },
    {
      "id": "F-b1509bc548",
      "rule": "OK-PQ-KEX",
      "title": "Hybrid or ML-KEM key exchange present",
      "severity": "info",
      "exposure": "none",
      "category": "config",
      "asset": {
        "kind": "algorithm",
        "algorithm": "ML-KEM",
        "family": "ML-KEM",
        "parameter": null,
        "primitive": "kem",
        "usage": "kex",
        "oid": null,
        "quantum_safe": true
      },
      "location": {
        "path": "pq/kem.go",
        "line": 9,
        "col": null,
        "endpoint": null
      },
      "evidence": "func NewDecapsulationKey() (*mlkem.DecapsulationKey768, error) {",
      "context": "prod",
      "confidence": "high",
      "why": "Inventory only.",
      "replace": "",
      "recipe": "",
      "refs": [
        "FIPS 203"
      ],
      "needs": []
    },
    {
      "id": "F-0999ea4426",
      "rule": "OK-PQ-KEX",
      "title": "Hybrid or ML-KEM key exchange present",
      "severity": "info",
      "exposure": "none",
      "category": "config",
      "asset": {
        "kind": "algorithm",
        "algorithm": "ML-KEM",
        "family": "ML-KEM",
        "parameter": null,
        "primitive": "kem",
        "usage": "kex",
        "oid": null,
        "quantum_safe": true
      },
      "location": {
        "path": "pq/kem.go",
        "line": 10,
        "col": null,
        "endpoint": null
      },
      "evidence": "return mlkem.GenerateKey768()",
      "context": "prod",
      "confidence": "high",
      "why": "Inventory only.",
      "replace": "",
      "recipe": "",
      "refs": [
        "FIPS 203"
      ],
      "needs": []
    },
    {
      "id": "F-83cf75a3cd",
      "rule": "OK-PQ-KEX",
      "title": "Hybrid or ML-KEM key exchange present",
      "severity": "info",
      "exposure": "none",
      "category": "config",
      "asset": {
        "kind": "algorithm",
        "algorithm": "ML-KEM",
        "family": "ML-KEM",
        "parameter": null,
        "primitive": "kem",
        "usage": "kex",
        "oid": null,
        "quantum_safe": true
      },
      "location": {
        "path": "pq/kem.go",
        "line": 15,
        "col": null,
        "endpoint": null
      },
      "evidence": "ek, err := mlkem.NewEncapsulationKey768(encapsulationKey)",
      "context": "prod",
      "confidence": "high",
      "why": "Inventory only.",
      "replace": "",
      "recipe": "",
      "refs": [
        "FIPS 203"
      ],
      "needs": []
    },
    {
      "id": "F-e1ac9cf894",
      "rule": "OK-PQ-SIG",
      "title": "ML-DSA / SLH-DSA / LMS / XMSS present",
      "severity": "info",
      "exposure": "none",
      "category": "code",
      "asset": {
        "kind": "key",
        "algorithm": "ML-DSA-65",
        "family": "ML-DSA",
        "parameter": "65",
        "primitive": null,
        "usage": "unknown",
        "oid": "2.16.840.1.101.3.4.3.18",
        "quantum_safe": true
      },
      "location": {
        "path": "pq/mldsa.pub",
        "line": 1,
        "col": null,
        "endpoint": null
      },
      "evidence": "PEM block: public key ML-DSA-65",
      "context": "prod",
      "confidence": "high",
      "why": "Inventory only.",
      "replace": "",
      "recipe": "",
      "refs": [
        "FIPS 204",
        "FIPS 205"
      ],
      "needs": []
    },
    {
      "id": "F-9be549a991",
      "rule": "OK-PQ-KEX",
      "title": "Hybrid or ML-KEM key exchange present",
      "severity": "info",
      "exposure": "none",
      "category": "config",
      "asset": {
        "kind": "key",
        "algorithm": "ML-KEM-768",
        "family": "ML-KEM",
        "parameter": "768",
        "primitive": null,
        "usage": "unknown",
        "oid": "2.16.840.1.101.3.4.4.2",
        "quantum_safe": true
      },
      "location": {
        "path": "pq/mlkem.pub",
        "line": 1,
        "col": null,
        "endpoint": null
      },
      "evidence": "PEM block: public key ML-KEM-768",
      "context": "prod",
      "confidence": "high",
      "why": "Inventory only.",
      "replace": "",
      "recipe": "",
      "refs": [
        "FIPS 203"
      ],
      "needs": []
    },
    {
      "id": "F-2cc321676e",
      "rule": "PQ-ONLY",
      "title": "ML-KEM group list with no classic fallback",
      "severity": "info",
      "exposure": "none",
      "category": "config",
      "asset": {
        "kind": "protocol",
        "algorithm": "X25519MLKEM768",
        "family": "ML-KEM",
        "parameter": "X25519MLKEM768:SecP384r1MLKEM1024",
        "primitive": "kem",
        "usage": "kex",
        "oid": null,
        "quantum_safe": true
      },
      "location": {
        "path": "pq/nginx-internal.conf",
        "line": 9,
        "col": null,
        "endpoint": null
      },
      "evidence": "ssl_ecdh_curve X25519MLKEM768:SecP384r1MLKEM1024;",
      "context": "prod",
      "confidence": "high",
      "why": "Inventory only.",
      "replace": "Check client compatibility; hybrid is the default advice.",
      "recipe": "migrate/tls.md",
      "refs": [],
      "needs": []
    },
    {
      "id": "F-bc9f9d494f",
      "rule": "OK-PQ-KEX",
      "title": "Hybrid or ML-KEM key exchange present",
      "severity": "info",
      "exposure": "none",
      "category": "config",
      "asset": {
        "kind": "protocol",
        "algorithm": "X25519MLKEM768",
        "family": "ML-KEM",
        "parameter": "X25519MLKEM768:X25519:prime256v1",
        "primitive": "kem",
        "usage": "kex",
        "oid": null,
        "quantum_safe": true
      },
      "location": {
        "path": "pq/nginx-pq.conf",
        "line": 8,
        "col": null,
        "endpoint": null
      },
      "evidence": "ssl_ecdh_curve X25519MLKEM768:X25519:prime256v1;",
      "context": "prod",
      "confidence": "high",
      "why": "Inventory only.",
      "replace": "",
      "recipe": "",
      "refs": [
        "FIPS 203"
      ],
      "needs": []
    },
    {
      "id": "F-f0457b31fc",
      "rule": "OK-PQ-KEX",
      "title": "Hybrid or ML-KEM key exchange present",
      "severity": "info",
      "exposure": "none",
      "category": "config",
      "asset": {
        "kind": "protocol",
        "algorithm": "mlkem768x25519-sha256",
        "family": "ML-KEM",
        "parameter": null,
        "primitive": "kem",
        "usage": "kex",
        "oid": null,
        "quantum_safe": true
      },
      "location": {
        "path": "pq/sshd_config_pq",
        "line": 3,
        "col": null,
        "endpoint": null
      },
      "evidence": "KexAlgorithms mlkem768x25519-sha256,sntrup761x25519-sha512,curve25519-sha256",
      "context": "prod",
      "confidence": "high",
      "why": "Inventory only.",
      "replace": "",
      "recipe": "",
      "refs": [
        "FIPS 203"
      ],
      "needs": []
    },
    {
      "id": "F-91e12c339f",
      "rule": "OK-PQ-KEX",
      "title": "Hybrid or ML-KEM key exchange present",
      "severity": "info",
      "exposure": "none",
      "category": "config",
      "asset": {
        "kind": "protocol",
        "algorithm": "X25519MLKEM768",
        "family": "ML-KEM",
        "parameter": "X25519MLKEM768:X25519",
        "primitive": "kem",
        "usage": "kex",
        "oid": null,
        "quantum_safe": true
      },
      "location": {
        "path": "pq/tls_pq.ts",
        "line": 10,
        "col": null,
        "endpoint": null
      },
      "evidence": "ecdhCurve: \"X25519MLKEM768:X25519\",",
      "context": "prod",
      "confidence": "high",
      "why": "Inventory only.",
      "replace": "",
      "recipe": "",
      "refs": [
        "FIPS 203"
      ],
      "needs": []
    },
    {
      "id": "F-0364e2e105",
      "rule": "DEP-CRYPTO-LIB",
      "title": "Cryptography library (inventory)",
      "severity": "info",
      "exposure": "none",
      "category": "dependency",
      "asset": {
        "kind": "library",
        "algorithm": null,
        "family": null,
        "parameter": "41.0.7",
        "primitive": null,
        "usage": "unknown",
        "oid": null,
        "quantum_safe": false,
        "library": "cryptography"
      },
      "location": {
        "path": "services/api/requirements.txt",
        "line": 4,
        "col": null,
        "endpoint": null
      },
      "evidence": "cryptography==41.0.7",
      "context": "prod",
      "confidence": "high",
      "why": "Inventory only.",
      "replace": "",
      "recipe": "",
      "refs": [],
      "needs": []
    },
    {
      "id": "F-2eb75c9b28",
      "rule": "DEP-CRYPTO-LIB",
      "title": "Cryptography library (inventory)",
      "severity": "info",
      "exposure": "none",
      "category": "dependency",
      "asset": {
        "kind": "library",
        "algorithm": null,
        "family": null,
        "parameter": "3.20.0",
        "primitive": null,
        "usage": "unknown",
        "oid": null,
        "quantum_safe": false,
        "library": "pycryptodome"
      },
      "location": {
        "path": "services/api/requirements.txt",
        "line": 5,
        "col": null,
        "endpoint": null
      },
      "evidence": "pycryptodome==3.20.0",
      "context": "prod",
      "confidence": "high",
      "why": "Inventory only.",
      "replace": "",
      "recipe": "",
      "refs": [],
      "needs": []
    },
    {
      "id": "F-e88edf7781",
      "rule": "DEP-CRYPTO-LIB",
      "title": "Cryptography library (inventory)",
      "severity": "info",
      "exposure": "none",
      "category": "dependency",
      "asset": {
        "kind": "library",
        "algorithm": null,
        "family": null,
        "parameter": "2.8.0",
        "primitive": null,
        "usage": "unknown",
        "oid": null,
        "quantum_safe": false,
        "library": "pyjwt"
      },
      "location": {
        "path": "services/api/requirements.txt",
        "line": 6,
        "col": null,
        "endpoint": null
      },
      "evidence": "PyJWT==2.8.0",
      "context": "prod",
      "confidence": "high",
      "why": "Inventory only.",
      "replace": "",
      "recipe": "",
      "refs": [],
      "needs": []
    },
    {
      "id": "F-b8daca7007",
      "rule": "DEP-CRYPTO-LIB",
      "title": "Cryptography library (inventory)",
      "severity": "info",
      "exposure": "none",
      "category": "dependency",
      "asset": {
        "kind": "library",
        "algorithm": null,
        "family": null,
        "parameter": "1.78.1",
        "primitive": null,
        "usage": "unknown",
        "oid": null,
        "quantum_safe": false,
        "library": "bcprov-jdk18on"
      },
      "location": {
        "path": "services/billing/pom.xml",
        "line": 17,
        "col": null,
        "endpoint": null
      },
      "evidence": "<dependency><groupId>org.bouncycastle</groupId><artifactId>bcprov-jdk18on</artifactId><version>1.78.1</version></dependency>",
      "context": "prod",
      "confidence": "high",
      "why": "Inventory only.",
      "replace": "",
      "recipe": "",
      "refs": [],
      "needs": []
    },
    {
      "id": "F-3651637806",
      "rule": "DEP-CRYPTO-LIB",
      "title": "Cryptography library (inventory)",
      "severity": "info",
      "exposure": "none",
      "category": "dependency",
      "asset": {
        "kind": "library",
        "algorithm": null,
        "family": null,
        "parameter": "2.1",
        "primitive": null,
        "usage": "unknown",
        "oid": null,
        "quantum_safe": false,
        "library": "ed25519-dalek"
      },
      "location": {
        "path": "services/edge/Cargo.toml",
        "line": 7,
        "col": null,
        "endpoint": null
      },
      "evidence": "ed25519-dalek = { version = \"2.1\", features = [\"rand_core\"] }",
      "context": "prod",
      "confidence": "high",
      "why": "Inventory only.",
      "replace": "",
      "recipe": "",
      "refs": [],
      "needs": []
    },
    {
      "id": "F-b87fcd0a2b",
      "rule": "DEP-CRYPTO-LIB",
      "title": "Cryptography library (inventory)",
      "severity": "info",
      "exposure": "none",
      "category": "dependency",
      "asset": {
        "kind": "library",
        "algorithm": null,
        "family": null,
        "parameter": "0.9.6",
        "primitive": null,
        "usage": "unknown",
        "oid": null,
        "quantum_safe": false,
        "library": "rsa"
      },
      "location": {
        "path": "services/edge/Cargo.toml",
        "line": 9,
        "col": null,
        "endpoint": null
      },
      "evidence": "rsa = \"0.9.6\"",
      "context": "prod",
      "confidence": "high",
      "why": "Inventory only.",
      "replace": "",
      "recipe": "",
      "refs": [],
      "needs": []
    },
    {
      "id": "F-eb8b6ea354",
      "rule": "DEP-CRYPTO-LIB",
      "title": "Cryptography library (inventory)",
      "severity": "info",
      "exposure": "none",
      "category": "dependency",
      "asset": {
        "kind": "library",
        "algorithm": null,
        "family": null,
        "parameter": "2.0",
        "primitive": null,
        "usage": "unknown",
        "oid": null,
        "quantum_safe": false,
        "library": "x25519-dalek"
      },
      "location": {
        "path": "services/edge/Cargo.toml",
        "line": 12,
        "col": null,
        "endpoint": null
      },
      "evidence": "x25519-dalek = { version = \"2.0\", features = [\"static_secrets\"] }",
      "context": "prod",
      "confidence": "high",
      "why": "Inventory only.",
      "replace": "",
      "recipe": "",
      "refs": [],
      "needs": []
    },
    {
      "id": "F-774215b49f",
      "rule": "DEP-CRYPTO-LIB",
      "title": "Cryptography library (inventory)",
      "severity": "info",
      "exposure": "none",
      "category": "dependency",
      "asset": {
        "kind": "library",
        "algorithm": null,
        "family": null,
        "parameter": "5.2.1",
        "primitive": null,
        "usage": "unknown",
        "oid": null,
        "quantum_safe": false,
        "library": "github.com/golang-jwt/jwt"
      },
      "location": {
        "path": "services/gateway/go.mod",
        "line": 5,
        "col": null,
        "endpoint": null
      },
      "evidence": "require github.com/golang-jwt/jwt/v5 v5.2.1",
      "context": "prod",
      "confidence": "high",
      "why": "Inventory only.",
      "replace": "",
      "recipe": "",
      "refs": [],
      "needs": []
    },
    {
      "id": "F-bd6a64ff1b",
      "rule": "DEP-CRYPTO-LIB",
      "title": "Cryptography library (inventory)",
      "severity": "info",
      "exposure": "none",
      "category": "dependency",
      "asset": {
        "kind": "library",
        "algorithm": null,
        "family": null,
        "parameter": "^9.0.2",
        "primitive": null,
        "usage": "unknown",
        "oid": null,
        "quantum_safe": false,
        "library": "jsonwebtoken"
      },
      "location": {
        "path": "services/web/package.json",
        "line": 15,
        "col": null,
        "endpoint": null
      },
      "evidence": "\"jsonwebtoken\": <redacted>",
      "context": "prod",
      "confidence": "high",
      "why": "Inventory only.",
      "replace": "",
      "recipe": "",
      "refs": [],
      "needs": []
    },
    {
      "id": "F-8e5c60f3a8",
      "rule": "DEP-CRYPTO-LIB",
      "title": "Cryptography library (inventory)",
      "severity": "info",
      "exposure": "none",
      "category": "dependency",
      "asset": {
        "kind": "library",
        "algorithm": null,
        "family": null,
        "parameter": "^1.3.1",
        "primitive": null,
        "usage": "unknown",
        "oid": null,
        "quantum_safe": false,
        "library": "node-forge"
      },
      "location": {
        "path": "services/web/package.json",
        "line": 16,
        "col": null,
        "endpoint": null
      },
      "evidence": "\"node-forge\": \"^1.3.1\",",
      "context": "prod",
      "confidence": "high",
      "why": "Inventory only.",
      "replace": "",
      "recipe": "",
      "refs": [],
      "needs": []
    }
  ],
  "suppressed": [],
  "not_checked": [
    {
      "what": "certs/backup.p12",
      "why": "password-protected key store; list it with keytool -list or openssl pkcs12 -info"
    },
    {
      "what": "keys/encrypted.key",
      "why": "ENCRYPTED PRIVATE KEY: passphrase-protected or PGP block; check its type with your key tool"
    },
    {
      "what": "third-party folders: node_modules (1)",
      "why": "skipped by default; add --include-vendored to scan the libraries you ship"
    },
    {
      "what": "symmetric ciphers and hash functions",
      "why": "out of scope: post-quantum migration concerns public-key cryptography"
    }
  ],
  "errors": [],
  "scope": {
    "paths": [
      "."
    ],
    "only": [],
    "exclude": [],
    "ignore_files": {},
    "max_size": 2097152,
    "horizon": "2030-01-01",
    "runtime": false,
    "include_vendored": false,
    "include_build": false,
    "include_comments": false
  }
}
