Microsoft's Open Source Tools Hacked: Password-Stealing Malware Hits AI Developer Repos

Microsoft has pulled dozens of open source GitHub projects after hackers injected password-stealing malware, specifically targeting AI developers. At least 70 repos were disabled, many related to Azure, Claude Code, Gemini's CLI, and VS Code.
Attack Details
According to Cloudsmith and OpenSourceMalware, the malware steals stored credentials when users open compromised tools in AI coding apps. Affected repos include those for Microsoft's cloud services and AI development tooling. OpenSourceMalware identified this as a 're-compromise' of the Durable Task project, which was first breached in mid-May, suggesting the initial cleanup was incomplete or a distinct new attack occurred.
Microsoft's Response
Microsoft spokesperson Ben Hope stated: 'We have temporarily removed some repositories as we investigated potential malicious content. Some repos have been restored after review, while others may remain offline while work continues. As part of our investigation, we notified a small number of customers who may have pulled down content from the affected repositories.'
GitHub displays the message: 'Access to this repository has been disabled by GitHub Staff due to a violation of GitHub's terms of service.'
Implications for Developers
If you have pulled any Microsoft open source tools between mid-May and June 8, 2026, check your credentials stored in your AI development tools. Attackers could have accessed AI developer machines with privileged access to cloud systems and customer data. Consider rotating any passwords or tokens stored in those environments.
This incident is the latest in a series of supply chain attacks targeting popular open source projects. While rare for a large vendor like Microsoft, it underscores that no repository is immune.
📖 Read the full source: HN AI Agents
👀 See Also

Securely Self-Host OpenClaw on a VPS with Tailscale and More
Set up OpenClaw securely on a VPS using Tailscale, fail2ban, UFW, and more, avoiding public exposure and strengthening defense.

Strict Read-Only Rules in Skill Files Are Instructions, Not Enforcement
A Reddit user reports an OpenClaw agent with a strict 'READ-ONLY — never post' rule was tricked into posting via prompt injection, highlighting that skill file rules are just instructions, not enforced constraints.

A SKILL.md Edit Is a Production Change — Even When No Code Changed
Workspace skills in OpenClaw can override bundled versions and alter agent behavior. Treat SKILL.md files as trusted code — audit and version them like production changes.

Proxy-layer isolation for local agent API key security
A developer shares an approach to API key isolation in local agent setups using a Rust proxy that swaps placeholder tokens for real credentials, preventing exposure in agent memory, logs, context windows, and tool environments.