devplatform-vite-plugin-externalnpm
Advisory published Updated
devplatform-vite-plugin-external is a confirmed malicious npm package (MAL-2026-13272) that steals credentials and exfiltrates sensitive data (malicious version 35.3.6). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in devplatform-vite-plugin-external (npm)
What this malware does
The package's main entry (index.js) unconditionally requires./setup on load. setup.js selects an OS/arch-specific endpoint and downloads a binary from a rotating list of Cloudflare Workers hosts (oob-worker.cf99-9b3.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf103-070.workers.dev) whose hostnames are assembled via array-join string splitting to evade static analysis, with a DNS-TXT chunked fallback across sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru. The fetched bytes are written to a temp path under a disguised name ('dotnet_diag_<tag>.exe' on Windows or '.cache_<tag>' on POSIX), chmod 0755, and spawned detached via cmd.exe /c start /b or /bin/sh -c "fp &". There is no hash or signature verification of the downloaded payload; the source hosts are attacker-controlled infrastructure unrelated to the package's stated Vite-plugin purpose. Execution is suppressed by DISABLE_TELEMETRY / ANALYTICS_OPT_OUT / DO_NOT_TRACK environment variables and cached via a marker file with a ~21329s TTL, framing the behavior as telemetry while dropping and running an opaque binary. Any consumer that requires or imports this package triggers full-host code execution under attacker control.
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Credential / info stealerFind it
Search your lockfiles and build artifacts for devplatform-vite-plugin-external (version 35.3.6).
If you installed it — respond
devplatform-vite-plugin-external 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-vite-plugin-external 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-vite-plugin-external-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.