{
  "ml": {
    "v": "7",
    "id": 2397,
    "lvl": -1,
    "conf": 0,
    "prob": 0.00002282857894897461,
    "type": "shell",
    "version": "v18.18",
    "analyzed_at": "2026-10-22T10:20:50Z"
  },
  "path": "package/dist/cli.js##unicode-escape@1821112",
  "raw": {
    "rev": "17dc6",
    "files": [
      {
        "id": 2397,
        "mol": "Md₂(Pt)",
        "pid": 520,
        "rel": "fetched",
        "sha": "ffb4bda9f9a11fede886cd6881728e6ec3e0c1a3b006537bd8f7bd946347f1b4",
        "via": "https://registry.npmjs.org/@oh-my-pi/pi-coding-agent/-/pi-coding-agent-18.12.2.tgz",
        "path": "pkg:npm/%40oh-my-pi/pi-coding-agent@18.12.2!!package/dist/cli.js!!package/dist/cli.js##unicode-escape@1821112",
        "risk": 2,
        "size": 1890,
        "type": "shell",
        "depth": 4,
        "facts": {
          "mbr": [
            "e.id"
          ],
          "metrics": {
            "ast": {
              "max_depth": 7,
              "call_count": 3,
              "node_count": 79,
              "member_count": 1,
              "member_depth_max": 2
            },
            "file": {
              "size": 1890,
              "entropy": 5.49
            },
            "text": {
              "lines": 1,
              "top_char": 101,
              "max_ws_run": 1,
              "digit_ratio": 0.02,
              "space_count": 44,
              "char_entropy": 5.49,
              "unique_chars": 94,
              "top_char_null": 0,
              "lines_over_200": 1,
              "lines_over_500": 1,
              "string_density": 4,
              "top_char_ratio": 0.08,
              "avg_line_length": 1890,
              "lines_over_1000": 1,
              "max_line_length": 1890,
              "non_ascii_ratio": 0.01,
              "last_line_length": 1890,
              "long_token_count": 6,
              "whitespace_ratio": 0.02,
              "identifier_density": 18,
              "normalized_string_count": 4,
              "suspicious_string_ratio": 0.5,
              "suspicious_identifier_ratio": 0.13
            },
            "binary": {
              "peak_region_bytes": 1024,
              "peak_region_entropy": 5.64
            },
            "strings": {
              "bytes": 1750,
              "count": 4,
              "very_long": 1,
              "avg_length": 437.5,
              "max_length": 1120,
              "avg_entropy": 4.21,
              "entropy_stddev": 1.32,
              "high_entropy_count": 1,
              "embedded_code_candidates": 2
            },
            "consistency": {
              "extension_content_mismatch": 1,
              "extension_content_mismatch.script_as_unknown": 1
            },
            "identifiers": {
              "count": 18,
              "unique": 16,
              "avg_length": 6,
              "max_length": 28,
              "min_length": 1,
              "avg_entropy": 1.81,
              "reuse_ratio": 0.89,
              "length_stddev": 6.23,
              "sequential_names": 2,
              "single_char_count": 3,
              "single_char_ratio": 0.19,
              "all_lowercase_ratio": 0.63
            }
          }
        },
        "traits": [
          {
            "id": "metadata/file/line::single-long-line-outlier",
            "conf": 0.9,
            "crit": 3,
            "desc": "Exactly one line exceeds 1000 characters"
          },
          {
            "id": "metadata/lang/natural::lang-english--atom-5",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "spans": [
              [
                1240,
                0
              ]
            ]
          },
          {
            "id": "metadata/lang/scripted::javascript-module-basename",
            "conf": 1.0,
            "crit": 3,
            "desc": "JavaScript module file extension"
          },
          {
            "id": "metadata/package/error-handling::catch-keyword",
            "conf": 0.5,
            "crit": 2,
            "desc": "Contains a catch error handler",
            "spans": [
              [
                1825,
                0
              ]
            ]
          }
        ]
      }
    ]
  }
}