VYPR
breachPublished Jun 8, 2026· Updated Jun 9, 2026· 7 sources

GitHub Disables 70+ Microsoft Repositories Amid Suspected Miasma Worm Re-infection

GitHub has taken down over 70 Microsoft repositories following suspected infections by the Miasma worm, disrupting CI/CD pipelines and highlighting a potential re-compromise of a previously targeted package.

GitHub has disabled more than 70 Microsoft repositories after they were compromised by a worm, marking the latest incident in the ongoing saga of open-source supply chain attacks. The code hosting platform took down 73 repositories within a span of 105 seconds on Friday, June 5, after its automated systems detected signs of the Miasma worm infecting its projects, according to security firm StepSecurity.

Users began reporting issues on Friday, with access to the affected repositories resulting in a message indicating they had been disabled due to terms of service violations. StepSecurity's analysis revealed that the attack originated from a compromised contributor account that pushed malicious code to the Azure/durabletask repository. This malicious commit included configuration files designed to trigger remote code execution when a developer opened the repository in an Integrated Development Environment (IDE) or an AI coding tool, such as Claude Code, Gemini CLI, and Cursor.

The immediate impact was felt by developers whose Continuous Integration and Continuous Deployment (CI/CD) pipelines were broken. One such affected repository was Azure/functions-action, a crucial component for deploying code to Azure. Its takedown caused workflows referencing it to stop resolving, leading to widespread disruption.

GitHub's automated detection systems intervened swiftly, disabling the repositories in two separate waves within minutes of the malicious commits being identified. However, the re-targeting of the durabletask family of packages strongly suggested a connection to a previous Miasma worm attack that had impacted Microsoft in May. The durabletask PyPi package was previously targeted on May 19, with malicious versions uploaded that planted infostealers designed to exfiltrate cloud secrets and developer tool configurations from Linux systems.

The renewed focus on durabletask indicates that the authentication tokens associated with the compromised developer account used in the earlier PyPi attack may not have been fully rotated, or the contributor account was re-compromised. Alternatively, a different contributor's account might have been used, with the attacker altering metadata to mimic a repeat attack.

Security researchers at Snyk have identified Miasma as a descendant of the Mini Shai Hulud worm, which had previously affected numerous open-source packages on the npm registry, including those from Red Hat. While the cybercrime group TeamPCP claimed responsibility for developing Mini Shai Hulud, it remains unclear if they are also behind the Miasma variant or if a different actor has taken over the project.

Prior to the Microsoft incident, the Miasma worm was observed compromising over 50 packages on npm, including a Vapi.ai SDK with significant download numbers, just two days earlier. This pattern underscores the persistent and evolving nature of supply chain threats targeting the open-source ecosystem, with developers' tools and environments serving as prime vectors for compromise.

The Miasma worm, a variant of the Mini Shai-Hulud, has impacted 73 Microsoft repositories across Azure, Azure-Samples, Microsoft, and MicrosoftDocs organizations. This incident led GitHub to disable access to the affected repositories, indicating a significant supply chain compromise within Microsoft's development infrastructure.

This new report details how the Miasma supply-chain campaign specifically compromised a Microsoft contributor account, injecting malicious code into over 70 repositories. The attackers utilized AI-assisted coding tools as an infection vector, successfully stealing credentials and developer secrets at scale in under two minutes, providing a more granular look at the initial compromise.

The incident, which occurred on June 5th and was contained within 105 seconds, saw Microsoft disable 73 repositories across its Azure, microsoft, Azure-Samples, and MicrosoftDocs organizations on GitHub. While Microsoft initially cited an "internal management issue," researchers confirmed the repositories were compromised as part of the Miasma/Shai-Hulud supply-chain campaign, with evidence suggesting a potential re-infection of the 'durabletask' repository that was previously compromised in May.

This new report from The Hacker News provides further technical details on the Miasma campaign's evolution, including a novel payload delivery mechanism using trojanized native .abi3.so extensions and a variant .pth startup hook loader that separates the loader from the JavaScript payload. It also highlights the campaign's adaptation to bypass AI-powered scanners and analyst copilots through adversarial prompt injection within JavaScript block comments.

The Miasma attack toolkit has now been open-sourced on GitHub, with repositories containing its source code appearing over the last 24 hours. This move, mirroring the earlier open-sourcing of the Mini Shai-Hulud worm, allows attackers to leverage stolen credentials for various supply-chain attacks against registries, code repositories, and AI coding tools. While sophisticated defenders may not find the released code particularly useful, its public availability could lead to opportunistic adoption by less advanced threat actors or further muddy attribution efforts.

This latest incident reveals that the Miasma worm's attack vector has evolved, now targeting AI coding agents like Anthropic's Claude Code, Google's Gemini CLI, Cursor, and Visual Studio Code. Instead of compromising package registries, the attackers are now planting malicious configuration files that automatically execute code when developers open compromised repositories through these AI tools, a method designed to bypass traditional security scanners.

Synthesized by Vypr AI