CVE-2025-59144
JavaScript Análise e mitigação de vulnerabilidades

Visão geral

On September 8, 2025, the npm publishing account for debug was compromised through a phishing attack. The attacker published version 4.4.2 of the debug package, which contained malicious code designed to redirect cryptocurrency transactions to attacker-controlled addresses in browser environments. The package receives approximately 357.6 million downloads per week, making this a significant supply chain security incident (GitHub Advisory, Socket Blog).

Detalhes técnicos

The malicious version 4.4.2 was functionally identical to the previous patch version but included additional code that would execute in browser environments. The malware specifically targeted cryptocurrency transactions and wallets like MetaMask, attempting to redirect funds to attacker-controlled addresses. The attack only affected browser contexts, whether through direct inclusion or via bundling tools such as Babel, Rollup, Vite, and Next.js. Local environments, server environments, and command line applications were not impacted. The vulnerability has been assigned a CVSS v4.0 score of 8.8 (HIGH) with the vector string 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/U:Red (GitHub Advisory).

Impacto

The compromised package potentially affected any web application using the debug package version 4.4.2 in a browser context. Given the package's popularity with 357.6 million weekly downloads, the potential impact was significant. The malware specifically targeted cryptocurrency transactions, attempting to redirect funds to attacker-controlled wallets without any obvious signs to users (Socket Blog).

Mitigação e soluções alternativas

npm removed the malicious package from the registry on September 8, preventing further downloads. On September 13, the package owner published version 4.4.3 to help cache-bust private registries that 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. Organizations operating private registries or registry mirrors should purge the offending versions from their caches (GitHub Advisory).

Reações da comunidade

The security community quickly responded to the incident, with multiple security firms and researchers publishing analyses and alerts. The incident highlighted the ongoing risks of supply chain attacks in the npm ecosystem and the effectiveness of sophisticated phishing attacks, even against experienced maintainers (Socket Blog, Aikido Blog).

Recursos adicionais


OrigemEste relatório foi gerado usando IA

Relacionado JavaScript Vulnerabilidades:

CVE ID

Gravidade

Pontuação

Tecnologias

Nome do componente

Exploração do CISA KEV

Tem correção

Data de publicação

CVE-2025-55182CRITICAL10
  • JavaScriptJavaScript
  • react-server-dom-turbopack
NãoSimDec 03, 2025
CVE-2025-66032HIGH8.7
  • JavaScriptJavaScript
  • @anthropic-ai/claude-code
NãoSimDec 03, 2025
CVE-2025-66412HIGH8.5
  • JavaScriptJavaScript
  • @angular/compiler
NãoSimDec 01, 2025
CVE-2025-66415MEDIUM6.9
  • JavaScriptJavaScript
  • @fastify/reply-from
NãoSimDec 01, 2025
CVE-2025-66404MEDIUM6.4
  • JavaScriptJavaScript
  • mcp-server-kubernetes
NãoSimDec 03, 2025

Avaliação de vulnerabilidade gratuita

Compare sua postura de segurança na nuvem

Avalie suas práticas de segurança na nuvem em 9 domínios de segurança para comparar seu nível de risco e identificar lacunas em suas defesas.

Solicitar avaliação

Marque uma demonstração personalizada

Pronto para ver a Wiz em ação?

"A melhor experiência do usuário que eu já vi, fornece visibilidade total para cargas de trabalho na nuvem."
David EstlickCISO
"A Wiz fornece um único painel de vidro para ver o que está acontecendo em nossos ambientes de nuvem."
Adão FletcherDiretor de Segurança
"Sabemos que se a Wiz identifica algo como crítico, na verdade é."
Greg PoniatowskiChefe de Gerenciamento de Ameaças e Vulnerabilidades