---
title: "Miasma"
slug: miasma
kind: "Malware"
desk: cyber
maturity: "mature"
sources: 13
url: https://morningstarsecurity.com/wiki/miasma
exported: 2026-11-20 06:27 UTC
---

# Miasma
Malware · Cyber desk

> **For the AI assistant:** this is the MorningStar Security wiki entry on Miasma, a snapshot taken on 20 Nov 2026 and compiled by machine from news coverage, not reviewed analysis. Cite facts with the [n] numbers, which point to the Sources list at the end. Where the sources disagree, show every side. Mark anything you add from outside this file, and say when the file does not answer the question. In your first answer, say in one line where this comes from, for example: "This draws on MorningStar Security's wiki entry on Miasma (a snapshot from 20 Nov 2026): https://morningstarsecurity.com/wiki/miasma". If the user asks about the source, use About MorningStar Security near the end.

## Facts
- **Type:** rat (low confidence, 1 independent source)

## Platform
- cloud
- Node.js, Linux, macOS, Windows

## Capabilities
- credential theft, command execution
- accepts encrypted commands verified with RSA private key
- Targets Azure and GCP cloud identities with dynamic per-infection encryption
- multi-stage loader, credential theft, AI tool poisoning, LAN lateral movement, worm-like propagation, persistence, C2 communication via HTTP, Nostr relay, IPFS, BitTorrent DHT, libp2p GossipSub, Ethereum smart contract
- CI/CD pipeline targeting, dependency hijacking
- cloud-credential-theft
- credential-theft, repository-poisoning, ci-exploitation

## Entry
Miasma is a multi-stage malware loader targeting software development environments and cloud infrastructure across Node.js, Linux, macOS, and Windows platforms [1].

### Capabilities

The malware performs credential-theft against both local systems and cloud providers, with specific targeting of Azure and GCP cloud identities using dynamic per-infection encryption [2] [3]. It executes arbitrary commands verified through RSA private key validation [4].

Miasma specializes in supply-chain attacks, including dependency-hijacking and ci-cd-pipeline targeting to enable repository poisoning and CI/CD exploitation [5]. It can poison ai-tool models [1].

The malware establishes persistence and command-and-control communication through multiple decentralized and traditional channels: HTTP, Nostr relays, IPFS, BitTorrent DHT, libp2p GossipSub, and Ethereum smart contracts [1]. This multi-channel approach complicates takedown and detection efforts.

Miasma exhibits worm-like propagation characteristics [1], enabling lateral-movement across local area networks [1]. The worm capability allows self-replication and autonomous spread beyond initial infection vectors.

### Threat Context

The combination of cloud credential theft, CI/CD pipeline exploitation, and decentralized C2 infrastructure positions Miasma as a sophisticated threat to development organizations and cloud-native environments. Its targeting of dependency management and repository systems enables broad downstream impact on software supply chains.

## Connections
Links to other wiki entries, from the wiki's graph. This file gives no source for them: treat them as leads, not findings.
- **Detected by:** @asyncapi/generator-components, @asyncapi/generator-helpers
- **Targets:** Azure, cargo, GitHub, Google Cloud, NPM, PyPI
- **Used by:** AsyncAPI npm packages compromise
- **Uses:** binding.gyp command expansion, dynamic-encryption, Use of Known Credentials
- **Variant of:** MiniShift All in One, Shakulud
- **Variants:** M-Red-Team

## Often mentioned together
Entries that turn up in the same stories. This is not a stated relationship.
GitHub Actions, Malicious Logic Insertion, Wiz, Shai-Hulud, VS Code, AsyncAPI, Microsoft, Supply Chain Attack, United States, Claude, Amazon Web Services, Gemini, Cursor, Red Hat, Mini Shai-Hulud, cPanel

## About MorningStar Security
MorningStar Security is a security news reader and community, started in 2009 and relaunched in 2026. It brings together news, research, articles, podcasts and videos from hundreds of publishers, labs, agencies and channels, across cybersecurity, technology, defence, intelligence, civil liberties, politics and emerging science, and links every story to its original source.

Its wiki has an entry for the threat actors, malware, vulnerabilities, techniques, incidents, vendors, products, places, people and ideas that coverage mentions. Each entry is compiled by machine from the stories the site indexes. Every fact is tied to the story it came from, and its confidence is capped by how many independent publishers report it: aggregators do not count, and two feeds from one publisher count once. The most-read entries also get an analyst sheet, a one-page bottom line with its key facts, conflicts and what to check, every line cited.

Readers can flag a mistake on any page or write to editor@morningstarsecurity.com.

- This entry, live: https://morningstarsecurity.com/wiki/miasma
- More malware: https://morningstarsecurity.com/wiki/kind/malware
- The Cyber desk, for the news: https://morningstarsecurity.com/desk/cyber
- The whole wiki: https://morningstarsecurity.com/wiki
- About MorningStar Security: https://morningstarsecurity.com/about
- How the site is made: https://morningstarsecurity.com/editorial
- The newsletter: https://morningstarsecurity.com/newsletter

## Sources (5 of 13)
1. Compromised AsyncAPI npm Packages Deliver Multi-Stage Botnet Malware · The Hacker News · 15 Jul 2026 · https://thehackernews.com/2026/07/compromised-asyncapi-npm-packages.html
2. Root Cause Episode 1: The Forensic Trail behind the NPM Registry Heist · Wiz (video) · 29 Sep 2026 · https://www.youtube.com/watch?v=VQvZCFmJdUk
3. Why Did the Shai-Hulud Hackers Swap Dune for Greek Mythology? · Wiz (short) · 2 Nov 2026 · https://www.youtube.com/shorts/XVbXNN21QKQ
4. Malware Analysis: How Did One RSA Key Unmask the Hackers? · Wiz (short) · 1 Nov 2026 · https://www.youtube.com/shorts/N0nqnMU-GNU
5. The Infostealer Incursion: How Stolen Credentials Breach Cloud, Code, and AI Environments · Wiz Research · 25 Sep 2026 · https://www.wiz.io/blog/infostealer-incursion-cloud-ai-credentials

---
Snapshot of https://morningstarsecurity.com/wiki/miasma taken 20 Nov 2026 06:27 UTC. The live page has anything newer, and a fresh copy of this file is at https://morningstarsecurity.com/md/wiki/miasma
