{
  "id": "supabase",
  "name": "Supabase",
  "group": "cloud-tech",
  "cryptoStack": "Cloudflare Edge · Supavisor (Elixir/OTP) · PostgreSQL OpenSSL",
  "posture": "REST/Auth/Edge APIs inherit Cloudflare X25519MLKEM768; direct Postgres & Supavisor wire TLS and Auth JWTs need separate tracking",
  "roadmapUrl": "https://supabase.com/docs/guides/security",
  "updated": "2026-12-03",
  "summary": "Supabase exposes multiple distinct cryptographic surfaces: public HTTP APIs (PostgREST, Auth, Storage, Edge Functions) benefit from Cloudflare’s `X25519MLKEM768` edge termination, whereas direct Postgres (`5432`), Supavisor connection pooling (`6543`), and Auth JWT signing keys (`ES256`/`RS256`) operate on separate stacks.",
  "products": [
    {
      "name": "Supabase REST (PostgREST), Storage & Edge Functions APIs",
      "type": "Hosted Data & Edge APIs",
      "surface": "HTTPS TLS 1.3 Key Exchange",
      "status": "ready",
      "statusLabel": "Cloudflare PQ Edge",
      "details": [
        "Public `*.supabase.co` HTTPS endpoints (PostgREST, Realtime WSS, Storage, Deno Edge Functions) sit behind Cloudflare, negotiating hybrid `X25519MLKEM768` with modern clients.",
        "Ensure client SDKs (Node `22.20+`, modern browsers, Deno, Cloudflare Workers) advertise TLS 1.3 `X25519MLKEM768`."
      ]
    },
    {
      "name": "Supavisor Connection Pooler & Direct Postgres",
      "type": "Postgres Wire Protocol",
      "surface": "Port 6543 / 5432 TLS",
      "status": "in-progress",
      "statusLabel": "Audit Wire TLS",
      "details": [
        "Supavisor (Elixir/Erlang OTP TLS) and direct Postgres `5432` endpoints are separate from the HTTPS API edge — test directly with `openssl s_client -starttls postgres`.",
        "Enforce `sslmode=verify-full` and prefer the HTTPS Data API or PrivateLink/VPC peering where wire-protocol PQC is not yet negotiated."
      ]
    },
    {
      "name": "Supabase Auth (JWTs) & Vault / pgsodium",
      "type": "Auth Tokens & At-Rest Encryption",
      "surface": "JWT Signing · AES-256 Storage",
      "status": "in-progress",
      "statusLabel": "Classical Asymmetric JWT",
      "details": [
        "Supabase Auth supports `HS256` (symmetric HMAC-SHA256) as well as asymmetric `RS256`/`ES256` JWT signing keys; asymmetric JWTs remain quantum-vulnerable until JOSE `ML-DSA` standards land.",
        "Underlying AWS EBS volume encryption and Supabase Vault (`pgsodium` AEAD) use 256-bit symmetric cryptography (Grover-resistant at rest)."
      ]
    }
  ]
}
