CVE-2025-59144 Details
Description
debug is a JavaScript debugging utility. On 8 September 2025, the npm publishing account for debug was taken over after a phishing attack. Version 4.4.2 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 upgrade 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 has been resolved in 4.4.3.
A supply chain attack has compromised the popular JavaScript debugging utility 'debug' and several related npm packages. This attack, which followed a phishing incident targeting the package maintainer, led to the injection of malware in version 4.4.2 of 'debug' and in 18 other packages. The malicious code, designed to intercept and manipulate cryptocurrency transactions, has been removed from the npm registry, but not before causing potential harm to users. The malware specifically targets transactions in browser environments, redirecting funds to attacker-controlled wallets, while applications running in local or server environments are not affected.
Users should upgrade to 'debug' version 4.4.3, remove the 'node_modules' directory, clean the package manager's global cache, and rebuild any browser bundles from scratch. Those operating private registries or registry mirrors should purge the compromised versions from any caches.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 15, 2025CISA-ADP
Assessed Sep 15, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| http://www.openwall.com/lists/oss-security/2026/09/23/8 | CVE | |
| https://github.com/debug-js/debug/issues/1005 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/debug-js/debug/security/advisories/GHSA-4x49-vf9v-38px | [email protected] | AdvisoryRemedyVendor |
| https://socket.dev/blog/npm-author-qix-compromised-in-major-supply-chain-attack | [email protected] | BundleMedia CoverageTechnical Analysis |
| https://www.aikido.dev/blog/npm-debug-and-chalk-packages-compromised | [email protected] | BundleRemedyTechnical Analysis |
| https://www.ox.security/blog/npm-packages-compromised | [email protected] | BundleMedia CoverageRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-506 | Embedded Malicious Code | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| debug | 4.4.2 (semver) |
CPE
Remediation
| |
| chalk | All versions |
CPE
Remediation
| |
| chalk-template | All versions |
CPE
Remediation
| |
| color-convert | All versions |
CPE
Remediation
| |
| color-name | All versions |
CPE
Remediation
| |
| color-string | All versions |
CPE
Remediation
| |
| simple-swizzle | All versions |
CPE
Remediation
| |
| supports-hyperlinks | All versions |
CPE
Remediation
| |
| has-ansi | All versions |
CPE
Remediation
| |
| error-ex | All versions |
CPE
Remediation
| |
| is-arrayish | All versions |
CPE
Remediation
| |
| slice-ansi | All versions |
CPE
Remediation
| |
| strip-ansi | All versions |
CPE
Remediation
| |
| supports-color | All versions |
CPE
Remediation
| |
| backslash | All versions |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Sep 23, 2026 | CVE Modified | [email protected] |
| Sep 23, 2026 | CVE Modified | CVE |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Sep 15, 2025 | New CVE Received | [email protected] |
Volerion