LWA-2026-5346 MAL-2026-6899 ↗ confirmed malware

twcompose-utils@0.7.6

Malicious code in twcompose-utils (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1082 · System Information DiscoveryT1105 · Ingress Tool TransferT1071.001 · Web Protocols

Analysis

twcompose-utils is a combosquat impersonating the @tailwindcss/typography plugin for Tailwind CSS. Its src/index.js exports the legitimate plugin code normally, but appends an obfuscated payload (javascript-obfuscator) that runs 100ms after the module is required. The payload detects the operating system (Windows/macOS/Linux) and CPU architecture (amd64/arm64), decrypts a C2 download URL from an embedded encrypted string table, fetches a platform-specific binary via HTTPS (fetch), writes it to a hidden path under the user's home directory, and executes it as a detached, hidden-window process with the full environment inherited. The binary runner has access to all environment variables including any credentials/tokens the user has set.

analyzed by
Leitwacht
first seen
Jun 15, 2026, 08:53 AM
analyzed
Jun 15, 2026, 08:55 AM

Related advisories

browse all confirmed advisories →

Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.