{"id":"MAL-2026-13091","summary":"Malicious code in boxy-test-maker (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (3a5cc17bc186bfb165d7341ea7832b66bc93cafaa6f849ccc840660735c0cfa5)\nOn require() of the package, index.js loads _ext.js which assembles C2 hostnames from split string fragments (oob-worker.cf102-baf.workers.dev, oob-worker.cf99-9b3.workers.dev, oob-worker.cf100-416.workers.dev, with a DNS-TXT covert-channel fallback to *.dl.wel1.ru), downloads a platform-specific binary, writes it to a disguised path under /var/tmp or %TEMP% (filenames such as.cache_\u003chex\u003e or dotnet_diag_\u003chex\u003e.exe), chmods 0755, and spawns it detached via /bin/sh -c or cmd.exe. A dedup stamp file named analytics_state and opt-out-style environment variable checks are used as cover. Hostnames are reconstructed at runtime via array.join(\"\") to evade static string matching. Requiring or installing this package executes attacker-controlled native code on the host.\n","modified":"2026-08-05T15:52:18.439245512Z","published":"2026-08-05T14:26:44Z","database_specific":{"malicious-packages-origins":[{"sha256":"3a5cc17bc186bfb165d7341ea7832b66bc93cafaa6f849ccc840660735c0cfa5","source":"amazon-inspector","versions":["35.8.2"],"id":"IN-MAL-2026-015303","import_time":"2026-08-05T15:19:43.596225487Z","modified_time":"2026-08-05T14:26:44Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/boxy-test-maker/v/35.8.2"}],"affected":[{"package":{"name":"boxy-test-maker","ecosystem":"npm","purl":"pkg:npm/boxy-test-maker"},"versions":["35.8.2"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/boxy-test-maker/MAL-2026-13091.json","cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}],"indicators":{"evidence_files":[{"path":"_ext.js","sha256":"238f48fcb2ec1247ba1f38c7bc229c79f07abecd3ed3e85425897011553a2af4","tlsh":"16a1a6aa16aa71188bb0d7e0c61b4416f95bf6633781c285fb5ca5841f73124c3b2efc"}],"package_integrity":[{"hashes":{"sha1":"9e70a0a206b98bfb76002db8d79ca8c05ab16f8f","sha512_sri":"sha512-LtNShX3Su6G0M0X09m95auoBB06tEMiYf4/vWmz9xd+zb8J+4QqshuDFFIiRkSbnCu/X+jsh579Vs/NHXg9sDg=="},"filename":"boxy-test-maker-35.8.2.tgz"}]}}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}