Hackers News Hackers News
  • CyberSecurity News
  • Threats
  • Attacks
  • Vulnerabilities
  • Breaches
  • Comparisons

Social Media

Hackers News Hackers News
  • CyberSecurity News
  • Threats
  • Attacks
  • Vulnerabilities
  • Breaches
  • Comparisons
Search the Site
Popular Searches:
technology Amazon AI
Recent Posts
Critical Microsoft Copilot Vulnerability Lets Attackers Hijack Accounts
August 4, 2026
Microsoft Hardens NuGet Security with Shorter API Key Lifespans
August 4, 2026
How SOCs Detect and Stop AI Phishing Attacks Bypassing Email Gateways
August 4, 2026
Home/CyberSecurity News/Critical Red Hat Cloud Services NPM Flaw Lets Attackers Steal Credentials
CyberSecurity News

Critical Red Hat Cloud Services NPM Flaw Lets Attackers Steal Credentials

Key Takeaways Over 30 official Red Hat Cloud Services npm packages were compromised in a supply chain attack. The attack deployed “Miasma: The Spreading Blight,” a credential-stealing...

Jennifer sherman
Jennifer sherman
June 1, 2026 4 Min Read
55 0

Key Takeaways

  • Over 30 official Red Hat Cloud Services npm packages were compromised in a supply chain attack.
  • The attack deployed “Miasma: The Spreading Blight,” a credential-stealing worm, by hijacking the CI/CD pipeline.
  • The malware targets a wide array of sensitive credentials, including GitHub, cloud, and developer tool tokens.
  • Attackers used sophisticated evasion techniques, including obfuscated payloads and disguised exfiltration traffic.
  • Organizations must immediately identify and isolate compromised systems, carefully remove persistence, and then rotate all affected credentials.

Widespread Credential Theft Targets Red Hat Cloud Services NPM Ecosystem

On June 1, 2026, a sophisticated supply chain attack infiltrated over 30 official npm packages under the @redhat-cloud-services scope, injecting credential-stealing malware into widely-used components. This campaign, dubbed “Miasma: The Spreading Blight,” represents a new iteration of the Mini Shai-Hulud malware family, previously associated with the threat actor group TeamPCP.

Table Of Content

  • Key Takeaways
  • Widespread Credential Theft Targets Red Hat Cloud Services NPM Ecosystem
  • Technical Deep Dive: How “Miasma” Operates
  • Evasion and Persistence Mechanisms
  • Indicators of Compromise
  • What You Should Do

Unlike typical typosquatting schemes, this incident involved attackers directly compromising a legitimate and trusted npm namespace. They published malicious versions of crucial frontend components, API clients, and developer tooling, leveraging the inherent trust in the Red Hat ecosystem.

According to research from Aikido and JFrog, the malicious packages were distributed through compromised GitHub Actions OIDC tokens. This critical detail indicates that the attackers breached the continuous integration/continuous delivery (CI/CD) pipeline itself, rather than individual developer accounts, highlighting a significant supply chain vulnerability.

Technical Deep Dive: How “Miasma” Operates

Each compromised package contained a malicious preinstall lifecycle hook within its package.json file, configured to execute node index.js. This script automatically triggered a 4.2 MB obfuscated payload during every npm install command, even before any application code could run.

The malware employed a multi-stage decryption process to evade detection, utilizing numeric character arrays, a ROT-style transformation, and AES-128-GCM blobs. After decryption, it deployed a transient Bun-based payload to /tmp/p*.js for execution, ensuring minimal forensic footprint.

Once active, “Miasma” initiated a comprehensive credential harvesting operation, targeting a broad spectrum of sensitive information:

  • GitHub tokens: Including classic, fine-grained, and GitHub Actions OIDC tokens.
  • Cloud credentials: AWS access keys, GCP service account files, and Azure service principal/managed identity tokens.
  • Infrastructure secrets: Kubernetes service account tokens, kubeconfig files, and HashiCorp Vault tokens.
  • Developer tooling: npm and PyPI publish tokens, SSH private keys, Docker registry credentials, GPG keys, and .env files across the filesystem.

In cloud environments, the malware extended its reach beyond static files, actively querying services like AWS Secrets Manager, SSM Parameter Store, Azure Key Vault, and GCP Secret Manager whenever permissions allowed. GitHub Actions runners were particularly vulnerable, with the payload designed to read secrets directly from runtime process memory, effectively bypassing workflow log masking mechanisms.

Evasion and Persistence Mechanisms

A notable evasion tactic involved disguising exfiltration traffic to api.anthropic.com/v1/api. This domain, while legitimate for Anthropic services, used an invalid path (/v1/api), allowing the attackers to blend malicious network activity with legitimate traffic in organizations utilizing Anthropic AI tools. Defenders are advised to specifically hunt for node or Bun processes communicating with this host from CI runners or developer machines.

