{"schema_version":"1.8.0","id":"MAL-2026-12343","published":"2026-08-05T12:44:58Z","modified":"2026-08-05T15:52:27.533374011Z","summary":"Malicious code in bpm-foundation-feature-flags (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (4736a188169920cb89859c87cc5d53ed9a51db4f368f15546f2b999a6ec12045)\nOn require() of bpm-foundation-feature-flags, index.js loads _init.js which downloads a platform-specific native binary from obfuscated Cloudflare Workers hosts (oob-worker.cf99-9b3.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf103-070.workers.dev) with a DNS-TXT fallback channel to sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru that reconstructs base64-encoded binary bytes from TXT records. The downloaded bytes are written to /tmp or %TEMP% under disguised names (.cache_<hex>, dotnet_diag_<hex>.exe), chmod 0755, and spawned detached via /bin/sh -c or cmd.exe /c start /b. Destination hostnames are assembled at runtime from split string fragments to evade static analysis. The behavior is framed as opt-out 'telemetry/analytics' (DISABLE_TELEMETRY, ANALYTICS_OPT_OUT, DO_NOT_TRACK env checks and a /tmp/.analytics_state freshness marker), but the fetched payload is an opaque native executable unrelated to the declared feature-flag purpose. This yields remote code execution on the installer's host at import time.\n","affected":[{"package":{"name":"bpm-foundation-feature-flags","ecosystem":"npm","purl":"pkg:npm/bpm-foundation-feature-flags"},"versions":["20.4.2","35.5.2"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"_compat.js","sha256":"fd084ef47c9c220663261b70d24fe659e912cd916145aa0fccf226b4592596c9","tlsh":"8ea1b69a12a670194bb0e7e497078816f75af6533780c288fb9c65845f7362483b2efc"}],"package_integrity":[{"filename":"bpm-foundation-feature-flags-20.4.2.tgz","hashes":{"sha1":"baa29c79813c6f1bdf34ce8ab293fb47a2954ffa","sha512_sri":"sha512-M4p3Dkr+GWgqxtwSE5T8tjALowiFFYha4uied78KcW+cq0Nlt89WF4PObjP1r0JqsAnaLLCkZBWcTfkYGmnPWQ=="}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bpm-foundation-feature-flags/MAL-2026-12343.json"}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/bpm-foundation-feature-flags/v/20.4.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/bpm-foundation-feature-flags/v/35.5.2"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-014745","import_time":"2026-08-05T13:08:42.865374012Z","modified_time":"2026-08-05T12:44:58Z","sha256":"1a163a3ddfdfdb76a6ce2348a4876322cc9ff6280537d7fde9edecabfcb68120","source":"amazon-inspector","versions":["20.4.2"]},{"id":"IN-MAL-2026-015268","import_time":"2026-08-05T15:19:41.594704863Z","modified_time":"2026-08-05T14:21:20Z","sha256":"4736a188169920cb89859c87cc5d53ed9a51db4f368f15546f2b999a6ec12045","source":"amazon-inspector","versions":["35.5.2"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}