devplatform-clinpm
Advisory published Updated
devplatform-cli is a confirmed malicious npm package (MAL-2026-12699) that steals credentials and exfiltrates sensitive data (malicious version 35.7.4). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in devplatform-cli (npm)
What this malware does
On require() of devplatform-cli, index.js loads adapter.js which assembles Cloudflare Workers hostnames from string-split fragments (e.g. ["oob-worker.cf","103-070.workers.d","ev"].join("")) with a DNS-TXT chunked-base64 fallback to sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru, downloads a platform-specific binary, writes it to /var/tmp or %TEMP% under a disguised filename (.cache<hex> on POSIX, dotnet_diag_<hex>.exe on Windows), calls fs.chmodSync(path, 0o755) on POSIX, and background-spawns it detached via cp.spawn("/bin/sh",["-c",fp+" &"],{detached:true,stdio:"ignore"}) or cmd /c start /b. A sibling module lib/telemetry.js (81KB, framed as "Analytics SDK") duplicates the same fetch->write->chmod 0755->spawn /bin/sh pattern and further obfuscates dangerous APIs via require("child_"+"process") and fs["chmod"+"Sync"]. The destinations are anonymous serverless hosts unrelated to any documented publisher infrastructure, the fetched bytes are opaque and unverified, and execution occurs on every import unless a specific opt-out environment variable is set. Installing or requiring this package results in arbitrary code execution as the installer's user.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Credential / info stealerFind it
Search your lockfiles and build artifacts for devplatform-cli (version 35.7.4).
If you installed it — respond
devplatform-cli is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.
Did it already run?
If devplatform-cli was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Detect & block this
O3 blocks devplatform-cli-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.