Red Hat disclosed on 1 June 2026 that 32 @redhat-cloud-services npm packages, frontend libraries for the Hybrid Cloud Console, were compromised with the Miasma (Mini Shai-Hulud) malware kit after a malicious VS Code extension took over an employee's GitHub account on 29 May. Red Hat says no product build or console release included the bad versions and that its customers need take no action. Developers who installed an affected version into their own projects should rotate CI, cloud, npm and SSH credentials on that machine.
| Disclosed | June 1, 2026 |
|---|---|
| Earliest known activity | May 29, 2026 |
| Affected | Red Hat, @redhat-cloud-services/frontend-components, @redhat-cloud-services/chrome, npm, GitHub Actions |
| Type | Supply chain |
| Status | Resolved |
What was exposed
Credentials on any machine or CI runner that installed an affected version. Aikido found a preinstall script running a 4.2 MB obfuscated index.js that targeted GitHub Actions secrets (including GITHUB_TOKEN and ACTIONS_RUNTIME_TOKEN), AWS keys and session tokens, Google Cloud application-default credentials and service-account key files, Azure service principal credentials and managed identity tokens, Vault tokens, Kubernetes tokens and kubeconfig files, npm and PyPI publish tokens, SSH and GPG private keys, Docker registry credentials and .env files. Aikido says the attacker pushed orphan commits adding ci.yaml and _index.js that requested a short-lived OIDC token and published through npm trusted publishing, so no npm token was stolen. Red Hat adds that repository configuration files were altered so that developers who opened those directories would be infected. Red Hat says its publication process strips install-time scripts, no console release went out in the window, and Azure Red Hat OpenShift, OpenShift Dedicated, ROSA, Advanced Cluster Security Cloud Service and Ansible Automation Platform on Cloud were not affected.
Am I affected?
Red Hat customers using its products and managed services are not affected, according to Red Hat. You may be affected if your own project or CI installed an affected version from Aikido's list, for example @redhat-cloud-services/frontend-components 7.7.2 or 7.7.3, @redhat-cloud-services/chrome 2.3.1 or 2.3.2, or @redhat-cloud-services/rbac-client 9.0.3 or 9.0.4, or if you cloned a RedHatInsights repository between 29 May and 1 June 2026 and opened it in an editor. Search lockfiles for the @redhat-cloud-services/ scope and compare versions with the full list.
What to do now
- Compare lockfiles with Aikido's list of affected
@redhat-cloud-servicesversions and move to clean versions. - If an affected version was installed, rotate GitHub Actions secrets, cloud credentials, Vault and Kubernetes tokens, npm and PyPI tokens and SSH keys on that machine or runner.
- Before reopening a RedHatInsights repository cloned in that window, inspect editor and agent configuration files and look for orphan commits adding
ci.yamlor_index.js. - Audit installed VS Code extensions and remove any you do not recognize.
Keys to rotate
Guides to the credentials this incident put at risk:
- Rotate GitHub keys
- Rotate npm keys
- Rotate PyPI keys
- Rotate AWS (IAM access keys) keys
- Rotate Google Cloud (service account keys and API keys) keys
- Rotate Azure (Microsoft Entra app client secrets) keys
- Rotate Docker Hub keys
Timeline
- A GitHub account is compromised through a malicious VS Code extension and used to push unauthorized commits to repositories in the RedHatInsights organization. Source
- Aikido reports 96 malicious versions across 32 packages, published through GitHub Actions OIDC trusted publishing. Source
- Red Hat publishes RHSB-2026-006, contains the malicious VS Code extension and removes the compromised versions from npm. Source
- Red Hat closes the incident; the bulletin was last updated on 2 July 2026. Source
Indicators
From the advisories listed below. Use them to search your logs, lockfiles and workflow runs.
@redhat-cloud-services/*versions listed by Aikido, such asfrontend-components7.7.2 and 7.7.3,chrome2.3.1 and 2.3.2,types3.6.1, 3.6.2 and 3.6.4.- A
preinstallscript runningnode index.jswith a 4.2 MB obfuscatedindex.js. - Orphan commits adding
ci.yamland_index.js.
What this changes for credential handling
- A single editor extension turned one developer's GitHub session into publish access for 32 packages. BotPassword keeps that kind of token out of reach of extensions running in the editor.
Frequently asked questions
Am I affected by the Red Hat incident?
Red Hat customers using its products and managed services are not affected, according to Red Hat. You may be affected if your own project or CI installed an affected version from Aikido's list, for example @redhat-cloud-services/frontend-components 7.7.2 or 7.7.3, @redhat-cloud-services/chrome 2.3.1 or 2.3.2, or @redhat-cloud-services/rbac-client 9.0.3 or 9.0.4, or if you cloned a RedHatInsights repository between 29 May and 1 June 2026 and opened it in an editor. Search lockfiles for the @redhat-cloud-services/ scope and compare versions with the full list.
What was exposed in the Red Hat incident?
Credentials on any machine or CI runner that installed an affected version. Aikido found a preinstall script running a 4.2 MB obfuscated index.js that targeted GitHub Actions secrets (including GITHUB_TOKEN and ACTIONS_RUNTIME_TOKEN), AWS keys and session tokens, Google Cloud application-default credentials and service-account key files, Azure service principal credentials and managed identity tokens, Vault tokens, Kubernetes tokens and kubeconfig files, npm and PyPI publish tokens, SSH and GPG private keys, Docker registry credentials and .env files. Aikido says the attacker pushed orphan commits adding ci.yaml and _index.js that requested a short-lived OIDC token and published through npm trusted publishing, so no npm token was stolen. Red Hat adds that repository configuration files were altered so that developers who opened those directories would be infected. Red Hat says its publication process strips install-time scripts, no console release went out in the window, and Azure Red Hat OpenShift, OpenShift Dedicated, ROSA, Advanced Cluster Security Cloud Service and Ansible Automation Platform on Cloud were not affected.
Which keys should I rotate?
Rotate any GitHub, npm, PyPI, AWS (IAM access keys), Google Cloud (service account keys and API keys), Azure (Microsoft Entra app client secrets), Docker Hub credentials that were reachable from affected systems, starting with the ones that can publish code or reach production.
Other supply-chain compromises
- LiteLLM 1.107.0 on PyPI and Docker carried a credential stealer after a leaked master key 2026-10-21
- tensorlake 0.5.144 on npm shipped a Shai-Hulud variant with a wipe-on-revoke dead-man's switch 2026-10-08
- keyv, flat-cache and cache-manager npm releases carried a CI-secret stealer with a revocation trap 2026-08-04
- 14 typosquatted OpenSearch and DevOps npm packages stole AWS, Vault, GitHub Actions and npm secrets 2026-05-28
- Nx Console 18.95.0 VS Code extension shipped a credential stealer after a TanStack infection 2026-05-18
- TanStack npm compromise: 84 versions of 42 @tanstack packages stole cloud, GitHub and SSH credentials 2026-05-11