Skip to content
supplychainattack.orgSupply chain attack incident catalog
containedcritical

Malware in cmp-api-stub

Malware was discovered in the npm package cmp-api-stub. Systems with this package installed or running should be considered fully compromised, requiring immediate rotation of all secrets and keys from a different computer.

ShareXLinkedInHacker News
Disclosed
Last updated
Blast radius
Any system with the package installed or running
Ecosystems
Attack vectors
Affected entities
  • cmp-api-stub

A malware-laden version of the npm package cmp-api-stub was published and made available to users. The package grants full control of affected systems to an outside entity.\n\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on affected systems should be rotated immediately from a different, unaffected computer.\n\nWhile the package should be removed, complete removal of all malicious software resulting from the installation cannot be guaranteed, as the attacker may have established persistent access to the system.\n\nThis incident was disclosed via GitHub Advisory GHSA-q9xg-g7r9-mqrx on 2026-06-29.

Indicators of compromise

Packages
  • cmp-api-stub

Remediation

  • Immediately remove the cmp-api-stub package from all systems
  • Rotate all secrets, API keys, and credentials from a different, unaffected computer
  • Perform a full security audit and malware scan of any system that had the package installed
  • Review system logs and network traffic for signs of unauthorized access or data exfiltration
  • Consider the affected system(s) as potentially fully compromised and plan for complete rebuild if critical infrastructure

Sources

  1. GitHub Advisory GHSA-q9xg-g7r9-mqrx · GitHub Advisory Database

Cite this entry

"Malware in cmp-api-stub." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed June 29, 2026; last updated June 29, 2026. https://supplychainattack.org/incident/malware-in-cmp-api-stub-1kw9c2

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 test2221 (npm)

    The npm package test2221 version 2.2.4 was identified as malicious by the OpenSSF Package Analysis project. The package executes commands associated with malicious behavior.

    npmCompromised package
  2. containedcritical

    Malware in n8n-nodes-trust-me-im-totally-safe

    Malware was discovered in the npm package n8n-nodes-trust-me-im-totally-safe, resulting in full system compromise for any computer with the package installed or running. All secrets and keys on affected systems should be rotated immediately from a different computer.

    npmCompromised package
  3. activecritical

    Malware in litespeed-cache

    Malware discovered in the npm package litespeed-cache. The package grants full system compromise to attackers, requiring immediate removal and credential rotation from a clean system.

    npmCompromised package
  4. containedcritical

    Malware in open-worker-cli

    Malware was discovered in the npm package open-worker-cli. Systems with this package installed or running should be considered fully compromised, with all secrets and keys requiring immediate rotation from a different computer.

    npmCompromised package