Read the docs
TI-2025-36746 Aliases CVE-2025-59141GHSA-9g9j-rggx-7fmg

[email protected] contains malware after npm account takeover

Priority MEDIUM 44CWE-506Published · Updated

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

simple-swizzle swizzles function arguments. On 8 September 2025, the npm publishing account for simple-swizzle was taken over after a phishing attack. Version 0.2.3 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 0.2.4.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00406 35th percentileScored 2026-11-07
Fix Fixed simple-swizzle (npm): 0.2.4

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

VendorProductAffected versionsFixed inStatusSource
Qix-node-simple-swizzle= 0.2.3—No fix listedCNA
—simple-swizzle (npm)0.2.3 to before 0.2.40.2.4Patch availableGHSA-9g9j-rggx-7fmg
  • node-simple-swizzle VendorQix- Affected = 0.2.3 Fixed in — No fix listed CNA
  • simple-swizzle (npm) Vendor— Affected 0.2.3 to before 0.2.4 Fixed in 0.2.4 Patch available GHSA-9g9j-rggx-7fmg

Remediation

  • Fix · GHSA-9g9j-rggx-7fmg simple-swizzle (npm) Fixed in 0.2.4 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

Not affected: 15 products
  • Logging Subsystem for Red Hat OpenShift
  • Migration Toolkit for Applications 8
  • OpenShift Serverless
  • Red Hat AMQ Broker 7
  • Red Hat Developer Hub 1
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Red Hat Fuse 7
  • Red Hat JBoss Enterprise Application Platform 8
  • Red Hat JBoss Enterprise Application Platform Expansion Pack
  • Red Hat OpenShift AI (RHOAI)
  • Red Hat OpenShift GitOps
  • Red Hat Single Sign-On 7
  • streams for Apache Kafka 2
  • streams for Apache Kafka 3

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-59141
  2. 2026-10-03 Alias added: GHSA-9g9j-rggx-7fmg
  3. 2026-10-27 Affected versions changed · Red Hat

References

Sources