{
  "ml": {
    "v": "7",
    "id": 2759,
    "lvl": -1,
    "conf": 0,
    "prob": 0.000023186206817626953,
    "type": "javascript",
    "version": "v18.18",
    "analyzed_at": "2026-09-18T07:35:56Z"
  },
  "path": "package/dist/cli.js##unicode-escape@15782306",
  "raw": {
    "rev": "e86a6",
    "files": [
      {
        "id": 4077,
        "mol": "Md₂(Pt)",
        "pid": 69,
        "rel": "fetched",
        "sha": "2ddd22eacd16b11047905b34da71f3c2aef25fdaacc1bbe7daa6b21a9a3a213a",
        "via": "https://registry.npmjs.org/@oh-my-pi/pi-coding-agent/-/pi-coding-agent-18.1.22.tgz",
        "path": "pkg:npm/%40oh-my-pi/pi-coding-agent@18.1.22!!package/dist/cli.js!!package/dist/cli.js##unicode-escape@15782306",
        "risk": 3,
        "size": 640,
        "type": "javascript",
        "depth": 4,
        "facts": {
          "imp": [
            [
              "",
              "o4i.resolve"
            ],
            [
              "",
              "JSON.stringify"
            ],
            [
              "",
              "Wi"
            ],
            [
              "",
              "Wi"
            ]
          ],
          "mbr": [
            "JSON.stringify",
            "o4i.resolve",
            "t.agent",
            "t.name"
          ],
          "tgt": [
            "JSON.stringify",
            "Wi",
            "o4i.resolve"
          ],
          "metrics": {
            "ast": {
              "max_depth": 7,
              "call_count": 4,
              "node_count": 97,
              "op.coalesce": 1,
              "member_count": 4,
              "member_depth_max": 2,
              "op_density.coalesce": 0.01
            },
            "file": {
              "size": 640,
              "entropy": 5.13
            },
            "text": {
              "lines": 1,
              "top_char": 116,
              "max_ws_run": 1,
              "digit_ratio": 0.03,
              "space_count": 19,
              "char_entropy": 5.13,
              "unique_chars": 61,
              "top_char_null": 0,
              "lines_over_200": 1,
              "lines_over_500": 1,
              "string_density": 4,
              "top_char_ratio": 0.09,
              "avg_line_length": 640,
              "max_line_length": 640,
              "null_byte_count": 1,
              "last_line_length": 640,
              "whitespace_ratio": 0.03,
              "identifier_density": 15,
              "non_printable_ratio": 0,
              "normalized_string_count": 4,
              "suspicious_string_ratio": 0.5,
              "suspicious_identifier_ratio": 0.2
            },
            "binary": {
              "peak_region_bytes": 640,
              "peak_region_entropy": 5.13
            },
            "strings": {
              "bytes": 543,
              "count": 4,
              "avg_length": 135.75,
              "max_length": 420,
              "avg_entropy": 4.45,
              "entropy_stddev": 0.28,
              "embedded_code_candidates": 2
            },
            "consistency": {
              "extension_content_mismatch": 1,
              "extension_content_mismatch.script_as_unknown": 1
            },
            "identifiers": {
              "count": 15,
              "unique": 10,
              "avg_length": 3.7,
              "max_length": 9,
              "min_length": 1,
              "avg_entropy": 1.44,
              "reuse_ratio": 0.67,
              "length_stddev": 2.57,
              "has_digit_ratio": 0.1,
              "sequential_names": 2,
              "single_char_count": 3,
              "single_char_ratio": 0.3,
              "all_lowercase_ratio": 0.6,
              "all_uppercase_ratio": 0.1
            }
          }
        },
        "traits": [
          {
            "id": "metadata/build/minifier::void-zero",
            "conf": 0.6,
            "crit": 2,
            "desc": "Uses minifier-style void 0 for undefined",
            "spans": [
              [
                1,
                0
              ]
            ]
          },
          {
            "id": "metadata/file/extension/identity::script-content-extension-mismatch",
            "conf": 0.9,
            "crit": 3,
            "desc": "Script content mismatches extension"
          },
          {
            "id": "metadata/lang/encoded/unicode-escape::unicode-escape-js-basename",
            "conf": 0.98,
            "crit": 3,
            "desc": "Unicode escape JavaScript basename"
          },
          {
            "id": "metadata/lang/javascript-features::arrow-function",
            "conf": 0.9,
            "crit": 2,
            "desc": "ES6 arrow function syntax",
            "spans": [
              [
                220,
                0
              ]
            ]
          },
          {
            "id": "metadata/lang/javascript-features::async-await",
            "conf": 0.9,
            "crit": 2,
            "desc": "ES2017 async/await syntax",
            "spans": [
              [
                264,
                0
              ]
            ]
          },
          {
            "id": "metadata/lang/javascript-features::const-let",
            "conf": 0.9,
            "crit": 2,
            "desc": "ES6 const/let declarations",
            "spans": [
              [
                100,
                0
              ]
            ]
          },
          {
            "id": "metadata/package/error-handling::catch-keyword",
            "conf": 0.5,
            "crit": 2,
            "desc": "Contains a catch error handler",
            "spans": [
              [
                212,
                0
              ]
            ]
          }
        ]
      }
    ]
  }
}