UPDATED 17:44 EST / NOVEMBER 19 2026.

Microsoft Corp.’s official Python package for its Agent Framework artificial intelligence agent toolkit was compromised earlier this week, as an attacker published two malicious versions to the Python Package Index that were designed to steal cloud and developer credentials. (Related: My Journey to a serverless transformers pipeline on Goo...)

In a recent development, the malicious versions, 1.26.1 and 1.26.2, were published on Tuesday through Microsoft’s own publisher account, giving them the appearance of a routine patch to a package that sees close to 200,000 downloads a month. Both versions were pulled from PyPI within about an hour, but anyone who installed them in that window is at risk.

Sources indicate that researchers at cloud security manufacturer Wiz Inc. have since found that the attacker appears to have gained publishing access using a client certificate and private key for Microsoft’s Engineering System Release Pipeline, an internal service the company uses to sign and publish packages. Address filtering on the service blocked the attacker’s first attempt from Amazon Web Services, according to Wiz, though the attacker was able to publish on a second try from Microsoft-owned address space. (Related: Latest Update: How to train a newly introduced language...)

How the attacker obtained the credentials is not known. Microsoft had not responded to a request for comment from BleepingComputer as of Wednesday.

Sources indicate that the researchers also observed part of the operation, as the attacker’s tooling was reporting its progress to the same public webhook it was using to collect stolen data. The tooling identified itself as Cairn, an open-source penetration-testing framework that uses AI.

Sources indicate that the malware itself is delivered through a .pth file added to both releases, a type of file Python runs every time it starts, meaning the credential stealer runs even if the framework itself is never imported. The two versions also kept the genuine agent-framework-core 1.26.0 as a dependency, so the framework continued to work normally while the malware ran in the background.

Sources indicate that once running, the malware collects secrets from environment variables and from other running processes, along with credential files for services such as Azure, npm, Git, Docker and Hugging Face. It also requests Azure managed identity tokens for 12 resources, according to application security company Endor Labs Inc., with the second version adding requests for GitHub Actions tokens. The stolen data is then compressed, encoded and sent to a webhook.site address controlled by the attacker.

Researchers at malware tracking site OpenSourceMalware described the malware as a “focused credential and token stealer, not a remote access trojan,” noting that it does not install any persistence on infected systems.

Recent findings suggest that wiz’s analysis suggests the number of victims may be small, though it covers only the 50 requests the attacker’s free webhook.site account retained. Of those, 17 represented only three unique successful thefts of victim data, with the rest coming from the attacker’s own machines and from sandbox and security vendor scanning.

Recent findings suggest that the incident is not the first this year involving an official Microsoft Python package. In May, Microsoft’s durabletask package was hijacked after its PyPI token was stolen in an attack that has been linked to TeamPCP, the group also behind the compromise of LiteLLM. Wiz states it has not linked the two incidents.

Anyone who installed either of the malicious versions is being urged to treat it as a credential compromise, according to researchers, who recommend rebuilding from version 1.26.0 and rotating any secrets the affected systems could access.

“A list of dependencies in production might show no trace of the framework, while a build runner could have installed it and been shut down before the alert arrived,” James Matchett, head of security at software supply chain security company Cloudsmith Ltd., told SiliconANGLE.

“If that runner had access to a deployment token, the team needs to know which version it installed and what the token could access,” he added.

Industry observers note that support our mission to keep content open and free by engaging with theCUBE community. Join theCUBE’s Alumni Trust Network, where technology leaders connect, share intelligence and create opportunities.

It has been revealed that founded by tech visionaries John Furrier and Dave Vellante, SiliconANGLE Media has built a dynamic ecosystem of industry-leading digital media brands that reach 15+ million elite tech professionals. Our upcoming proprietary theCUBE AI Video Cloud is breaking ground in audience interaction, leveraging theCUBEai.com neural network to help technology companies make data-driven decisions and stay at the forefront of industry conversations.

Nvidia reverses course, reinstating Jensen Huang as CEO.

AI agents leaked confidential data in 87 of 100 test runs, Cyberhaven finds.

Innovaccer expands Gravity Voice AI agents with SpaceXSI's Grok Voice model.

Bootstrapped startup Levenza brings consumer-style personal agents to business workers.

Post-quantum cryptography startup Q.security introduces with $11.5M in funding.

Robotics component maker coprod raises $6M to take on robotics 'integration hell'.

Nvidia reverses course, reinstating Jensen Huang as CEO.

According to recent reports, AI - BY KYT DOTSON . 52 MINUTES AGO.

AI agents leaked confidential data in 87 of 100 test runs, Cyberhaven finds.

SECURITY - BY DUNCAN RILEY . 3 HOURS AGO.

Innovaccer expands Gravity Voice AI agents with SpaceXSI's Grok Voice model.

AI - BY DUNCAN RILEY . 3 HOURS AGO.

Bootstrapped startup Levenza brings consumer-style personal agents to business workers.

Recent findings suggest that AI - BY MIKE WHEATLEY . 4 HOURS AGO.

Post-quantum cryptography startup Q.security rolls out with $11.5M in funding.

SECURITY - BY DUNCAN RILEY . 4 HOURS AGO.

Robotics component maker coprod raises $6M to take on robotics 'integration hell'.

EMERGING TECH - BY DUNCAN RILEY . 8 HOURS AGO.

→ Read original article