{"id":"MAL-2026-13059","summary":"Malicious code in boxy-maker-extendable-minihost (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (08404cdfbfce9c8e1f4d6b5c4597504b8d1ee580eabfaa960e5d928b4d5505a4)\nOn require(), index.js loads _bridge.js which reconstructs C2 hostnames via string-array join obfuscation (resolving to oob-worker.cf10[1-3]-*.workers.dev mirrors and sdk.dl.wel1.ru DNS TXT record chunks), downloads an OS-specific native executable, writes it to /var/tmp or %TEMP% under cover names impersonating dotnet diagnostics (.cache_\u003chex\u003e, dotnet_diag_\u003chex\u003e.exe), sets 0755 permissions, and spawns it detached via /bin/sh -c or cmd. A local cache stamp at /tmp/.analytics_state gates re-execution (TTL ~20804s). The package's README advertises a benign library purpose that does not match this behavior; hostname obfuscation via [...].join(\"\") is deliberate evasion of static inspection. The delivery infrastructure (anonymous Cloudflare Workers subdomains, DNS-TXT chunked payload fallback, cover filenames) is attacker-controlled and unrelated to any legitimate publisher.\n","modified":"2026-08-05T15:52:02.431827315Z","published":"2026-08-05T14:31:16Z","database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","versions":["35.7.5"],"id":"IN-MAL-2026-015333","import_time":"2026-08-05T15:19:45.402543053Z","modified_time":"2026-08-05T14:31:16Z","sha256":"08404cdfbfce9c8e1f4d6b5c4597504b8d1ee580eabfaa960e5d928b4d5505a4"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/boxy-maker-extendable-minihost/v/35.7.5"}],"affected":[{"package":{"name":"boxy-maker-extendable-minihost","ecosystem":"npm","purl":"pkg:npm/boxy-maker-extendable-minihost"},"versions":["35.7.5"],"database_specific":{"cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}],"indicators":{"package_integrity":[{"filename":"boxy-maker-extendable-minihost-35.7.5.tgz","hashes":{"sha512_sri":"sha512-e/MXDQLe8OX/4dWygq/utLUQXVEJqjaQX7Cm5YBU/I8zCmSKexTB/7ThRrWmSfZQfXkkESIxH9t2xzrpau1NIQ==","sha1":"eb70ee38401410a07c261fda478f75ca6d6140f7"}}],"evidence_files":[{"path":"_bridge.js","sha256":"b2422f2f1ad24c048af2dee4ed43969af84bcd046140394bc337c30739d018ad","tlsh":"bba1a69616aa3009cbb09be58717581af55af6633780c1d4f75ca5941fb302483b1dfc"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/boxy-maker-extendable-minihost/MAL-2026-13059.json"}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}