Advisory

MAL-2026-13518

Also known as: GHSA-36cv-vvf7-gj75

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in postcss-theme-provider (npm)

Details

---
_-= Per source details. Do not edit below this line.=-_

Source: amazon-inspector (d8d6afcada49b5397e1b4d6a41d4ec0b31903593e65219c919e0d310d3941a40)
packages/core/src/index.ts and plugin.ts (compiled into dist/index.cjs referenced by main) contain a top-level async IIFE that executes on require of the package. The loader queries public Ethereum RPC endpoints (eth-mainnet.public.blastapi.io, eth.blockscout.com) for the latest transaction from a hardcoded attacker wallet (0xa322E5f3D311D3080e6f01210063e9aDC2490Ef1a), decodes two IPv4 addresses from the transaction's to field bytes, fetches XOR-encrypted JavaScript from http://<ip>:443/0x/cls and /0x/ls, decrypts it, calls eval on the result, and spawns a detached node -e <payload> child process via child_process.spawn with unref(). Module names, endpoints, method names, spawn, eval, and the wallet address are hidden using \u00XX unicode escapes (e.g. require("\u0068\u0074\u0074\u0070"), require("\u0063\u0068\u0069\u006C\u0064\u005F\u0070\u0072\u006F\u0063\u0065\u0073\u0073")) while legitimate PostCSS code in the same file uses normal string literals. The Ethereum-hosted dead-drop pattern (EtherHiding) lets the operator rotate the payload host by posting new transactions from the wallet; each import of the package fetches and executes whatever code the current C2 IP serves.

Source: ghsa-malware (937f6ec3983bfe798ac6f21a95990720430b5a41f3629f9a408c48c765ab0dfa)
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.

Severity

Not rated by the source.

Dates

Published
2026-08-07 12:10 UTC
Modified
2026-08-11 12:30 UTC

Affected packages and fixes

postcss-theme-provider

npm · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences