Miasma Worm + 17M Agent PRs: Your Code Supply Chain Is Under Compound Assault
Two Trends Colliding at Scale
The Miasma self-replicating worm compromised 73 GitHub repositories across four Microsoft-owned organizations this week. A parallel variant plus the related IronWorm campaign poisoned more than 50 legitimate npm packages with a Rust-based information stealer. Meanwhile, GitHub disclosed that 17 million agent-generated pull requests were processed in March 2026 alone — a single month, a single platform.
These are not two separate stories. They are the same attack surface. The worm propagates through the same CI pipelines that are now processing code at a velocity human reviewers cannot service. Every install or CI run that pulls a contaminated package becomes a new propagation node. The compounding blast radius of worm logic is meeting an environment where review fatigue is structural, not anecdotal.
Why This Is Different from Package Poisoning
Manual package poisoning has a linear blast radius. You compromise one package, it infects consumers of that package. A worm has a compounding one. The Rust-based info-stealer payload harvests exactly the credentials needed to push poisoned versions further: CI tokens, .npmrc credentials, SSH keys, and GitHub PATs. Each compromised developer workstation or CI runner becomes a launch point for the next wave.
Microsoft's own GitHub organizations being hit signals that even platform owners cannot assume internal repos are isolated from registry-level contagion. Set this against the agent-PR backdrop: code review pipelines built for thousands of human PRs are now filtering machine output at machine volume. The human reviewer reads the diff, not the lockfile.
Self-replicating worm logic has arrived in package ecosystems at the same moment human review capacity was overwhelmed by agent-authored code. The window between compromise and detection is widening on both sides.
The Financial Attack Surface Compounds It
GitHub Copilot moved to usage-based billing on June 1, 2026 with semantic routing across frontier models. A compromised developer credential no longer just leaks code — it spends money. A stolen PAT looped against an agent endpoint is a financial denial-of-service with a real invoice. Most SOCs do not alert on Copilot spend anomalies.
Cross-Source Pattern
The Miasma campaign targets developer credentials. Copilot's new billing model makes those credentials financially exploitable. Agent-authored PRs make the insertion of malicious code harder to spot. These three vectors feed each other in a loop that conventional SAST/SCA tooling was not designed to interrupt.
Immediate Actions
Run an emergency dependency audit: identify any npm packages installed or updated in the last 14 days matching the Miasma/IronWorm IOC lists. Rotate CI tokens, npm publish tokens, GitHub PATs, and cloud credentials touched by suspect builds. Enforce npm ci with locked versions and enable provenance verification. Gate agent-authored PRs with mandatory SAST, secret-scan, SCA, and dependency-confusion checks at the branch-protection level. Reclassify Copilot tokens as financially sensitive credentials with short TTL, conditional access, and spend alerting.
What to do
Diff SBOM against Miasma/IronWorm IOC lists and quarantine any matching packages installed in the last 14 days
Rotate all npm publish tokens, GitHub PATs, and CI runner cloud credentials touched by suspect builds
Enforce branch protection requiring SAST + secret-scan + SCA on all agent-tagged PRs before merge
Add Copilot spend-anomaly detection (off-hours spikes, model-tier escalation, geographic outliers on PAT use) to SIEM