MAL-2026-12774 Malicious code in devplatform-spa-plugin-query (npm)
Malicious package
Published
MAL-2026-12774 is a malicious package: devplatform-spa-plugin-query (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-12774/ (Markdown: https://insights.sbomify.com/MAL-2026-12774/index.md)
- Package
- devplatform-spa-plugin-query
- Registry
- npm
What is MAL-2026-12774?
MAL-2026-12774 is a malicious package in devplatform-spa-plugin-query, published on 5 Aug 2026.
Official description
On require() of the package, index.js loads bootstrap.js, which assembles a C2 hostname by string-splitting fragments (oob-worker.cf*.workers.dev), selects a platform-specific payload path (/pkg/package, /pkg/package.exe, /pkg/loader_mac, /pkg/package-arm64), fetches opaque bytes over HTTPS, writes them to a temp path with cover-story names (e.g. dotnet_diag.exe,.cache_), chmods 0755 on Unix or launches via cmd /c start on Windows, and spawns the payload detached via /bin/sh -c. A DNS-TXT chunked-transfer channel (dnsChunked reading c.<domain> and i.<domain> TXT records over sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, net.dl.wel1.ru) is provided as a covert fallback when HTTPS is blocked. No hash or signature verification is performed on the fetched binary.
What should I do about MAL-2026-12774?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.