LWA-2026-5943 MAL-2026-6357 ↗ confirmed malware

theme-color-picker@2.0.28

Malicious code in theme-color-picker (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1105 · Ingress Tool TransferT1027 · Obfuscated Files or InformationT1053.005 · Scheduled TaskT1564.001 · Hidden Files and DirectoriesT1036.005 · Match Legitimate Resource Name or LocationT1485 · Data Destruction

Analysis

Combosquat package "theme-color-picker" (masquerading as a legitimate chart-analysis library) deploys a trojan via its install hook. On installation, lib/chart-loader.js runs and downloads an encrypted payload from hxxps://github[.]com/Analysis-Chart/analysis-chart/releases/download/v1/payload[.]bin[.]enc. The payload is XOR-decrypted (single-byte key 0x51) and base64-decoded into a DLL (PE file, MZ header validated). The DLL is written to %USERPROFILE%/AppData/Roaming/Microsoft/Windows/ under a random hex filename (crypto.randomBytes(8).hex + '.dll'), then executed via rundll32.exe (detached, hidden window). Persistence is achieved through a scheduled task named "WindowsUpdateService" created via schtasks with /sc onlogon /delay 0005:00 /ru %USERNAME% /rl HIGHEST. The installer then self-destructs: it spawns a detached Node process that deletes the package folder and removes the dependency entry from the parent project's package.json.

analyzed by
Leitwacht
first seen
Jun 23, 2026, 08:19 PM
analyzed
Jun 23, 2026, 08:19 PM

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.