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-59144

CVE-2025-59144: debug npm Package Malware Vulnerability

CVE-2025-59144 involves a malicious payload in debug npm package version 4.4.2 that targets cryptocurrency transactions in browser environments. This article covers the attack details, affected systems, and remediation steps.

Published: May 11, 2026

CVE-2025-59144 Overview

The debug JavaScript debugging utility on npm was compromised through a supply chain attack on 8 September 2025. Attackers phished the maintainer's npm publishing account and published version 4.4.2 containing a cryptocurrency-stealing payload. The malicious version is functionally identical to the prior release but injects code that redirects cryptocurrency transactions to attacker-controlled wallet addresses in browser environments. The payload targets wallets such as MetaMask. Server-side, command-line, and local Node.js environments are not affected. The compromise is tracked under [CWE-506: Embedded Malicious Code].

Critical Impact

Browser bundles built with the compromised debug@4.4.2 package silently rewrite cryptocurrency transaction destinations, redirecting funds to attacker wallets.

Affected Products

  • debug npm package version 4.4.2
  • Browser bundles produced with Babel, Rollup, Vite, Next.js, or similar bundlers using the compromised version
  • Private npm registries or mirrors that cached debug@4.4.2

Discovery Timeline

  • 8 September 2025 - Maintainer npm account compromised via phishing; malicious debug@4.4.2 published; npm removes the package later that day
  • 13 September 2025 - Maintainer publishes new patch versions to cache-bust private registries holding the compromised release
  • 15 September 2025 - CVE-2025-59144 published to NVD
  • 15 April 2026 - Last updated in NVD database

Technical Details for CVE-2025-59144

Vulnerability Analysis

The compromise is a classic npm supply chain attack rather than a code-level flaw in debug itself. The attacker phished the publishing account for the package and pushed a tampered version through the legitimate npm distribution path. Because debug is a transitive dependency of an enormous portion of the JavaScript ecosystem, the malicious build propagated rapidly into downstream applications and prebuilt browser bundles. The malware is dormant outside of browser contexts, so build pipelines and server runtimes did not exhibit obvious behavioral changes during installation or testing.

Root Cause

The root cause is the takeover of the npm publishing account through credential phishing, combined with the absence of strict provenance verification on consumer installs. Once the attacker controlled the publishing identity, they released debug@4.4.2 with a payload added on top of the legitimate codebase. Downstream consumers received the package through normal npm install flows and built it into production bundles.

Attack Vector

The payload activates in browser execution contexts. When loaded via direct <script> inclusion or bundled by tools such as Babel, Rollup, Vite, or Next.js, the malicious code hooks cryptocurrency wallet interactions in the browser. It inspects outbound transactions handled by wallet extensions including MetaMask and rewrites destination addresses to attacker-controlled wallets before signing. The user sees a normal transaction prompt while funds route to the adversary. No verified proof-of-concept code is published; technical details are available in the GitHub Security Advisory GHSA-4x49-vf9v-38px and the Socket research write-up.

Detection Methods for CVE-2025-59144

Indicators of Compromise

  • Presence of debug@4.4.2 in package-lock.json, yarn.lock, pnpm-lock.yaml, or any node_modules/debug/package.json
  • Cached copies of debug-4.4.2.tgz in private npm registries, registry mirrors, or CI build caches
  • Production browser bundles built between 8 September 2025 and the date of remediation that include debug as a dependency
  • Outbound traffic from end-user browsers to unfamiliar wallet addresses following transaction signing

Detection Strategies

  • Run npm ls debug and npm audit across all repositories and CI pipelines to surface the affected version.
  • Scan deployed JavaScript bundles for the malicious payload patterns documented by Aikido and Ox Security.
  • Inspect Software Bill of Materials (SBOM) artifacts for debug versions matching 4.4.2.

Monitoring Recommendations

  • Alert on any future installs that resolve debug to 4.4.2 from build logs and package manager telemetry.
  • Monitor private registry access logs for downloads of the compromised tarball.
  • Track browser-side exceptions or unexpected modifications to window.ethereum handlers in client telemetry.

How to Mitigate CVE-2025-59144

Immediate Actions Required

  • Upgrade debug to version 4.4.3 or later across all projects.
  • Delete the node_modules directory and reinstall dependencies on every affected workstation, server, and CI runner.
  • Clean the global package manager cache with npm cache clean --force, yarn cache clean, or pnpm store prune.
  • Rebuild and redeploy all browser bundles produced after 8 September 2025 to eliminate any embedded payload.
  • Operators of private registries or mirrors must purge debug@4.4.2 from caches to prevent reinstallation.

Patch Information

The maintainer fixed the issue by republishing clean code as debug@4.4.3 on 13 September 2025. The malicious 4.4.2 release was removed from the public npm registry on 8 September 2025. Refer to GitHub Issue #1005 for the maintainer's incident notes.

Workarounds

  • Pin debug to a known-good version below 4.4.2 (for example 4.4.1) in lockfiles until upgrades to 4.4.3 are verified.
  • Apply Subresource Integrity (SRI) hashes on any browser-loaded <script> includes of debug to block tampered copies.
  • Enforce npm package provenance and require signed publishes in CI to reduce exposure to future maintainer-account takeovers.
bash
# Remediation steps
npm uninstall debug
rm -rf node_modules package-lock.json
npm cache clean --force
npm install debug@^4.4.3
npm ls debug   # confirm 4.4.3 or later is resolved

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechDebug

  • 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 Issue #1005

  • GitHub Security Advisory GHSA-4x49-vf9v-38px

  • 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