Self-Replicating Supply Chain Worm Is Live — Your npm Audit Is Blind to It
The Attack Has Evolved Past Your Tooling
The Miasma worm is not another malicious npm package. It's a self-replicating worm that propagates autonomously across repositories. It compromised 73 Microsoft GitHub repos across four organizations, and a variant plus the IronWorm campaign poisoned 50+ npm packages. The payload: a Rust-compiled information stealer that downloads as a native binary during install.
Your npm audit is blind to this. The payload is compiled Rust, not JavaScript. Static analysis tools that scan JS source miss it entirely.
The propagation model is the qualitative shift. Compromised repos infect their dependents automatically. Your exposure isn't just "did I install a bad package" — it's "did any transitive dependency pull from a compromised Microsoft repo in the last 7 days." The campaign is described as ongoing and not contained.
Simultaneous: AI-Discovered Zero-Days at Scale
An AI agent from an unnamed security startup found 21 zero-day vulnerabilities in FFmpeg — the media processing substrate embedded in your video transcoding, thumbnail generation, and likely your browser. Separately, Hugging Face Transformers (2.2 billion installs) has a critical RCE exploitable through model configuration files — not weights, not pickle deserialization, but config.json files most teams treat as benign metadata. GPU inference nodes are specifically targeted because they hold training data, model IP, and cloud credentials.
The Meta-Signal
AI-powered vulnerability discovery is now production-real. If one agent found 21 zero-days in FFmpeg, similar agents are being pointed at every foundational C/C++ library. Anthropic's Project Glasswing expanded to 150+ companies focused on critical infrastructure. Infosecurity Europe speakers warn about next-gen discovery models ("son of Mythos"). Your vulnerability management process needs to handle 5-10x the patch velocity you've planned for.
The structural shift: discovery now outpaces remediation. Your security model must assume permanently-exposed dependencies and contain blast radius accordingly.
Detection Approach
- Look for unexpected postinstall scripts or native binary downloads in recently-updated dependencies
- Check for unexpected network connections during npm install/build phases
- Verify any dependency sourced from Microsoft GitHub organizations against known-bad lists
- For FFmpeg: confirm media processing runs in sandboxed environments (gVisor, Firecracker)
- For HuggingFace: isolate any
from_pretrained()call against untrusted sources in containers with no network egress
What to do
Run npm ls against known-bad Miasma/IronWorm package lists and audit all postinstall scripts in node_modules for binary downloads or network calls
Pin and verify checksums for all dependencies sourced from Microsoft GitHub organizations; halt auto-merge on Dependabot PRs from those orgs
Inventory all FFmpeg usage (direct and transitive) and verify media processing runs in isolated sandboxes with strict resource limits
Add runtime behavioral monitoring to CI/CD pipelines to detect unexpected network calls and binary execution during build phases