Malware in chain-api-sdk
Malware was discovered in the npm package chain-api-sdk. Systems with this package installed or running should be considered fully compromised, with all secrets and keys requiring immediate rotation from a different computer.
- Disclosed
- Last updated
- Blast radius
- Any system with the package installed or running
- Ecosystems
- Attack vectors
- Affected entities
- chain-api-sdk
The npm package chain-api-sdk was found to contain malware. According to the GitHub Advisory (GHSA-6vrp-3g92-phhf), any computer with this package installed or running should be considered fully compromised.\n\nImmediate action is required: all secrets and keys stored on affected computers must be rotated immediately from a different, uncompromised system. While the 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 advisory was published on July 9, 2026, and indicates the severity is critical due to the potential for complete system compromise and unauthorized access to sensitive credentials and keys.
Indicators of compromise
- Packages
- chain-api-sdk
Remediation
- Immediately rotate all secrets, API keys, and credentials from a different, uncompromised computer
- Remove the chain-api-sdk package from all affected systems
- Audit system logs for unauthorized access or activity during the period the malicious package was installed
- Consider the affected computer(s) as potentially fully compromised and plan for complete system rebuild if critical systems are involved
- Check for any additional malicious software that may have been installed alongside the package
Sources
- GitHub Advisory GHSA-6vrp-3g92-phhf · GitHub Advisory Database
Cite this entry
"Malware in chain-api-sdk." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 9, 2026; last updated July 9, 2026. https://supplychainattack.org/incident/malware-in-chain-api-sdk-bz2vv2
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 chlklib
Malware was discovered in the npm package chlklib, resulting in full system compromise of any computer with the package installed or running. All affected systems should be considered fully compromised and all secrets and keys rotated immediately from a different computer.
npmCompromised package - resolvedcritical
Malware in alphazone
The npm package alphazone contained malware that provided full system compromise to attackers. Any computer with the package installed or running should be considered fully compromised.
npmCompromised package - containedcritical
Malware in chai-as-deployer
Malware was discovered in the npm package chai-as-deployer, 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 - containedcritical
Malware in checkout-common-tokens
Malware was discovered in the npm package checkout-common-tokens. Systems with this package installed are considered fully compromised and require immediate remediation.
npmCompromised package