A self-replicating supply chain malware called "Miasma" compromised 73 Microsoft GitHub repositories on June 5, 2026, exploiting a novel attack vector: AI coding assistants. The worm planted malicious configuration files in repos across Azure, Azure-Samples, Microsoft, and MicrosoftDocs organizations. When a developer cloned an infected repo and opened it in tools like Claude Code, Cursor, or Gemini CLI, the payload executed automatically — harvesting cloud credentials for AWS, Azure, GCP, Kubernetes, npm, and GitHub.

Security researchers describe Miasma as the first supply chain attack to treat AI coding agents as the primary attack surface rather than package managers. Unlike traditional malware, it bypassed standard security scanners because the repositories themselves appeared clean; the malicious trigger only fires inside AI-powered IDEs, where most detection systems do not yet look. GitHub automated systems disabled all affected repositories in just 105 seconds, but the scope of downstream developer exposure remains unclear.

The full Miasma attack toolkit was made public on GitHub on June 9, raising concerns about copycat campaigns. Developers are advised to audit their AI coding tool configurations and rotate any credentials that may have been exposed through affected repositories.