{
  "ml": {
    "v": "7",
    "id": 61,
    "lvl": -1,
    "conf": 0,
    "prob": 0.000012894471183244605,
    "type": "javascript",
    "version": "v18.18",
    "analyzed_at": "2026-09-24T20:33:48Z"
  },
  "path": "package/dist/testing.cjs##url@248973",
  "raw": {
    "rev": "c1ea9",
    "files": [
      {
        "id": 66,
        "mol": "O(As)H(Db)",
        "pid": 5,
        "rel": "fetched",
        "sha": "5ea3395619e57a816b246d3458a3f14b9d9c79ef2e33e9a74fc24de217544479",
        "via": "https://registry.npmjs.org/@ag-bash/bash/-/bash-6.0.5.tgz",
        "path": "pkg:npm/%40ag-bash/bash@6.0.5!!package/dist/testing.cjs!!package/dist/testing.cjs##url@248973",
        "risk": 3,
        "size": 4651,
        "type": "shell",
        "depth": 4,
        "facts": {
          "imp": [
            [
              "",
              "String.padStart"
            ],
            [
              "",
              "String"
            ],
            [
              "",
              "String.padStart"
            ],
            [
              "",
              "String"
            ],
            [
              "",
              "Intl.DateTimeFormat.formatToParts.find"
            ],
            [
              "",
              "Intl.DateTimeFormat.formatToParts"
            ],
            [
              "",
              "Intl.DateTimeFormat"
            ],
            [
              "",
              "c.value.match"
            ],
            [
              "",
              "t.getTimezoneOffset"
            ],
            [
              "",
              "Math.floor"
            ],
            [
              "",
              "Math.abs"
            ],
            [
              "",
              "Math.abs"
            ],
            [
              "",
              "Math.abs"
            ]
          ],
          "mbr": [
            "Intl.DateTimeFormat",
            "Intl.DateTimeFormat.formatToParts",
            "Intl.DateTimeFormat.formatToParts.find",
            "Math.abs",
            "Math.floor",
            "String.padStart",
            "c.value",
            "c.value.match",
            "n.hour",
            "n.minute",
            "n.month",
            "n.second",
            "n.year",
            "t.getTimezoneOffset",
            "u.type"
          ],
          "tgt": [
            "Intl.DateTimeFormat",
            "Intl.DateTimeFormat.formatToParts",
            "Intl.DateTimeFormat.formatToParts.find",
            "Math.abs",
            "Math.floor",
            "String",
            "String.padStart",
            "c.value.match",
            "s",
            "t.getTimezoneOffset"
          ],
          "metrics": {
            "ast": {
              "op.eq": 3,
              "op.ge": 1,
              "op.lt": 1,
              "op.div": 1,
              "op.lor": 2,
              "op.sub": 1,
              "max_depth": 14,
              "call_count": 25,
              "node_count": 641,
              "member_count": 15,
              "op_density.eq": 0,
              "op_density.ge": 0,
              "op_density.lt": 0,
              "op_density.div": 0,
              "op_density.lor": 0,
              "op_density.sub": 0,
              "member_depth_max": 4
            },
            "file": {
              "size": 4651,
              "entropy": 5.52
            },
            "text": {
              "lines": 1,
              "top_char": 101,
              "tab_count": 1,
              "max_ws_run": 1,
              "digit_ratio": 0.11,
              "space_count": 82,
              "char_entropy": 5.52,
              "unique_chars": 92,
              "top_char_null": 0,
              "lines_over_200": 1,
              "lines_over_500": 1,
              "string_density": 23,
              "top_char_ratio": 0.07,
              "avg_line_length": 4651,
              "lines_over_1000": 1,
              "max_line_length": 4651,
              "last_line_length": 4651,
              "long_token_count": 11,
              "whitespace_ratio": 0.02,
              "identifier_density": 109,
              "non_printable_ratio": 0,
              "normalized_string_count": 23,
              "suspicious_string_ratio": 0.13,
              "suspicious_identifier_ratio": 0.3
            },
            "binds": {
              "count": 6
            },
            "binary": {
              "peak_region_bytes": 4651,
              "peak_region_entropy": 5.42
            },
            "strings": {
              "bytes": 4011,
              "count": 23,
              "very_long": 1,
              "avg_length": 174.39,
              "max_length": 2847,
              "avg_entropy": 2.61,
              "email_count": 1,
              "entropy_stddev": 1.78,
              "high_entropy_count": 1,
              "embedded_code_candidates": 3
            },
            "functions": {
              "density": 100,
              "anonymous": 1,
              "code_ratio": 1,
              "one_liners": 1,
              "no_params_count": 1,
              "avg_length_lines": 1,
              "max_length_lines": 1,
              "min_length_lines": 1
            },
            "consistency": {
              "extension_content_mismatch": 1,
              "extension_content_mismatch.script_as_unknown": 1
            },
            "identifiers": {
              "count": 109,
              "unique": 33,
              "avg_length": 4.88,
              "max_length": 17,
              "min_length": 1,
              "avg_entropy": 1.62,
              "reuse_ratio": 0.3,
              "length_stddev": 4.08,
              "sequential_names": 10,
              "single_char_count": 11,
              "single_char_ratio": 0.33,
              "all_lowercase_ratio": 0.67,
              "all_uppercase_ratio": 0.03
            }
          }
        },
        "traits": [
          {
            "id": "metadata/lang/natural::lang-english--atom-5",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "spans": [
              [
                1717,
                0
              ]
            ]
          },
          {
            "id": "micro-behaviors/data/serialize/envelope::command-assignment-key",
            "conf": 0.4,
            "crit": 1,
            "desc": "Command field or assignment key",
            "spans": [
              [
                2307,
                0
              ]
            ]
          },
          {
            "id": "micro-behaviors/data/serialize/envelope::result-assignment-key",
            "conf": 0.4,
            "crit": 1,
            "desc": "Result field or assignment key",
            "spans": [
              [
                4401,
                0
              ]
            ]
          },
          {
            "id": "micro-behaviors/data/serialize/schema-object::result-field-key",
            "conf": 0.9,
            "crit": 1,
            "desc": "JSON-like object result field",
            "spans": [
              [
                4400,
                0
              ]
            ]
          },
          {
            "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": "metadata/file/function::high-function-density",
            "conf": 0.85,
            "crit": 2,
            "desc": "High function density"
          },
          {
            "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": [
              [
                1588,
                0
              ]
            ]
          },
          {
            "id": "micro-behaviors/data/manipulation::string-replace-result-assignment",
            "conf": 0.9,
            "crit": 3,
            "desc": "Assigns a string replace result",
            "spans": [
              [
                4188,
                13
              ]
            ]
          }
        ]
      }
    ]
  }
}