Miasma Worm: Your npm Lockfile Is Under Active Autonomous Attack
What Happened
A self-replicating supply chain worm called Miasma has compromised 73 Microsoft GitHub repositories across four organizations and poisoned 50+ npm packages. A variant campaign (IronWorm) added to the total. The payload is a Rust-based information stealer — a compiled native binary that won't appear in JavaScript static analysis. Your npm audit is blind to this.
The attack pattern 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 campaign is ongoing and not contained.
Why This Is Qualitatively Different
Previous supply chain attacks (typosquatting, maintainer takeover) required manual per-package effort. Miasma propagates autonomously — compromised repos infect their dependents without human intervention. This is a worm, not a poisoning campaign. Combined with IronWorm using a similar technique, the blast radius is expanding faster than the security community can map it.
The FFmpeg Amplifier
Simultaneously, an AI agent from an unnamed security startup discovered 21 zero-day vulnerabilities in FFmpeg's C codebase in a single pass. FFmpeg is the media processing substrate of the internet — video transcoding, thumbnail generation, browser media handling, mobile apps. If you accept user-uploaded media anywhere, you're exposed. This signals a structural shift: AI-powered vulnerability discovery is now production-real, and similar agents are being pointed at ImageMagick, libxml2, OpenSSL, and zlib. Expect patch velocity requirements to spike 5-10x.
Detection Gap
The Rust binary distribution through npm is specifically designed to evade the tools most teams rely on. JavaScript-based static analysis sees nothing. The attack surfaces via postinstall scripts that download native binaries or trigger unexpected network connections during npm install. CI/CD pipelines that auto-merge Dependabot PRs or use floating version ranges are the highest-risk exposure.
Compensating for the Structural Patch Gap
Multiple sources confirm AI vulnerability discovery is now structurally outpacing vendor patch capacity. Anthropic's Project Glasswing expanded to 150+ companies. The architecture response is defense-in-depth: process untrusted inputs in isolated sandboxes (gVisor, Firecracker microVMs), enforce NetworkPolicies that default-deny, and treat your dependency chain as partially compromised at all times.
What to do
Run `npm ls` against known-bad package lists (GitHub advisories) and grep for unexpected postinstall scripts or native binary downloads in all recently-updated dependencies
Disable auto-merge on Dependabot PRs for any Microsoft-org-sourced packages until the campaign is contained
Add runtime behavioral monitoring to CI/CD that detects unexpected network calls and native binary execution during npm install/build phases
Inventory all FFmpeg usage (direct and transitive) and ensure media processing runs in sandboxed environments with no network egress
Add SBOM generation to CI/CD and wire to OSV.dev + GitHub Advisory Database (supplement NVD, which has an acknowledged growing backlog)