[email protected] contains malware after npm account takeover
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Low · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-506.
Summary
color-convert provides plain color conversion functions in JavaScript. On 8 September 2025, the npm publishing account for color-convert was taken over after a phishing attack. Version 3.1.1 was published, functionally identical to the previous patch version, but with a malware payload added attempting to redirect cryptocurrency transactions to the attacker's own addresses from within browser environments. Local environments, server environments, command line applications, etc. are not affected. If the package was used in a browser context (e.g. a direct <script> inclusion, or via a bundling tool such as Babel, Rollup, Vite, Next.js, etc.) there is a chance the malware still exists and such bundles will need to be rebuilt. The malware seemingly only targets cryptocurrency transactions and wallets such as MetaMask. npm removed the offending package from the registry over the course of the day on 8 September, preventing further downloads from npm proper. On 13 September, the package owner published new patch versions to help cache-bust those using private registries who might still have the compromised version cached. Users should update to the latest patch version, completely remove their node_modules directory, clean their package manager's global cache, and rebuild any browser bundles from scratch. Those operating private registries or registry mirrors should purge the offending versions from any caches. This issue is resolved in 3.1.2.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Qix- | color-convert | = 3.1.1 | — | No fix listed | CNA |
| — | color-convert (npm) | 3.1.1 to before 3.1.2 | 3.1.2 | Patch available | GHSA-pxx3-g568-hxr4 |
- color-convert VendorQix- Affected = 3.1.1 Fixed in — No fix listed CNA
- color-convert (npm) Vendor— Affected 3.1.1 to before 3.1.2 Fixed in 3.1.2 Patch available GHSA-pxx3-g568-hxr4
Remediation
- Fix · GHSA-pxx3-g568-hxr4 color-convert (npm) Fixed in 3.1.2 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
Not affected: 53 products
- Cryostat 4
- Gatekeeper 3
- Logging Subsystem for Red Hat OpenShift
- Migration Toolkit for Applications 7
- Migration Toolkit for Applications 8
- Migration Toolkit for Containers
- Migration Toolkit for Virtualization
- Multicluster Engine for Kubernetes
- Multicluster Global Hub
- Network Observability Operator
- Node HealthCheck Operator
- OpenShift Lightspeed
- OpenShift Pipelines
- OpenShift Serverless
- OpenShift Service Mesh 2
- OpenShift Service Mesh 3
- Red Hat AMQ Broker 7
- Red Hat Advanced Cluster Management for Kubernetes 2
- Red Hat Advanced Cluster Security 4
- Red Hat Ansible Automation Platform 2
- Red Hat Ceph Storage 6
- Red Hat Ceph Storage 7
- Red Hat Ceph Storage 8
- Red Hat Connectivity Link 1
- Red Hat Data Grid 8
- Red Hat Developer Hub 1
- Red Hat Directory Server 11
- Red Hat Discovery 1
- Red Hat Discovery 2
- Red Hat Edge Manager preview
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Fuse 7
- Red Hat JBoss Enterprise Application Platform 7
- Red Hat JBoss Enterprise Application Platform 8
- Red Hat JBoss Enterprise Application Platform Expansion Pack
- Red Hat OpenShift AI (RHOAI)
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Dev Spaces
- Red Hat OpenShift GitOps
- Red Hat OpenShift Virtualization 4
- Red Hat Openshift Data Foundation 4
- Red Hat Process Automation 7
- Red Hat Quay 3
- Red Hat Single Sign-On 7
- Red Hat Trusted Artifact Signer
- Red Hat Trusted Profile Analyzer
- Red Hat build of Apache Camel - HawtIO 4
- Red Hat build of Apicurio Registry 2
- Red Hat build of OptaPlanner 8
- streams for Apache Kafka 2
- streams for Apache Kafka 3
Timeline
- 2026-10-02 Threatist record created from CVE-2025-59162
- 2026-10-03 Alias added: GHSA-pxx3-g568-hxr4
- 2026-10-27 Affected versions changed · Red Hat
References
Other 6
- https://github.com/Qix-/color-convert/security/advisories/GHSA-pxx3-g568-hxr4
- https://github.com/debug-js/debug/issues/1005
- https://socket.dev/blog/npm-author-qix-compromised-in-major-supply-chain-attack
- https://www.aikido.dev/blog/npm-debug-and-chalk-packages-compromised
- https://www.ox.security/blog/npm-packages-compromised
- https://github.com/Qix-/color-convert
More Qix- vulnerabilities
- TI-2025-36893 [email protected] contains malware after npm account takeover CVSS 4.0HIGH 8.8
- TI-2025-36892 [email protected] contains malware after npm account takeover CVSS 4.0HIGH 8.8
- TI-2025-36748 [email protected] contains malware after npm account takeover CVSS 4.0HIGH 8.8
- TI-2025-36747 [email protected] contains malware after npm account takeover CVSS 4.0HIGH 8.8
- TI-2025-36746 [email protected] contains malware after npm account takeover CVSS 4.0HIGH 8.8
- TI-2025-36745 [email protected] contains malware after npm account takeover CVSS 4.0HIGH 8.8
Sources
- CVE-2025-59162 · CVE Program
- CVE-2025-59162 · NVD
- FIRST EPSS
- GHSA-pxx3-g568-hxr4 · GitHub Advisory Database · CC BY 4.0
- CVE-2025-59162 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences