Skip to main content
MalwarePublished

postcss-initial-provider (npm) · Malicious Code

Affects postcss-initial-providerSource GCVE Database

0

Malicious package : remove postcss-initial-provider and rotate any secrets on hosts that installed it.

Data as of 26 Oct 2026, 16:15 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-13696

What to do

Remove postcss-initial-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

ProductAffectedFixed in
npmpostcss-initial-providerAffected
  • =3.0.4
Fixed in–

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

Description

The postcss-initial-provider npm package version 3.0.4 contains malicious code that executes arbitrary attacker-controlled payloads on any host that installs it. The package includes obfuscated code that queries Ethereum public RPC endpoints for transactions from a hardcoded wallet address, extracts IP addresses from the transaction data, fetches an XOR-encrypted payload from those IPs, decrypts it, and executes it both in-process and as a detached Node.js process. This behavior is unrelated to the package's legitimate functionality and represents a supply-chain compromise.

References

Community reviews

Loading reviews…