{
  "ml": {
    "v": "7",
    "id": 39,
    "lvl": -1,
    "conf": 0,
    "prob": 0.00001958012580871582,
    "type": "shell",
    "version": "v18.18",
    "analyzed_at": "2026-09-30T05:02:31Z"
  },
  "path": "package/dist/index.js##unicode-escape@593874",
  "raw": {
    "rev": "c1ea9",
    "files": [
      {
        "id": 40,
        "mol": "O(As)H(Db)",
        "pid": 4,
        "rel": "fetched",
        "sha": "a94eb90fae4ffaac072473a43dd1da77a05d908bc62fb1f2b1978eb911d70ca2",
        "via": "https://registry.npmjs.org/aitable-workflow-core/-/aitable-workflow-core-0.1.29-beta.1790736949347.tgz",
        "path": "pkg:npm/aitable-workflow-core@0.1.29-beta.1790736949347!!package/dist/index.js!!package/dist/index.js##unicode-escape@593874",
        "risk": 3,
        "size": 3681,
        "type": "shell",
        "depth": 4,
        "facts": {
          "imp": [
            [
              "",
              "i$"
            ],
            [
              "",
              "s.name.startsWith"
            ],
            [
              "",
              "Zl.has"
            ],
            [
              "",
              "s.isDirectory"
            ],
            [
              "",
              "Gy"
            ],
            [
              "",
              "fn.join"
            ],
            [
              "",
              "s.isFile"
            ],
            [
              "",
              "r.test"
            ],
            [
              "",
              "o.push"
            ],
            [
              "",
              "d$"
            ],
            [
              "",
              "d.push"
            ],
            [
              "",
              "r.inputs.join"
            ],
            [
              "",
              "h.warn"
            ],
            [
              "",
              "r.build.entries"
            ],
            [
              "",
              "u.args.join"
            ],
            [
              "",
              "c$"
            ],
            [
              "",
              "String"
            ],
            [
              "",
              "ne"
            ],
            [
              "",
              "p$"
            ],
            [
              "",
              "h.warn"
            ],
            [
              "",
              "_e"
            ]
          ],
          "mbr": [
            "X.size",
            "Zl.has",
            "d.length",
            "d.push",
            "fn.join",
            "g.message",
            "h.warn",
            "m.exitCode",
            "m.stderr",
            "o.push",
            "r.build",
            "r.build.entries",
            "r.build.length",
            "r.inputs",
            "r.inputs.join",
            "r.inputs.length",
            "r.test",
            "s.isDirectory",
            "s.isFile",
            "s.name",
            "s.name.startsWith",
            "t.runner",
            "u.args",
            "u.args.join",
            "u.args.length",
            "u.bin",
            "u.timeout_ms"
          ],
          "tgt": [
            "Gy",
            "String",
            "Zl.has",
            "_e",
            "a",
            "c$",
            "d$",
            "d.push",
            "fn.join",
            "h.warn",
            "i",
            "i$",
            "ne",
            "o.push",
            "p$",
            "r.build.entries",
            "r.inputs.join",
            "r.test",
            "s",
            "s.isDirectory",
            "s.isFile",
            "s.name.startsWith",
            "u.args.join"
          ],
          "metrics": {
            "ast": {
              "op.eq": 2,
              "op.gt": 4,
              "op.le": 1,
              "op.ne": 1,
              "op.add": 1,
              "op.lor": 1,
              "op.mul": 2,
              "op.sub": 1,
              "op.xor": 2,
              "op.land": 3,
              "op.lnot": 1,
              "max_depth": 13,
              "call_count": 30,
              "node_count": 1193,
              "op.coalesce": 2,
              "member_count": 27,
              "max_array_len": 1,
              "op_density.eq": 0,
              "op_density.gt": 0,
              "op_density.le": 0,
              "op_density.ne": 0,
              "op_density.add": 0,
              "op_density.lor": 0,
              "op_density.mul": 0,
              "op_density.sub": 0,
              "op_density.xor": 0,
              "sequence_count": 4,
              "op_density.land": 0,
              "op_density.lnot": 0,
              "max_concat_chain": 2,
              "member_depth_max": 3,
              "op_density.coalesce": 0
            },
            "file": {
              "size": 3681,
              "entropy": 5.82
            },
            "text": {
              "lines": 1,
              "top_char": 101,
              "max_ws_run": 1,
              "digit_ratio": 0.01,
              "space_count": 103,
              "char_entropy": 5.82,
              "unique_chars": 142,
              "top_char_null": 0,
              "escape_density": 0.03,
              "lines_over_200": 1,
              "lines_over_500": 1,
              "string_density": 31,
              "top_char_ratio": 0.06,
              "avg_line_length": 3681,
              "lines_over_1000": 1,
              "max_line_length": 3681,
              "non_ascii_ratio": 0.07,
              "last_line_length": 3681,
              "long_token_count": 6,
              "whitespace_ratio": 0.03,
              "identifier_density": 240,
              "octal_escape_count": 1,
              "encoded_string_ratio": 0.03,
              "normalized_string_count": 31,
              "suspicious_string_ratio": 0.16,
              "suspicious_identifier_ratio": 0.26
            },
            "binds": {
              "count": 12
            },
            "binary": {
              "peak_region_bytes": 3681,
              "peak_region_entropy": 5.78
            },
            "source": {
              "function_count": 2
            },
            "strings": {
              "bytes": 2101,
              "count": 31,
              "shell": 4,
              "avg_length": 67.77,
              "max_length": 949,
              "avg_entropy": 3.45,
              "empty_count": 1,
              "entropy_stddev": 1.44,
              "base64_candidates": 1,
              "high_entropy_count": 5,
              "embedded_code_candidates": 1
            },
            "functions": {
              "count": 2,
              "density": 200,
              "avg_params": 3,
              "code_ratio": 2,
              "max_params": 5,
              "one_liners": 2,
              "avg_name_length": 2,
              "avg_length_lines": 1,
              "max_length_lines": 1,
              "min_length_lines": 1,
              "single_char_params": 6,
              "avg_param_name_length": 1
            },
            "consistency": {
              "extension_content_mismatch": 1,
              "extension_content_mismatch.script_as_unknown": 1
            },
            "identifiers": {
              "count": 240,
              "unique": 80,
              "avg_length": 4.69,
              "max_length": 21,
              "min_length": 1,
              "avg_entropy": 1.52,
              "reuse_ratio": 0.33,
              "length_stddev": 4.43,
              "sequential_names": 21,
              "single_char_count": 22,
              "single_char_ratio": 0.28,
              "high_entropy_count": 3,
              "high_entropy_ratio": 0.04,
              "all_lowercase_ratio": 0.56,
              "all_uppercase_ratio": 0.05,
              "underscore_prefix_count": 1
            }
          }
        },
        "traits": [
          {
            "id": "metadata/lang/natural::lang-english--atom-5",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "spans": [
              [
                979,
                0
              ]
            ]
          },
          {
            "id": "micro-behaviors/fs/directory/readdir::readdir-reference",
            "conf": 0.6,
            "crit": 3,
            "desc": "readdir libc call referenced by name",
            "spans": [
              [
                495,
                7
              ]
            ]
          },
          {
            "id": "objectives/anti-static/obfuscation/code-metrics/structure::js-module-basename",
            "atk": "T1027",
            "mbc": "B0032",
            "conf": 1.0,
            "crit": 3,
            "desc": "JavaScript module file extension"
          },
          {
            "id": "micro-behaviors/data/manipulation::string-replace-result-assignment",
            "conf": 0.9,
            "crit": 3,
            "desc": "Assigns a string replace result",
            "spans": [
              [
                1164,
                13
              ]
            ]
          }
        ]
      }
    ]
  }
}