tailwind-container-queries (npm) · Malicious Code
Affects tailwind-container-queriesSource GCVE Database
Malicious package : remove tailwind-container-queries and rotate any secrets on hosts that installed it.
Data as of 7 Sep 2026, 16:24 UTC
Malicious package
Published to npm · OSV MAL-2026-15903
What to do
Remove tailwind-container-queries 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
| Product | Affected | Fixed in |
|---|---|---|
| npmtailwind-container-queries | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package tailwind-container-queries version 0.1.1 contains malicious code that, upon requiring the package, executes an obfuscated payload. This payload queries Ethereum RPC endpoints to retrieve IP addresses, fetches XOR-encrypted code from attacker-controlled servers, decrypts and executes it, and establishes a persistent detached Node.js process on the host. The package impersonates a legitimate Tailwind CSS package by copying its README and repository metadata. After execution, the malicious code removes itself from the package file to evade detection. The attacker can rotate command-and-control IP addresses by publishing new Ethereum transactions, maintaining control over the fetched payloads.