MAL-2026-12727 Malicious code in devplatform-nx-spa (npm)
Malicious package
Published
MAL-2026-12727 is a malicious package: devplatform-nx-spa (npm). Every version was published to cause harm.
Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.
Reference: https://insights.sbomify.com/MAL-2026-12727/ (Markdown: https://insights.sbomify.com/MAL-2026-12727/index.md)
- Package
- devplatform-nx-spa
- Registry
- npm
What is MAL-2026-12727?
MAL-2026-12727 is a malicious package in devplatform-nx-spa, published on 5 Aug 2026.
Official description
On require of the package, index.js loads support.js, whose top-level init() selects a platform-specific asset, downloads a native binary from one of four Cloudflare Workers subdomains (oob-worker.cf100-416.workers.dev through cf103), and falls back to reconstructing the binary from base64-encoded DNS TXT records under *.dl.wel1.ru (sdk./ext./pkg./net.dl.wel1.ru) when HTTPS fails. The fetched bytes are written to /var/tmp (POSIX) or %TEMP% (Windows) under a cover filename ('dotnet_diag<rand>.exe' or '.cache_<rand>'), chmod 0755'd on POSIX, and spawned detached via /bin/sh -c or cmd.exe /c start. Hostnames are assembled at runtime via.join("") on split string literals to evade static analysis, and a state file named '.analytics_state' is used as cover. A sibling lib/telemetry.js is unreferenced in this version but reimplements the same drop-and-exec primitives behind an 'analytics SDK' framing.
What should I do about MAL-2026-12727?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.