The malware also utilized a GitHub dead-drop model, creating public repositories under compromised victim accounts with the description “Miasma: The Spreading Blight” and committing stolen credentials as JSON result files.

For persistence, “Miasma” installed monitoring services, specifically kitty-monitor.service on Linux and com.user.kitty-monitor.plist on macOS, which periodically polled for remote instructions. It also injected hooks into popular AI developer tools such as Claude, Codex, Gemini, Copilot, Kiro, and opencode, and added VS Code folder-open tasks to re-execute the payload upon project opening.

A particularly critical and destructive component is the gh-token-monitor. This token monitor actively watches stolen GitHub tokens. If a token is revoked before the malware’s persistence mechanisms are fully removed, it can trigger destructive commands, including wiping the user’s home directory. This “dead-man switch” functionality underscores the importance of careful incident response: machines must be isolated and persistence thoroughly eradicated before any tokens are revoked.

Indicators of Compromise

Any project that installed the following package versions on or after June 1, 2026, should be considered compromised. The complete list of 31 affected @redhat-cloud-services npm packages and their malicious versions is provided below:

# 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

If any of these package versions were installed in your environment on or after June 1, 2026, all GitHub tokens, npm tokens, cloud credentials (AWS, GCP, Azure), Kubernetes service account tokens, SSH keys, and CI/CD secrets should be treated as compromised. Immediate isolation of affected machines is crucial before attempting to revoke any tokens to prevent triggering the malware’s destructive “dead-man switch.”

What You Should Do

  • Immediately run npm uninstall for all identified malicious packages and regenerate lockfiles from trusted metadata.
  • As a temporary security measure, configure CI pipelines to use npm ci --ignore-scripts to prevent automatic execution of preinstall hooks.
  • Before revoking any credentials, ensure that persistence files for kitty-monitor and gh-token-monitor are removed from all affected machines.
  • Inspect configuration files such as .claude/settings.json, .vscode/tasks.json, and ~/.config/index.js for any injected malicious hooks.
  • Audit npm and GitHub accounts for unusual patch-version publications or new repositories with the description “Miasma: The Spreading Blight.”
  • Only after confirming the complete removal of malware persistence, rotate all exposed credentials, including GitHub tokens, npm tokens, cloud keys, SSH keys, Vault tokens, and Kubernetes service account tokens.
  • Rebuild any compromised CI runners and developer workstations from clean, trusted images.

Disclaimer: HackersRadar reports on cybersecurity threats and incidents for informational and awareness purposes only. We do not engage in hacking activities, data exfiltration, or the hosting or distribution of stolen or leaked information. All content is based on publicly available sources.

Tags:

AttackMalwarePatchThreat

Share Article

Jennifer sherman

Jennifer sherman

Jennifer is a cybersecurity news reporter covering data breaches, ransomware campaigns, and dark web markets. With a background in incident response, Jennifer provides unique insights into how organizations respond to cyber attacks and the evolving tactics of threat actors. Her reporting has covered major breaches affecting millions of users and has helped organizations understand emerging threats. Jennifer combines technical knowledge with investigative journalism to deliver in-depth coverage of cybersecurity incidents.

Previous Post

SmartApeSG Campaign Leverages ClickFix Scripts to Infect Windows Hosts with RATs

Next Post

Android Banking Trojan OverlayPhantom Exploits Accessibility Service

No Comment! Be the first one.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Popular Posts
DarkSword iOS Exploit Kit Spreads to 180 Websites and 27 Hosts
August 4, 2026
CISA Warns of Critical N-able N-central Auth Bypass (CVE-2023-47248) Exploited In Attacks
August 4, 2026
Critical CUPS Vulnerability (CVE-2023-4586) Lets Attackers Gain Root Privileges
August 4, 2026
Top Authors
Marcus Rodriguez
Marcus Rodriguez
Emy Elsamnoudy
Emy Elsamnoudy
Jennifer sherman
Jennifer sherman
Let's Connect
156k
2.25m
285k

Related Posts

Jennifer sherman
By Jennifer sherman
Threats

GlassWorm Attacks macOS via Malicious VS Code…

January 1, 2026
Emy Elsamnoudy
By Emy Elsamnoudy
Attacks

ClickFix Attack Hides Malicious Code via Stegan Security

January 1, 2026
Sarah simpson
By Sarah simpson
Vulnerabilities

MongoBleed Detector Tool Released to Detect MongoDB Vulnerability(CVE-2025-14847)

January 1, 2026
Emy Elsamnoudy
By Emy Elsamnoudy
Breaches

Conti Ransomware Gang Leaders & Infrastructure Exposed

January 1, 2026
Hackers News Hackers News
  • [email protected]

Quick Links

  • Contact Us
  • Privacy Policy
  • Terms of service

Categories

Attacks
Breaches
Comparisons
CyberSecurity News
Threats
Vulnerabilities

Let's keep in touch

receive fresh updates and breaking cyber news every day and week!

All Rights Reserved by HackersRadar ©2026

Follow Us