{
  "ml": {
    "v": "4",
    "fs": [
      {
        "id": 0,
        "prob": 0.25,
        "class": 0
      }
    ],
    "prob": 0.25,
    "class": 0,
    "models": [
      {
        "m": "az",
        "prob": 0.03430774,
        "class": 0
      },
      {
        "m": "az/scripts",
        "prob": 0.092,
        "class": 0
      },
      {
        "m": "az/javascript",
        "prob": 0.25,
        "class": 0
      }
    ],
    "version": "v17.17",
    "thresholds": [
      0.999503,
      0.9998882
    ],
    "analyzed_at": "2026-05-26T04:37:21Z"
  },
  "path": "firebase-auth.mdx",
  "raw": {
    "v": "5",
    "fs": [
      {
        "f": "O(Er)H(Po)",
        "x": 2,
        "ff": {
          "i": [
            [
              "",
              "Supabase.tools"
            ],
            [
              "",
              "inserting"
            ],
            [
              "",
              "inserting"
            ],
            [
              "",
              "the"
            ],
            [
              "",
              "create"
            ],
            [
              "",
              "create"
            ],
            [
              "",
              "create"
            ],
            [
              "",
              "create"
            ],
            [
              "",
              "showConnect"
            ],
            [
              "",
              "method"
            ],
            [
              "",
              "the"
            ],
            [
              "",
              "and"
            ],
            [
              "",
              "the"
            ],
            [
              "",
              "the"
            ],
            [
              "",
              "your.Firebase"
            ],
            [
              "",
              "to"
            ],
            [
              "",
              "your.Firebase"
            ],
            [
              "",
              "menu"
            ],
            [
              "",
              "the"
            ],
            [
              "",
              "and."
            ],
            [
              "",
              "and."
            ],
            [
              "",
              "and."
            ],
            [
              "",
              "and"
            ],
            [
              "",
              "filename"
            ],
            [
              "",
              "defaults"
            ],
            [
              "",
              "batch"
            ],
            [
              "",
              "Postgres.users"
            ]
          ],
          "m": {
            "ast": {
              "max_depth": 16.0,
              "bind_count": 2.0,
              "call_count": 41.0,
              "node_count": 1044.0,
              "member_count": 17.0,
              "identifier_count": 151.0,
              "member_depth_max": 4.0,
              "string_literal_count": 36.0,
              "array_literal_max_length": 1.0
            },
            "file": {
              "size": 4543.0,
              "entropy": 4.97,
              "size_bytes": 4543.0
            },
            "text": {
              "digit_ratio": 0.01,
              "space_count": 471.0,
              "total_lines": 91.0,
              "char_entropy": 4.97,
              "unique_chars": 81.0,
              "lines_over_200": 4.0,
              "string_density": 0.4,
              "avg_line_length": 48.92,
              "max_line_length": 384.0,
              "empty_line_ratio": 0.29,
              "last_line_length": 105.0,
              "long_token_count": 4.0,
              "whitespace_ratio": 0.12,
              "most_common_ratio": 0.09,
              "identifier_density": 3.75,
              "line_length_stddev": 70.77,
              "normalized_string_count": 3.77,
              "repeated_char_sequences": 2.0,
              "most_common_char_is_null": 0.0,
              "suspicious_comment_ratio": 0.43,
              "max_inline_whitespace_run": 1.0,
              "most_common_char_codepoint": 101.0,
              "suspicious_identifier_ratio": 0.01,
              "normalized_unique_identifiers": 23.2
            },
            "binds": {
              "count": 2.0
            },
            "calls": {
              "count": 41.0
            },
            "members": {
              "count": 17.0
            },
            "strings": {
              "total": 36.0,
              "avg_length": 26.22,
              "max_length": 220.0,
              "path_count": 2.0,
              "avg_entropy": 3.27,
              "empty_count": 6.0,
              "total_bytes": 944.0,
              "entropy_stddev": 0.67
            },
            "comments": {
              "chars": 1056.0,
              "lines": 7.0,
              "total": 7.0,
              "to_code_ratio": 0.08,
              "url_in_comments": 2.0,
              "base64_in_comments": 1.0,
              "high_entropy_comments": 2.0
            },
            "identifiers": {
              "count": 151.0,
              "total": 341.0,
              "avg_length": 5.83,
              "max_length": 19.0,
              "min_length": 1.0,
              "avg_entropy": 2.21,
              "reuse_ratio": 0.44,
              "unique_count": 151.0,
              "length_stddev": 2.73,
              "has_digit_ratio": 0.01,
              "sequential_names": 1.0,
              "single_char_count": 2.0,
              "single_char_ratio": 0.01,
              "high_entropy_count": 1.0,
              "high_entropy_ratio": 0.01,
              "all_lowercase_ratio": 0.71,
              "all_uppercase_ratio": 0.02,
              "underscore_prefix_count": 1.0
            }
          },
          "s": [
            [
              8,
              "u8",
              "firebase-auth"
            ],
            [
              9,
              "u8",
              "firebase-auth"
            ],
            [
              31,
              "u8",
              "Migrate from Firebase Auth to Supabase"
            ],
            [
              32,
              "u8",
              "Migrate from Firebase Auth to Supabase"
            ],
            [
              85,
              "u8",
              "Migrate Firebase auth users to Supabase Auth."
            ],
            [
              86,
              "u8",
              "Migrate Firebase auth users to Supabase Auth."
            ],
            [
              143,
              "u8",
              "Migrate Firebase auth users to Supabase Auth."
            ],
            [
              144,
              "u8",
              "Migrate Firebase auth users to Supabase Auth."
            ],
            [
              428,
              "u8",
              "firestoreusers2json"
            ],
            [
              429,
              "u8",
              "firestoreusers2json"
            ],
            [
              728,
              "u8",
              ".json"
            ],
            [
              729,
              "u8",
              ".json"
            ],
            [
              765,
              "u8",
              "import_users"
            ],
            [
              766,
              "u8",
              "import_users"
            ],
            [
              1018,
              "u8",
              ".json"
            ],
            [
              1019,
              "u8",
              ".json"
            ],
            [
              1090,
              "u8",
              "auth.users"
            ],
            [
              1091,
              "u8",
              "auth.users"
            ],
            [
              1117,
              "u8",
              "Postgres"
            ],
            [
              1118,
              "u8",
              "Postgres"
            ],
            [
              1218,
              "u8",
              "firebase-to-supabase"
            ],
            [
              1219,
              "u8",
              "firebase-to-supabase"
            ],
            [
              1320,
              "u8",
              "bash\n   git clone https://github.com/supabase-community/firebase-to-supabase.git\n   "
            ],
            [
              1321,
              "u8",
              "bash\n   git clone https://github.com/supabase-community/firebase-to-supabase.git\n   "
            ],
            [
              1420,
              "u8",
              "/auth"
            ],
            [
              1421,
              "u8",
              "/auth"
            ],
            [
              1459,
              "u8",
              "supabase-service.json"
            ],
            [
              1460,
              "u8",
              "supabase-service.json"
            ],
            [
              1518,
              "u8",
              "json\n   {\n     \"host\": \"database.server.com\",\n     \"password\": \"secretpassword\",\n     \"user\": \"postgres\",\n     \"database\": \"post"
            ],
            [
              1519,
              "u8",
              "json\n   {\n     \"host\": \"database.server.com\",\n     \"password\": \"secretpassword\",\n     \"user\": \"postgres\",\n     \"database\": \"post"
            ],
            [
              1881,
              "u8",
              "Host"
            ],
            [
              1882,
              "u8",
              "Host"
            ],
            [
              1892,
              "u8",
              "User"
            ],
            [
              1893,
              "u8",
              "User"
            ],
            [
              2006,
              "u8",
              "password"
            ],
            [
              2007,
              "u8",
              "password"
            ],
            [
              2030,
              "u8",
              "supabase-service.json"
            ],
            [
              2031,
              "u8",
              "supabase-service.json"
            ],
            [
              2472,
              "u8",
              "firebase-service.json"
            ],
            [
              2473,
              "u8",
              "firebase-service.json"
            ],
            [
              2836,
              "10",
              "3"
            ],
            [
              2920,
              "u8",
              "base64_signer_key"
            ],
            [
              2921,
              "u8",
              "base64_signer_key"
            ],
            [
              2941,
              "u8",
              "base64_salt_separator"
            ],
            [
              2942,
              "u8",
              "base64_salt_separator"
            ],
            [
              2966,
              "u8",
              "rounds"
            ],
            [
              2967,
              "u8",
              "rounds"
            ],
            [
              2980,
              "u8",
              "mem_cost"
            ],
            [
              2981,
              "u8",
              "mem_cost"
            ],
            [
              2995,
              "u8",
              "text Sample\nhash_config {\n  algorithm: SCRYPT,\n  base64_signer_key: XXXX/XXX+XXXXXXXXXXXXXXXXX+XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
            ],
            [
              2996,
              "u8",
              "text Sample\nhash_config {\n  algorithm: SCRYPT,\n  base64_signer_key: XXXX/XXX+XXXXXXXXXXXXXXXXX+XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
            ],
            [
              3311,
              "u8",
              "node firestoreusers2json.js [\u003cfilename.json\u003e] [\u003cbatch_size\u003e]"
            ],
            [
              3312,
              "u8",
              "node firestoreusers2json.js [\u003cfilename.json\u003e] [\u003cbatch_size\u003e]"
            ],
            [
              3377,
              "u8",
              "filename.json"
            ],
            [
              3378,
              "u8",
              "filename.json"
            ],
            [
              3434,
              "u8",
              "./users.json"
            ],
            [
              3435,
              "u8",
              "./users.json"
            ],
            [
              3452,
              "u8",
              "batchSize"
            ],
            [
              3453,
              "u8",
              "batchSize"
            ],
            [
              3528,
              "10",
              "100"
            ],
            [
              3600,
              "u8",
              ") [#import-json-users-file]\n\n"
            ],
            [
              3601,
              "u8",
              ") [#import-json-users-file]\n\n"
            ]
          ],
          "v": {
            "source.language": "javascript",
            "source.imports[0]": "Postgres.users",
            "source.imports[1]": "Supabase.tools",
            "source.imports[2]": "and",
            "source.imports[3]": "and.",
            "source.imports[4]": "batch",
            "source.imports[5]": "create",
            "source.imports[6]": "defaults",
            "source.imports[7]": "filename",
            "source.imports[8]": "inserting",
            "source.imports[9]": "menu",
            "source.strings[0]": ") [#import-json-users-file]\n\n",
            "source.strings[1]": "./users.json",
            "source.strings[2]": "Migrate Firebase auth users to Supabase Auth.",
            "source.strings[3]": "Migrate from Firebase Auth to Supabase",
            "source.strings[4]": "Postgres",
            "source.strings[5]": "auth.users",
            "source.strings[6]": "base64_salt_separator",
            "source.strings[7]": "base64_signer_key",
            "source.strings[8]": "bash\n   git clone https://github.com/supabase-community/firebase-to-supabase.git\n   ",
            "source.strings[9]": "batchSize",
            "source.has_imports": true,
            "source.imports[10]": "method",
            "source.imports[11]": "showConnect",
            "source.imports[12]": "the",
            "source.imports[13]": "to",
            "source.imports[14]": "your.Firebase",
            "source.strings[10]": "filename.json",
            "source.strings[11]": "firebase-auth",
            "source.strings[12]": "firebase-service.json",
            "source.strings[13]": "firebase-to-supabase",
            "source.strings[14]": "firestoreusers2json",
            "source.strings[15]": "import_users",
            "source.strings[16]": "json\n   {\n     \"host\": \"database.server.com\",\n     \"password\": \"secretpassword\",\n     \"user\": \"postgres\",\n     \"database\": \"postgres\",\n     \"port\": 5432\n   }\n   ",
            "source.strings[17]": "mem_cost",
            "source.strings[18]": "node firestoreusers2json.js [\u003cfilename.json\u003e] [\u003cbatch_size\u003e]",
            "source.strings[19]": "password",
            "source.strings[20]": "rounds",
            "source.strings[21]": "supabase-service.json",
            "source.strings[22]": "text Sample\nhash_config {\n  algorithm: SCRYPT,\n  base64_signer_key: XXXX/XXX+XXXXXXXXXXXXXXXXX+XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX==,\n  base64_salt_separator: Aa==,\n  rounds: 8,\n  mem_cost: 14,\n}\n"
          },
          "ct": [
            "Postgres.users",
            "and",
            "batch",
            "create",
            "create()",
            "create()()",
            "create()()()",
            "defaults",
            "filename",
            "inserting",
            "inserting()",
            "menu",
            "private",
            "the",
            "to"
          ],
          "id": "javascript",
          "mc": [
            "Postgres.users",
            "Postgres.users().js",
            "console.firebase",
            "console.firebase.google",
            "console.firebase.google.com",
            "firestoreusers2json.js",
            "firestoreusers2json.ts",
            "github.com",
            "import_users.js",
            "import_users.ts",
            "menu.At",
            "project.Select",
            "shown.Enter",
            "sidebar.Select",
            "string.Replace",
            "the().Generate",
            "to().Save"
          ]
        },
        "id": 0,
        "sz": 4543,
        "ts": [
          {
            "c": 0.75,
            "d": "scrypt key derivation",
            "e": [
              "SCRYPT"
            ],
            "i": "micro-behaviors/crypto/kdf/algorithm::scrypt",
            "l": 2
          },
          {
            "c": 0.8199999928474426,
            "d": "Regex component marker",
            "e": [
              "\"postgres\","
            ],
            "i": "objectives/lateral-movement/brute-force/ssh::weak-login-pair-set--rx-1",
            "l": 1
          },
          {
            "c": 0.949999988079071,
            "d": "fetch/XMLHttpRequest/http(s) require (flatted tamper fragment)",
            "e": [
              "fetch"
            ],
            "i": "well-known/lib/flatted::flatted-tamper-network",
            "l": 1
          },
          {
            "a": "T1071.001",
            "c": 0.8999999761581421,
            "d": "Command/result field word",
            "e": [
              "Command"
            ],
            "i": "objectives/command-and-control/beacon/network/json::result-command-word",
            "l": 1,
            "m": "B0030"
          },
          {
            "a": "T1552.001",
            "c": 0.699999988079071,
            "d": "Settings password keyword",
            "e": [
              "password"
            ],
            "i": "objectives/supply-chain/credential-theft/registry::settings-password-keyword",
            "l": 1
          },
          {
            "c": 0.9399999976158142,
            "d": "Observability dashboard wording",
            "e": [
              "dashboard"
            ],
            "i": "micro-behaviors/data/text/app::observability-dashboard-context",
            "l": 1
          },
          {
            "c": 0.8999999761581421,
            "d": "Low string density in source",
            "e": [
              "text.string_density = 0.40"
            ],
            "i": "metadata/file/text/metrics::low-string-density-large-file",
            "l": 1
          },
          {
            "a": "T1110.001",
            "c": 0.20000000298023224,
            "d": "admin keyword",
            "e": [
              "Admin"
            ],
            "i": "micro-behaviors/data/text/keywords/username::admin-keyword",
            "l": 2,
            "m": "B0028"
          },
          {
            "a": "T1036",
            "c": 0.699999988079071,
            "d": "YAML frontmatter in non-markdown file",
            "e": [
              "---\nid:"
            ],
            "i": "objectives/evasion/masquerade/file/polyglot::yaml-frontmatter-in-code",
            "l": 3
          },
          {
            "a": "T1552.001",
            "c": 0.8999999761581421,
            "d": "Regex component marker",
            "e": [
              "fetch"
            ],
            "i": "objectives/supply-chain/credential-theft/registry::js-creds-to-fetch--rx-12",
            "l": 1
          },
          {
            "c": 1.0,
            "d": "JavaScript console object",
            "e": [
              "console"
            ],
            "i": "micro-behaviors/os/console/io::js-console-object",
            "l": 1
          },
          {
            "a": "T1105",
            "c": 0.8500000238418579,
            "d": "macOS shell interpreter",
            "e": [
              "bash"
            ],
            "i": "objectives/command-and-control/dropper/execution/browser::macos-shell-interpreter",
            "l": 1,
            "m": "B0024"
          },
          {
            "c": 0.8399999737739563,
            "d": "Hidden directory path literal",
            "e": [
              ".json"
            ],
            "i": "micro-behaviors/fs/path/location::hidden-dir-literal",
            "l": 1
          },
          {
            "d": "password keyword",
            "e": [
              "password"
            ],
            "i": "micro-behaviors/data/text/keywords/lexicon::password",
            "l": 1
          },
          {
            "c": 0.30000001192092896,
            "d": "secret keyword",
            "e": [
              "secret"
            ],
            "i": "micro-behaviors/data/text/keywords/lexicon::secret",
            "l": 1
          },
          {
            "c": 0.8399999737739563,
            "d": "password/token/api_key field keyword",
            "e": [
              "password"
            ],
            "i": "micro-behaviors/data/text/keywords/credential::credential-field",
            "l": 1
          },
          {
            "a": "T1110.001",
            "c": 0.8500000238418579,
            "d": "Service account postgres",
            "e": [
              "postgres"
            ],
            "i": "objectives/lateral-movement/brute-force/password::service-account-postgres",
            "l": 1,
            "m": "E1110"
          },
          {
            "c": 0.7200000286102295,
            "d": "LLM role context",
            "e": [
              "system"
            ],
            "i": "micro-behaviors/data/text/llm/override::llm-role-context",
            "l": 1
          },
          {
            "a": "T1041",
            "c": 0.75,
            "d": "HTTP upload request call token",
            "e": [
              "fetch"
            ],
            "i": "objectives/supply-chain/recon-exfil/npm-install-targeting::upload-request-call",
            "l": 1
          },
          {
            "a": "T1528",
            "c": 0.9200000166893005,
            "d": "Regex component marker",
            "e": [
              "auth"
            ],
            "i": "objectives/credential-access/cloud/token::google-gmail-full-scope--rx-6",
            "l": 1
          },
          {
            "c": 0.20000000298023224,
            "d": "output keyword",
            "e": [
              "output"
            ],
            "i": "micro-behaviors/data/text/keywords/lexicon::output",
            "l": 1
          },
          {
            "c": 0.8999999761581421,
            "d": "File has 30 or more lines",
            "e": [
              "text.total_lines = 91.00"
            ],
            "i": "metadata/file/text/metrics::file-has-30-plus-lines",
            "l": 1
          },
          {
            "c": 1.0,
            "d": "Git ops (clone/pull/push/commit)",
            "e": [
              "git clone"
            ],
            "i": "well-known/tool/sysadmin/repo-maintenance::git-operations-1",
            "l": 2
          },
          {
            "c": 0.699999988079071,
            "d": "JavaScript file under 5KB",
            "e": [
              "firebase-auth.mdx"
            ],
            "i": "metadata/file/text/metrics::javascript-small-file-5k",
            "l": 1
          },
          {
            "c": 0.699999988079071,
            "d": "bash shell keyword (beyond shebang)",
            "e": [
              "bash"
            ],
            "i": "micro-behaviors/process/create/shell/invoke::bash-keyword",
            "l": 3
          },
          {
            "c": 0.75,
            "d": "Inline password token in lure",
            "e": [
              "password\": \"secretpassword\""
            ],
            "i": "objectives/lateral-movement/social-engineering/lures::inline-password-token",
            "l": 1
          },
          {
            "a": "T1005",
            "c": 0.30000001192092896,
            "d": "JSON file extension",
            "e": [
              ".json"
            ],
            "i": "objectives/collection/file-targeting/filter::json-extension",
            "l": 1,
            "m": "B0024"
          }
        ],
        "sha": "cbb32ffc97264a6ffcc54fb2df80a2d6b8ce312309f0de1a5e555454bd9334fe",
        "path": "firebase-auth.mdx",
        "type": "javascript"
      }
    ],
    "tv": "60d49"
  }
}