Skip to main content
MalwarePublished

devplatform-nx-spa (npm) · Malicious Code

Affects devplatform-nx-spaSource GCVE Database

0

Malicious package : remove devplatform-nx-spa and rotate any secrets on hosts that installed it.

Data as of 5 Aug 2026, 16:33 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-12727

What to do

Remove devplatform-nx-spa 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

ProductAffectedFixed in
npmdevplatform-nx-spaAffected
  • =35.8.7
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-spa npm package version 35.8.7 contains malicious code that, upon requiring the package, downloads a native binary from Cloudflare Workers subdomains or reconstructs it from DNS TXT records if HTTPS fails. This binary is saved to temporary directories with obfuscated filenames, given executable permissions, and executed detached from the main process. The package uses runtime string assembly to evade static analysis and employs a state file to conceal its activity. A related telemetry module exists but is unreferenced in this version.

References

Community reviews

Loading reviews…