A significant supply chain attack on June 1, 2026, targeting over 30 official packages under the @redhat-cloud-services npm scope.
The campaign, dubbed “Miasma: The Spreading Blight,” is a new variant of the Mini Shai-Hulud malware family a sophisticated credential-stealing worm previously linked to threat actor group TeamPCP.
This is not a typosquatting campaign. The attackers hijacked a legitimate, trusted npm namespace and published backdoored versions of widely-used frontend components, API clients, and developer tooling.
According to Aikido and JFrog detections, the malicious packages were published via GitHub Actions OIDC tokens, indicating the CI/CD pipeline itself was compromised, not individual developer accounts.
Each poisoned package embeds a preinstall lifecycle hook in its package.json:
json"scripts": { "preinstall": "node index.js" } This executes a 4.2 MB obfuscated payload automatically during every npm install, before any application code runs. The loader uses a multi-stage decryption chain — numeric character arrays, a ROT-style transform, and AES-128-GCM blobs — to evade static detection, before dropping a transient Bun-based payload to /tmp/p*.js for execution.
Once active, the malware performs a sweeping credential collection targeting:
.env files across the filesystemIn cloud environments, the malware goes beyond static files. It actively queries AWS Secrets Manager, SSM Parameter Store, Azure Key Vault, and GCP Secret Manager when permissions allow. GitHub Actions runners are a prime target: the payload reads secrets directly from runtime process memory, bypassing workflow log masking entirely.
A notable evasion technique in this wave involves disguising exfiltration traffic to api.anthropic.com/v1/api — a legitimate-looking domain that blends into network logs at organizations using Anthropic services.
The /v1/api path is not a valid Anthropic route, suggesting attackers chose it purely for camouflage. Defenders should hunt for node or Bun processes contacting this host from CI runners or developer machines.
The malware also uses a GitHub dead-drop model, creating public repositories under victim accounts with the description Miasma: The Spreading Blight and committing stolen credentials as JSON result files.
The malware installs persistent monitoring services — kitty-monitor.service on Linux and com.user.kitty-monitor.plist on macOS — that poll for remote instructions. It also injects hooks into AI developer tools including Claude, Codex, Gemini, Copilot, Kiro, and opencode, and adds VS Code folder-open tasks that re-execute the payload.
Most critically, a destructive token monitor (gh-token-monitor) watches stolen GitHub tokens. If a token is revoked before persistence is removed, it can execute destructive commands such as wiping the user’s home directory.
Incident responders must isolate machines and remove persistence before revoking any tokens.
Any project that installed the following package versions on or after June 1, 2026 should be treated as compromised: Here is the complete IOC table for all 31 compromised @redhat-cloud-services npm packages:
| # | Package Name | Malicious Version |
|---|---|---|
| 1 | @redhat-cloud-services/chrome | 2.3.1 |
| 2 | @redhat-cloud-services/compliance-client | 4.0.3 |
| 3 | @redhat-cloud-services/config-manager-client | 5.0.4 |
| 4 | @redhat-cloud-services/entitlements-client | 4.0.11 |
| 5 | @redhat-cloud-services/eslint-config-redhat-cloud-services | 3.2.1 |
| 6 | @redhat-cloud-services/frontend-components | 7.7.2 |
| 7 | @redhat-cloud-services/frontend-components-advisor-components | 3.8.2 |
| 8 | @redhat-cloud-services/frontend-components-config | 6.11.3 |
| 9 | @redhat-cloud-services/frontend-components-config-utilities | 4.11.2 |
| 10 | @redhat-cloud-services/frontend-components-notifications | 6.9.2 |
| 11 | @redhat-cloud-services/frontend-components-remediations | 4.9.2 |
| 12 | @redhat-cloud-services/frontend-components-testing | 1.2.1 |
| 13 | @redhat-cloud-services/frontend-components-translations | 4.4.1 |
| 14 | @redhat-cloud-services/frontend-components-utilities | 7.4.1 |
| 15 | @redhat-cloud-services/hcc-feo-mcp | 0.3.1 |
| 16 | @redhat-cloud-services/hcc-kessel-mcp | 0.3.1 |
| 17 | @redhat-cloud-services/hcc-pf-mcp | 0.6.1 |
| 18 | @redhat-cloud-services/host-inventory-client | 5.0.3 |
| 19 | @redhat-cloud-services/insights-client | 4.0.4 |
| 20 | @redhat-cloud-services/integrations-client | 6.0.4 |
| 21 | @redhat-cloud-services/javascript-clients-shared | 2.0.8 |
| 22 | @redhat-cloud-services/notifications-client | 6.1.4 |
| 23 | @redhat-cloud-services/patch-client | 4.0.4 |
| 24 | @redhat-cloud-services/quickstarts-client | 4.0.11 |
| 25 | @redhat-cloud-services/rbac-client | 9.0.3 |
| 26 | @redhat-cloud-services/remediations-client | 4.0.4 |
| 27 | @redhat-cloud-services/rule-components | 4.7.2 |
| 28 | @redhat-cloud-services/sources-client | 3.0.10 |
| 29 | @redhat-cloud-services/tsc-transform-imports | 1.2.2 |
| 30 | @redhat-cloud-services/types | 3.6.1 |
| 31 | @redhat-cloud-services/vulnerabilities-client | 2.1.8 |
npm uninstall on all affected packages and regenerate lockfiles from trusted metadatanpm ci --ignore-scripts in CI pipelines as a temporary safeguardkitty-monitor and gh-token-monitor persistence files from all affected machines before revoking tokens.claude/settings.json, .vscode/tasks.json, and ~/.config/index.js for injected hooksMiasma: The Spreading Blight descriptionFree Webinar on OWASP API Top 10 and Guide to Close Visibility Gaps With WAAP
The FBI has warned that hackers are using ARTEX AI agents to automate network attacks,…
Microsoft has warned of an active phishing campaign using the November 12 Microsoft 365 service…
Cursor has traced its October security breach to an access key exposed by Fireworks AI.…
CISA has warned that attackers are exploiting a Check Point security flaw that lets a…
Uber has confirmed a data breach involving the personal information of thousands of U.S. drivers…
A simple typing mistake can now cost you more than a failed page load. Researchers…