Miasma Worm: Self-Replicating Supply Chain Attack Is Active and Not Contained
What's Different This Time
This is not another malicious package upload. Miasma is a self-replicating worm that propagates autonomously across repositories. It compromised 73 Microsoft GitHub repos across four organizations and injected payloads into 50+ npm packages. A related campaign (IronWorm) is operating simultaneously. Both are described as ongoing and not contained.
Your exposure isn't 'did I install a bad package' — it's 'did any of my transitive dependencies pull from a compromised Microsoft repo in the last N days.'
The payload is a Rust-based information stealer — a compiled native binary that JavaScript static analysis tools and npm audit cannot detect. It won't show up in your existing security scanning. Look for unexpected postinstall scripts, native binary downloads, and new network connections during npm install/build phases.
Why Traditional Defenses Are Blind
The attack exploits a structural gap. Most teams trust packages from Microsoft organizations. The worm specifically targets that trust by compromising the repos themselves, then infecting dependents automatically. If your CI/CD auto-merges Dependabot PRs or uses floating version ranges for Microsoft packages, you are in the blast radius without any direct action on your part.
Simultaneously, an AI agent discovered 21 zero-day vulnerabilities in FFmpeg's C codebase in a single pass. FFmpeg is the media processing substrate of the internet — it's in your video transcoding, thumbnail generation, and likely your mobile app's media handling. These zero-days don't have patches yet. If you accept user-uploaded media anywhere in your stack, you're exposed.
The Structural Shift
Two patterns are converging: AI-powered vulnerability discovery is finding bugs faster than vendors can patch (Anthropic's Project Glasswing now at 150+ companies), and self-replicating attack tooling can weaponize those discoveries without human operators. The era of 'patch when available' as a primary strategy is ending. Defense-in-depth and blast radius containment are now primary, not secondary.
What to do
Run `npm ls` against the published Miasma/IronWorm advisory package lists today. Check GitHub Security Advisories for the full list. Audit any packages updated in the last 7 days.
Disable auto-merge on Dependabot PRs for Microsoft-org packages until containment is confirmed. Pin versions and verify checksums.
Add runtime behavioral monitoring to CI/CD pipelines this sprint — detect unexpected network calls and native binary execution during npm install/build.
Isolate all FFmpeg processing into sandboxed environments (gVisor, Firecracker microVMs) with no network egress and strict resource limits.
Generate SBOMs for all services and wire to OSV.dev + GitHub Advisory Database feeds with automated alerting. NVD alone has an acknowledged growing backlog.