Browse latest
Tools & PlatformsAI - Ars Technica · June 8, 2026

For the 2nd time in weeks, Microsoft packages laced with credential stealer

For the 2nd time in weeks, Microsoft packages laced with credential stealer — AI - Ars Technica

Microsoft

Author: Morein.ai Editorial

For the second time in weeks, Microsoft open-source packages have been compromised with advanced credential-stealing code. This malicious code was activated when developers opened the packages in AI coding agents, leading to 73 packages being flagged as malicious by GitHub's automated systems. Unfortunately, GitHub initially reported these as "terms of service violations" rather than security breaches. Some 400,000 developers use Microsoft's durabletask Python SDK each month and have been affected.

The Compromise packages executed a 28 KB payload that steals credentials from AWS, Azure, GCP, Kubernetes, password managers, and over 90 developer tool configurations. It then spreads laterally through cloud infrastructures to infect other developer machines. The Miasma worm, a clone of TeamPCP's Mini Shai-Hulud toolkit, is responsible for these attacks, harvesting OIDC token credentials and bypassing traditional security measures.

The Miasma worm excels at adhering to legitimate workflows, exploiting the trust model of modern engineering ecosystems rather than software vulnerabilities. It generates a uniquely encrypted payload for each infection, rendering traditional hash-based detection useless. This allows the malware to act as an authenticated publisher, making it extremely difficult to detect.

Unlike previous versions that focused on local secret scraping, the Miasma worm now targets cloud identities in GCP and Azure. It actively harvests every cloud identity accessible to infected developer machines and CI/CD runners, indicating a clear intent to leverage access directly into live cloud environments.

The credential-stealing function in the Miasma worm was triggered as soon as a developer opened the infected packages in AI agents like Claude Code, Gemini CLI, Cursor, and VS Code. The repeated compromise of the same Microsoft GitHub account suggests a failure to fully update credentials or a continuing vulnerability. Given the difficulty in detecting and remediating these breaches, any developer who used the compromised packages should investigate their systems thoroughly.

These ongoing attacks highlight significant vulnerabilities in software supply chains and the challenges of securing modern development environments. The sophisticated nature of the Miasma worm, combined with its ability to mimic legitimate activity, poses a serious threat to developers and cloud infrastructures alike.

Read original source

Related articles