Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in postcss-initial-provider (npm)

0
Critical
Published: 08/10/2026 (08/10/2026, 12:23:25 UTC)
Source: GCVE Database
Product: postcss-initial-provider

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.

Affected software

npmghsa
postcss-initial-provider
Affected versions
=3.0.4

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/10/2026, 15:56:32 UTC

Technical Analysis

The postcss-initial-provider npm package version 3.0.4 includes a malicious code block in its index.js file that is obfuscated using unicode escapes to evade detection. Upon requiring the package, it queries multiple public Ethereum RPC endpoints for the latest transaction of a specific hardcoded wallet address. It parses the transaction's destination address bytes as two IPv4 addresses, then fetches an XOR-encrypted payload from these IPs over HTTP. The payload is decrypted and executed both via eval() within the process and by spawning a detached Node.js process with the payload as code. This allows arbitrary code execution controlled by the attacker, with the command-and-control (C2) infrastructure dynamically controlled via on-chain Ethereum transactions. The malicious behavior is unrelated to the package's intended PostCSS plugin functionality, indicating a supply-chain compromise.

Potential Impact

Any system that installs postcss-initial-provider version 3.0.4 is at risk of arbitrary code execution by an attacker. This can lead to full compromise of the host environment, unauthorized access, data theft, or further malware deployment. The attacker can dynamically change the C2 servers by updating the Ethereum blockchain transactions, making detection and mitigation more difficult. This supply-chain attack affects all users of this specific package version.

Mitigation Recommendations

No official patch or remediation is currently documented for this malicious package version. Users should immediately remove and avoid installing postcss-initial-provider version 3.0.4. Audit and verify dependencies in your supply chain to exclude this compromised package. Monitor for any signs of compromise if this package was previously installed. Check vendor advisories or trusted security sources for updates or official fixes.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-13696
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a79f0d3bf8831d539f6105a

Added to database: 08/10/2026, 15:40:03 UTC

Last enriched: 08/10/2026, 15:56:32 UTC

Last updated: 08/10/2026, 15:56:32 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses