{
  "ml": {
    "v": "7",
    "eng": "2.1.0",
    "lvl": -1,
    "conf": 0,
    "mods": [
      {
        "cls": 0,
        "raw": 0.00000885129,
        "rte": "az",
        "prob": 0.00000885129
      },
      {
        "cls": 0,
        "raw": 0.00018566847,
        "rte": "az/zip",
        "prob": 0.00018566847
      }
    ],
    "prob": 0.000028938055,
    "files": [
      {
        "id": 0,
        "lvl": -1,
        "conf": 0,
        "prob": 0.00002893805503845215,
        "type": "zip"
      },
      {
        "id": 1,
        "lvl": -1,
        "conf": 0,
        "prob": 0.00002893805503845215,
        "type": "perl"
      },
      {
        "id": 2,
        "lvl": -1,
        "conf": 0,
        "prob": 0.00002893805503845215,
        "type": "perl"
      },
      {
        "id": 3,
        "lvl": -1,
        "conf": 0,
        "prob": 0.00002893805503845215,
        "type": "perl"
      },
      {
        "id": 4,
        "lvl": -1,
        "conf": 0,
        "prob": 0.00002893805503845215,
        "type": "perl"
      },
      {
        "id": 5,
        "lvl": -1,
        "conf": 0,
        "prob": 0.00002893805503845215,
        "type": "perl"
      },
      {
        "id": 6,
        "lvl": -1,
        "conf": 0,
        "prob": 0.00002893805503845215,
        "type": "perl"
      },
      {
        "id": 7,
        "lvl": -1,
        "conf": 0,
        "prob": 0.00002893805503845215,
        "type": "perl"
      },
      {
        "id": 8,
        "lvl": -1,
        "conf": 0,
        "prob": 0.00002893805503845215,
        "type": "markdown"
      },
      {
        "id": 9,
        "lvl": -1,
        "conf": 0,
        "prob": 0.00002893805503845215,
        "type": "github-actions"
      },
      {
        "id": 10,
        "lvl": -1,
        "conf": 0,
        "prob": 0.000013182560905988794,
        "type": "makefile"
      },
      {
        "id": 11,
        "lvl": -1,
        "conf": 0,
        "prob": 0.00002893805503845215,
        "type": "text"
      },
      {
        "id": 12,
        "lvl": -1,
        "conf": 0,
        "prob": 0.00002893805503845215,
        "type": "lua"
      },
      {
        "id": 13,
        "lvl": -1,
        "conf": 0,
        "prob": 0.0000133514404296875,
        "type": "lua"
      },
      {
        "id": 14,
        "lvl": -1,
        "conf": 0,
        "prob": 0.00002893805503845215,
        "type": "lua"
      },
      {
        "id": 15,
        "lvl": -1,
        "conf": 0,
        "prob": 0.00002893805503845215,
        "type": "lua"
      },
      {
        "id": 16,
        "lvl": -1,
        "conf": 0,
        "prob": 0.00002893805503845215,
        "type": "lua"
      },
      {
        "id": 17,
        "lvl": -1,
        "conf": 0,
        "prob": 0.000018676122635952197,
        "type": "lua"
      },
      {
        "id": 18,
        "lvl": -1,
        "conf": 0,
        "prob": 0.000014473994269792456,
        "type": "lua"
      },
      {
        "id": 19,
        "lvl": -1,
        "conf": 0,
        "prob": 0.00002893805503845215,
        "type": "lua"
      },
      {
        "id": 20,
        "lvl": -1,
        "conf": 0,
        "prob": 0.00002703070640563965,
        "type": "lua"
      },
      {
        "id": 21,
        "lvl": -1,
        "conf": 0,
        "prob": 0.00002893805503845215,
        "type": "lua"
      },
      {
        "id": 22,
        "lvl": -1,
        "conf": 0,
        "prob": 0.000015119711861188989,
        "type": "lua"
      },
      {
        "id": 23,
        "lvl": -1,
        "conf": 0,
        "prob": 0.000014573335647583008,
        "type": "lua"
      },
      {
        "id": 24,
        "lvl": -1,
        "conf": 0,
        "prob": 0.00001432498265785398,
        "type": "lua"
      },
      {
        "id": 25,
        "lvl": -1,
        "conf": 0,
        "prob": 0.000013341506019060034,
        "type": "lua"
      }
    ],
    "version": "v18.18",
    "analyzed_at": "2026-06-20T19:18:09Z"
  },
  "path": "lua-resty-kafka-0.20-0.src.rock",
  "raw": {
    "files": [
      {
        "id": 0,
        "ctx": [
          {
            "b": "p!H([6Awak2ML(sRC{s2dgoF:007jE0018v8#%!$vj=IhB98WVyHH*\u003cvj:e=gb7ple]\u003e(uyJBDav]VFm",
            "ln": 0
          }
        ],
        "mol": "H(Cm)",
        "sha": "6135a13cbf5e8c0d51921f1944f72042254b8a985afb011f43f4da0d81bc0ae6",
        "path": "/data/samples/good/foraged/lua/luarocks.org/_/lua-resty-kafka/lua-resty-kafka-0.20-0.src.rock",
        "risk": 2,
        "size": 46199,
        "type": "zip",
        "facts": {
          "metrics": {
            "file": {
              "size": 46199.0,
              "entropy": 7.86,
              "size_bytes": 46199.0
            },
            "binary": {
              "overall_entropy": 7.86
            },
            "archive": {
              "file_count": 30.0,
              "member_count": 38.0,
              "script_count": 14.0,
              "zip_bomb_ratio": 7.58,
              "directory_count": 8.0,
              "executable_count": 0.0,
              "extra_field_size": 912.0,
              "noise_file_count": 0.0,
              "total_compressed": 38637.0,
              "compression.ratio": 0.24,
              "hidden_file_count": 4.0,
              "total_uncompressed": 161185.0,
              "crc_collision_count": 0.0,
              "entry_comment_count": 0.0,
              "max_filename_length": 53.0,
              "rtlo_filename_count": 0.0,
              "format.regular_count": 30.0,
              "nested_archive_count": 0.0,
              "path_traversal_count": 0.0,
              "symlink_escape_count": 0.0,
              "security.setgid_count": 0.0,
              "security.setuid_count": 0.0,
              "security.sticky_count": 0.0,
              "double_extension_count": 0.0,
              "duplicate_member_count": 0.0,
              "format.directory_count": 8.0,
              "security.symlink_count": 0.0,
              "unicode_filename_count": 0.0,
              "homoglyph_filename_count": 0.0,
              "security.encrypted_count": 0.0,
              "timing.mtime_unique_count": 1.0,
              "timing.mtime_unique_ratio": 0.03,
              "misplaced_executable_count": 0.0,
              "timing.mtime_dominant_count": 38.0,
              "timing.mtime_spread_seconds": 0.0,
              "timing.sentinel_mtime_count": 0.0,
              "security.world_writable_count": 0.0,
              "timing.mtime_dominant_fraction": 1.0,
              "compression.method_counts.stored": 8.0,
              "compression.method_counts.deflate": 30.0
            },
            "consistency": {
              "extension_content_mismatch": 1.0,
              "extension_content_mismatch.archive_as_unknown": 1.0
            }
          }
        },
        "traits": [
          {
            "id": "objectives/credential-access/theft/keywords::secret",
            "conf": 0.30000001192092896,
            "crit": 1,
            "desc": "secret keyword",
            "from": [
              {
                "file": 1
              }
            ]
          },
          {
            "id": "objectives/credential-access/theft/keywords::password",
            "crit": 1,
            "desc": "password keyword",
            "from": [
              {
                "file": 2
              }
            ]
          },
          {
            "id": "micro-behaviors/communications/socket/connect::lua-method-connect",
            "atk": "T1071",
            "mbc": "C0001",
            "conf": 0.699999988079071,
            "crit": 1,
            "desc": "Lua socket connect method",
            "from": [
              {
                "file": 20
              }
            ]
          },
          {
            "id": "metadata/package/testing/presence/harness::test-directory",
            "conf": 1.0,
            "crit": 2,
            "desc": "File in a test directory",
            "from": [
              {
                "file": 1
              },
              {
                "file": 2
              },
              {
                "file": 3
              },
              {
                "file": 4
              },
              {
                "file": 5
              },
              {
                "file": 6
              },
              {
                "file": 7
              }
            ],
            "spans": [
              [
                0,
                27
              ]
            ]
          },
          {
            "id": "metadata/lang/scripted::use-module",
            "conf": 0.8500000238418579,
            "crit": 2,
            "desc": "Perl module import statement",
            "from": [
              {
                "file": 1
              }
            ]
          },
          {
            "id": "objectives/impact/destroy/keywords::cleanup-verb--clear",
            "conf": 0.8799999952316284,
            "crit": 1,
            "desc": "Cleanup keyword (clear)",
            "from": [
              {
                "file": 7
              }
            ]
          },
          {
            "id": "metadata/lang/scripted::sigil-variable-decl",
            "conf": 0.800000011920929,
            "crit": 2,
            "desc": "Perl sigil variable declaration",
            "from": [
              {
                "file": 1
              }
            ]
          },
          {
            "id": "metadata/package/testing/presence/harness::perl-test-file",
            "conf": 0.8500000238418579,
            "crit": 2,
            "desc": "Perl test file (.t) or t/ dir",
            "from": [
              {
                "file": 1
              }
            ],
            "spans": [
              [
                0,
                27
              ]
            ]
          },
          {
            "id": "micro-behaviors/communications/socket/send::lua-socket-send",
            "atk": "T1071",
            "mbc": "C0001",
            "conf": 0.8600000143051147,
            "crit": 3,
            "desc": "Lua socket send method",
            "from": [
              {
                "file": 20
              }
            ]
          }
        ]
      },
      {
        "ctx": [
          {
            "b": "boRezz8#-HBrCWDjV1p5CrE=9wPP%",
            "ln": 1,
            "addr": 0
          },
          {
            "b": "",
            "ln": 2,
            "addr": 24
          },
          {
            "b": "B-RapraQb)iYZ2Gx(neRi-x%byH}PGi.TW8i@",
            "ln": 3,
            "addr": 25
          },
          {
            "b": "B-RaplW95-AD-*vCvSc:",
            "ln": 4,
            "addr": 55
          },
          {
            "b": "",
            "ln": 5,
            "addr": 72
          },
          {
            "b": "A+fi3vrt\u003c/vpJ$0f!2f",
            "ln": 6,
            "addr": 73
          },
          {
            "b": "",
            "ln": 7,
            "addr": 89
          },
          {
            "b": "Abn%2aARgoBAnM/j%j(SAaJE1uU9UQxECqLdJ*b}asXHyy\u0026r*0B0@E^i@",
            "ln": 8,
            "addr": 90
          },
          {
            "b": "",
            "ln": 9,
            "addr": 136
          },
          {
            "b": "zfWlHAcC?njS[lUwge(*",
            "ln": 10,
            "addr": 137
          },
          {
            "b": "",
            "ln": 11,
            "addr": 154
          },
          {
            "b": "Eld",
            "ln": 15,
            "addr": 317
          },
          {
            "b": "",
            "ln": 16,
            "addr": 320
          },
          {
            "b": "bT\u003eEeDSiBjr9@x\u003cnLSw{qBKIWoJBOWEipV}cPA.re\u0026UEycP.",
            "ln": 17,
            "addr": 321
          },
          {
            "b": "bT\u003eEeDSiBjr9@x\u003cnLSw{of(3ul0)eUq=Fe/jS(abgb**te?![jcP.",
            "ln": 18,
            "addr": 360
          },
          {
            "b": "bT\u003eEeDSiBjr9@x\u003cnLSw{of(3ul0)C:qDe5!jS(ajfGy)oi@",
            "ln": 19,
            "addr": 403
          },
          {
            "b": "bT\u003eEeDSiBjr9@x\u003cnLSw{of(3ul0)5UqErl@qDe5!jS(ajfGy\u003cni@",
            "ln": 21,
            "addr": 483
          },
          {
            "b": "bT\u003eEeDSiBjr9@x\u003cnLSw{of(3ul0)LRq+QK{pF$euauZ?{iwrDIcP.",
            "ln": 22,
            "addr": 525
          },
          {
            "b": "bT\u003eEeDSiBjr9@x\u003cnLSw{of(3ul0)LRq+QK#q:\u003cPjauZ?{vpTj?zymH",
            "ln": 23,
            "addr": 568
          },
          {
            "b": "bT\u003eEeDSiBjr9@x\u003cnLSw{of(3ul0)LRq+QK{s44DVjS(aXwnM3#ePUGkA+ftui@",
            "ln": 24,
            "addr": 612
          },
          {
            "b": "",
            "ln": 25,
            "addr": 662
          },
          {
            "b": "",
            "ln": 26,
            "addr": 663
          },
          {
            "b": "eIeK%A+flkwPI}",
            "ln": 59,
            "addr": 1457
          },
          {
            "b": "m[3x1flv",
            "ln": 60,
            "addr": 1469
          },
          {
            "b": "eIeK%A+frhz/fScuT^}:D0+x4yH)",
            "ln": 61,
            "addr": 1476
          },
          {
            "b": "e?g^Kw]?K9e?c",
            "ln": 62,
            "addr": 1499
          },
          {
            "b": "eIeK%zF@([A=M8suU\u003cT[",
            "ln": 63,
            "addr": 1510
          },
          {
            "b": "arR^HarR^HarR^Hy\u0026r/(y-)OaB8$=5wItk\u0026ar\u00260",
            "ln": 236,
            "addr": 6632
          },
          {
            "b": "arR^HarR^HarR^Hw]zYjuO0suwN/U0wftP7aAg+6A=STHwPPQUA+e:0A+6kuay]x",
            "ln": 237,
            "addr": 6664
          },
          {
            "b": "arR^HarR^HarR^HarR^HzdN^fvp%d9auZ\u0026:wPI{3xjS+te?On!wN/U0wg\u00264ly\u0026%p",
            "ln": 238,
            "addr": 6716
          },
          {
            "b": "arR^HarR^HarR^HwO#2",
            "ln": 239,
            "addr": 6768
          },
          {
            "b": "arR^HarR^HarR^HzFahDB76txzdN^fvp%d9df",
            "ln": 240,
            "addr": 6784
          }
        ],
        "depth": 1,
        "facts": {
          "imp": [
            [
              "",
              "Cwd"
            ],
            [
              "",
              "Test::Nginx::Socket::Lua"
            ]
          ],
          "metrics": {
            "ast": {
              "op.mul": 2.0,
              "max_depth": 7.0,
              "call_count": 7.0,
              "node_count": 216.0,
              "op_density.mul": 0.01,
              "string_literal_count": 9.0
            },
            "file": {
              "size": 11247.0,
              "entropy": 4.83,
              "size_bytes": 11247.0
            },
            "text": {
              "digit_ratio": 0.09,
              "space_count": 3012.0,
              "total_lines": 392.0,
              "char_entropy": 4.83,
              "unique_chars": 79.0,
              "string_density": 0.02,
              "avg_line_length": 27.69,
              "max_line_length": 149.0,
              "empty_line_ratio": 0.2,
              "last_line_length": 7.0,
              "long_token_count": 2.0,
              "whitespace_ratio": 0.3,
              "most_common_ratio": 0.05,
              "line_length_stddev": 28.25,
              "normalized_string_count": 0.45,
              "repeated_char_sequences": 156.0,
              "most_common_char_is_null": 0.0,
              "max_inline_whitespace_run": 1.0,
              "most_common_char_codepoint": 111.0
            },
            "calls": {
              "count": 7.0
            },
            "binary": {
              "overall_entropy": 4.83
            },
            "imports": {
              "count": 2.0,
              "unique_modules": 2.0,
              "third_party_count": 2.0,
              "third_party_ratio": 1.0
            },
            "strings": {
              "total": 9.0,
              "ip_count": 2.0,
              "avg_length": 21.56,
              "max_length": 145.0,
              "avg_entropy": 2.17,
              "total_bytes": 194.0,
              "entropy_stddev": 1.1
            },
            "comments": {
              "chars": 22.0,
              "lines": 1.0,
              "total": 1.0,
              "to_code_ratio": 0.0
            }
          }
        },
        "id": 1,
        "path": "/data/samples/good/foraged/lua/luarocks.org/_/lua-resty-kafka/lua-resty-kafka-0.20-0.src.rock!!lua-resty-kafka/t/basic-consumer.t",
        "risk": 1,
        "sha": "985b9b16c3414efb31c68d94da96aa97868c656b579e3bdf85951da593eeeb8a",
        "size": 11247,
        "traits": [
          {
            "id": "metadata/package/testing/presence/harness::perl-test-file",
            "conf": 0.8500000238418579,
            "crit": 2,
            "desc": "Perl test file (.t) or t/ dir",
            "spans": [
              [
                0,
                34
              ]
            ]
          },
          {
            "id": "metadata/lang/scripted::use-module",
            "conf": 0.8500000238418579,
            "crit": 2,
            "desc": "Perl module import statement",
            "spans": [
              [
                24,
                30
              ]
            ]
          },
          {
            "id": "well-known/tool/sysadmin/munin::graph-value-output",
            "conf": 0.9800000190734863,
            "crit": 2,
            "desc": "Munin metric value output",
            "spans": [
              [
                6761,
                6
              ]
            ]
          },
          {
            "id": "objectives/credential-access/theft/keywords::secret",
            "conf": 0.30000001192092896,
            "crit": 1,
            "desc": "secret keyword",
            "spans": [
              [
                653,
                6
              ]
            ]
          },
          {
            "id": "metadata/lang/scripted::sigil-variable-decl",
            "conf": 0.800000011920929,
            "crit": 2,
            "desc": "Perl sigil variable declaration",
            "spans": [
              [
                136,
                8
              ]
            ]
          },
          {
            "id": "metadata/lang/scripted::source-syntax",
            "conf": 0.8999999761581421,
            "crit": 2,
            "desc": "Perl source syntax patterns",
            "spans": [
              [
                24,
                30
              ],
              [
                136,
                8
              ]
            ]
          },
          {
            "id": "metadata/package/testing/presence/harness::test-directory",
            "conf": 1.0,
            "crit": 2,
            "desc": "File in a test directory",
            "spans": [
              [
                0,
                34
              ]
            ]
          },
          {
            "id": "metadata/package/testing/harness/runtime::is-test",
            "conf": 0.8999999761581421,
            "crit": 2,
            "desc": "Identifies Node.js test files",
            "spans": [
              [
                0,
                34
              ]
            ]
          }
        ],
        "type": "perl"
      },
      {
        "ctx": [
          {
            "b": "boRezz8#-HBrCWDjV1p5CrE=9wPP%",
            "ln": 1,
            "addr": 0
          },
          {
            "b": "",
            "ln": 2,
            "addr": 24
          },
          {
            "b": "B-RapraQb)iYZ2Gx(neRi-x%byH}PGi.TW8i@",
            "ln": 3,
            "addr": 25
          },
          {
            "b": "B-RaplW95-AD-*vCvSc:",
            "ln": 4,
            "addr": 55
          },
          {
            "b": "",
            "ln": 5,
            "addr": 72
          },
          {
            "b": "A+fi3vrt\u003c/vpJ$0gato",
            "ln": 6,
            "addr": 73
          },
          {
            "b": "",
            "ln": 7,
            "addr": 89
          },
          {
            "b": "Abn%2aARgoBAnM/j%j(SAaJE1uU9UQxECqLdJ*b}asXHyy\u0026r*0B0@E^i@",
            "ln": 8,
            "addr": 90
          },
          {
            "b": "",
            "ln": 9,
            "addr": 136
          },
          {
            "b": "zfWlHAcC?njS[lUwge(*",
            "ln": 10,
            "addr": 137
          },
          {
            "b": "",
            "ln": 11,
            "addr": 154
          },
          {
            "b": "Eld",
            "ln": 15,
            "addr": 317
          },
          {
            "b": "",
            "ln": 16,
            "addr": 320
          },
          {
            "b": "bT\u003eEeDSiBjr9@x\u003cnLSw{qBKIWoJBOWEipV}cPA.re\u0026UEycP.",
            "ln": 17,
            "addr": 321
          },
          {
            "b": "bT\u003eEeDSiBjr9@x\u003cnLSw{of(3ul0)eUq=Fe/jS(abgb**te?![jcP.",
            "ln": 18,
            "addr": 360
          },
          {
            "b": "bT\u003eEeDSiBjr9@x\u003cnLSw{of(3ul0)C:qDe5!jS(ajfGy)oi@",
            "ln": 19,
            "addr": 403
          },
          {
            "b": "bT\u003eEeDSiBjr9@x\u003cnLSw{of(3ul0)5UqErl@qDe5!jS(ajfGy\u003cni@",
            "ln": 21,
            "addr": 483
          },
          {
            "b": "bT\u003eEeDSiBjr9@x\u003cnLSw{of(3ul0)LRq+QK{pF$euauZ?{iwrDIcP.",
            "ln": 22,
            "addr": 525
          },
          {
            "b": "bT\u003eEeDSiBjr9@x\u003cnLSw{of(3ul0)LRq+QK#q:\u003cPjauZ?{vpTj?zymH",
            "ln": 23,
            "addr": 568
          },
          {
            "b": "bT\u003eEeDSiBjr9@x\u003cnLSw{of(3ul0)LRq+QK{s44DVjS(aXwnM3#ePUGkA+ftui@",
            "ln": 24,
            "addr": 612
          },
          {
            "b": "",
            "ln": 25,
            "addr": 662
          },
          {
            "b": "",
            "ln": 26,
            "addr": 663
          },
          {
            "b": "eIeK%A+flkwPI}",
            "ln": 60,
            "addr": 1402
          },
          {
            "b": "m[3x1flv",
            "ln": 61,
            "addr": 1414
          },
          {
            "b": "eIeK%A+frhz/fScuT^}:D0+x4yH)",
            "ln": 62,
            "addr": 1421
          },
          {
            "b": "e?g^Kw]?K9e?c",
            "ln": 63,
            "addr": 1444
          },
          {
            "b": "eIeK%zF@([A=M8suU\u003cT[",
            "ln": 64,
            "addr": 1455
          },
          {
            "b": "arR^HarR^HarR^Hy\u0026r/(y-)hcz!\u0026{8uU\u003cB$BrAZ?DJ",
            "ln": 313,
            "addr": 7571
          },
          {
            "b": "arR^HarR^HarR^HarR^HDMW0uB95J/ar\u00267gmn)e)pdE(JsyjY!mOu3OnkAe-a$K\u003cQz/P}xjS(1Hmn)e)pdE(JsyjY!mOu3Oq:BtQuR\u003cJ@r3iZ",
            "ln": 314,
            "addr": 7605
          },
          {
            "b": "arR^HarR^HarR^HarR^HB76cauT[1(w[+)2jS]7]zdNi\u003cvqY!2z9o7toHhlBa$K\u003cVB7GwPa%ZbRq=Ea0m[DDTuRrWOof(]-k#QD:rz#s:a$K\u003cQvrlHlz/PwhjS\u003e{]r7f.+uRT9.pfp\u003c@k$jHkuSfl?oKyQ$l)r+4epx5",
            "ln": 315,
            "addr": 7693
          },
          {
            "b": "arR^HarR^HarR^HEe",
            "ln": 316,
            "addr": 7825
          },
          {
            "b": "",
            "ln": 317,
            "addr": 7839
          }
        ],
        "depth": 1,
        "facts": {
          "imp": [
            [
              "",
              "Cwd"
            ],
            [
              "",
              "Test::Nginx::Socket::Lua"
            ]
          ],
          "metrics": {
            "ast": {
              "op.mul": 2.0,
              "max_depth": 7.0,
              "call_count": 6.0,
              "node_count": 211.0,
              "op_density.mul": 0.01,
              "string_literal_count": 9.0
            },
            "file": {
              "size": 8250.0,
              "entropy": 4.61,
              "size_bytes": 8250.0
            },
            "text": {
              "digit_ratio": 0.02,
              "space_count": 2543.0,
              "total_lines": 336.0,
              "char_entropy": 4.61,
              "unique_chars": 81.0,
              "string_density": 0.03,
              "avg_line_length": 23.55,
              "max_line_length": 146.0,
              "empty_line_ratio": 0.23,
              "last_line_length": 7.0,
              "whitespace_ratio": 0.35,
              "most_common_ratio": 0.05,
              "line_length_stddev": 23.34,
              "normalized_string_count": 0.49,
              "repeated_char_sequences": 133.0,
              "most_common_char_is_null": 0.0,
              "max_inline_whitespace_run": 1.0,
              "most_common_char_codepoint": 101.0
            },
            "calls": {
              "count": 6.0
            },
            "binary": {
              "overall_entropy": 4.61
            },
            "imports": {
              "count": 2.0,
              "unique_modules": 2.0,
              "third_party_count": 2.0,
              "third_party_ratio": 1.0
            },
            "strings": {
              "total": 9.0,
              "ip_count": 2.0,
              "avg_length": 21.56,
              "max_length": 145.0,
              "avg_entropy": 2.17,
              "total_bytes": 194.0,
              "entropy_stddev": 1.1
            },
            "comments": {
              "chars": 32.0,
              "lines": 2.0,
              "total": 2.0,
              "to_code_ratio": 0.01
            }
          }
        },
        "id": 2,
        "path": "/data/samples/good/foraged/lua/luarocks.org/_/lua-resty-kafka/lua-resty-kafka-0.20-0.src.rock!!lua-resty-kafka/t/producer.t",
        "risk": 1,
        "sha": "05a4ae3b1454fd0e40d82b548c181cb2e2c3f01ad6c9a6d56bdb9082e07e8b0d",
        "size": 8250,
        "traits": [
          {
            "id": "metadata/package/testing/presence/harness::perl-test-file",
            "conf": 0.8500000238418579,
            "crit": 2,
            "desc": "Perl test file (.t) or t/ dir",
            "spans": [
              [
                0,
                28
              ]
            ]
          },
          {
            "id": "metadata/lang/scripted::use-module",
            "conf": 0.8500000238418579,
            "crit": 2,
            "desc": "Perl module import statement",
            "spans": [
              [
                24,
                30
              ]
            ]
          },
          {
            "id": "objectives/credential-access/theft/keywords::password",
            "crit": 1,
            "desc": "password keyword",
            "spans": [
              [
                7780,
                8
              ]
            ]
          },
          {
            "id": "metadata/lang/scripted::env-hash-deref",
            "conf": 0.8799999952316284,
            "crit": 2,
            "desc": "Untyped Perl ENV hash dereference",
            "spans": [
              [
                321,
                5
              ]
            ]
          },
          {
            "id": "objectives/credential-access/theft/keywords::secret",
            "conf": 0.30000001192092896,
            "crit": 1,
            "desc": "secret keyword",
            "spans": [
              [
                653,
                6
              ]
            ]
          },
          {
            "id": "metadata/lang/scripted::sigil-variable-decl",
            "conf": 0.800000011920929,
            "crit": 2,
            "desc": "Perl sigil variable declaration",
            "spans": [
              [
                136,
                8
              ]
            ]
          },
          {
            "id": "metadata/lang/scripted::source-syntax",
            "conf": 0.8999999761581421,
            "crit": 2,
            "desc": "Perl source syntax patterns",
            "spans": [
              [
                24,
                30
              ],
              [
                136,
                8
              ]
            ]
          },
          {
            "id": "metadata/package/testing/presence/harness::test-directory",
            "conf": 1.0,
            "crit": 2,
            "desc": "File in a test directory",
            "spans": [
              [
                0,
                28
              ]
            ]
          },
          {
            "id": "metadata/package/testing/harness/runtime::is-test",
            "conf": 0.8999999761581421,
            "crit": 2,
            "desc": "Identifies Node.js test files",
            "spans": [
              [
                0,
                28
              ]
            ]
          }
        ],
        "type": "perl"
      },
      {
        "ctx": [
          {
            "b": "boRezz8#-HBrCWDjV1p5CrE=9wPP%",
            "ln": 1,
            "addr": 0
          },
          {
            "b": "",
            "ln": 2,
            "addr": 24
          },
          {
            "b": "B-RapraQb)iYZ2Gx(neRi-x%byH}PGi.TW8i@",
            "ln": 3,
            "addr": 25
          },
          {
            "b": "B-RaplW95-AD-*vCvSc:",
            "ln": 4,
            "addr": 55
          },
          {
            "b": "",
            "ln": 5,
            "addr": 72
          },
          {
            "b": "A+fi3vrt\u003c/vpJ$0gato",
            "ln": 6,
            "addr": 73
          },
          {
            "b": "",
            "ln": 7,
            "addr": 89
          },
          {
            "b": "Abn%2aARgoBAnM/j%j(SAaJE1uU9UQxECqLdJ*b}asXHyy\u0026r*0B0@E^i@",
            "ln": 8,
            "addr": 90
          },
          {
            "b": "",
            "ln": 9,
            "addr": 136
          },
          {
            "b": "zfWlHAcC?njS[lUwge(*",
            "ln": 10,
            "addr": 137
          },
          {
            "b": "",
            "ln": 11,
            "addr": 154
          },
          {
            "b": "Eld",
            "ln": 15,
            "addr": 317
          },
          {
            "b": "",
            "ln": 16,
            "addr": 320
          },
          {
            "b": "bT\u003eEeDSiBjr9@x\u003cnLSw{qBKIWoJBOWEipV}cPA.re\u0026UEycP.",
            "ln": 17,
            "addr": 321
          },
          {
            "b": "bT\u003eEeDSiBjr9@x\u003cnLSw{of(3ul0)eUq=Fe/jS(abgb**te?![jcP.",
            "ln": 18,
            "addr": 360
          },
          {
            "b": "bT\u003eEeDSiBjr9@x\u003cnLSw{of(3ul0)C:qDe5!jS(ajfGy)oi@",
            "ln": 19,
            "addr": 403
          },
          {
            "b": "eIeK%A+flkwPI}",
            "ln": 55,
            "addr": 1456
          },
          {
            "b": "m[3x1flv",
            "ln": 56,
            "addr": 1468
          },
          {
            "b": "eIeK%A+frhz/fScuT^}:C(",
            "ln": 57,
            "addr": 1475
          },
          {
            "b": "i503u",
            "ln": 58,
            "addr": 1493
          },
          {
            "b": "h!DVl",
            "ln": 59,
            "addr": 1498
          }
        ],
        "depth": 1,
        "facts": {
          "imp": [
            [
              "",
              "Cwd"
            ],
            [
              "",
              "Test::Nginx::Socket::Lua"
            ]
          ],
          "metrics": {
            "ast": {
              "op.mul": 2.0,
              "max_depth": 7.0,
              "call_count": 6.0,
              "node_count": 151.0,
              "op_density.mul": 0.01,
              "string_literal_count": 5.0
            },
            "file": {
              "size": 2921.0,
              "entropy": 5.01,
              "size_bytes": 2921.0
            },
            "text": {
              "digit_ratio": 0.14,
              "space_count": 714.0,
              "total_lines": 112.0,
              "char_entropy": 5.01,
              "unique_chars": 76.0,
              "string_density": 0.04,
              "avg_line_length": 25.08,
              "max_line_length": 98.0,
              "empty_line_ratio": 0.21,
              "last_line_length": 7.0,
              "whitespace_ratio": 0.28,
              "most_common_ratio": 0.05,
              "line_length_stddev": 23.55,
              "normalized_string_count": 0.47,
              "repeated_char_sequences": 36.0,
              "most_common_char_is_null": 0.0,
              "max_inline_whitespace_run": 1.0,
              "most_common_char_codepoint": 101.0
            },
            "calls": {
              "count": 6.0
            },
            "binary": {
              "overall_entropy": 5.01
            },
            "imports": {
              "count": 2.0,
              "unique_modules": 2.0,
              "third_party_count": 2.0,
              "third_party_ratio": 1.0
            },
            "strings": {
              "total": 5.0,
              "ip_count": 2.0,
              "avg_length": 33.8,
              "max_length": 145.0,
              "avg_entropy": 2.16,
              "total_bytes": 169.0,
              "entropy_stddev": 1.3
            },
            "comments": {
              "chars": 32.0,
              "lines": 2.0,
              "total": 2.0,
              "to_code_ratio": 0.02
            }
          }
        },
        "id": 3,
        "path": "/data/samples/good/foraged/lua/luarocks.org/_/lua-resty-kafka/lua-resty-kafka-0.20-0.src.rock!!lua-resty-kafka/t/request.t",
        "risk": 1,
        "sha": "ee89fb1847ae5d784b3128268ee1155a359173c1f090767c25afd68c97cb579e",
        "size": 2921,
        "traits": [
          {
            "id": "metadata/package/testing/presence/harness::perl-test-file",
            "conf": 0.8500000238418579,
            "crit": 2,
            "desc": "Perl test file (.t) or t/ dir",
            "spans": [
              [
                0,
                27
              ]
            ]
          },
          {
            "id": "metadata/lang/scripted::use-module",
            "conf": 0.8500000238418579,
            "crit": 2,
            "desc": "Perl module import statement",
            "spans": [
              [
                24,
                30
              ]
            ]
          },
          {
            "id": "metadata/lang/scripted::env-hash-deref",
            "conf": 0.8799999952316284,
            "crit": 2,
            "desc": "Untyped Perl ENV hash dereference",
            "spans": [
              [
                321,
                5
              ]
            ]
          },
          {
            "id": "metadata/lang/scripted::sigil-variable-decl",
            "conf": 0.800000011920929,
            "crit": 2,
            "desc": "Perl sigil variable declaration",
            "spans": [
              [
                136,
                8
              ]
            ]
          },
          {
            "id": "metadata/lang/scripted::source-syntax",
            "conf": 0.8999999761581421,
            "crit": 2,
            "desc": "Perl source syntax patterns",
            "spans": [
              [
                24,
                30
              ],
              [
                136,
                8
              ]
            ]
          },
          {
            "id": "metadata/package/testing/presence/harness::test-directory",
            "conf": 1.0,
            "crit": 2,
            "desc": "File in a test directory",
            "spans": [
              [
                0,
                27
              ]
            ]
          },
          {
            "id": "metadata/package/testing/harness/runtime::is-test",
            "conf": 0.8999999761581421,
            "crit": 2,
            "desc": "Identifies Node.js test files",
            "spans": [
              [
                0,
                27
              ]
            ]
          }
        ],
        "type": "perl"
      },
      {
        "ctx": [
          {
            "b": "boRezz8#-HBrCWDjV1p5CrE=9wPP%",
            "ln": 1,
            "addr": 0
          },
          {
            "b": "",
            "ln": 2,
            "addr": 24
          },
          {
            "b": "B-RapraQb)iYZ2Gx(neRi-x%byH}PGi.TW8i@",
            "ln": 3,
            "addr": 25
          },
          {
            "b": "B-RaplW95-AD-*vCvSc:",
            "ln": 4,
            "addr": 55
          },
          {
            "b": "",
            "ln": 5,
            "addr": 72
          },
          {
            "b": "A+fi3vrt\u003c/vpJ$0gato",
            "ln": 6,
            "addr": 73
          },
          {
            "b": "",
            "ln": 7,
            "addr": 89
          },
          {
            "b": "Abn%2aARgoBAnM/j%j(SAaJE1uU9UQxECqLdJ*b}asXHyy\u0026r*0B0@E^i@",
            "ln": 8,
            "addr": 90
          },
          {
            "b": "",
            "ln": 9,
            "addr": 136
          },
          {
            "b": "zfWlHAcC?njS[lUwge(*",
            "ln": 10,
            "addr": 137
          },
          {
            "b": "",
            "ln": 11,
            "addr": 154
          },
          {
            "b": "Eld",
            "ln": 15,
            "addr": 317
          },
          {
            "b": "",
            "ln": 16,
            "addr": 320
          },
          {
            "b": "bT\u003eEeDSiBjr9@x\u003cnLSw{qBKIWoJBOWEipV}cPA.re\u0026UEycP.",
            "ln": 17,
            "addr": 321
          },
          {
            "b": "bT\u003eEeDSiBjr9@x\u003cnLSw{of(3ul0)eUq=Fe/jS(abgb**te?![jcP.",
            "ln": 18,
            "addr": 360
          },
          {
            "b": "bT\u003eEeDSiBjr9@x\u003cnLSw{of(3ul0)C:qDe5!jS(ajfGy)oi@",
            "ln": 19,
            "addr": 403
          },
          {
            "b": "eIeK%A+flkwPI}",
            "ln": 56,
            "addr": 1430
          },
          {
            "b": "m[3x1flv",
            "ln": 57,
            "addr": 1442
          },
          {
            "b": "eIeK%A+frhz/fScuT^}:C(",
            "ln": 58,
            "addr": 1449
          },
          {
            "b": "vpS)\u003ez!?yQA=\u003e}PayX=3v}W]nvqH0@",
            "ln": 59,
            "addr": 1467
          },
          {
            "b": "vpS)\u003ez!?yQA=\u003e}PayX=3v}W]BA=\u003e{",
            "ln": 60,
            "addr": 1492
          },
          {
            "b": "vpS)\u003ewPz/LvS=o{wPw]iC4CYay\u0026sH",
            "ln": 61,
            "addr": 1516
          },
          {
            "b": "eIeK%zF@([A=M8suU\u003cT[",
            "ln": 62,
            "addr": 1540
          },
          {
            "b": "tv??}z/Pa",
            "ln": 63,
            "addr": 1557
          }
        ],
        "depth": 1,
        "facts": {
          "imp": [
            [
              "",
              "Cwd"
            ],
            [
              "",
              "Test::Nginx::Socket::Lua"
            ]
          ],
          "metrics": {
            "ast": {
              "op.mul": 2.0,
              "max_depth": 7.0,
              "call_count": 6.0,
              "node_count": 151.0,
              "op_density.mul": 0.01,
              "string_literal_count": 5.0
            },
            "file": {
              "size": 3045.0,
              "entropy": 4.83,
              "size_bytes": 3045.0
            },
            "text": {
              "digit_ratio": 0.04,
              "space_count": 757.0,
              "total_lines": 127.0,
              "char_entropy": 4.83,
              "unique_chars": 73.0,
              "string_density": 0.04,
              "avg_line_length": 22.98,
              "max_line_length": 98.0,
              "empty_line_ratio": 0.21,
              "last_line_length": 7.0,
              "whitespace_ratio": 0.29,
              "most_common_ratio": 0.06,
              "line_length_stddev": 21.29,
              "normalized_string_count": 0.44,
              "repeated_char_sequences": 37.0,
              "most_common_char_is_null": 0.0,
              "max_inline_whitespace_run": 1.0,
              "most_common_char_codepoint": 101.0
            },
            "calls": {
              "count": 6.0
            },
            "binary": {
              "overall_entropy": 4.83
            },
            "imports": {
              "count": 2.0,
              "unique_modules": 2.0,
              "third_party_count": 2.0,
              "third_party_ratio": 1.0
            },
            "strings": {
              "total": 5.0,
              "ip_count": 2.0,
              "avg_length": 33.8,
              "max_length": 145.0,
              "avg_entropy": 2.16,
              "total_bytes": 169.0,
              "entropy_stddev": 1.3
            },
            "comments": {
              "chars": 32.0,
              "lines": 2.0,
              "total": 2.0,
              "to_code_ratio": 0.02
            }
          }
        },
        "id": 4,
        "path": "/data/samples/good/foraged/lua/luarocks.org/_/lua-resty-kafka/lua-resty-kafka-0.20-0.src.rock!!lua-resty-kafka/t/ringbuffer.t",
        "risk": 1,
        "sha": "c2b1c5a78ae4cd4c22d9d235a0a6b48b23b4799b8e0a70f161a14cfe535db638",
        "size": 3045,
        "traits": [
          {
            "id": "metadata/package/testing/presence/harness::perl-test-file",
            "conf": 0.8500000238418579,
            "crit": 2,
            "desc": "Perl test file (.t) or t/ dir",
            "spans": [
              [
                0,
                30
              ]
            ]
          },
          {
            "id": "metadata/lang/scripted::use-module",
            "conf": 0.8500000238418579,
            "crit": 2,
            "desc": "Perl module import statement",
            "spans": [
              [
                24,
                30
              ]
            ]
          },
          {
            "id": "metadata/lang/scripted::env-hash-deref",
            "conf": 0.8799999952316284,
            "crit": 2,
            "desc": "Untyped Perl ENV hash dereference",
            "spans": [
              [
                321,
                5
              ]
            ]
          },
          {
            "id": "metadata/lang/scripted::sigil-variable-decl",
            "conf": 0.800000011920929,
            "crit": 2,
            "desc": "Perl sigil variable declaration",
            "spans": [
              [
                136,
                8
              ]
            ]
          },
          {
            "id": "metadata/lang/scripted::source-syntax",
            "conf": 0.8999999761581421,
            "crit": 2,
            "desc": "Perl source syntax patterns",
            "spans": [
              [
                24,
                30
              ],
              [
                136,
                8
              ]
            ]
          },
          {
            "id": "metadata/package/testing/presence/harness::test-directory",
            "conf": 1.0,
            "crit": 2,
            "desc": "File in a test directory",
            "spans": [
              [
                0,
                30
              ]
            ]
          },
          {
            "id": "metadata/package/testing/harness/runtime::is-test",
            "conf": 0.8999999761581421,
            "crit": 2,
            "desc": "Identifies Node.js test files",
            "spans": [
              [
                0,
                30
              ]
            ]
          }
        ],
        "type": "perl"
      },
      {
        "ctx": [
          {
            "b": "boRezz8#-HBrCWDjV1p5CrE=9wPP%",
            "ln": 1,
            "addr": 0
          },
          {
            "b": "",
            "ln": 2,
            "addr": 24
          },
          {
            "b": "B-RapraQb)iYZ2Gx(neRi-x%byH}PGi.TW8i@",
            "ln": 3,
            "addr": 25
          },
          {
            "b": "B-RaplW95-AD-*vCvSc:",
            "ln": 4,
            "addr": 55
          },
          {
            "b": "",
            "ln": 5,
            "addr": 72
          },
          {
            "b": "A+fi3vrt\u003c/vpJ$0gato",
            "ln": 6,
            "addr": 73
          },
          {
            "b": "",
            "ln": 7,
            "addr": 89
          },
          {
            "b": "Abn%2aARgoBAnM/j%j(SAaJE1uU9UQxECqLdJ*b}asXHyy\u0026r*0B0@E^i@",
            "ln": 8,
            "addr": 90
          },
          {
            "b": "",
            "ln": 9,
            "addr": 136
          },
          {
            "b": "zfWlHAcC?njS[lUwge(*",
            "ln": 10,
            "addr": 137
          },
          {
            "b": "",
            "ln": 11,
            "addr": 154
          },
          {
            "b": "Eld",
            "ln": 15,
            "addr": 317
          },
          {
            "b": "",
            "ln": 16,
            "addr": 320
          },
          {
            "b": "bT\u003eEeDSiBjr9@x\u003cnLSw{qBKIWoJBOWEipV}cPA.re\u0026UEycP.",
            "ln": 17,
            "addr": 321
          },
          {
            "b": "bT\u003eEeDSiBjr9@x\u003cnLSw{of(3ul0)eUq=Fe/jS(abgb**te?![jcP.",
            "ln": 18,
            "addr": 360
          },
          {
            "b": "bT\u003eEeDSiBjr9@x\u003cnLSw{of(3ul0)C:qDe5!jS(ajfGy)oi@",
            "ln": 19,
            "addr": 403
          },
          {
            "b": "eIeK%A+flkwPI}",
            "ln": 70,
            "addr": 1742
          },
          {
            "b": "m[3x1flv",
            "ln": 71,
            "addr": 1754
          },
          {
            "b": "eIeK%A+frhz/fScuT^}:C(",
            "ln": 72,
            "addr": 1761
          },
          {
            "b": "B7Gl1aA83RBAhIn",
            "ln": 73,
            "addr": 1779
          },
          {
            "b": "B7Gl1aA83RBAhIn",
            "ln": 74,
            "addr": 1792
          }
        ],
        "depth": 1,
        "facts": {
          "imp": [
            [
              "",
              "Cwd"
            ],
            [
              "",
              "Test::Nginx::Socket::Lua"
            ]
          ],
          "metrics": {
            "ast": {
              "op.mul": 2.0,
              "max_depth": 7.0,
              "call_count": 6.0,
              "node_count": 151.0,
              "op_density.mul": 0.01,
              "string_literal_count": 5.0
            },
            "file": {
              "size": 10549.0,
              "entropy": 4.58,
              "size_bytes": 10549.0
            },
            "text": {
              "digit_ratio": 0.02,
              "space_count": 3218.0,
              "total_lines": 412.0,
              "char_entropy": 4.58,
              "unique_chars": 78.0,
              "string_density": 0.01,
              "avg_line_length": 24.6,
              "max_line_length": 137.0,
              "empty_line_ratio": 0.24,
              "last_line_length": 7.0,
              "whitespace_ratio": 0.34,
              "most_common_ratio": 0.06,
              "line_length_stddev": 25.58,
              "normalized_string_count": 0.25,
              "repeated_char_sequences": 172.0,
              "most_common_char_is_null": 0.0,
              "max_inline_whitespace_run": 1.0,
              "most_common_char_codepoint": 101.0
            },
            "calls": {
              "count": 6.0
            },
            "binary": {
              "overall_entropy": 4.58
            },
            "imports": {
              "count": 2.0,
              "unique_modules": 2.0,
              "third_party_count": 2.0,
              "third_party_ratio": 1.0
            },
            "strings": {
              "total": 5.0,
              "ip_count": 2.0,
              "avg_length": 33.8,
              "max_length": 145.0,
              "avg_entropy": 2.16,
              "total_bytes": 169.0,
              "entropy_stddev": 1.3
            },
            "comments": {
              "chars": 32.0,
              "lines": 2.0,
              "total": 2.0,
              "to_code_ratio": 0.0
            }
          }
        },
        "id": 5,
        "path": "/data/samples/good/foraged/lua/luarocks.org/_/lua-resty-kafka/lua-resty-kafka-0.20-0.src.rock!!lua-resty-kafka/t/buffer.t",
        "risk": 1,
        "sha": "3681a64bf9c1c5deb993264371882237b37c667e721049d038ca1d5085844d6b",
        "size": 10549,
        "traits": [
          {
            "id": "metadata/package/testing/presence/harness::perl-test-file",
            "conf": 0.8500000238418579,
            "crit": 2,
            "desc": "Perl test file (.t) or t/ dir",
            "spans": [
              [
                0,
                26
              ]
            ]
          },
          {
            "id": "metadata/lang/scripted::use-module",
            "conf": 0.8500000238418579,
            "crit": 2,
            "desc": "Perl module import statement",
            "spans": [
              [
                24,
                30
              ]
            ]
          },
          {
            "id": "metadata/lang/scripted::env-hash-deref",
            "conf": 0.8799999952316284,
            "crit": 2,
            "desc": "Untyped Perl ENV hash dereference",
            "spans": [
              [
                321,
                5
              ]
            ]
          },
          {
            "id": "metadata/lang/scripted::sigil-variable-decl",
            "conf": 0.800000011920929,
            "crit": 2,
            "desc": "Perl sigil variable declaration",
            "spans": [
              [
                136,
                8
              ]
            ]
          },
          {
            "id": "metadata/lang/scripted::source-syntax",
            "conf": 0.8999999761581421,
            "crit": 2,
            "desc": "Perl source syntax patterns",
            "spans": [
              [
                24,
                30
              ],
              [
                136,
                8
              ]
            ]
          },
          {
            "id": "metadata/package/testing/presence/harness::test-directory",
            "conf": 1.0,
            "crit": 2,
            "desc": "File in a test directory",
            "spans": [
              [
                0,
                26
              ]
            ]
          },
          {
            "id": "metadata/package/testing/harness/runtime::is-test",
            "conf": 0.8999999761581421,
            "crit": 2,
            "desc": "Identifies Node.js test files",
            "spans": [
              [
                0,
                26
              ]
            ]
          }
        ],
        "type": "perl"
      },
      {
        "id": 6,
        "sha": "cc9b85213e9263f4333250c6f4c88b72020f5312366f77e71a8e408d17ef4d34",
        "path": "/data/samples/good/foraged/lua/luarocks.org/_/lua-resty-kafka/lua-resty-kafka-0.20-0.src.rock!!lua-resty-kafka/t/client.t",
        "risk": 1,
        "size": 7888,
        "type": "perl",
        "depth": 1
      },
      {
        "id": 7,
        "sha": "76102b46b6797c970bd2b4fe191339fd435b8773fb187ce65f57574d1fffe71a",
        "path": "/data/samples/good/foraged/lua/luarocks.org/_/lua-resty-kafka/lua-resty-kafka-0.20-0.src.rock!!lua-resty-kafka/t/sendbuffer.t",
        "risk": 1,
        "size": 5973,
        "type": "perl",
        "depth": 1
      },
      {
        "id": 8,
        "sha": "4e58d20df87cdf598b1c154153dae652fce078ed4ca68fe5230ba2f8e678afc6",
        "path": "/data/samples/good/foraged/lua/luarocks.org/_/lua-resty-kafka/lua-resty-kafka-0.20-0.src.rock!!lua-resty-kafka/README.md",
        "risk": 1,
        "size": 19072,
        "type": "markdown",
        "depth": 1
      },
      {
        "id": 9,
        "sha": "a5d990b873f1ca2c4e3af68d4e0e466b3ad8a2cc2b0d7cadd3110ab11fa7dcf4",
        "path": "/data/samples/good/foraged/lua/luarocks.org/_/lua-resty-kafka/lua-resty-kafka-0.20-0.src.rock!!lua-resty-kafka/.github/workflows/test.yaml",
        "risk": 1,
        "size": 6307,
        "type": "github-actions",
        "depth": 1
      },
      {
        "id": 10,
        "sha": "d8b805c78f5af5f73ba82778bb952ba138c679330c46057c6ddc03ece3536b0b",
        "path": "/data/samples/good/foraged/lua/luarocks.org/_/lua-resty-kafka/lua-resty-kafka-0.20-0.src.rock!!lua-resty-kafka/Makefile",
        "risk": 1,
        "size": 446,
        "type": "makefile",
        "depth": 1
      },
      {
        "id": 11,
        "sha": "abbae41918d7002ed254544f79534b0e080e740225297cf9af5a1eb8df797860",
        "path": "/data/samples/good/foraged/lua/luarocks.org/_/lua-resty-kafka/lua-resty-kafka-0.20-0.src.rock!!lua-resty-kafka/LICENSE",
        "risk": 1,
        "size": 1482,
        "type": "text",
        "depth": 1
      },
      {
        "id": 12,
        "sha": "77903004db255002119611759a484a5a853940f676bfb4851d47e1034fe5b9a0",
        "path": "/data/samples/good/foraged/lua/luarocks.org/_/lua-resty-kafka/lua-resty-kafka-0.20-0.src.rock!!lua-resty-kafka/lib/resty/kafka/errors.lua",
        "risk": 1,
        "size": 7376,
        "type": "lua",
        "depth": 1
      },
      {
        "id": 13,
        "sha": "880f172f953c3991a4c5e6f9cd444d7812a82c891a0531bfb6c9487a0fa042f3",
        "path": "/data/samples/good/foraged/lua/luarocks.org/_/lua-resty-kafka/lua-resty-kafka-0.20-0.src.rock!!lua-resty-kafka/lib/resty/kafka/protocol/consumer.lua",
        "risk": 1,
        "size": 8813,
        "type": "lua",
        "depth": 1
      },
      {
        "id": 14,
        "sha": "2567a883e9518e362f2fb382bc03e066eb5b966d56c2cd69e74fb49be52e2629",
        "path": "/data/samples/good/foraged/lua/luarocks.org/_/lua-resty-kafka/lua-resty-kafka-0.20-0.src.rock!!lua-resty-kafka/lib/resty/kafka/protocol/common.lua",
        "risk": 1,
        "size": 1964,
        "type": "lua",
        "depth": 1
      },
      {
        "id": 15,
        "sha": "a050e1ae33a64fa0625281541de07a49fd9d3f60f31b13927f7ac4d3ebc231e3",
        "path": "/data/samples/good/foraged/lua/luarocks.org/_/lua-resty-kafka/lua-resty-kafka-0.20-0.src.rock!!lua-resty-kafka/lib/resty/kafka/protocol/record.lua",
        "risk": 1,
        "size": 6896,
        "type": "lua",
        "depth": 1
      },
      {
        "id": 16,
        "sha": "e03738cbc8a0fc14657255a9d21611be30481a0391283272ae45c808972c8f4e",
        "path": "/data/samples/good/foraged/lua/luarocks.org/_/lua-resty-kafka/lua-resty-kafka-0.20-0.src.rock!!lua-resty-kafka/lib/resty/kafka/sendbuffer.lua",
        "risk": 1,
        "size": 4845,
        "type": "lua",
        "depth": 1
      },
      {
        "id": 17,
        "sha": "78e0c8567b6abdb67bc8469fd479f578470205acaf0ffc77b236fc56aa9e1548",
        "path": "/data/samples/good/foraged/lua/luarocks.org/_/lua-resty-kafka/lua-resty-kafka-0.20-0.src.rock!!lua-resty-kafka/lib/resty/kafka/client.lua",
        "risk": 1,
        "size": 8723,
        "type": "lua",
        "depth": 1
      },
      {
        "id": 18,
        "sha": "98dc1c91a231c82520837244a0a59bf40ab128049615f861a159a22aebdffb90",
        "path": "/data/samples/good/foraged/lua/luarocks.org/_/lua-resty-kafka/lua-resty-kafka-0.20-0.src.rock!!lua-resty-kafka/lib/resty/kafka/sasl.lua",
        "size": 521,
        "type": "lua",
        "depth": 1
      },
      {
        "id": 19,
        "sha": "3e481509fcb5e08b9a59e2c7215dc243dd6785592a59a628186b58756ddcaeb2",
        "path": "/data/samples/good/foraged/lua/luarocks.org/_/lua-resty-kafka/lua-resty-kafka-0.20-0.src.rock!!lua-resty-kafka/lib/resty/kafka/response.lua",
        "risk": 1,
        "size": 6817,
        "type": "lua",
        "depth": 1
      },
      {
        "ctx": [
          {
            "b": "eIe8jz/x#xx\u003eIa3asGPaavG^Qx\u003c\u003e)(ax\u0026D3c$Emsyh49]xehp)",
            "ln": 1,
            "addr": 0
          },
          {
            "b": "",
            "ln": 2,
            "addr": 41
          },
          {
            "b": "",
            "ln": 3,
            "addr": 42
          },
          {
            "b": "y\u0026r/(y-)+fB8V5nB7DESaAz4kB.L(car\u003e\u0026qB98WWyHH*\u003cvj(OiB8V5nB7DJ",
            "ln": 4,
            "addr": 43
          },
          {
            "b": "y\u0026r/(y-)+fADL\u0026lBrAZ?A+flkx(W=cb64moBA]GOvp\u003cp-e]\u003eJyB.bSoa]",
            "ln": 5,
            "addr": 91
          },
          {
            "b": "",
            "ln": 6,
            "addr": 137
          },
          {
            "b": "",
            "ln": 18,
            "addr": 372
          },
          {
            "b": "y\u0026r/(y-)tjzEW^5z/cX8B8LM7uVP^@wm6v*v}/H$wHIRrv@0RrA+flkwPI@x",
            "ln": 19,
            "addr": 373
          },
          {
            "b": "arR^Hy\u0026r/(y-)hjBy/IAaz2OlauZ\u0026*z!0MzB7Gl1c#@)sB.bSoi=FIqyHH\u003c!c[cO",
            "ln": 20,
            "addr": 422
          },
          {
            "b": "arR^Hx\u003ewG9z/^ahD30RsaARpdzu",
            "ln": 21,
            "addr": 474
          },
          {
            "b": "arR^HarR^HA+funA=91qx(2sywPz/xaARTDwD",
            "ln": 22,
            "addr": 496
          },
          {
            "b": "",
            "ln": 74,
            "addr": 1721
          },
          {
            "b": "arR^Hy\u0026r/(y-)OoxcotWB76cae[F{gz!9AcvSDlpvrDW9e]tffxKL^)B8rDJzFr]rayYwbe[5)AxFaBGwPxs",
            "ln": 75,
            "addr": 1722
          },
          {
            "b": "arR^HarR^HarR^HarR^HarR^HarR^HarR^HvSDlpvrDW9e]UluB9zLywgm",
            "ln": 76,
            "addr": 1790
          },
          {
            "b": "",
            "ln": 77,
            "addr": 1837
          },
          {
            "b": "arR^HA+fkKvTi6bB0$)Dxdi",
            "ln": 78,
            "addr": 1838
          },
          {
            "b": "",
            "ln": 111,
            "addr": 2431
          },
          {
            "b": "w{503BzkVhayv?}zE[2uB7Gf1efFRAB95@QAbP=sefG1Lv@2T$uT[1(w[+)eaAH$jy*QW\u003czF0P}df",
            "ln": 112,
            "addr": 2432
          },
          {
            "b": "arR^HA+funA=91vwPR^2Byxo1vR/Q7DJ",
            "ln": 113,
            "addr": 2494
          },
          {
            "b": "arR^HarR^HxM4%lauZ\u0026Xz/Z1K",
            "ln": 114,
            "addr": 2520
          },
          {
            "b": "arR^HarR^HAbP=sauZ\u0026^z/P}J",
            "ln": 115,
            "addr": 2541
          },
          {
            "b": "arR^HB8LM7i=!\u003eOBzkP6z/{dIB7Gf1e[n*qw[+)gB8LM7wPRp3x(dB1B-Y5",
            "ln": 128,
            "addr": 2767
          },
          {
            "b": "",
            "ln": 129,
            "addr": 2815
          },
          {
            "b": "arR^Hy\u0026r/(y-)UiefFIAAV^H/B8LM7i+98CzE)s1d05%ow?E+nB95@QB7Gf1e]U-HBsv",
            "ln": 130,
            "addr": 2816
          },
          {
            "b": "arR^Hx\u003ewG9z/^auyAN.jwO}",
            "ln": 131,
            "addr": 2871
          },
          {
            "b": "arR^HarR^HA+funA=91qx(2sywPz/xaARTDwD",
            "ln": 132,
            "addr": 2890
          }
        ],
        "depth": 1,
        "facts": {
          "imp": [
            [
              "",
              "require"
            ],
            [
              "",
              "require"
            ],
            [
              "",
              "require"
            ],
            [
              "",
              "to_int32"
            ],
            [
              "",
              "pid"
            ],
            [
              "",
              "sock_send_recieve"
            ],
            [
              "",
              "pid"
            ],
            [
              "",
              "sasl.encode"
            ],
            [
              "",
              "sock_send_recieve"
            ],
            [
              "",
              "sasl_handshake"
            ],
            [
              "",
              "sasl_auth"
            ],
            [
              "",
              "setmetatable"
            ],
            [
              "",
              "tcp"
            ],
            [
              "",
              "tostring"
            ],
            [
              "",
              "tostring"
            ],
            [
              "",
              "sasl_auth"
            ],
            [
              "",
              "tostring"
            ],
            [
              "",
              "sock_send_recieve"
            ],
            [
              "",
              "resty.kafka.request"
            ],
            [
              "",
              "resty.kafka.response"
            ],
            [
              "",
              "resty.kafka.sasl"
            ]
          ],
          "mbr": [
            "_M.new",
            "_M.send_receive",
            "brk.auth",
            "brk.auth.mechanism",
            "brk.auth.password",
            "brk.auth.user",
            "brk.config",
            "ngx.socket",
            "ngx.socket.tcp",
            "ngx.worker",
            "ngx.worker.pid",
            "request.API_VERSION_V1",
            "request.SaslAuthenticateRequest",
            "request.SaslHandshakeRequest",
            "request.api_version",
            "response.to_int32",
            "sasl.encode",
            "self.auth",
            "self.auth.mechanism",
            "self.config",
            "self.config.keepalive_size",
            "self.config.keepalive_timeout",
            "self.config.socket_timeout",
            "self.config.ssl",
            "self.config.ssl_verify",
            "self.host",
            "self.port"
          ],
          "tgt": [
            "_sasl_auth",
            "_sasl_handshake",
            "_sock_send_recieve",
            "pid",
            "require",
            "sasl.encode",
            "sasl_auth",
            "setmetatable",
            "tcp",
            "to_int32",
            "tostring"
          ],
          "metrics": {
            "ast": {
              "op.eq": 4.0,
              "op.land": 2.0,
              "op.lnot": 12.0,
              "max_depth": 18.0,
              "bind_count": 33.0,
              "call_count": 39.0,
              "node_count": 1223.0,
              "member_count": 27.0,
              "op_density.eq": 0.0,
              "op_density.land": 0.0,
              "op_density.lnot": 0.01,
              "identifier_count": 69.0,
              "member_depth_max": 3.0,
              "string_literal_count": 15.0,
              "array_literal_max_length": 4.0
            },
            "file": {
              "size": 4035.0,
              "entropy": 4.31,
              "size_bytes": 4035.0
            },
            "text": {
              "digit_ratio": 0.01,
              "space_count": 1095.0,
              "total_lines": 169.0,
              "char_entropy": 4.31,
              "unique_chars": 63.0,
              "string_density": 0.09,
              "avg_line_length": 22.88,
              "max_line_length": 80.0,
              "empty_line_ratio": 0.26,
              "last_line_length": 9.0,
              "whitespace_ratio": 0.31,
              "most_common_ratio": 0.08,
              "identifier_density": 1.58,
              "line_length_stddev": 21.41,
              "normalized_string_count": 1.15,
              "repeated_char_sequences": 14.0,
              "most_common_char_is_null": 0.0,
              "max_inline_whitespace_run": 2.0,
              "most_common_char_codepoint": 101.0,
              "normalized_unique_identifiers": 9.32
            },
            "binds": {
              "count": 33.0
            },
            "calls": {
              "count": 39.0
            },
            "binary": {
              "overall_entropy": 4.31
            },
            "source": {
              "function_count": 6.0
            },
            "imports": {
              "count": 3.0,
              "unique_modules": 3.0,
              "third_party_count": 3.0,
              "third_party_ratio": 1.0
            },
            "members": {
              "count": 27.0
            },
            "strings": {
              "total": 15.0,
              "avg_length": 11.33,
              "max_length": 32.0,
              "avg_entropy": 2.3,
              "total_bytes": 170.0,
              "entropy_stddev": 1.2
            },
            "comments": {
              "chars": 77.0,
              "lines": 3.0,
              "total": 3.0,
              "to_code_ratio": 0.02
            },
            "functions": {
              "count": 6.0
            },
            "identifiers": {
              "count": 69.0,
              "total": 267.0,
              "avg_length": 7.65,
              "max_length": 23.0,
              "min_length": 2.0,
              "avg_entropy": 2.37,
              "reuse_ratio": 0.26,
              "unique_count": 69.0,
              "length_stddev": 4.58,
              "has_digit_ratio": 0.04,
              "high_entropy_count": 2.0,
              "high_entropy_ratio": 0.03,
              "all_lowercase_ratio": 0.91,
              "all_uppercase_ratio": 0.01,
              "numeric_suffix_count": 3.0,
              "underscore_prefix_count": 5.0
            }
          }
        },
        "id": 20,
        "mol": "H(Cm)",
        "path": "/data/samples/good/foraged/lua/luarocks.org/_/lua-resty-kafka/lua-resty-kafka-0.20-0.src.rock!!lua-resty-kafka/lib/resty/kafka/broker.lua",
        "risk": 1,
        "sha": "a72e1bac421eba1afcb262dbefbfdd284904a9e6dce8c531ea31981344ca88d3",
        "size": 4035,
        "traits": [
          {
            "id": "objectives/credential-access/theft/keywords::password",
            "crit": 1,
            "desc": "password keyword",
            "spans": [
              [
                1827,
                8
              ]
            ]
          },
          {
            "id": "micro-behaviors/communications/socket/send::lua-socket-send",
            "atk": "T1071",
            "mbc": "C0001",
            "conf": 0.8600000143051147,
            "crit": 3,
            "desc": "Lua socket send method",
            "spans": [
              [
                449,
                6
              ]
            ]
          },
          {
            "id": "micro-behaviors/communications/socket/connect::lua-method-connect",
            "atk": "T1071",
            "mbc": "C0001",
            "conf": 0.699999988079071,
            "crit": 1,
            "desc": "Lua socket connect method",
            "spans": [
              [
                2840,
                9
              ]
            ]
          }
        ],
        "type": "lua"
      },
      {
        "id": 21,
        "sha": "6da959b06fdb7064cdbba68c9c527f70fad85534e99e9de92feb2f5249f9cf13",
        "path": "/data/samples/good/foraged/lua/luarocks.org/_/lua-resty-kafka/lua-resty-kafka-0.20-0.src.rock!!lua-resty-kafka/lib/resty/kafka/utils.lua",
        "size": 129,
        "type": "lua",
        "depth": 1
      },
      {
        "id": 22,
        "sha": "ff52d1b3d2b90c8e7cee35c75b831e24d68417e71cb4011d6fb62c61ec26da7c",
        "path": "/data/samples/good/foraged/lua/luarocks.org/_/lua-resty-kafka/lua-resty-kafka-0.20-0.src.rock!!lua-resty-kafka/lib/resty/kafka/producer.lua",
        "risk": 1,
        "size": 11599,
        "type": "lua",
        "depth": 1
      },
      {
        "id": 23,
        "sha": "7aa27eb8665e967293e4b7ae035af924f66ea78c24d8ce494e87793abe34eee7",
        "path": "/data/samples/good/foraged/lua/luarocks.org/_/lua-resty-kafka/lua-resty-kafka-0.20-0.src.rock!!lua-resty-kafka/lib/resty/kafka/request.lua",
        "risk": 1,
        "size": 5871,
        "type": "lua",
        "depth": 1
      },
      {
        "id": 24,
        "sha": "59b92fc4566209d045d528526ddb58bb6f6537f9a19f001e4ba54e4e6aaa1cc8",
        "path": "/data/samples/good/foraged/lua/luarocks.org/_/lua-resty-kafka/lua-resty-kafka-0.20-0.src.rock!!lua-resty-kafka/lib/resty/kafka/basic-consumer.lua",
        "risk": 1,
        "size": 4242,
        "type": "lua",
        "depth": 1
      },
      {
        "id": 25,
        "sha": "717fd65bc07f3a8f725d55691ed0a4c5a701724a8c0caff8f5ceca0eff36f6b6",
        "path": "/data/samples/good/foraged/lua/luarocks.org/_/lua-resty-kafka/lua-resty-kafka-0.20-0.src.rock!!lua-resty-kafka/lib/resty/kafka/ringbuffer.lua",
        "risk": 1,
        "size": 1494,
        "type": "lua",
        "depth": 1
      }
    ],
    "omitted_files": 19,
    "rev": "b183e",
    "v": "8"
  }
}