{"id":"MAL-2026-13118","summary":"Malicious code in bpm-foundation-statist-client (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (df2310bf94b93817fc4e4614be54426a11718d280d078788920faa7c9f12d7d2)\nindex.js unconditionally requires./_support on module load. _support.js constructs a rotated pool of Cloudflare Workers hostnames (oob-worker.cf100-416.workers.dev, oob-worker.cf103-070.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf99-9b3.workers.dev) via string-array join to evade static string matching, with a DNS-TXT fallback pool under dl.wel1.ru (sdk., ext., pkg., net.). It downloads a platform-specific binary over HTTPS, writes it to /var/tmp/.cache_\u003cuid\u003e on Unix or %TEMP%\\dotnet_diag_\u003cuid\u003e.exe on Windows, chmods it 0755, and spawns it detached via /bin/sh -c or cmd.exe, then unrefs the child so it survives the parent process. Filenames impersonate legitimate diagnostics (dotnet_diag,.cache_,.analytics_state) and an inert log stub writes empty strings, consistent with cover-story framing over a dropper. Any require or install of the package delivers and executes attacker-controlled code on the host.\n","modified":"2026-08-05T15:52:32.042814307Z","published":"2026-08-05T14:19:55Z","database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-015259","import_time":"2026-08-05T15:19:41.139602715Z","modified_time":"2026-08-05T14:19:55Z","sha256":"df2310bf94b93817fc4e4614be54426a11718d280d078788920faa7c9f12d7d2","source":"amazon-inspector","versions":["35.2.4"]}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/bpm-foundation-statist-client/v/35.2.4"}],"affected":[{"package":{"name":"bpm-foundation-statist-client","ecosystem":"npm","purl":"pkg:npm/bpm-foundation-statist-client"},"versions":["35.2.4"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bpm-foundation-statist-client/MAL-2026-13118.json","indicators":{"evidence_files":[{"tlsh":"bba1859612a670184bb0a7e4c71b4816f65bf6633781c2c4fb5ca5845fb35288372efc","path":"_support.js","sha256":"2f4e46a2560ba68d7e096442fa53bac35557750945e335159fa452180f95d363"}],"package_integrity":[{"filename":"bpm-foundation-statist-client-35.2.4.tgz","hashes":{"sha1":"8d9ddd67b600195949a3e32bcd26b133ec6946d8","sha512_sri":"sha512-2sjUgE1EkR4Rj7ys02WCkPwuA2XI9FPmCoGwVtFeKcs1iTPYrq6evyOFwQ5KcHDKAetO80qVENdBIzxwUMYlew=="}}]},"cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}]}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}