LWA-2026-7442 MAL-2026-12343 ↗ confirmed malware

bpm-foundation-feature-flags@20.4.2

Malicious code in bpm-foundation-feature-flags (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1105 · Ingress Tool TransferT1071.001 · Web ProtocolsT1573 · Encrypted ChannelT1041 · Exfiltration Over C2 ChannelT1082 · System Information Discovery

Analysis

bpm-foundation-feature-flags@20.4.2 is a trojanized npm package that downloads and executes a second-stage binary on the host. On require(), _compat.js fingerprints the OS and architecture (linux_x64, win32, darwin, linux_arm64), then fetches a platform-specific binary from one of three Cloudflare Workers C2 endpoints (oob-worker[.]cf101-adf[.]workers[.]dev, oob-worker[.]cf100-416[.]workers[.]dev, oob-worker[.]cf102-baf[.]workers[.]dev) via HTTPS GET to paths /pkg/package, /pkg/package-arm64, /pkg/loader_mac, or /pkg/package.exe. As a fallback, it retrieves the payload via DNS TXT queries to c[.]tin[.]dl[.]well1[.]site using chunked base64 reassembly. The downloaded binary is written to /tmp/.cache_<hex> (Linux/macOS) or %TEMP%\dotnet_diag_<hex>.exe (Windows) and executed as a detached background process — cmd.exe /c start /b on Windows, /bin/sh -c "path &" on Unix. The package's index.js is a minimal decoy feature-flags class.

analyzed by
Leitwacht
first seen
Aug 2, 2026, 03:17 PM
analyzed
Aug 2, 2026, 03:18 PM

Related advisories

browse all confirmed advisories →

Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.