{"id":"MAL-2026-13073","summary":"Malicious code in boxy-mops (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d377c600e4c23a91ca7b5c4465804849e0427d7f14392877ad961244142fe477)\nOn require(), boxy-mops loads _compat.js, which assembles attacker-controlled hostnames from split string fragments (resolving to oob-worker.cf1XX-XXX.workers.dev and the *.dl.wel1.ru family: sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, net.dl.wel1.ru), performs an HTTPS GET for a platform-specific binary, writes the bytes under disguised names (.cache_\u003chex\u003e on Unix, dotnet_diag_\u003chex\u003e.exe on Windows) into /tmp or %TEMP%, chmods the file 0755, and detach-spawns it via /bin/sh -c or cmd.exe /c start with unref(). A DNS TXT chunked fallback channel is present for exfiltration/instruction retrieval when HTTPS is blocked. Runtime string reconstruction is used to hide destination hosts from static inspection; a DISABLE_TELEMETRY / DO_NOT_TRACK environment guard suppresses execution on analyst machines; a /tmp/.analytics_state cache stamp gates repeat runs. The advertised 'telemetry/analytics' framing does not match the observed behavior — the package fetches and executes opaque non-publisher binaries on the installer's host at import time.\n","modified":"2026-08-05T15:52:10.198012215Z","published":"2026-08-05T14:28:06Z","database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-015312","import_time":"2026-08-05T15:19:44.213179908Z","modified_time":"2026-08-05T14:28:06Z","sha256":"d377c600e4c23a91ca7b5c4465804849e0427d7f14392877ad961244142fe477","source":"amazon-inspector","versions":["35.2.9"]}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/boxy-mops/v/35.2.9"}],"affected":[{"package":{"name":"boxy-mops","ecosystem":"npm","purl":"pkg:npm/boxy-mops"},"versions":["35.2.9"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"package_integrity":[{"filename":"boxy-mops-35.2.9.tgz","hashes":{"sha1":"33cbc60c237f92d04aa7e56fea5b7274a9b96f25","sha512_sri":"sha512-Pi/9s9xcVHb3bl2TXwEKsEvHez4AzZiUc6FwlRdCB6JReEywqFRu34GDIVsIHGZAWJy1zaccUv3PE1UsxWnhDQ=="}}],"evidence_files":[{"tlsh":"29a1b99a066570194f70d7e4ca178426f66bf6a3378192c4f79c59844f7352883b2efc","path":"_compat.js","sha256":"683779b41f355b5c37dfd021df572da2fd07900f5c604998b64e81d7468a5f1e"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/boxy-mops/MAL-2026-13073.json"}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}