Skip to content
supplychainattack.orgSupply chain attack incident catalog
containedcritical

Malware in portway

Malware was discovered in the npm package portway, resulting in full system compromise for any installation. The package should be removed immediately and all secrets and keys rotated from a different computer.

ShareXLinkedInHacker News
Disclosed
Last updated
Blast radius
Any system with portway installed or running
Ecosystems
Attack vectors
Affected entities
  • portwaynpm package

A critical malware incident was identified in the npm package portway. According to the GitHub Advisory (GHSA-j5q6-x29x-2v5x), any computer with this package installed or running should be considered fully compromised.\n\nThe advisory recommends immediate action: all secrets and keys stored on affected computers should be rotated 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 severe implications for system integrity and security.

Indicators of compromise

Packages
  • portway

Remediation

  • Remove the portway package immediately from all systems
  • Rotate all secrets, keys, and credentials from a different, uncompromised computer
  • Assume full system compromise and conduct forensic analysis
  • Review system logs for unauthorized access or activity
  • Consider full system rebuild if critical infrastructure or sensitive data is involved
  • Monitor for any persistence mechanisms left by the malware

Sources

  1. GitHub Advisory GHSA-j5q6-x29x-2v5x · GitHub Advisory Database

Cite this entry

"Malware in portway." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 31, 2026; last updated August 1, 2026. https://supplychainattack.org/incident/malware-in-portway-19y43l

Suggest a correction

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

  1. resolvedcritical

    Malware in test-dev-exec

    The npm package test-dev-exec contained malware that provided full system compromise to attackers. Any computer with this package installed or running should be considered fully compromised.

    npmCompromised package
  2. resolvedcritical

    Malware in test-dev-link

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

    npmCompromised package
  3. resolvedcritical

    Malware in @moxfive-llc/common

    Malware was discovered in the npm package @moxfive-llc/common. Any computer with this package installed or running should be considered fully compromised. All secrets and keys must be rotated immediately from a different computer.

    npmCompromised package
  4. resolvedcritical

    Malware in test-dev-dispatch

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

    npmCompromised package