Skip to main content
MalwarePublished

devplatform-prettier-config (npm) · Malicious Code

Affects devplatform-prettier-configSource GCVE Database

0

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

Data as of 5 Aug 2026, 16:37 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-12734

What to do

Remove devplatform-prettier-config 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-prettier-configAffected
  • =35.1.3
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The npm package devplatform-prettier-config version 35.1.3 contains malicious code that downloads and executes a platform-specific binary from obfuscated Cloudflare Workers subdomains or, if that fails, via covert DNS TXT-record channels. The payload is saved to deceptive filenames on the local system and executed without hash or signature verification. This behavior is unrelated to the legitimate prettier or JavaScript tooling ecosystem and is designed to evade detection by suppressing repeated runs via a lock file.

References

Community reviews

Loading reviews…