Malicious code in postcss-initial-provider (npm)
MAL-2026-13696 · GHSA-44hx-h55m-c65w
Published · Modified
Dependency scanning
Check whether postcss-initial-provider is in your codebase
Corgea flags malicious and compromised dependencies with reachability analysis, so you fix the packages that actually run in your application instead of working through the whole lockfile.
Description
__
Source: amazon-inspector (e88db5eb44ddcfa3cd22d46e8b6e6a1cd2e7da25a5942d35550d50f2cbbb9ea3)
index.js contains a unicode-escape-obfuscated block that runs when the package is required. It queries public Ethereum RPC endpoints (1rpc.io/eth, eth.drpc.org, ethereum-rpc.publicnode.com, eth-mainnet.public.blastapi.io, eth.blockscout.com/api) for the latest transaction of the hardcoded wallet 0xa322E5f3D311D3080e6f0121063e9aDC2490Ef1a, parses the destination-address bytes of that transaction as two IPv4 addresses, fetches an XOR-encrypted payload from those hosts over HTTP, decrypts it, and executes it both via in-process eval() and via a detached spawn('node', ['-e', initial keyword has no legitimate need to read Ethereum state, resolve an IP from a wallet transaction, or execute remote payloads via node. This is a supply-chain compromise: any installer that requires this package receives arbitrary attacker-controlled code execution on their host, with the C2 rendezvous point rotatable by the attacker via a new on-chain transaction.
Source: ghsa-malware (aad7afc06fa220be19ff002e973306b7c0945721a33c9561a7e98441949cc905)
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
References
Ready to move
Start Securing
Free, no credit card | First findings in minutes