postcss-initialize-provider (npm) · Malicious Code
Affects postcss-initialize-providerSource GCVE Database
Malicious package : remove postcss-initialize-provider and rotate any secrets on hosts that installed it.
Data as of 19 Aug 2026, 14:24 UTC
Malicious package
Published to npm · OSV MAL-2026-14261
What to do
Remove postcss-initialize-provider 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 |
|---|---|---|
| npmpostcss-initialize-provider | 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 npm package postcss-initialize-provider version 3.0.4 is a malicious package masquerading as a legitimate PostCSS plugin. It contains heavily obfuscated code that captures Node.js require and module objects globally, imports modules such as http, https, zlib, and child_process, and queries Ethereum blockchain RPC and block explorer endpoints to retrieve attacker-controlled payloads. These payloads are then executed via child_process.spawn, enabling remote code execution. This behavior is unexpected and malicious for a CSS transformation plugin. The package name is a typosquat of the legitimate postcss-initial project, reusing its presentation to deceive users.