{
  "ml": {
    "v": "7",
    "id": 703,
    "lvl": -1,
    "conf": 0,
    "prob": 0.000015050172805786133,
    "type": "shell",
    "version": "v18.18",
    "analyzed_at": "2026-09-21T03:17:27Z"
  },
  "path": "packages/electron-main/dist/app/main.cjs##unicode-escape@9805883",
  "raw": {
    "rev": "26c50",
    "files": [
      {
        "id": 703,
        "mol": "O(As)H(Db)",
        "pid": 1,
        "rel": "fetched",
        "sha": "2c02fa23ba6ba0eedfb23db1fdc30da893b30dff45a45626cdd38f93aa4c52a5",
        "via": "https://dimcode.echooai.com/updates/stable/linux/x64/DimAgent-0.9.35.deb",
        "path": "https://dimcode.echooai.com/updates/stable/linux/x64/DimAgent-0.9.35.deb!!data/opt/DimAgent/resources/app.asar!!packages/electron-main/dist/app/main.cjs!!packages/electron-main/dist/app/main.cjs##unicode-escape@9805883",
        "risk": 3,
        "size": 3838,
        "type": "shell",
        "depth": 5,
        "facts": {
          "imp": [
            [
              "",
              "Date.now"
            ],
            [
              "",
              "Math.random.toString.slice"
            ],
            [
              "",
              "Math.random.toString"
            ],
            [
              "",
              "Math.random"
            ],
            [
              "",
              "tmp"
            ],
            [
              "",
              "string"
            ],
            [
              "",
              "Math.random.toString.slice"
            ],
            [
              "",
              "Math.random.toString"
            ],
            [
              "",
              "Math.random"
            ],
            [
              "",
              "tmp"
            ],
            [
              "",
              "JSON.stringify"
            ]
          ],
          "mbr": [
            "Date.now",
            "JSON.stringify",
            "Math.random",
            "Math.random.toString",
            "Math.random.toString.slice",
            "config.json",
            "process.pid",
            "storage.dimcodePath",
            "tmp.dimcodePath"
          ],
          "tgt": [
            "Date.now",
            "JSON.stringify",
            "Math.random",
            "Math.random.toString",
            "Math.random.toString.slice",
            "string",
            "tmp"
          ],
          "metrics": {
            "ast": {
              "op.sub": 4,
              "max_depth": 9,
              "call_count": 13,
              "node_count": 281,
              "member_count": 9,
              "op_density.sub": 0.01,
              "sequence_count": 1,
              "member_depth_max": 4
            },
            "file": {
              "size": 3838,
              "entropy": 5.29
            },
            "text": {
              "lines": 1,
              "top_char": 101,
              "max_ws_run": 1,
              "digit_ratio": 0.03,
              "space_count": 122,
              "char_entropy": 5.29,
              "unique_chars": 82,
              "top_char_null": 0,
              "lines_over_200": 1,
              "lines_over_500": 1,
              "string_density": 10,
              "top_char_ratio": 0.09,
              "avg_line_length": 3838,
              "lines_over_1000": 1,
              "max_line_length": 3838,
              "non_ascii_ratio": 0,
              "last_line_length": 3838,
              "long_token_count": 9,
              "whitespace_ratio": 0.03,
              "identifier_density": 67,
              "normalized_string_count": 10,
              "suspicious_string_ratio": 0.3,
              "suspicious_identifier_ratio": 0.14
            },
            "binary": {
              "peak_region_bytes": 3838,
              "peak_region_entropy": 5.25
            },
            "strings": {
              "sql": 1,
              "bytes": 3412,
              "count": 10,
              "shell": 2,
              "very_long": 1,
              "avg_length": 341.2,
              "max_length": 2064,
              "avg_entropy": 3.49,
              "entropy_stddev": 1.34,
              "high_entropy_count": 3
            },
            "consistency": {
              "extension_content_mismatch": 1,
              "extension_content_mismatch.script_as_unknown": 1
            },
            "identifiers": {
              "count": 67,
              "unique": 37,
              "avg_length": 4.86,
              "max_length": 11,
              "min_length": 1,
              "avg_entropy": 1.86,
              "reuse_ratio": 0.55,
              "length_stddev": 2.78,
              "sequential_names": 5,
              "single_char_count": 6,
              "single_char_ratio": 0.16,
              "all_lowercase_ratio": 0.81,
              "all_uppercase_ratio": 0.03
            }
          }
        },
        "traits": [
          {
            "id": "metadata/file/string/file::tmp",
            "conf": 0.2,
            "crit": 1,
            "desc": "tmp keyword",
            "spans": [
              [
                104,
                0
              ]
            ]
          },
          {
            "id": "metadata/lang/natural::lang-english--atom-1",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "spans": [
              [
                1593,
                0
              ]
            ]
          },
          {
            "id": "metadata/lang/natural::lang-english--atom-5",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "spans": [
              [
                3013,
                0
              ]
            ]
          },
          {
            "id": "micro-behaviors/data/string/conversion::tostring-token",
            "conf": 1.0,
            "crit": 3,
            "desc": "References the toString conversion method",
            "spans": [
              [
                48,
                8
              ]
            ]
          },
          {
            "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": [
              [
                282,
                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"
          }
        ]
      }
    ]
  }
}