Multiple redhat-cloud-services npm Packages compromised
Multiple npm packages in the @redhat-cloud-services scope were compromised with malicious payloads. The attack used preinstall hooks to execute a multi-stage credential harvester targeting cloud and CI/CD platform secrets.
- Disclosed
- Last updated
- Blast radius
- Multiple packages in @redhat-cloud-services npm scope; affects RedHat Cloud Services frontend ecosystem and any projects using these packages
- Ecosystems
- Attack vectors
- Threat actor
- Affected entities
- @redhat-cloud-services (multiple packages)Scope-wide compromise affecting multiple packages in the RedHat Cloud Services namespace
Multiple npm packages under the @redhat-cloud-services scope were found to contain malicious code designed to execute during package installation. The compromise affected several packages across the RedHat Cloud Services frontend ecosystem.\n\nThe malicious payload activates via a preinstall hook that runs automatically when the package is installed via npm. The attack implements a sophisticated multi-stage credential harvester targeting a wide range of valuable secrets and tokens.\n\nThe harvester specifically targets credentials from GitHub Actions secrets, AWS, GCP, Azure, Kubernetes, HashiCorp Vault, npm tokens, and CircleCI tokens. This broad targeting indicates the attacker sought to compromise environments and systems used by downstream organizations.\n\nAny project that installed affected versions of these packages during the compromise window would have had credentials and secrets exposed to the attacker.
Indicators of compromise
- Packages
- @redhat-cloud-services (multiple packages)
Remediation
- Immediately audit npm install logs to identify if any affected @redhat-cloud-services packages were installed
- Rotate all credentials and secrets that may have been exposed (GitHub Actions secrets, AWS keys, GCP credentials, Azure credentials, npm tokens, CircleCI tokens)
- Audit account activity and access logs for unauthorized changes or access
- Upgrade all @redhat-cloud-services packages to patched versions once available
- Review npm package.json dependencies and lock files to identify exact versions that were installed
- Monitor for suspicious activity in connected cloud and CI/CD platforms
Sources
Cite this entry
"Multiple redhat-cloud-services npm Packages compromised." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed June 2, 2026; last updated June 7, 2026. https://supplychainattack.org/incident/multiple-redhat-cloud-services-npm-packages-compromised-1gtdw3
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 eth-codergen
Malware was discovered in the npm package eth-codergen. Systems with this package installed are considered fully compromised and require immediate remediation.
npmCompromised package - containedcritical
Malware in fs-extra-core
Malware was discovered in the npm package fs-extra-core. Systems with this package installed or running are considered fully compromised and require immediate remediation including secret rotation and package removal.
npmCompromised package - containedcritical
Malware in cktool-core
Malware was discovered in the npm package cktool-core. Systems with the package installed or running are considered fully compromised and require immediate remediation.
npmCompromised package - activecritical
Malware in lychee-norm-cache
Malware discovered in the npm package lychee-norm-cache. Systems with this package installed are considered fully compromised and require immediate remediation.
npmCompromised package