{
  "errors": [],
  "files_scanned": 21,
  "matches": [
    {
      "algorithm": "EC P-384",
      "detector": "pattern",
      "file_path": "corpus/curve_alias.py",
      "line_number": 1,
      "risk_level": "CRITICAL_RISK",
      "snippet": "curve = \"secp384r1\""
    },
    {
      "algorithm": "ECDH",
      "detector": "pattern",
      "file_path": "corpus/ecdh.conf",
      "line_number": 1,
      "risk_level": "CRITICAL_RISK",
      "snippet": "ECDH"
    },
    {
      "algorithm": "ECDSA",
      "detector": "pattern",
      "file_path": "corpus/ecdsa.conf",
      "line_number": 1,
      "risk_level": "CRITICAL_RISK",
      "snippet": "ECDSA"
    },
    {
      "algorithm": "MD5",
      "detector": "pattern",
      "file_path": "corpus/md5.conf",
      "line_number": 1,
      "risk_level": "LEGACY_VULNERABILITY",
      "snippet": "digest = MD5"
    },
    {
      "algorithm": "RSA-1024",
      "detector": "pattern",
      "file_path": "corpus/rsa1024.conf",
      "line_number": 1,
      "risk_level": "CRITICAL_RISK",
      "snippet": "RSA-1024"
    },
    {
      "algorithm": "RSA-2048",
      "detector": "pattern",
      "file_path": "corpus/rsa2048.conf",
      "line_number": 1,
      "risk_level": "CRITICAL_RISK",
      "snippet": "RSA-2048"
    },
    {
      "algorithm": "RSA-4096",
      "detector": "pattern",
      "file_path": "corpus/rsa4096.conf",
      "line_number": 1,
      "risk_level": "CRITICAL_RISK",
      "snippet": "RSA-4096"
    },
    {
      "algorithm": "RSA-4096",
      "detector": "pattern",
      "file_path": "corpus/rsa_comment.py",
      "line_number": 1,
      "risk_level": "CRITICAL_RISK",
      "snippet": "# Documentation example: RSA-4096"
    },
    {
      "algorithm": "RSA",
      "detector": "ast",
      "file_path": "corpus/rsa_unknown.py",
      "line_number": 1,
      "risk_level": "CRITICAL_RISK",
      "snippet": "import rsa"
    },
    {
      "algorithm": "RSA",
      "detector": "ast",
      "file_path": "corpus/rsa_unknown.py",
      "line_number": 2,
      "risk_level": "CRITICAL_RISK",
      "snippet": "rsa.generate_private_key(...)"
    },
    {
      "algorithm": "SHA-1",
      "detector": "ast",
      "file_path": "corpus/sha1.py",
      "line_number": 2,
      "risk_level": "LEGACY_VULNERABILITY",
      "snippet": "hashlib.sha1(...)"
    },
    {
      "algorithm": "3DES",
      "detector": "pattern",
      "file_path": "corpus/triple_des.py",
      "line_number": 1,
      "risk_level": "LEGACY_VULNERABILITY",
      "snippet": "cipher = \"TripleDES\""
    },
    {
      "algorithm": "SHA-1",
      "detector": "pattern",
      "file_path": "corpus/unrelated_sha1.py",
      "line_number": 1,
      "risk_level": "LEGACY_VULNERABILITY",
      "snippet": "def sha1():"
    },
    {
      "algorithm": "SHA-1",
      "detector": "ast",
      "file_path": "corpus/unrelated_sha1.py",
      "line_number": 3,
      "risk_level": "LEGACY_VULNERABILITY",
      "snippet": "sha1(...)"
    }
  ],
  "pqc_readiness": {
    "evidence": [
      "FIPS_204 textual reference in corpus/mldsa.conf",
      "FIPS_203 textual reference in corpus/mlkem.conf",
      "FIPS_205 textual reference in corpus/slhdsa.conf"
    ],
    "fips_203_found": true,
    "fips_204_found": true,
    "fips_205_found": true,
    "is_quantum_exposed": null,
    "modifier": 1.0
  },
  "scan_config": {
    "extensions": [
      ".py",
      ".conf"
    ],
    "hardware_indicators": [
      "hsm",
      "pkcs11",
      "tpm",
      "hardware_security",
      "secure_enclave",
      "thales",
      "safenet",
      "ncipher",
      "luna",
      "atalla"
    ],
    "include_patterns": [],
    "longevity_years": 10,
    "max_file_size_kb": 512,
    "skip_dirs": []
  },
  "scanner_semantics": "candidate-indicators/2",
  "target": "corpus",
  "y2q_score": {
    "algorithm_score": 100.0,
    "band": "CRITICAL",
    "final_score": 78.61,
    "hardware_score": 78.65,
    "longevity_score": 70.0,
    "pqc_modifier": 1.0,
    "raw_score": 78.61,
    "volume_score": 48.74
  }
}
