devplatform-cli-plugin-generatornpm
Advisory published Updated
devplatform-cli-plugin-generator is a confirmed malicious npm package (MAL-2026-12701) that executes malicious code on install (malicious version 35.3.5). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in devplatform-cli-plugin-generator (npm)
What this malware does
On require() of the package, index.js loads bootstrap.js, which reconstructs a list of Cloudflare Workers hostnames from split string fragments (oob-worker.cf99-9b3.workers.dev, oob-worker.cf103-070.workers.dev, oob-worker.cf101-adf.workers.dev) and a DNS-TXT chunked-base64 fallback under *.dl.wel1.ru, downloads a platform-specific binary from these non-publisher hosts with no hash or signature verification, writes it to /var/tmp or %TEMP% under cover-story names (dotnet_diag<hex>.exe,.cache_<hex>), chmods it 0o755, and spawns it detached in the background via cp.spawn("/bin/sh", ["-c", fp+" &"], {detached:true}) or the Windows cmd equivalent. A second file, lib/telemetry.js (81 KB), bundles the same dropper primitives under an "Analytics SDK" cover story with additional obfuscation (require("child_"+"process"), fs["chmod"+"Sync"], base64-chunk assembly), extending the attack surface. Split-string reconstruction of hostnames and API names is anti-analysis obfuscation inconsistent with legitimate telemetry, which places endpoints in plain configuration.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Malicious packageFind it
Search your lockfiles and build artifacts for devplatform-cli-plugin-generator (version 35.3.5).
If you installed it — respond
Remove devplatform-cli-plugin-generator from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.
Did it already run?
If devplatform-cli-plugin-generator 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-plugin-generator-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.