bpm-foundation-feature-flags@20.4.2
Malicious code in bpm-foundation-feature-flags (npm)
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
- tinkoff-statist-web-typed-client-test.golden.retriever@20.4.4
- tramvai-module-feature-toggle@20.5.3
- tinkoff-statist-browser-typed-client-sme.rko.origsmartphonepaytb.common.mobile.events@20.2.5
- saas-f-lego-landings@20.7.5
- pfp-integration-mobile-heading@20.7.1
- specials-mvno-client@20.9.8
- vvvedernikov-test-another-test@20.2.6
- bnpl-blocks-desktop-bnpl-documents@20.7.2
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.