Microsoft open source packages tampered with to steal AI-developer passwords

Software supply-chain security has become one of the most pressing fronts in enterprise security over the past three years; attackers no longer target organisations directly but go after the dependencies those organisations use. A new finding reported by TechCrunch shows that open source packages appearing to be from Microsoft were tampered with to steal passwords from AI developers.
A report from the security firm Socket identified packages published on the NPM registry under the name microsoft-typescript-toolkit, carrying the Microsoft brand without authorisation. The names look very close to original Microsoft community tools; this technique, known as typosquatting, has long been at the top of the attack repertoire.
After installation, the malicious code scanned the developer's home directory for Hugging Face, OpenAI, Anthropic and Microsoft Azure CLI configuration files and exfiltrated API keys and session tokens to a remote server. Socket researcher Mick Boyd told TechCrunch that the target was very clearly not a single domain but the AI-developer wallet.
The packages received about 8,000 downloads in the first seven days after publication. All of them were later removed by NPM and GitHub. The Microsoft Security Response Center confirmed that the packages did not belong to the company and that it only publishes packages under verified enterprise publisher accounts.
A distinctive feature of the case was that the password-stealing component was not hard-wired as a simple HTTP POST. It only activated if the machine contained known LLM configuration directories. This conditional-payload approach is described as one that increases the likelihood attackers will slip past detection. If the files are not present, the code does nothing.
Security tools such as GitGuardian and Snyk have reported in recent months that Hugging Face tokens and LLM API keys have become some of the highest-value assets in the underground market. Once stolen, attackers can run model calls in the organisation's name, run up its bill and leak confidential data. In some cases organisations only discover the misuse after hours of unexpected API charges.
Microsoft recommended that customers rotate Azure and GitHub credentials and scan NPM and PyPI packages with the microsoft prefix against enterprise security policies. The company said it plans to highlight the Verified Publisher badge for corporate customers; this issue is on the agenda for the September NPM governance meeting.
The incident also drew attention to the Python ecosystem on PyPI. An analysis carried by TechCrunch showed that 47 AI-related PyPI packages in the past four months have targeted credentials in a similar way. PyPI maintainers are discussing whether to add an extra review layer for naming patterns linked to AI.
Short-term recommendations for developers include checking package provenance data before installing new packages, enabling NPM's audit signatures feature and reading LLM API keys from a hardware key store rather than from plain-text local files. Automating key rotation is also flagged as a priority improvement.
The broader picture is now clear: AI developers are the new high-priority target of supply-chain attacks. As TechCrunch points out, the malicious payload is no longer the bank card number but the LLM access key. This is reshaping security team priorities through 2026. This is not investment advice.
Read next

Meta says NSO Group breached spyware injunction with new WhatsApp attacks
Ars Technica reports that Meta has told a US federal court that NSO Group, maker of the Pegasus spyware, has breached a standing injunction by launching new targeted attacks against WhatsApp users in late 2024 and early 2025.

Tests suggest Russian satellites can jam GPS at continental scale
Ars Technica reports that field tests by academic researchers indicate Russian jamming satellites in orbit are capable of degrading GPS signals at continental scale. The finding raises serious safety questions for civil aviation and maritime traffic.

OpenAI files confidential S-1 with SEC: an AI IPO of a size the market has not seen
The Verge reports that OpenAI has filed a confidential S-1 with the US Securities and Exchange Commission, in a much larger continuation of the path Anthropic took a few weeks earlier. The move marks the AI sector's first full-scale encounter with the public markets process.

WWDC 2026: Apple accelerates its AI strategy with Siri AI and iOS 27
TechCrunch reports that Apple used WWDC 2026 to unveil iOS 27, iPadOS 27, macOS 27 Golden Gate and watchOS 27, alongside a new assistant branded Siri AI and revamped developer frameworks. The company is moving to a split architecture between on-device privacy-first models and cloud-side Private Cloud Compute.

Some ancient microbes frozen with Ötzi the Iceman are still growing, study finds
Ars Technica reports on new research showing that some ancient bacteria and yeast strains found on the mummy of Ötzi the Iceman, a 5,300-year-old body recovered in the Alps, are still alive and growing. The finding opens a new door for ancient microbiome research.
