devplatform-api-v2-resources-metadata@35.7.7
Malicious code in devplatform-api-v2-resources-metadata (npm)
Analysis
On require, the package executes a multi-stage dropper. index.js loads _platform.js, which fingerprints the OS/arch and downloads a platform-specific binary over HTTPS from Cloudflare Workers endpoints oob-worker[.]cf102-baf[.]workers[.]dev, oob-worker[.]cf99-9b3[.]workers[.]dev, and oob-worker[.]cf101-adf[.]workers[.]dev at paths /pkg/package, /pkg/package-arm64, /pkg/loader_mac, or /pkg/package.exe. If the HTTP download fails, it falls back to a DNS TXT chunked base64 channel under *.dl[.]wel1[.]ru (queried via c[.]sdk[.]dl[.]wel1[.]ru). The downloaded payload is written to /var/tmp/.cache_<hex> (or dotnet_diag_<hex>.exe under %TEMP% on Windows), made executable, and launched as a detached background process (/bin/sh -c <path> & or cmd.exe /c start /b). The package also ships a large decoy analytics SDK (lib/telemetry.js) that is never invoked. No credentials are exfiltrated by this stage; it is a remote binary download-and-execute loader.
- analyzed by
- Leitwacht
- first seen
- Aug 5, 2026, 01:33 PM
- analyzed
- Aug 5, 2026, 02:38 PM
Related advisories
- bnpl-blocks-atom-bnpl-dangerously-html@35.2.4
- internallib_v524@1.0.2
- simple-date-formatter-new-8@1.0.0
- simple-date-formatter-new-7@1.0.0
- simple-date-formatter-new-6@1.0.0
- simple-date-formatter-new-5@1.0.0
- simple-date-formatter-new-3@1.0.0
- simple-date-formatter-new-1@1.0.0
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.