Malware in chain-sdk-js
Malware was distributed through the npm package chain-sdk-js. Systems with the package installed are considered fully compromised and require immediate remediation.
- Disclosed
- Last updated
- Blast radius
- Any system with the malicious package installed
- Ecosystems
- Attack vectors
- Affected entities
- chain-sdk-jsnpm package
The npm package chain-sdk-js was found to contain malware. According to the GitHub advisory (GHSA-2p8p-vrrr-9f6c), 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 malicious package should be removed, there is no guarantee that removal will eliminate all malicious software that may have been installed as a result of the compromise.\n\nThe incident was published on 2026-07-16 via GitHub's advisory system.
Indicators of compromise
- Packages
- chain-sdk-js
Remediation
- Immediately isolate any system that has chain-sdk-js installed
- Rotate all secrets, API keys, and credentials from a different, uncompromised computer
- Remove the chain-sdk-js package from all affected systems
- Perform a full security audit and malware scan of affected systems
- Review system logs for any unauthorized access or activity during the period the malicious package was installed
- Consider the affected system(s) as potentially fully compromised and plan for complete rebuild if critical systems are involved
Sources
- GitHub Advisory GHSA-2p8p-vrrr-9f6c · GitHub Advisory Database
Cite this entry
"Malware in chain-sdk-js." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 16, 2026; last updated July 17, 2026. https://supplychainattack.org/incident/malware-in-chain-sdk-js-1jb3gm
Suggest a correction
Found an error or have a newer source? Corrections to factual errors take priority over new entries.
Related incidents
- containedcritical
Malware in scan-only
The npm package scan-only was found to contain malware, potentially giving full control of affected systems to an outside entity. Any computer with this package installed or running should be considered fully compromised.
npmCompromised package - containedcritical
Malware in anthropic-claude-latest
The npm package anthropic-claude-latest was found to contain malware, potentially giving attackers full control of affected systems. All systems with this package installed should be considered compromised and require immediate remediation.
npmCompromised package - activecritical
Malware in ai-p2p
Malware discovered in the npm package ai-p2p. Systems with this package installed or running are considered fully compromised and require immediate remediation.
npmCompromised package - containedcritical
Malware in websight2-p2p
Malware was discovered in the npm package websight2-p2p, resulting in full system compromise of 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