Malicious code in postcss-initial-provider (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-13696
Published--- _-= Per source details. Do not edit below this line.=-_ ## 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', <payload>]). Every sensitive string (module names http/https/child_process, HTTP method, paths /0x/cls and /0x/ls, wallet address, RPC hostnames, header x-payload-b64) is hidden via \uXXXX escapes to evade tarball string scans. A PostCSS plugin for the `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.
- Source published
- 10 Aug 2026 12:23:25 UTC
- Source modified
- 11 Aug 2026 00:50:17 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.