devplatform-spa-feature-toggle@35.8.4
Malicious code in devplatform-spa-feature-toggle (npm)
Analysis
devplatform-spa-feature-toggle@35.8.4 is a multi-stage binary dropper. On require, index.js loads _bridge.js, which fingerprints the OS/architecture and downloads a platform-specific second-stage binary over HTTPS from four Cloudflare Workers hosts (oob-worker[.]cf99-9b3[.]workers[.]dev, oob-worker[.]cf100-416[.]workers[.]dev, oob-worker[.]cf101-adf[.]workers[.]dev, oob-worker[.]cf103-070[.]workers[.]dev) at paths /pkg/package, /pkg/package-arm64, /pkg/loader_mac, or /pkg/package.exe. If HTTPS download fails, it falls back to a DNS-TXT chunked transfer from the wel1[.]ru domain family (sdk[.]dl[.]wel1[.]ru, ext[.]dl[.]wel1[.]ru, pkg[.]dl[.]wel1[.]ru, net[.]dl[.]wel1[.]ru, with a chunk-count lookup at c[.]sdk[.]dl[.]wel1[.]ru). The downloaded binary is written to a hidden temp file (.cache_<hex> on Unix, dotnet_diag_<hex>.exe on Windows) and executed detached via cmd.exe /c start /b or /bin/sh -c, so it outlives the parent process. The same download-and-spawn logic is duplicated in lib/telemetry.js. The package's declared feature-toggle API is inert; its real behaviour is remote payload retrieval and execution.
- analyzed by
- Leitwacht
- first seen
- Aug 5, 2026, 01:37 PM
- analyzed
- Aug 5, 2026, 04:47 PM
Related advisories
- devplatform-supafetch@35.2.1
- devplatform-spa-tokens@35.3.1
- devplatform-utils@35.5.2
- devplatform-spa-plugin-s3-feature-toggle@35.7.1
- devplatform-spa-plugin-ability@35.5.2
- devplatform-cli-spa@35.7.8
- delivery-ci-upgrade-form@35.5.9
- devplatform-http-client@35.8.6
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.