Skip to content
supplychainattack.orgSupply chain attack incident catalog
activecritical

Malware in clsx-js

Malware discovered in the npm package clsx-js. Systems with this package installed are considered fully compromised and require immediate remediation.

ShareXLinkedInHacker News
Disclosed
Last updated
Blast radius
Any system with clsx-js installed or running
Ecosystems
Attack vectors
Affected entities
  • clsx-jsnpm package

A malware-laden version of the npm package clsx-js has been identified and published to the npm registry. The package is flagged as critical severity by GitHub's advisory system.\n\nAccording to the advisory, any computer with this package installed or running should be considered fully compromised. The malware grants outside entities full control of affected systems.\n\nImmediate remediation requires rotating all secrets and keys from a different, uncompromised computer, and removing the package. However, due to the level of system compromise, removal of the package alone may not eliminate all malicious software installed as a result of the initial compromise.

Indicators of compromise

Packages
  • clsx-js

Remediation

  • Immediately rotate all secrets, keys, and credentials from a different, uncompromised computer
  • Remove the clsx-js package from all affected systems
  • Conduct a full security audit and malware scan of all systems that had clsx-js installed
  • Review system logs and network traffic for signs of unauthorized access or data exfiltration
  • Consider full system reimaging if compromise is confirmed

Sources

  1. GitHub Advisory GHSA-8jmh-pvvx-wjrf · GitHub Advisory Database

Cite this entry

"Malware in clsx-js." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed June 9, 2026; last updated June 9, 2026. https://supplychainattack.org/incident/malware-in-clsx-js-v29yur

Suggest a correction

Found an error or have a newer source? Corrections to factual errors take priority over new entries.

  1. resolvedcritical

    Malicious code in sme-rko-finance-front-operations-special-payments (npm)

    The npm package sme-rko-finance-front-operations-special-payments contained malicious code that downloads and executes platform-specific binaries from attacker-controlled infrastructure upon require(). The package employed obfuscation techniques to evade static analysis and included dual dropper paths in both index.js and lib/telemetry.js.

    npmCompromised package
  2. activecritical

    Malware in bnpl-blocks-desktop-bnpl-anchor-title

    Malware discovered in the npm package bnpl-blocks-desktop-bnpl-anchor-title. Systems with this package installed are considered fully compromised and require immediate remediation.

    npmCompromised package
  3. containedcritical

    Malicious code in sme-rko-finance-front-operations-notifications-models (npm)

    The npm package sme-rko-finance-front-operations-notifications-models contained malicious code that acts as a native-binary dropper, downloading and executing platform-specific binaries from attacker-controlled Cloudflare Workers domains and DNS fallback servers upon package require.

    npmCompromised package
  4. resolvedcritical

    Malicious code in sme-rko-finance-front-operations-penalty (npm)

    The npm package sme-rko-finance-front-operations-penalty contained malicious code that downloads and executes platform-specific binaries on require(). The dropper uses obfuscated string concatenation and DNS fallback channels to retrieve payloads from attacker-controlled infrastructure.

    npmCompromised package