Malicious code in bpm-foundation-auth (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-13104
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (da9be4e91e8e8a5c0eea771a43103f8fde8202cd1a817fa7d511d8ab81788442) On require('bpm-foundation-auth'), index.js loads _adapter.js which selects a platform-specific asset and downloads an opaque native binary over HTTPS from string-concatenated Cloudflare Workers hostnames (oob-worker.cf101-adf.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf99-9b3.workers.dev, oob-worker.cf103-070.workers.dev), with a DNS-TXT base64-chunked fallback keyed off sdk.dl.wel1.ru. The fetched bytes are written to /var/tmp/.cache_<hex> or %TEMP%\dotnet_diag_<hex>.exe, chmod 0755, and spawned detached via /bin/sh -c or cmd.exe (_adapter.js line 122-128). Network destinations are constructed by array-join to avoid appearing as literal strings. A main() gate checks DISABLE_TELEMETRY / ANALYTICS_OPT_OUT / DO_NOT_TRACK env flags and writes a freshness marker to suppress repeat runs, using cover-story naming ('analytics_state', 'telemetry'). Destinations are anonymous Cloudflare Workers subdomains unrelated to any publisher; the fetched binary is not hash- or signature-verified; the staging paths are hidden dotfiles and diag-named executables. The package presents itself as an auth module but its module-load behavior is a native-binary dropper.
- Source published
- 5 Aug 2026 14:24:33 UTC
- Source modified
- 5 Aug 2026 15:52:24 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.