{
  "llm": {
    "conf": 0.5554674,
    "error": "",
    "grade": "hostile",
    "interpretation": "obfuscated binary, rapid releases",
    "model": "Qwen/Qwen3.8-27B",
    "outcome": "hostile"
  },
  "ml": {
    "analyzed_at": "2026-11-05T17:29:19Z",
    "files": [
      {
        "lvl": 25,
        "prob": 0.33651853,
        "id": 0
      },
      {
        "lvl": -1,
        "id": 1
      },
      {
        "lvl": -1,
        "id": 2
      },
      {
        "lvl": -1,
        "id": 3
      },
      {
        "lvl": -1,
        "id": 4
      }
    ],
    "lvl": 25,
    "mods": [
      {
        "cls": 0
      }
    ],
    "prob": 0.33651853,
    "v": "7",
    "version": "v20.20"
  },
  "path": "@chikawa222224-testchikawa222224-2026.10.30-1-13.tgz",
  "raw": {
    "files": [
      {
        "depth": 0,
        "facts": {
          "metrics": {
            "binary": {
              "peak_region_bytes": 43397523,
              "peak_region_entropy": 7.88
            },
            "file": {
              "entropy": 8,
              "size": 43397523
            }
          }
        },
        "id": 0,
        "ident": {
          "name": {
            "value": "@chikawa222224-testchikawa222224",
            "source": "file.basename",
            "verified": false
          },
          "trust": "unsigned",
          "version": {
            "value": "2026.10.30-1-13",
            "source": "file.basename",
            "verified": false
          }
        },
        "mol": "O(S)H₃(CrDb₂F₂)Md₃(In₂Pa₅)",
        "path": "@chikawa222224-testchikawa222224-2026.10.30-1-13.tgz",
        "risk": 129,
        "sha": "ad10caf44ead1d7ba76734901496cf4d55bd0621abfeb4b0b36054b8b13765eb",
        "size": 43397523,
        "traits": [
          {
            "atk": "T1195.002,T1608.001,T1027.013",
            "conf": 0.95,
            "crit": 5,
            "desc": "Native-pinned package stages release-scale cipher blob",
            "from": [
              {
                "file": 2,
                "off": 3
              },
              {
                "file": 3,
                "line": 7,
                "off": 179
              },
              {
                "file": 4,
                "line": 12,
                "off": 376
              }
            ],
            "id": "objectives/supply-chain/hidden-payload/cdn-hosting::native-pin-cipher-payload-cdn-host",
            "uses": [
              10,
              22,
              26,
              27,
              37
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Archive member size at least 10 MB",
            "id": "metadata/file/archive::member-at-least-10mb"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Data blob overall entropy at least 7.0",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/file/entropy::data-entropy-over-seven"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Data peak-region entropy at least 7.5 bits",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/file/entropy::opaque-data-high-peak-entropy"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Peak-entropy region spans at least 8 KiB",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/file/entropy::opaque-data-peak-region-over-8k"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Large data file is near-maximum entropy",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/file/entropy::opaque-high-entropy-data-file",
            "uses": [
              6,
              42,
              43,
              50
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Data file overall entropy at least 7.5",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/file/entropy::very-high-entropy-data-file"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Structured document fails to parse",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/file/format/conformance::parse-error"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Data blob starts with custom ENC\u003cn\u003e header",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/file/magic/identity::custom-enc-container-header"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Custom ENC header with high-entropy data body",
            "from": [
              {
                "file": 2,
                "off": 3
              }
            ],
            "id": "metadata/file/magic/identity::high-entropy-enc-container",
            "uses": [
              4,
              6,
              8
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Large opaque data in a private ENC container",
            "from": [
              {
                "file": 2,
                "off": 3
              }
            ],
            "id": "metadata/file/magic/identity::large-high-entropy-enc-container",
            "uses": [
              9,
              50
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Filename is package.json",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/file/naming::package-json-basename"
          },
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "Basename is uppercase README.md",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/file/naming::uppercase-readme-md-basename"
          },
          {
            "conf": 0.98,
            "crit": 3,
            "desc": "Markdown-style heading precedes a code fence",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/file/profile/markup::markdown-heading-before-fenced-block"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports node:crypto",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/npm/crypto::crypto"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports node:fs",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/npm/fs::fs"
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Package has multiple entry declaration fields",
            "from": [
              {
                "file": 4,
                "line": 6,
                "off": 191
              }
            ],
            "id": "metadata/package/entrypoint::multiple-entry-declaration-fields",
            "uses": [
              45,
              47
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Archive ships a README beside HTML or JavaScript files",
            "id": "metadata/package/files/archive-member::archive-documented-web-project",
            "uses": [
              18,
              48
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Archive member named with JavaScript extension",
            "id": "metadata/package/files/archive-member::archive-js-member"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Archive member has a .bin extension",
            "id": "metadata/package/files/name::archive-bin-member"
          },
          {
            "conf": 0.92,
            "crit": 3,
            "desc": "Package.json declares a files allowlist",
            "id": "metadata/package/files/package-json::files-array-present"
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Package explicitly lists published files",
            "id": "metadata/package/files/package-json::has-files-field"
          },
          {
            "conf": 0.98,
            "crit": 3,
            "desc": "Package restricts supported CPU architectures",
            "id": "metadata/package/runtime::has-cpu-restriction"
          },
          {
            "conf": 0.98,
            "crit": 3,
            "desc": "Package restricts supported operating systems",
            "id": "metadata/package/runtime::has-os-restriction"
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Package specifies platform restrictions",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/package/runtime::has-platform-restrictions"
          },
          {
            "conf": 0.92,
            "crit": 3,
            "desc": "npm package declares a platform target",
            "from": [
              {
                "file": 4,
                "line": 12,
                "off": 376
              }
            ],
            "id": "metadata/package/runtime::npm-platform-targeted-package",
            "uses": [
              24,
              54
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Package restricts installation to Windows only",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/package/runtime::windows-only-platform-restriction"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Hashes bundled bin plus decoded bytes",
            "from": [
              {
                "file": 3,
                "line": 7,
                "off": 179
              }
            ],
            "id": "micro-behaviors/crypto/hash/digest::bundled-bin-attachment-hash",
            "uses": [
              30,
              31,
              32,
              33,
              34,
              39
            ]
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Calls a digest() method",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/crypto/hash/digest::digest-method-call"
          },
          {
            "conf": 0.96,
            "crit": 3,
            "desc": "Hashes custom ENC blob with attachment",
            "from": [
              {
                "file": 2,
                "off": 3
              },
              {
                "file": 3,
                "line": 7,
                "off": 179
              }
            ],
            "id": "micro-behaviors/crypto/hash/digest::enc-container-attachment-hash",
            "uses": [
              9,
              27
            ]
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "JavaScript hash-object digest call",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/crypto/hash/digest::hash-object-digest-call"
          },
          {
            "conf": 0.92,
            "crit": 3,
            "desc": "Hash update on stream end",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/crypto/hash/digest::hash-update-on-stream-end"
          },
          {
            "conf": 0.65,
            "crit": 3,
            "desc": "Node.js createHash call",
            "id": "micro-behaviors/crypto/hash/digest::node-createhash-call"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Read stream chunk is hashed",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/crypto/hash/digest::stream-read-into-hash-update"
          },
          {
            "conf": 0.86,
            "crit": 3,
            "desc": "JavaScript invokes a Base64 decoder",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/data/decode/base64::base64-decode-call-text"
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Base64 decoding via Buffer.from (JS)",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/data/decode/base64::buffer-from-base64"
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Base64 encoding via toString (JS)",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/data/encode/base64::tostring-base64"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Module exports a binaryPath property",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/fs/path/self::exports-binary-path"
          },
          {
            "conf": 0.6,
            "crit": 3,
            "desc": "References script directory path",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/fs/path/self::script-dirname-ref"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Joins script directory with bin pathname",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/fs/path/self::script-relative-bin-path"
          },
          {
            "conf": 0.92,
            "crit": 3,
            "desc": "Creates a file read stream",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/fs/read/stream::create-read-stream"
          },
          {
            "conf": 0.5,
            "crit": 3,
            "desc": "Package has empty or missing author field",
            "id": "supply-chain/missing-author"
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "Elevated-entropy data file",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/file/entropy::high-entropy-data-file"
          },
          {
            "conf": 0.88,
            "crit": 2,
            "desc": "Data file has 256KB+ at peak entropy",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/file/entropy::peak-entropy-mass-over-256k"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports node:path",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/npm/path::path"
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "package.json declares an exports map",
            "id": "metadata/package/entrypoint::has-exports-field"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Declared root JavaScript main entry",
            "id": "metadata/package/entrypoint::main-root-javascript-entry"
          },
          {
            "conf": 0.6,
            "crit": 2,
            "desc": "package.json declares a main entry point",
            "id": "metadata/package/entrypoint::pkg-main-field"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Archive member is a README document",
            "id": "metadata/package/files/archive-member::archive-readme-member"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "Manifest sits at npm publish root",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/package/files/included::npm-publish-root-manifest"
          },
          {
            "conf": 0.9,
            "crit": 1,
            "desc": "File has near-maximum entropy",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/file/data-blob::near-maximum-entropy-file"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5"
          },
          {
            "conf": 0.98,
            "crit": 1,
            "desc": "Package restricts both operating system and CPU",
            "from": [
              {
                "file": 4,
                "line": 12,
                "off": 376
              }
            ],
            "id": "metadata/package/runtime::has-os-cpu-restrictions",
            "uses": [
              22,
              23
            ]
          }
        ],
        "type": "tar.gz"
      },
      {
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "ï»¿# @chikawa222224/testchikawa222224\r\n\r\nA Node.js hash library for the bundled `_chikawa222224_testchikawa222224.bin` binary file.\r\n\r\n## Hash calculation\r\n\r\nThe library calculates the hash of these bytes in order:\r\n\r\n1. The complete bundled file bytes.\r\n2. The binary attachment decoded from the Base64 argument.\r\n\r\nIn other words: `hash(fileBytes + Base64Decode(base64Attachment))`.\r\n\r\nThe default algorithm is SHA-256 and the result is returned as a lowercase hexadecimal string.\r\n\r\n## Usage\r\n\r\n```js\r\nconst { calculateHash } = require(\"@chikawa222224/testchikawa222224\");\r\n\r\nconst attachmentBase64 = Buffer.from(\"attachment bytes\").toString(\"base64\");\r\ncalculateHash(attachmentBase64).then(console.log);\r\n```\r\n\r\nCalculate only the bundled file hash by omitting the attachment:\r\n\r\n```js\r\ncalculateHash().then(console.log);\r\n```\r\n\r\nUse another algorithm supported by Node.js:\r\n\r\n```js\r\ncalculateHash(attachmentBase64, \"sha512\").then(console.log);\r\n```\r\n\r\n## API\r\n\r\n### `calculateHash(base64Attachment = \"\", algorithm = \"sha256\")`\r\n\r\nReturns a `Promise\u003cstring\u003e` containing the calculated hash. Invalid Base64 input or an unsupported algorithm rejects the promise.\r\n\r\n### `binaryPath`\r\n\r\nContains the absolute path of the bundled binary file.\r\n"
          }
        ],
        "depth": 1,
        "facts": {
          "metrics": {
            "binary": {
              "peak_region_bytes": 1244,
              "peak_region_entropy": 5.02
            },
            "file": {
              "entropy": 5.01,
              "size": 1244
            },
            "text": {
              "avg_line_length": 25.64,
              "char_entropy": 5.01,
              "digit_ratio": 0.07,
              "empty_line_ratio": 0.4,
              "last_line_length": 54,
              "line_length_stddev": 33.09,
              "lines": 45,
              "max_line_length": 129,
              "max_whitespace_run": 1,
              "non_ascii_ratio": 0,
              "space_count": 110,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.08,
              "unique_chars": 67,
              "whitespace_ratio": 0.16
            }
          }
        },
        "id": 1,
        "mol": "Md₂(Pt)",
        "path": "@chikawa222224-testchikawa222224-2026.10.30-1-13.tgz!!package/README.md",
        "pid": 0,
        "risk": 2,
        "sha": "790d8b3b9b53c5e75ffa496db907db8ae8dafb623bab747302dacc5c412bff8f",
        "sid": 2555508041,
        "size": 1244,
        "traits": [
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "Basename is uppercase README.md",
            "id": "metadata/filename/identity::uppercase-readme-md-basename"
          },
          {
            "conf": 0.98,
            "crit": 3,
            "desc": "Markdown-style heading precedes a code fence",
            "id": "metadata/lang/source/syntax/markup/markdown::markdown-heading-before-fenced-block",
            "spans": [
              [
                486,
                15
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1",
            "spans": [
              [
                68,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2",
            "spans": [
              [
                421,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "spans": [
              [
                64,
                0
              ]
            ]
          }
        ],
        "type": "markdown"
      },
      {
        "ctx": [
          {
            "ln": 0,
            "s": "YUIENC01¤-Xµ¹¼c×{¿é:2ÈÐòF¢Ñ Hçÿ\u0005ê}\u0013Ì\u000fL\u0018o¯%uØe?gåÞb©¤¡Ç«\u0007ùIl?_ôÖºÑH`øtè^µýy:á\tE ðeáöT;Øx\u003cü%\u0003±ªÿþ¸ÂÕ°âöÿ\u0001Â\u001dÀuC8FH\u0007:\u0007ÐòKÖT\u0001\f\u0019¬BoAUSáÀ\\\u003cé1?4½nP\u001eÆ¾À\u0013êT\u003eE~Cg\u0003F¿ÅÕT¤g»yåºÚ0ö÷ØìUÈ¹w\u003e/üä½å\u0014ø½@7U\u001eò¦CÛqd(Éèùf9îÐÇ¥=9¥h\u0010ÿX´eÛ$kñ\u0006rª=Ã?\u0006M_®L\rĀ4²Ā\\§»ùá?³`ÃàD\bz§*L\u0001Cu@Aä\"¾ê¡f«¦þ@YHÊj\u001cÕýV¡\u000f\u0016\u0014ÔÂq°éÎ+øªú][£å\nå0aÇ¾ØI\u003cWÛ÷\u003czoþg[\u0019/Ò#ëÂªæÎù=^2$¨\u0002N4Wc\"º*wÁç\u000fâ\u0026Oµ·ËĀÞ|Ä\u0012Bã\u0014¸fK_íHb}PHp61\u001f\"Ø\u0011¥~ÇWø1\u0019äÛ)®¬s´\u0014\b!ÉÖ¤ÞË1Rp\u001aĀX\nk\\ÓM0àêxò\u0012\u003cEiÑ¨k\u0011ÒD2Å¿wª©cB]¶èO/¨·c½ñ\u0005Güp¬^ÏUúÄFùÚwq§DQ¢ç²¢Õ\u0010XâÓ\u0016[äª\u0026N\u0006o¡Ð\u001c\u0001°`çL\u0014e^± $ô=¥ÏÜu\u0018vG=m\u0004.Ā\u0002MgúÆâí\t)äô\u0016j´üB¼Xä\u003e¯¡\u001aùx´\u0014å¹5\u003eµK\u003cBE5?\u0018a²èéMÌld\u0018¡\u0006\u003cØ\u0016@{7[Ö\u0016\u001fþTC2\u003e"
          },
          {
            "ln": 24078097,
            "s": "Hd(\u000fcÚ\u0010µHÏ¤NÁÔëöç2ÂPÈÇø¡hº¡\u00138ÄðFàh¼¡ÂÙÀLZVMgaYX##NÉ\u001c£1zý\u001aG]T\"¯ èË\\²ìý´ý©\u000fuHãö·OòÄ1\u001fè\u003e«\u0003d\u0003+Dúx\"\u0016I=°q­¥\u0006Ð2´Ð)\u001e\u00065¼.¥ö\u0017lì\"¬\u0012o"
          },
          {
            "ln": 32650231,
            "s": "%ÛißÇ!\u0026wPó0É¢Pºú¥\nü1xé\u0003Âï\u0007î£`\u001bBSJBÊ5..Ā\u00047Ô\u0010oÍ\u0026Á­oªå§\u001cêSsöp³\u0001}\u0013ÊqÍÇ\u0010\fæLåXlqm Ùå¹Óà)\u0010\u0001Äèac"
          }
        ],
        "depth": 1,
        "facts": {
          "metrics": {
            "binary": {
              "peak_region_bytes": 43382360,
              "peak_region_entropy": 7.88
            },
            "file": {
              "entropy": 8,
              "size": 43382360
            }
          }
        },
        "id": 2,
        "mol": "Md",
        "path": "@chikawa222224-testchikawa222224-2026.10.30-1-13.tgz!!package/bin/_chikawa222224_testchikawa222224.bin",
        "pid": 0,
        "risk": 3,
        "sha": "aa5784c9cf501b95914fe0c386329f98f9b4f2a6403a7c81a1d4054ee31bbd00",
        "sid": 6638456211,
        "size": 43382360,
        "traits": [
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Data blob overall entropy at least 7.0",
            "id": "metadata/file/entropy::data-entropy-over-seven"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Data peak-region entropy at least 7.5 bits",
            "id": "metadata/file/entropy::opaque-data-high-peak-entropy",
            "spans": [
              [
                0,
                43382360
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Peak-entropy region spans at least 8 KiB",
            "id": "metadata/file/entropy::opaque-data-peak-region-over-8k"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Large data file is near-maximum entropy",
            "id": "metadata/file/entropy::opaque-high-entropy-data-file",
            "uses": [
              4,
              8,
              9,
              10
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Data file overall entropy at least 7.5",
            "id": "metadata/file/entropy::very-high-entropy-data-file"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Data blob starts with custom ENC\u003cn\u003e header",
            "id": "metadata/file/magic/identity::custom-enc-container-header",
            "spans": [
              [
                3,
                2
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Custom ENC header with high-entropy data body",
            "id": "metadata/file/magic/identity::high-entropy-enc-container",
            "spans": [
              [
                3,
                2
              ]
            ],
            "uses": [
              2,
              4,
              5
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Large opaque data in a private ENC container",
            "id": "metadata/file/magic/identity::large-high-entropy-enc-container",
            "spans": [
              [
                3,
                2
              ]
            ],
            "uses": [
              6,
              10
            ]
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "Elevated-entropy data file",
            "id": "metadata/file/entropy::high-entropy-data-file"
          },
          {
            "conf": 0.88,
            "crit": 2,
            "desc": "Data file has 256KB+ at peak entropy",
            "id": "metadata/file/entropy::peak-entropy-mass-over-256k"
          },
          {
            "conf": 0.9,
            "crit": 1,
            "desc": "File has near-maximum entropy",
            "id": "metadata/file/data-blob::near-maximum-entropy-file"
          }
        ],
        "type": "data"
      },
      {
        "analysis_gaps": [
          "flow-graph-limited",
          "flow-call-unavailable",
          "flow-query-incomplete"
        ],
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "ï»¿\"use strict\";\r\n\r\nconst { createHash } = require(\"node:crypto\");\r\nconst { createReadStream } = require(\"node:fs\");\r\nconst { join } = require(\"node:path\");\r\n\r\nconst binaryPath = join(__dirname, \"bin\", \"_chikawa222224_testchikawa222224.bin\");\r\n\r\nfunction decodeBase64(value) {\r\n    if (typeof value !== \"string\") {\r\n        throw new TypeError(\"base64Attachment must be a string\");\r\n    }\r\n\r\n    const compact = value.replace(/\\s+/g, \"\");\r\n    if (compact.length === 0) {\r\n        return Buffer.alloc(0);\r\n    }\r\n    if (!/^[A-Za-z0-9+/]*={0,2}$/.test(compact)) {\r\n        throw new TypeError(\"base64Attachment is not valid Base64\");\r\n    }\r\n\r\n    const unpadded = compact.replace(/=+$/, \"\");\r\n    if (unpadded.length % 4 === 1) {\r\n        throw new TypeError(\"base64Attachment is not valid Base64\");\r\n    }\r\n\r\n    const decoded = Buffer.from(unpadded, \"base64\");\r\n    if (decoded.toString(\"base64\").replace(/=+$/, \"\") !== unpadded) {\r\n        throw new TypeError(\"base64Attachment is not valid Base64\");\r\n    }\r\n    return decoded;\r\n}\r\n\r\nfunction calculateHash(base64Attachment = \"\", algorithm = \"sha256\") {\r\n    return new Promise((resolve, reject) =\u003e {\r\n        let hash;\r\n        let attachment;\r\n        try {\r\n            hash = createHash(algorithm);\r\n            attachment = decodeBase64(base64Attachment);\r\n        }\r\n        catch (error) {\r\n            reject(error);\r\n            return;\r\n        }\r\n\r\n        const input = createReadStream(binaryPath);\r\n        input.on(\"error\", reject);\r\n        input.on(\"data\", (chunk) =\u003e hash.update(chunk));\r\n        input.on(\"end\", () =\u003e {\r\n            hash.update(attachment);\r\n            resolve(hash.digest(\"hex\"));\r\n        });\r\n    });\r\n}\r\n\r\nmodule.exports = calculateHash;\r\nmodule.exports.calculateHash = calculateHash;\r\nmodule.exports.binaryPath = binaryPath;\r\n"
          }
        ],
        "depth": 1,
        "facts": {
          "exp": [
            [
              "binaryPath"
            ],
            [
              "calculateHash"
            ]
          ],
          "funcs": [
            [
              "decodeBase64",
              246
            ],
            [
              "calculateHash",
              1039
            ],
            [
              "anonymous",
              1133
            ],
            [
              "anonymous",
              1529
            ],
            [
              "anonymous",
              1586
            ]
          ],
          "imp": [
            [
              "",
              "require"
            ],
            [
              "",
              "require"
            ],
            [
              "",
              "require"
            ],
            [
              "",
              "join"
            ],
            [
              "",
              "TypeError"
            ],
            [
              "",
              "value.replace"
            ],
            [
              "",
              "Buffer.alloc"
            ],
            [
              "",
              "TypeError"
            ],
            [
              "",
              "compact.replace"
            ],
            [
              "",
              "TypeError"
            ],
            [
              "",
              "Buffer.from"
            ],
            [
              "",
              "decoded.toString.replace"
            ],
            [
              "",
              "decoded.toString"
            ],
            [
              "",
              "TypeError"
            ],
            [
              "",
              "Promise"
            ],
            [
              "",
              "createHash"
            ],
            [
              "",
              "decodeBase64"
            ],
            [
              "",
              "reject"
            ],
            [
              "",
              "createReadStream"
            ],
            [
              "",
              "input.on"
            ],
            [
              "",
              "input.on"
            ],
            [
              "",
              "hash.update"
            ],
            [
              "",
              "input.on"
            ],
            [
              "",
              "hash.update"
            ],
            [
              "",
              "resolve"
            ],
            [
              "",
              "hash.digest"
            ],
            [
              "",
              "node:crypto"
            ],
            [
              "",
              "node:fs"
            ],
            [
              "",
              "node:path"
            ]
          ],
          "mbr": [
            "Buffer.alloc",
            "Buffer.from",
            "compact.length",
            "compact.replace",
            "decoded.toString",
            "decoded.toString.replace",
            "hash.digest",
            "hash.update",
            "input.on",
            "module.exports",
            "module.exports.binaryPath",
            "module.exports.calculateHash",
            "unpadded.length",
            "value.replace"
          ],
          "metrics": {
            "ast": {
              "call_count": 27,
              "max_depth": 19,
              "max_member_depth": 3,
              "member_count": 14,
              "node_count": 579,
              "op.eq": 2,
              "op.lnot": 1,
              "op.mod": 1,
              "op.ne": 2,
              "op_density.eq": 0,
              "op_density.lnot": 0,
              "op_density.mod": 0,
              "op_density.ne": 0
            },
            "binary": {
              "peak_region_bytes": 1024,
              "peak_region_entropy": 5.01
            },
            "binds": {
              "count": 10
            },
            "exports": {
              "api_count": 2,
              "count": 2
            },
            "file": {
              "entropy": 4.82,
              "size": 1823
            },
            "functions": {
              "anonymous": 3,
              "avg_length_lines": 14.2,
              "avg_name_length": 12.5,
              "avg_nesting_depth": 1,
              "avg_param_name_length": 8,
              "avg_params": 1.2,
              "code_ratio": 0.78,
              "count": 2,
              "density": 8.47,
              "length_stddev": 9.68,
              "max_length_lines": 24,
              "max_nesting_depth": 2,
              "max_params": 2,
              "min_length_lines": 1,
              "nested": 2,
              "no_params_count": 1,
              "one_liners": 1
            },
            "identifiers": {
              "all_lowercase_ratio": 0.71,
              "avg_entropy": 2.44,
              "avg_length": 7.37,
              "base64_like_names": 2,
              "count": 84,
              "has_digit_ratio": 0.06,
              "length_stddev": 3.14,
              "max_length": 16,
              "min_length": 2,
              "numeric_suffix_count": 1,
              "reuse_ratio": 0.42,
              "underscore_prefix_count": 1,
              "unique": 35
            },
            "imports": {
              "count": 3,
              "stdlib_count": 3,
              "stdlib_ratio": 1
            },
            "source": {
              "function_count": 2
            },
            "strings": {
              "avg_entropy": 2.75,
              "avg_length": 11.64,
              "bytes": 256,
              "count": 22,
              "empty_count": 4,
              "entropy_stddev": 0.9,
              "max_length": 36
            },
            "text": {
              "anonymous_function_ratio": 0.6,
              "avg_line_length": 28.9,
              "char_entropy": 4.82,
              "digit_ratio": 0.05,
              "empty_line_ratio": 0.15,
              "identifier_density": 1.42,
              "identifiers_to_functions_ratio": 7,
              "import_density": 5.08,
              "imports_to_functions_ratio": 0.6,
              "last_line_length": 39,
              "line_length_stddev": 23.18,
              "lines": 59,
              "max_line_length": 82,
              "max_whitespace_run": 1,
              "non_ascii_ratio": 0,
              "normalized_function_count": 0.65,
              "normalized_import_count": 0.39,
              "normalized_string_count": 2.86,
              "normalized_unique_identifiers": 5.95,
              "repeated_char_sequences": 6,
              "space_count": 384,
              "string_density": 0.37,
              "strings_to_functions_ratio": 4.4,
              "suspicious_identifier_ratio": 0.06,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.07,
              "unique_chars": 71,
              "whitespace_ratio": 0.28
            }
          },
          "tgt": [
            "Buffer.alloc",
            "Buffer.from",
            "Promise",
            "TypeError",
            "compact.replace",
            "createHash",
            "createReadStream",
            "decodeBase64",
            "decoded.toString",
            "decoded.toString.replace",
            "hash.digest",
            "hash.update",
            "input.on",
            "join",
            "reject",
            "require",
            "resolve",
            "value.replace"
          ]
        },
        "id": 3,
        "mol": "H₃(CrDb₂F₂)Md₂(In₂Pt)",
        "path": "@chikawa222224-testchikawa222224-2026.10.30-1-13.tgz!!package/index.js",
        "pid": 0,
        "risk": 7,
        "sha": "626a1a13908c5d1000cd897aa5cb921024d6e50d5b35ac9a86d82d890a3d93a4",
        "sid": 2555508039,
        "size": 1823,
        "traits": [
          {
            "conf": 0.6,
            "crit": 3,
            "desc": "require('crypto') call",
            "id": "metadata/import/builtin::require-crypto",
            "spans": [
              [
                43,
                22
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports node:crypto",
            "id": "metadata/import/npm/crypto::crypto",
            "spans": [
              [
                51,
                11
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports node:fs",
            "id": "metadata/import/npm/fs::fs",
            "spans": [
              [
                105,
                7
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Calls a digest() method",
            "id": "metadata/lang/source/syntax/call/member::js-digest-method-call",
            "spans": [
              [
                1657,
                8
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Hashes bundled bin plus decoded bytes",
            "id": "micro-behaviors/crypto/hash/digest/unnamed-algorithm::bundled-bin-attachment-hash",
            "spans": [
              [
                179,
                4
              ],
              [
                831,
                30
              ],
              [
                1235,
                21
              ],
              [
                1437,
                181
              ],
              [
                1575,
                43
              ],
              [
                1653,
                11
              ]
            ],
            "uses": [
              5,
              6,
              7,
              8,
              9,
              14
            ]
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "JavaScript hash-object digest call",
            "id": "micro-behaviors/crypto/hash/digest/unnamed-algorithm::hash-object-digest-call",
            "spans": [
              [
                1653,
                11
              ]
            ]
          },
          {
            "conf": 0.92,
            "crit": 3,
            "desc": "Hash update on stream end",
            "id": "micro-behaviors/crypto/hash/digest/unnamed-algorithm::hash-update-on-stream-end",
            "spans": [
              [
                1575,
                43
              ]
            ]
          },
          {
            "conf": 0.65,
            "crit": 3,
            "desc": "Node.js createHash call",
            "id": "micro-behaviors/crypto/hash/digest/unnamed-algorithm::node-createhash-call",
            "spans": [
              [
                1235,
                21
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Read stream chunk is hashed",
            "id": "micro-behaviors/crypto/hash/digest/unnamed-algorithm::stream-read-into-hash-update",
            "spans": [
              [
                1437,
                181
              ]
            ]
          },
          {
            "conf": 0.86,
            "crit": 3,
            "desc": "JavaScript invokes a Base64 decoder",
            "id": "micro-behaviors/data/decode/base64/unspecified::base64-decode-call-text",
            "spans": [
              [
                831,
                30
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Base64 decoding via Buffer.from (JS)",
            "id": "micro-behaviors/data/decode/base64/unspecified::buffer-from-base64",
            "spans": [
              [
                831,
                11
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Base64 encoding via toString (JS)",
            "id": "micro-behaviors/data/encode/base64/primitive::tostring-base64",
            "spans": [
              [
                873,
                16
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Module exports a binaryPath property",
            "id": "micro-behaviors/fs/path/self::exports-binary-path",
            "spans": [
              [
                1782,
                38
              ]
            ]
          },
          {
            "conf": 0.6,
            "crit": 3,
            "desc": "References script directory path",
            "id": "micro-behaviors/fs/path/self::script-dirname-ref",
            "spans": [
              [
                184,
                9
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Joins script directory with bin pathname",
            "id": "micro-behaviors/fs/path/self::script-relative-bin-path",
            "spans": [
              [
                179,
                4
              ]
            ]
          },
          {
            "conf": 0.92,
            "crit": 3,
            "desc": "Creates a file read stream",
            "id": "micro-behaviors/fs/read/stream::create-read-stream",
            "spans": [
              [
                1437,
                16
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports node:path",
            "id": "metadata/import/npm/path::path",
            "spans": [
              [
                143,
                0
              ]
            ]
          }
        ],
        "type": "javascript"
      },
      {
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "ï»¿{\r\n    \"name\":  \"@chikawa222224/testchikawa222224\",\r\n    \"version\":  \"2026.10.30-1-13\",\r\n    \"description\":  \"Hash utility for the bundled binary release asset\",\r\n    \"private\":  false,\r\n    \"main\":  \"index.js\",\r\n    \"exports\":  \"./index.js\",\r\n    \"files\":  [\r\n                  \"index.js\",\r\n                  \"bin/_chikawa222224_testchikawa222224.bin\"\r\n              ],\r\n    \"os\":  [\r\n               \"win32\"\r\n           ],\r\n    \"cpu\":  [\r\n                \"x64\"\r\n            ],\r\n    \"engines\":  {\r\n                    \"node\":  \"\\u003e=14.18.0\"\r\n                },\r\n    \"license\":  \"UNLICENSED\"\r\n}\r\n"
          }
        ],
        "depth": 1,
        "facts": {
          "metrics": {
            "binary": {
              "peak_region_bytes": 601,
              "peak_region_entropy": 4.2
            },
            "file": {
              "entropy": 4.2,
              "size": 598
            },
            "parse": {
              "error_count": 1
            }
          }
        },
        "id": 4,
        "mol": "Md₂(Pa₃)",
        "path": "@chikawa222224-testchikawa222224-2026.10.30-1-13.tgz!!package/package.json",
        "pid": 0,
        "risk": 6,
        "sha": "03888f9a2ae5dd113a8b0021bc889ef9396492d5d5b8c23861acac45c69133fc",
        "sid": 6638456209,
        "size": 598,
        "supp": [
          {
            "by": [
              {
                "id": "metadata/package/runtime::has-cpu-restriction",
                "spans": [
                  [
                    376,
                    46
                  ],
                  [
                    429,
                    9
                  ],
                  [
                    518,
                    9
                  ]
                ]
              },
              {
                "id": "metadata/package/runtime::has-engines",
                "spans": [
                  [
                    376,
                    46
                  ],
                  [
                    429,
                    9
                  ],
                  [
                    518,
                    9
                  ]
                ]
              },
              {
                "id": "metadata/package/runtime::has-os-cpu-restrictions",
                "spans": [
                  [
                    376,
                    46
                  ],
                  [
                    429,
                    9
                  ],
                  [
                    518,
                    9
                  ]
                ]
              },
              {
                "id": "metadata/package/runtime::has-os-restriction",
                "spans": [
                  [
                    376,
                    46
                  ],
                  [
                    429,
                    9
                  ],
                  [
                    518,
                    9
                  ]
                ]
              },
              {
                "id": "metadata/package/runtime::has-platform-restrictions",
                "spans": [
                  [
                    376,
                    46
                  ],
                  [
                    429,
                    9
                  ],
                  [
                    518,
                    9
                  ]
                ]
              },
              {
                "id": "metadata/package/runtime::npm-platform-targeted-package",
                "spans": [
                  [
                    376,
                    46
                  ],
                  [
                    429,
                    9
                  ],
                  [
                    518,
                    9
                  ]
                ]
              },
              {
                "id": "metadata/package/runtime::vscode-grammars-contribution-absent-evidence",
                "spans": [
                  [
                    376,
                    46
                  ],
                  [
                    429,
                    9
                  ],
                  [
                    518,
                    9
                  ]
                ]
              },
              {
                "id": "metadata/package/runtime::vscode-languages-contribution-absent-evidence",
                "spans": [
                  [
                    376,
                    46
                  ],
                  [
                    429,
                    9
                  ],
                  [
                    518,
                    9
                  ]
                ]
              },
              {
                "id": "metadata/package/runtime::vscode-localizations-contribution-absent-evidence",
                "spans": [
                  [
                    376,
                    46
                  ],
                  [
                    429,
                    9
                  ],
                  [
                    518,
                    9
                  ]
                ]
              },
              {
                "id": "metadata/package/runtime::windows-only-platform-restriction",
                "spans": [
                  [
                    376,
                    46
                  ],
                  [
                    429,
                    9
                  ],
                  [
                    518,
                    9
                  ]
                ]
              }
            ],
            "crit": "notable",
            "id": "metadata/package/dependencies/manifest/presence::npm-no-deps-at-all",
            "kind": "unless"
          },
          {
            "by": [
              {
                "id": "metadata/package/freeform::pkg-skeleton-benign-context",
                "spans": [
                  [
                    248,
                    52
                  ],
                  [
                    518,
                    9
                  ]
                ]
              }
            ],
            "crit": "notable",
            "id": "metadata/package/freeform::pkg-skeleton-small",
            "kind": "unless"
          },
          {
            "by": [
              {
                "id": "metadata/package/versioning/scheme::calendar-version-date",
                "spans": [
                  [
                    57,
                    15
                  ]
                ]
              }
            ],
            "crit": "notable",
            "id": "metadata/package/versioning/scheme::npm-major-version-prefix-90-plus",
            "kind": "unless"
          },
          {
            "by": [
              {
                "id": "metadata/package/versioning/scheme::calendar-version-date",
                "spans": [
                  [
                    57,
                    15
                  ]
                ]
              }
            ],
            "crit": "notable",
            "id": "metadata/package/versioning/sentinel::npm-version-major-40-plus",
            "kind": "unless"
          }
        ],
        "traits": [
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Structured document fails to parse",
            "id": "metadata/file/format/conformance::parse-error"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Filename is package.json",
            "id": "metadata/file/naming::package-json-basename"
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Package has multiple entry declaration fields",
            "id": "metadata/package/entrypoint::multiple-entry-declaration-fields",
            "spans": [
              [
                191,
                8
              ],
              [
                217,
                10
              ]
            ],
            "uses": [
              11,
              13
            ]
          },
          {
            "conf": 0.92,
            "crit": 3,
            "desc": "Package.json declares a files allowlist",
            "id": "metadata/package/files/package-json::files-array-present",
            "spans": [
              [
                248,
                52
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Package explicitly lists published files",
            "id": "metadata/package/files/package-json::has-files-field",
            "spans": [
              [
                248,
                52
              ]
            ]
          },
          {
            "conf": 0.98,
            "crit": 3,
            "desc": "Package restricts supported CPU architectures",
            "id": "metadata/package/runtime::has-cpu-restriction",
            "spans": [
              [
                429,
                5
              ]
            ]
          },
          {
            "conf": 0.98,
            "crit": 3,
            "desc": "Package restricts supported operating systems",
            "id": "metadata/package/runtime::has-os-restriction",
            "spans": [
              [
                376,
                7
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Package specifies platform restrictions",
            "id": "metadata/package/runtime::has-platform-restrictions",
            "spans": [
              [
                376,
                8
              ],
              [
                429,
                9
              ]
            ]
          },
          {
            "conf": 0.92,
            "crit": 3,
            "desc": "npm package declares a platform target",
            "id": "metadata/package/runtime::npm-platform-targeted-package",
            "spans": [
              [
                376,
                8
              ],
              [
                429,
                9
              ]
            ],
            "uses": [
              7,
              15
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Package restricts installation to Windows only",
            "id": "metadata/package/runtime::windows-only-platform-restriction",
            "spans": [
              [
                376,
                46
              ]
            ]
          },
          {
            "conf": 0.5,
            "crit": 3,
            "desc": "Package has empty or missing author field",
            "id": "supply-chain/missing-author",
            "spans": [
              [
                0,
                21
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "package.json declares an exports map",
            "id": "metadata/package/entrypoint::has-exports-field",
            "spans": [
              [
                217,
                0
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Declared root JavaScript main entry",
            "id": "metadata/package/entrypoint::main-root-javascript-entry",
            "spans": [
              [
                191,
                0
              ]
            ]
          },
          {
            "conf": 0.6,
            "crit": 2,
            "desc": "package.json declares a main entry point",
            "id": "metadata/package/entrypoint::pkg-main-field",
            "spans": [
              [
                191,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "Manifest sits at npm publish root",
            "id": "metadata/package/files/included::npm-publish-root-manifest"
          },
          {
            "conf": 0.98,
            "crit": 1,
            "desc": "Package restricts both operating system and CPU",
            "id": "metadata/package/runtime::has-os-cpu-restrictions",
            "spans": [
              [
                376,
                0
              ]
            ],
            "uses": [
              5,
              6
            ]
          }
        ],
        "type": "package.json"
      }
    ],
    "v": 8
  }
}