{
  "ml": {
    "v": "7",
    "eng": "2.1.0",
    "lvl": -1,
    "conf": 0,
    "mods": [
      {
        "cls": 0,
        "raw": 0.000006467104,
        "rte": "az",
        "prob": 0.000006467104
      },
      {
        "cls": 0,
        "raw": 0.00035905838,
        "rte": "az/zip",
        "prob": 0.00035905838
      }
    ],
    "prob": 0.000010659297,
    "files": [
      {
        "id": 0,
        "lvl": -1,
        "conf": 0,
        "prob": 0.000010659297004167456,
        "type": "zip"
      },
      {
        "id": 1,
        "lvl": -1,
        "conf": 0,
        "prob": 0.000009884436622087378,
        "type": "tar.gz"
      },
      {
        "id": 2,
        "lvl": -1,
        "conf": 0,
        "prob": 0.000009745359420776367,
        "type": "lua"
      },
      {
        "id": 3,
        "lvl": -1,
        "conf": 0,
        "prob": 0.000009208917617797852,
        "type": "c"
      },
      {
        "id": 4,
        "lvl": -1,
        "conf": 0,
        "prob": 0.000010659297004167456,
        "type": "c"
      },
      {
        "id": 5,
        "lvl": -1,
        "conf": 0,
        "prob": 0.000008006890311662573,
        "type": "text"
      },
      {
        "id": 6,
        "lvl": -1,
        "conf": 0,
        "prob": 0.000007530053608206799,
        "type": "markdown"
      }
    ],
    "version": "v18.18",
    "analyzed_at": "2026-06-23T21:08:31Z"
  },
  "path": "createtable-0.2-1.src.rock",
  "raw": {
    "files": [
      {
        "id": 0,
        "sha": "5b7252c21ca12b99d0a8f8b1ea3bc7cacd2762e2a7cbc3d090053ecaaced005e",
        "path": "/data/samples/unknown/foraged/lua/luarocks.org/_/createtable/createtable-0.2-1.src.rock",
        "risk": 1,
        "size": 6037,
        "type": "zip",
        "facts": {
          "metrics": {
            "file": {
              "size": 6037.0,
              "entropy": 7.93,
              "size_bytes": 6037.0
            },
            "binary": {
              "overall_entropy": 7.93
            },
            "archive": {
              "file_count": 2.0,
              "member_count": 2.0,
              "script_count": 0.0,
              "zip_bomb_ratio": 1.82,
              "directory_count": 0.0,
              "executable_count": 0.0,
              "extra_field_size": 48.0,
              "noise_file_count": 0.0,
              "total_compressed": 5655.0,
              "compression.ratio": 0.96,
              "hidden_file_count": 0.0,
              "total_uncompressed": 5879.0,
              "crc_collision_count": 0.0,
              "entry_comment_count": 0.0,
              "max_filename_length": 26.0,
              "rtlo_filename_count": 0.0,
              "format.regular_count": 2.0,
              "nested_archive_count": 1.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,
              "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.5,
              "misplaced_executable_count": 0.0,
              "timing.mtime_dominant_count": 2.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": 1.0,
              "compression.method_counts.deflate": 1.0
            },
            "consistency": {
              "extension_content_mismatch": 1.0,
              "extension_content_mismatch.archive_as_unknown": 1.0
            }
          }
        },
        "traits": [
          {
            "id": "metadata/file/profile/language::lang-english",
            "conf": 0.800000011920929,
            "crit": 2,
            "desc": "English language detection",
            "from": [
              {
                "file": 5
              }
            ]
          },
          {
            "id": "metadata/file/metrics::archive-parse-error",
            "conf": 0.8999999761581421,
            "crit": 2,
            "desc": "Archive parser reported errors",
            "from": [
              {
                "file": 1
              }
            ]
          },
          {
            "id": "metadata/file/metrics::low-overall-entropy-source",
            "conf": 0.8999999761581421,
            "crit": 2,
            "desc": "Script overall entropy stays low",
            "from": [
              {
                "file": 2
              }
            ]
          }
        ]
      },
      {
        "depth": 1,
        "facts": {
          "metrics": {
            "file": {
              "size": 5383.0,
              "entropy": 7.96,
              "size_bytes": 5383.0
            },
            "parse": {
              "error_count": 1.0
            },
            "binary": {
              "overall_entropy": 7.96
            }
          }
        },
        "id": 1,
        "path": "/data/samples/unknown/foraged/lua/luarocks.org/_/createtable/createtable-0.2-1.src.rock!!lua-createtable-0.2.tar.gz",
        "risk": 1,
        "sha": "29d9d7f54666fb343b2deb5b12e949d83b581ffec42803c4b5e414d3e90a49a1",
        "size": 5383,
        "traits": [
          {
            "id": "metadata/file/profile/language::lang-english",
            "conf": 0.800000011920929,
            "crit": 2,
            "desc": "English language detection",
            "from": [
              {
                "file": 5
              }
            ]
          },
          {
            "id": "metadata/file/metrics::low-overall-entropy-source",
            "conf": 0.8999999761581421,
            "crit": 2,
            "desc": "Script overall entropy stays low",
            "from": [
              {
                "file": 2
              }
            ]
          },
          {
            "id": "metadata/file/metrics::archive-parse-error",
            "conf": 0.8999999761581421,
            "crit": 2,
            "desc": "Archive parser reported errors",
            "spans": [
              [
                0,
                24
              ]
            ]
          }
        ],
        "type": "tar.gz"
      },
      {
        "ctx": [
          {
            "b": "y\u0026r/(y-)kdwNPW(BywS{wGTbUA+flkx(W=cb4CU8vru75vpB4:a]",
            "ln": 1,
            "addr": 0
          },
          {
            "b": "",
            "ln": 2,
            "addr": 42
          },
          {
            "b": "vrlH3A=-ZKD2Nsyv@=c?By/M5vR/Q7fF1t2djDx5jS\u003e}\u003cvpB4:a$i",
            "ln": 3,
            "addr": 43
          }
        ],
        "depth": 2,
        "facts": {
          "imp": [
            [
              "",
              "require"
            ],
            [
              "",
              "assert"
            ],
            [
              "",
              "type"
            ],
            [
              "",
              "createtable"
            ],
            [
              "",
              "assert"
            ],
            [
              "",
              "type"
            ],
            [
              "",
              "createtable"
            ],
            [
              "",
              "assert"
            ],
            [
              "",
              "pcall"
            ],
            [
              "",
              "assert"
            ],
            [
              "",
              "pcall"
            ],
            [
              "",
              "createtable"
            ]
          ],
          "tgt": [
            "assert",
            "createtable",
            "pcall",
            "require",
            "type"
          ],
          "metrics": {
            "ast": {
              "op.eq": 2.0,
              "op.sub": 2.0,
              "op.lnot": 2.0,
              "max_depth": 8.0,
              "bind_count": 1.0,
              "call_count": 11.0,
              "node_count": 101.0,
              "op_density.eq": 0.02,
              "op_density.sub": 0.02,
              "op_density.lnot": 0.02,
              "identifier_count": 5.0,
              "string_literal_count": 3.0
            },
            "file": {
              "size": 209.0,
              "entropy": 4.24,
              "size_bytes": 209.0
            },
            "text": {
              "digit_ratio": 0.07,
              "space_count": 16.0,
              "total_lines": 7.0,
              "char_entropy": 4.24,
              "unique_chars": 28.0,
              "string_density": 0.43,
              "avg_line_length": 28.86,
              "max_line_length": 45.0,
              "empty_line_ratio": 0.29,
              "last_line_length": 37.0,
              "whitespace_ratio": 0.11,
              "most_common_ratio": 0.13,
              "identifier_density": 2.0,
              "line_length_stddev": 18.43,
              "normalized_string_count": 1.13,
              "most_common_char_is_null": 0.0,
              "max_inline_whitespace_run": 1.0,
              "most_common_char_codepoint": 101.0,
              "normalized_unique_identifiers": 1.78
            },
            "binds": {
              "count": 1.0
            },
            "calls": {
              "count": 11.0
            },
            "binary": {
              "overall_entropy": 4.24
            },
            "imports": {
              "count": 1.0,
              "unique_modules": 1.0,
              "third_party_count": 1.0,
              "third_party_ratio": 1.0
            },
            "strings": {
              "total": 3.0,
              "avg_length": 7.0,
              "max_length": 11.0,
              "avg_entropy": 2.44,
              "total_bytes": 21.0,
              "entropy_stddev": 0.16
            },
            "identifiers": {
              "count": 5.0,
              "total": 14.0,
              "avg_length": 6.6,
              "max_length": 11.0,
              "min_length": 4.0,
              "avg_entropy": 2.21,
              "reuse_ratio": 0.36,
              "unique_count": 5.0,
              "length_stddev": 2.42,
              "all_lowercase_ratio": 1.0
            }
          }
        },
        "id": 2,
        "path": "lua-createtable-0.2.tar.gz!!lua-createtable-0.2.tar.gz!lua-createtable-0.2/test.lua",
        "risk": 1,
        "sha": "f71bb0d45ec3ca595b24744f17952c8ec345d344e162b9d31057b2db197847d1",
        "size": 209,
        "traits": [
          {
            "id": "metadata/file/metrics::low-overall-entropy-source",
            "conf": 0.8999999761581421,
            "crit": 2,
            "desc": "Script overall entropy stays low",
            "spans": [
              [
                0,
                29
              ]
            ]
          },
          {
            "id": "metadata/file/metrics::file-under-12-lines",
            "conf": 0.800000011920929,
            "crit": 1,
            "desc": "Very short file (under 12 lines)",
            "spans": [
              [
                0,
                23
              ]
            ]
          },
          {
            "id": "metadata/lang/scripted::module-require",
            "conf": 0.800000011920929,
            "crit": 2,
            "desc": "Loads Lua modules (require)",
            "spans": [
              [
                20,
                7
              ]
            ]
          }
        ],
        "type": "lua"
      },
      {
        "depth": 2,
        "facts": {
          "imp": [
            [
              "",
              "luaL_checkinteger"
            ],
            [
              "",
              "luaL_checkinteger"
            ],
            [
              "",
              "unlikely"
            ],
            [
              "",
              "luaL_argerror"
            ],
            [
              "",
              "unlikely"
            ],
            [
              "",
              "luaL_argerror"
            ],
            [
              "",
              "lua_createtable"
            ],
            [
              "",
              "lua_pushcfunction"
            ],
            [
              "",
              "\u003clauxlib.h\u003e"
            ],
            [
              "",
              "\u003climits.h\u003e"
            ],
            [
              "",
              "\u003clua.h\u003e"
            ],
            [
              "",
              "compat.h"
            ]
          ],
          "tgt": [
            "luaL_argerror",
            "luaL_checkinteger",
            "lua_createtable",
            "lua_pushcfunction",
            "unlikely"
          ],
          "metrics": {
            "ast": {
              "op.gt": 2.0,
              "op.lt": 2.0,
              "op.lor": 2.0,
              "max_depth": 9.0,
              "call_count": 8.0,
              "node_count": 195.0,
              "op_density.gt": 0.01,
              "op_density.lt": 0.01,
              "op_density.lor": 0.01,
              "identifier_count": 15.0,
              "string_literal_count": 3.0
            },
            "file": {
              "size": 1229.0,
              "entropy": 4.96,
              "size_bytes": 1229.0
            },
            "text": {
              "digit_ratio": 0.02,
              "space_count": 197.0,
              "total_lines": 41.0,
              "char_entropy": 4.96,
              "unique_chars": 69.0,
              "string_density": 0.07,
              "avg_line_length": 28.98,
              "max_line_length": 73.0,
              "empty_line_ratio": 0.15,
              "last_line_length": 1.0,
              "whitespace_ratio": 0.19,
              "most_common_ratio": 0.09,
              "identifier_density": 0.85,
              "line_length_stddev": 24.68,
              "normalized_string_count": 0.47,
              "most_common_char_is_null": 0.0,
              "suspicious_comment_ratio": 1.0,
              "max_inline_whitespace_run": 1.0,
              "most_common_char_codepoint": 101.0,
              "suspicious_identifier_ratio": 0.07,
              "normalized_unique_identifiers": 2.8
            },
            "calls": {
              "count": 8.0
            },
            "binary": {
              "overall_entropy": 4.96
            },
            "source": {
              "function_count": 2.0
            },
            "imports": {
              "count": 4.0,
              "unique_modules": 4.0,
              "third_party_count": 4.0,
              "third_party_ratio": 1.0
            },
            "strings": {
              "total": 3.0,
              "avg_length": 19.33,
              "max_length": 25.0,
              "avg_entropy": 3.45,
              "total_bytes": 58.0,
              "entropy_stddev": 0.32
            },
            "comments": {
              "chars": 620.0,
              "lines": 15.0,
              "total": 1.0,
              "to_code_ratio": 0.58,
              "url_in_comments": 1.0,
              "high_entropy_comments": 1.0
            },
            "functions": {
              "count": 2.0
            },
            "identifiers": {
              "count": 15.0,
              "total": 35.0,
              "avg_length": 9.67,
              "max_length": 19.0,
              "min_length": 1.0,
              "avg_entropy": 2.56,
              "reuse_ratio": 0.43,
              "unique_count": 15.0,
              "length_stddev": 5.45,
              "sequential_names": 1.0,
              "single_char_count": 1.0,
              "single_char_ratio": 0.07,
              "high_entropy_count": 2.0,
              "high_entropy_ratio": 0.13,
              "all_lowercase_ratio": 0.53,
              "all_uppercase_ratio": 0.2
            }
          }
        },
        "id": 3,
        "path": "lua-createtable-0.2.tar.gz!!lua-createtable-0.2.tar.gz!lua-createtable-0.2/createtable.c",
        "sha": "fede8fa044173895aea562b3ab4759a854170ae01f88ee4f759e93909bb84f48",
        "size": 1229,
        "type": "c"
      },
      {
        "depth": 2,
        "facts": {
          "imp": [
            [
              "",
              "HAS_ATTRIBUTE"
            ],
            [
              "",
              "HAS_BUILTIN"
            ]
          ],
          "tgt": [
            "HAS_ATTRIBUTE",
            "HAS_BUILTIN"
          ],
          "metrics": {
            "ast": {
              "op.lor": 2.0,
              "op.land": 1.0,
              "max_depth": 7.0,
              "call_count": 2.0,
              "node_count": 151.0,
              "op_density.lor": 0.01,
              "op_density.land": 0.01,
              "identifier_count": 14.0
            },
            "file": {
              "size": 737.0,
              "entropy": 4.99,
              "size_bytes": 737.0
            },
            "text": {
              "digit_ratio": 0.02,
              "space_count": 76.0,
              "total_lines": 31.0,
              "char_entropy": 4.99,
              "unique_chars": 60.0,
              "avg_line_length": 22.77,
              "max_line_length": 81.0,
              "empty_line_ratio": 0.13,
              "last_line_length": 6.0,
              "whitespace_ratio": 0.15,
              "most_common_ratio": 0.09,
              "identifier_density": 0.97,
              "line_length_stddev": 20.43,
              "most_common_char_is_null": 0.0,
              "max_inline_whitespace_run": 1.0,
              "most_common_char_codepoint": 101.0,
              "suspicious_identifier_ratio": 0.07,
              "normalized_unique_identifiers": 2.83
            },
            "calls": {
              "count": 2.0
            },
            "binary": {
              "overall_entropy": 4.99
            },
            "identifiers": {
              "count": 14.0,
              "total": 30.0,
              "avg_length": 10.0,
              "max_length": 16.0,
              "min_length": 1.0,
              "avg_entropy": 2.65,
              "reuse_ratio": 0.47,
              "unique_count": 14.0,
              "length_stddev": 4.19,
              "has_digit_ratio": 0.07,
              "sequential_names": 1.0,
              "single_char_count": 1.0,
              "single_char_ratio": 0.07,
              "high_entropy_count": 1.0,
              "high_entropy_ratio": 0.07,
              "all_lowercase_ratio": 0.5,
              "all_uppercase_ratio": 0.43,
              "numeric_suffix_count": 1.0,
              "double_underscore_count": 2.0,
              "underscore_prefix_count": 6.0
            }
          }
        },
        "id": 4,
        "path": "lua-createtable-0.2.tar.gz!!lua-createtable-0.2.tar.gz!lua-createtable-0.2/compat.h",
        "sha": "780ba76d2d2fb83569d5178c7d94755e9092d3baa629aac364e497dbca3cf269",
        "size": 737,
        "type": "c"
      },
      {
        "depth": 2,
        "facts": {
          "metrics": {
            "file": {
              "size": 11358,
              "entropy": 4.43
            },
            "binary": {
              "peak_region_bytes": 11264,
              "peak_region_entropy": 4.62
            }
          }
        },
        "id": 5,
        "path": "lua-createtable-0.2.tar.gz!!lua-createtable-0.2.tar.gz!lua-createtable-0.2/LICENSE",
        "pid": 907,
        "risk": 1,
        "sha": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30",
        "size": 11358,
        "traits": [
          {
            "id": "metadata/permission/prose::permission-grant-verb-english",
            "conf": 0.9,
            "crit": 2,
            "desc": "Grant or authorization verb text",
            "spans": [
              [
                5220,
                0
              ]
            ]
          },
          {
            "id": "metadata/permission/prose::permission-mandatory-language-english",
            "conf": 0.9,
            "crit": 2,
            "desc": "Forced or mandatory instruction wording",
            "spans": [
              [
                7898,
                0
              ]
            ]
          },
          {
            "id": "metadata/permission/prose::permission-permission-term-english",
            "conf": 0.9,
            "crit": 2,
            "desc": "Permission or access term",
            "spans": [
              [
                7780,
                0
              ]
            ]
          },
          {
            "id": "metadata/lang/natural/vocabulary/content-word::data-access-verb-token",
            "conf": 0.88,
            "crit": 1,
            "desc": "Data-access verb token",
            "spans": [
              [
                5290,
                0
              ]
            ]
          },
          {
            "id": "metadata/lang/natural/vocabulary/content-word::data-transfer-verb-token",
            "conf": 0.88,
            "crit": 1,
            "desc": "Data-transfer verb token",
            "spans": [
              [
                2685,
                0
              ]
            ]
          },
          {
            "id": "metadata/lang/natural/vocabulary/content-word::english-edit-verb-token",
            "conf": 0.88,
            "crit": 1,
            "desc": "English edit-action verb token",
            "spans": [
              [
                6576,
                0
              ]
            ]
          },
          {
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "spans": [
              [
                271,
                0
              ]
            ]
          },
          {
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "spans": [
              [
                168,
                0
              ]
            ]
          },
          {
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-3",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"that\"",
            "spans": [
              [
                494,
                0
              ]
            ]
          },
          {
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-4",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"have\"",
            "spans": [
              [
                4195,
                0
              ]
            ]
          },
          {
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "spans": [
              [
                183,
                0
              ]
            ]
          },
          {
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-6",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "spans": [
              [
                684,
                0
              ]
            ]
          },
          {
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-7",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"this\"",
            "spans": [
              [
                380,
                0
              ]
            ]
          },
          {
            "id": "micro-behaviors/data/llm/repository-directive::control-action-prose-fragment",
            "conf": 0.88,
            "crit": 1,
            "desc": "Control-action verb followed by prose",
            "spans": [
              [
                3509,
                0
              ]
            ]
          },
          {
            "id": "micro-behaviors/data/llm/repository-directive::repository-agent-directive-marker",
            "conf": 0.88,
            "crit": 1,
            "desc": "Marks text as an agent directive",
            "spans": [
              [
                1734,
                0
              ]
            ]
          }
        ],
        "type": "text"
      },
      {
        "id": 6,
        "sha": "1bb633f2d75c9e17454baaa2106f2132fe238770bb48aa518718e4bbe59c53f1",
        "path": "lua-createtable-0.2.tar.gz!!lua-createtable-0.2.tar.gz!lua-createtable-0.2/README.md",
        "size": 740,
        "type": "markdown",
        "depth": 2
      }
    ],
    "omitted_files": 1,
    "rev": "b520a",
    "v": "8"
  }
}