devplatform-nx-svelte (npm) · Malicious Code
Affects devplatform-nx-svelteSource GCVE Database
Malicious package : remove devplatform-nx-svelte and rotate any secrets on hosts that installed it.
Data as of 5 Aug 2026, 16:33 UTC
Malicious package
Published to npm · OSV MAL-2026-12729
What to do
Remove devplatform-nx-svelte from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmdevplatform-nx-svelte | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The devplatform-nx-svelte npm package version 35.6.8 contains malicious code that performs unauthenticated remote code execution upon import. It constructs command-and-control hostnames dynamically to evade detection, downloads a platform-specific executable from suspicious Cloudflare Workers subdomains, and uses a DNS-TXT covert channel as a fallback to retrieve payload data. The payload is saved with disguised filenames, given executable permissions on Unix, and executed detached from the main process. The package masquerades as legitimate Nx/Svelte tooling and includes misleading telemetry-related naming to conceal its malicious behavior. No integrity verification is performed on the downloaded payload.