The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-59143

CVE-2025-59143: Color Library Malware Injection Vulnerability

CVE-2025-59143 involves malicious code injected into the color JavaScript library via a compromised npm account, targeting cryptocurrency transactions in browser environments. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: May 11, 2026

CVE-2025-59143 Overview

CVE-2025-59143 affects the color npm package, a widely used JavaScript color conversion and manipulation library. Attackers compromised the maintainer's npm publishing account through a phishing attack and published version 5.0.1 containing a malicious payload. The compromised version is functionally identical to the previous patch release but injects malware that targets cryptocurrency transactions and wallets such as MetaMask inside browser contexts. The supply chain compromise is tracked under CWE-506: Embedded Malicious Code.

Critical Impact

Browser bundles built with the compromised color@5.0.1 redirect cryptocurrency transactions to attacker-controlled wallet addresses, exposing end-user funds.

Affected Products

  • color npm package version 5.0.1
  • Browser applications bundled with the compromised version using Webpack, Rollup, Vite, Babel, or Next.js
  • Private npm registries and mirrors that cached the malicious version

Discovery Timeline

  • 2025-09-08 - npm publishing account compromised via phishing; malicious color@5.0.1 published
  • 2025-09-08 - npm removes the offending package from the public registry
  • 2025-09-13 - Package owner publishes new patch versions to cache-bust private registries
  • 2025-09-15 - CVE-2025-59143 published to NVD
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2025-59143

Vulnerability Analysis

The color package itself does not contain a code defect. Instead, attackers compromised the maintainer's npm publishing credentials and pushed a tampered release. The malicious 5.0.1 build behaves identically to the legitimate previous patch version at the API level. The injected payload activates only inside browser runtime contexts, leaving Node.js servers, command line tools, and local scripts unaffected.

Once loaded in a browser, the payload hooks cryptocurrency wallet interactions and rewrites transaction destinations. The malware specifically targets web3 providers such as MetaMask, intercepting outgoing transfers and substituting attacker-controlled addresses. Because color is a transitive dependency for thousands of downstream packages, the blast radius extends to any web application that rebuilt bundles while the malicious version was live in the registry.

Root Cause

The root cause is account takeover of an npm maintainer through credential phishing, followed by publication of a trojanized package version. This is a software supply chain attack rather than a code-level flaw, and it abuses the implicit trust placed in npm publishers by downstream consumers.

Attack Vector

The attack vector is dependency resolution. Any build pipeline that ran npm install, yarn install, or pnpm install between 8 September 2025 and the registry removal could pull color@5.0.1 into a browser bundle. The malware then ships to end users through the application's static assets and executes in their browsers when they interact with cryptocurrency wallets. For technical specifics see the GitHub Security Advisory GHSA-qrmh-qg46-72pp and the Socket analysis of the qix maintainer compromise.

Detection Methods for CVE-2025-59143

Indicators of Compromise

  • Presence of color@5.0.1 in package-lock.json, yarn.lock, or pnpm-lock.yaml
  • Browser bundles built between 2025-09-08 and the registry removal that include the color library
  • Outbound web3 transactions in user telemetry where destination addresses do not match user input
  • Cached copies of color@5.0.1 in internal Verdaccio, Nexus, Artifactory, or other private registry mirrors

Detection Strategies

  • Run npm ls color across all JavaScript projects to enumerate the resolved version
  • Scan built JavaScript artifacts in CDNs and static asset stores for the malicious payload signature referenced in the Aikido write-up
  • Integrate software composition analysis into CI to fail builds that resolve to color@5.0.1
  • Review npm audit logs and lockfile diffs in source control between 8 and 13 September 2025

Monitoring Recommendations

  • Alert on dependency lockfile changes that introduce new versions of packages from the affected maintainer's namespace
  • Monitor browser-side error and network telemetry for anomalous calls to wallet provider APIs
  • Track newly added wallet addresses in transaction logs against known attacker indicator lists published by OX Security

How to Mitigate CVE-2025-59143

Immediate Actions Required

  • Upgrade color to version 5.0.2 or later across all projects
  • Delete the local node_modules directory and reinstall dependencies from a clean state
  • Purge the package manager global cache with npm cache clean --force, yarn cache clean, or pnpm store prune
  • Rebuild and redeploy all browser bundles that may have been produced while 5.0.1 was live
  • Purge color@5.0.1 from any private registry, registry mirror, or build cache

Patch Information

The issue is resolved in color@5.0.2. The maintainer published additional patch versions on 13 September 2025 specifically to cache-bust private registries that may have mirrored the malicious release. Consumers must verify resolution after upgrading by inspecting lockfiles and rebuilt artifacts.

Workarounds

  • Pin color to a known-good version prior to 5.0.1 using exact version constraints in package.json
  • Block color@5.0.1 explicitly in registry proxy policies or via tools such as Socket or Snyk
  • Require signed commits and two-factor authentication enforcement for all maintainers of internally mirrored packages
bash
# Configuration example
npm install color@^5.0.2
rm -rf node_modules
npm cache clean --force
npm ci
npm ls color

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechColor

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.10%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N/E:A/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Red
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-506
  • Technical References
  • GitHub Security Advisory

  • GitHub Issue Discussion

  • Socket Blog Supply Chain Attack

  • Aikido Blog Compromised Packages

  • OX Security Blog Compromised Packages
  • Latest CVEs
  • CVE-2026-8468: Elixir Plug Library DoS Vulnerability

  • CVE-2026-8295: simdjson Information Disclosure Vulnerability

  • CVE-2025-68421: Comarch ERP Optima Auth Bypass Vulnerability

  • CVE-2025-68420: Comarch ERP Optima Privilege Escalation
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English