Skip to content
supplychainattack.orgSupply chain attack incident catalog
containedcritical

Malware in api-rs-node

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

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

The npm package api-rs-node was found to contain malware. According to the GitHub Advisory (GHSA-r648-cv89-gjg2), any computer with this package installed or running should be considered fully compromised.\n\nThe advisory recommends that all secrets and keys stored on affected computers be rotated immediately from a different, uncompromised system. While the package should be removed, the advisory notes that full control of the computer may have been given to an outside entity, meaning removal of the package alone may not eliminate all malicious software that resulted from the installation.\n\nThis represents a critical supply chain attack through a compromised npm package with potential for complete system takeover.

Indicators of compromise

Packages
  • api-rs-node

Remediation

  • Remove the api-rs-node package immediately from all systems
  • Rotate all secrets, API keys, and credentials from a clean, uncompromised computer
  • Assume full system compromise and conduct forensic analysis
  • Review system logs for unauthorized access or activity during the period the package was installed
  • Consider the affected system(s) potentially compromised and plan for rebuild/replacement if critical infrastructure

Sources

  1. GitHub Advisory GHSA-r648-cv89-gjg2 · GitHub Advisory Database

Cite this entry

"Malware in api-rs-node." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed June 17, 2026; last updated June 20, 2026. https://supplychainattack.org/incident/malware-in-api-rs-node-1irmle

Suggest a correction

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

  1. containedcritical

    Malware in ethereum-gas-reporter

    Malware was discovered in the ethereum-gas-reporter npm package. Any computer with this package installed or running should be considered fully compromised, requiring immediate rotation of all secrets and keys from a different system.

    npmCompromised package
  2. containedcritical

    Malware in eth-util

    Malware was discovered in the eth-util npm package. Any computer with this package installed or running should be considered fully compromised, with all secrets and keys requiring immediate rotation from a different system.

    npmCompromised package
  3. containedcritical

    Malware in ts-big-ecro

    The npm package ts-big-ecro contained malware that fully compromised any system where it was installed. All secrets and keys on affected systems should be rotated immediately, and the package should be removed.

    npmCompromised package
  4. containedcritical

    Malware in ts-esys

    Malware was discovered in the npm package ts-esys. Systems with this package installed or running are considered fully compromised and require immediate remediation.

    npmCompromised package