{
  "schema_version": 2,
  "metric_name": "potential_prefix_matches",
  "last_updated": "2026-09-01T08:00:42.765617+00:00",
  "total_exposed": 4831296,
  "providers": {
    "gemini": 4579328,
    "openai": 154112,
    "claude": 59776,
    "perplexity": 38080
  },
  "run": {
    "id": 6,
    "started_at": "2026-09-01T08:00:40.164555+00:00",
    "finished_at": "2026-09-01T08:00:42.765617+00:00",
    "duration_ms": 2601,
    "status": "ok",
    "queries_ok": 4,
    "queries_total": 4,
    "collector_version": "2.0.0",
    "github_api_version": "2022-11-28"
  },
  "provider_meta": {
    "gemini": {
      "label": "Google (AIza*)",
      "name": "Google Gemini",
      "prefix": "AIza",
      "query": "\"AIza\"",
      "query_version": 1,
      "search_url": "https://github.com/search?q=%22AIza%22&type=code",
      "note": "Matches every Google API key, including Firebase and Maps browser keys that Google documents as safe to ship in client code.",
      "status": "ok"
    },
    "openai": {
      "label": "OpenAI (sk-proj-*)",
      "name": "OpenAI",
      "prefix": "sk-proj-",
      "query": "\"sk-proj-\"",
      "query_version": 2,
      "search_url": "https://github.com/search?q=%22sk-proj-%22&type=code",
      "query_changed": true,
      "note": "The 2025-07 baseline may also have counted the legacy sk-[A-Za-z0-9]{40} pattern; that series is no longer collected.",
      "status": "ok"
    },
    "claude": {
      "label": "Anthropic (sk-ant-api*)",
      "name": "Anthropic Claude",
      "prefix": "sk-ant-api",
      "query": "\"sk-ant-api\"",
      "query_version": 1,
      "search_url": "https://github.com/search?q=%22sk-ant-api%22&type=code",
      "status": "ok"
    },
    "perplexity": {
      "label": "Perplexity (pplx-*)",
      "name": "Perplexity",
      "prefix": "pplx-",
      "query": "\"pplx-\"",
      "query_version": 1,
      "search_url": "https://github.com/search?q=%22pplx-%22&type=code",
      "status": "ok"
    }
  },
  "metadata": {
    "description": "Potential AI API key matches found in public GitHub code search",
    "educational_purpose": true,
    "data_source": "GitHub Search API",
    "update_frequency": "Monthly on the first day at 08:00 UTC",
    "methodology": "Aggregated GitHub code search counts only; no secrets are stored.",
    "count_is_estimate": true,
    "queries": {
      "gemini": {
        "\"AIza\"": 4579328
      },
      "openai": {
        "\"sk-proj-\"": 154112
      },
      "claude": {
        "\"sk-ant-api\"": 59776
      },
      "perplexity": {
        "\"pplx-\"": 38080
      }
    }
  }
}