theme-color-picker (npm) · Malicious Code
Affects theme-color-pickerSource GCVE Database
Malicious package : remove theme-color-picker and rotate any secrets on hosts that installed it.
Data as of 26 Jun 2026, 22:33 UTC
Malicious package
Published to npm · OSV MAL-2026-6357
What to do
Remove theme-color-picker 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 |
|---|---|---|
| npmtheme-color-picker | 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 'theme-color-picker' versions 2.0.28, 2.0.30, and 2.0.31 contains malicious code masquerading as a color picker. Instead of its stated functionality, it includes a Windows dropper that downloads, decrypts, and executes a malicious DLL with persistence via a scheduled task named 'WindowsUpdateService'. The package self-removes from node_modules and the root package.json to evade detection. Systems running npm install on these versions are fully compromised.