{
  "ml": {
    "v": "7",
    "id": 2681,
    "lvl": -1,
    "conf": 0,
    "prob": 0.000011086463928222656,
    "type": "rust",
    "version": "v18.18",
    "analyzed_at": "2026-09-17T06:31:13Z"
  },
  "path": "package/dist/cli.js##unicode-escape@12446198",
  "raw": {
    "rev": "e86a6",
    "files": [
      {
        "id": 3846,
        "mol": "O(As)Md",
        "pid": 67,
        "rel": "fetched",
        "sha": "f08149dbfd28f18d3f1358f87d513a4afd3e78f299d2fc8ea77ff3954affa46d",
        "via": "https://registry.npmjs.org/@oh-my-pi/pi-coding-agent/-/pi-coding-agent-18.1.20.tgz",
        "path": "pkg:npm/%40oh-my-pi/pi-coding-agent@18.1.20!!package/dist/cli.js!!package/dist/cli.js##unicode-escape@12446198",
        "risk": 3,
        "size": 4427,
        "type": "shell",
        "depth": 4,
        "facts": {
          "imp": [
            [
              "",
              "error"
            ],
            [
              "",
              "error"
            ],
            [
              "",
              "warning"
            ],
            [
              "",
              "warning"
            ],
            [
              "",
              "info"
            ],
            [
              "",
              "info"
            ],
            [
              "",
              "hint"
            ],
            [
              "",
              "hint"
            ],
            [
              "",
              "error"
            ],
            [
              "",
              "error"
            ],
            [
              "",
              "warning"
            ],
            [
              "",
              "warning"
            ],
            [
              "",
              "info"
            ],
            [
              "",
              "info"
            ],
            [
              "",
              "hint"
            ],
            [
              "",
              "hint"
            ],
            [
              "",
              "Ks"
            ],
            [
              "",
              "Ha"
            ],
            [
              "",
              "Ks"
            ],
            [
              "",
              "Ha"
            ],
            [
              "",
              "Ks"
            ],
            [
              "",
              "Ha"
            ],
            [
              "",
              "Ks"
            ],
            [
              "",
              "Ha"
            ],
            [
              "",
              "e.newText.slice.replace"
            ],
            [
              "",
              "e.newText.slice"
            ],
            [
              "",
              "…"
            ]
          ],
          "mbr": [
            "b.nav",
            "b.nav.cursor",
            "disabled.disabled",
            "disabled.disabled.reason",
            "e.containerName",
            "e.detail",
            "e.name",
            "e.newText",
            "e.newText.slice",
            "e.newText.slice.replace",
            "e.range",
            "e.range.start",
            "e.range.start.character",
            "e.range.start.line",
            "n.edits",
            "n.edits.length",
            "n.newUri",
            "n.oldUri",
            "n.uri",
            "o.length",
            "t.error",
            "t.hint",
            "t.info",
            "t.warning"
          ],
          "tgt": [
            "Ha",
            "Ks",
            "e.newText.slice",
            "e.newText.slice.replace",
            "error",
            "hint",
            "info",
            "warning",
            "…"
          ],
          "metrics": {
            "ast": {
              "op.gt": 2,
              "op.add": 2,
              "max_depth": 10,
              "call_count": 32,
              "node_count": 732,
              "member_count": 24,
              "op_density.gt": 0,
              "op_density.add": 0,
              "max_concat_chain": 2,
              "member_depth_max": 4
            },
            "file": {
              "size": 4427,
              "entropy": 5.26
            },
            "text": {
              "lines": 1,
              "top_char": 101,
              "max_ws_run": 2,
              "digit_ratio": 0.04,
              "space_count": 139,
              "char_entropy": 5.26,
              "unique_chars": 89,
              "top_char_null": 0,
              "lines_over_200": 1,
              "lines_over_500": 1,
              "string_density": 31,
              "top_char_ratio": 0.08,
              "avg_line_length": 4427,
              "lines_over_1000": 1,
              "max_line_length": 4427,
              "non_ascii_ratio": 0,
              "last_line_length": 4427,
              "long_token_count": 6,
              "whitespace_ratio": 0.03,
              "identifier_density": 152,
              "normalized_string_count": 31,
              "suspicious_string_ratio": 0.32,
              "suspicious_identifier_ratio": 0.22
            },
            "binary": {
              "peak_region_bytes": 4427,
              "peak_region_entropy": 5.31
            },
            "strings": {
              "bytes": 3706,
              "count": 31,
              "very_long": 1,
              "avg_length": 119.55,
              "max_length": 1028,
              "avg_entropy": 3.67,
              "empty_count": 2,
              "entropy_stddev": 1.35,
              "high_entropy_count": 1,
              "embedded_code_candidates": 10
            },
            "consistency": {
              "extension_content_mismatch": 1,
              "extension_content_mismatch.script_as_unknown": 1
            },
            "identifiers": {
              "count": 152,
              "unique": 36,
              "avg_length": 4.42,
              "max_length": 13,
              "min_length": 1,
              "avg_entropy": 1.68,
              "reuse_ratio": 0.24,
              "length_stddev": 2.67,
              "sequential_names": 7,
              "single_char_count": 8,
              "single_char_ratio": 0.22,
              "all_lowercase_ratio": 0.75,
              "repeated_char_names": 1
            }
          }
        },
        "traits": [
          {
            "id": "metadata/build/bundler/vscode::vscode-generated-escape-fragment",
            "conf": 0.95,
            "crit": 2,
            "desc": "VS Code generated escape fragment"
          },
          {
            "id": "metadata/file/extension/identity::script-content-extension-mismatch",
            "conf": 0.9,
            "crit": 3,
            "desc": "Script content mismatches extension"
          },
          {
            "id": "metadata/lang/natural::lang-english--atom-5",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "spans": [
              [
                59,
                0
              ]
            ]
          },
          {
            "id": "objectives/command-and-control/remote-command/control::generic-dup",
            "conf": 0.2,
            "crit": 3,
            "desc": "Function to execute remote commands",
            "spans": [
              [
                3499,
                14
              ]
            ]
          },
          {
            "id": "metadata/file/naming::sequential-identifiers",
            "conf": 0.8,
            "crit": 2,
            "desc": "Sequential source identifier names"
          },
          {
            "id": "metadata/file/padding::low-whitespace",
            "conf": 0.7,
            "crit": 2,
            "desc": "Very low whitespace ratio (minified/compressed)"
          },
          {
            "id": "metadata/package/error-handling::catch-keyword",
            "conf": 0.5,
            "crit": 2,
            "desc": "Contains a catch error handler",
            "spans": [
              [
                3646,
                0
              ]
            ]
          },
          {
            "id": "objectives/anti-static/obfuscation/code-metrics/structure::last-line-over-1000",
            "atk": "T1027",
            "mbc": "B0032",
            "conf": 0.9,
            "crit": 3,
            "desc": "Last line is over 1000 chars"
          },
          {
            "id": "objectives/anti-static/obfuscation/code-metrics/structure::single-long-line-outlier",
            "atk": "T1027",
            "mbc": "B0032",
            "conf": 0.9,
            "crit": 3,
            "desc": "Exactly one line exceeds 1000 chars"
          }
        ]
      }
    ]
  }
}