{"id":"MAL-2026-13107","revision":"5b5f177a044243e491d08f87f836ef04","records":[{"revision":"5b5f177a044243e491d08f87f836ef04","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13107","aliases":[],"title":"Malicious code in bpm-foundation-common (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (39a9ca2287ec8bbf000796cf1f41fbc088f7d8a3a37cd8d8eadc970cf19abc91)\nOn require('bpm-foundation-common'), index.js loads _loader.js which assembles C2 hostnames via runtime string-joining (e.g. [\"oob-worker.\",\"cf101-adf.\",\"workers.d\",\"ev\"].join(\"\")) with a DNS-TXT fallback to *.wel1.ru subdomains, downloads a platform-specific binary via https.get, writes it to /tmp/.cache_<hex> or %TEMP%/dotnet_diag_<hex>.exe, chmods 0755, and detached-spawns it via /bin/sh -c or cmd.exe. Dangerous API names are obfuscated (require(\"child_\"+\"process\"), fs[\"chmod\"+\"Sync\"]) to evade static analysis. A second dropper implementation with the same machinery (base64-decoded payload, /bin/sh -c spawn, chmod 0755) is bundled in lib/telemetry.js as an alternate payload path. The package has no documented native-build purpose that would justify fetching and executing a remote binary on require().\n","state":0,"publishedAt":"2026-08-05T14:22:16+00:00","modifiedAt":"2026-08-05T15:52:26.0024554+00:00","affected":[{"ecosystem":"npm","name":"bpm-foundation-common","ranges":[],"versions":["35.9.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/bpm-foundation-common/v/35.9.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13107","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13107","identifiers":["MAL-2026-13107"]},"retained":false,"historicalAffected":[]}],"coverage":[]}