Skip to main content
MalwarePublished Updated

colorpicker-ui (npm) · Malicious Code

Affects colorpicker-uiSource GCVE Database

0

Malicious package : remove colorpicker-ui and rotate any secrets on hosts that installed it.

Data as of 19 Aug 2026, 14:58 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-6473

What to do

Remove colorpicker-ui 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

ProductAffectedFixed in
npmcolorpicker-uiAffected
  • =1.2.4
  • =1.2.5
  • =1.2.6
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 colorpicker-ui versions 1.2.4, 1.2.5, and 1.2.6 contains malicious code in its postinstall script. This script steals sensitive credentials and system information, including Kubernetes service-account tokens, AWS instance metadata, and local system files. It then writes this data into files designed to be auto-imported by AI coding-agent sandbox workspaces, enabling arbitrary code execution and exfiltration of secrets. The package's advertised color-picker functionality is a cover for this malicious behavior.

References

Community reviews

Loading reviews…