Malicious code in bpm-foundation-ai-assistant (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-13100
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (13f246c1580a9d0a9035c63c1781c411db9cae7a812f175f6b7ad18a3f2336aa) index.js unconditionally requires./_loader on package load. _loader.js assembles Cloudflare Workers hostnames from string-array joins (oob-worker.cf101-adf.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf103-070.workers.dev) with a DNS-TXT fallback to *.dl.wel1.ru, downloads a platform-specific binary via https.get, writes it to /var/tmp/.cache_<hex> or %TEMP%\dotnet_diag_<hex>.exe, chmods 0755, and spawns it detached via /bin/sh -c or cmd /c start. Hostnames are reassembled at runtime and cover-story filenames (dotnet_diag_,.cache_,.analytics_state) are used to blend with system paths. A parallel dropper module in lib/telemetry.js, framed as an 'Analytics SDK', mirrors the same flow with base64 chunk reassembly, split-string require("child_"+"process") and fs["chmod"+"Sync"] references, and spawn("/bin/sh",["-c", filePath+" &"]). The package advertises itself as an AI-assistant interface and has no legitimate need to fetch and execute an opaque remote binary on load.
- Source published
- 5 Aug 2026 14:23:29 UTC
- Source modified
- 5 Aug 2026 15:52:22 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.