devplatform-nx-sveltenpm
Advisory published Updated
devplatform-nx-svelte is a confirmed malicious npm package (MAL-2026-12729) that opens a backdoor for remote access (malicious version 35.6.8). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in devplatform-nx-svelte (npm)
What this malware does
On require of the package, compat.js constructs C2 hostnames by joining split string fragments to evade static inspection, downloads a platform-specific executable from Cloudflare Workers subdomains (oob-worker.cf1**-***.workers.dev), and falls back to a DNS-TXT covert channel that reassembles base64 chunks from TXT records at c.<subdomain>.dl.wel1.ru / N.<subdomain>.dl.wel1.ru across sdk/ext/pkg/net.dl.wel1.ru. The retrieved bytes are written to a temp path with a disguised name (e.g. dotnet_diag.exe,.cache_), chmodded 755 on Unix, and spawned detached via /bin/sh -c '<path> &' or cmd.exe /c start /b. Cover-story naming (markerPath 'analytics_state', a DISABLE_TELEMETRY opt-out, and a no-op _l logger) frames the dropper as telemetry. The fetch targets are not the package's publisher, the payload is opaque, and there is no integrity verification. The package name resembles legitimate Nx/Svelte tooling but the shipped code performs unauthenticated remote code execution on every installer that imports it.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Backdoor / remote accessFind it
Search your lockfiles and build artifacts for devplatform-nx-svelte (version 35.6.8).
If you installed it — respond
devplatform-nx-svelte establishes remote access, so treat any host that installed it as fully compromised. Isolate the machine, remove the package, rotate all credentials it could reach, and rebuild from a trusted image rather than cleaning in place — a backdoor may have planted additional persistence.
Did it already run?
If devplatform-nx-svelte 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-nx-svelte-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the C2 callback and severs the channel.