What happened
SafeDep’s announcement, published on 18 November 2026 and updated on 23 November, says agent-framework 1.26.1 and 1.26.2 were malicious releases uploaded to PyPI on 17 November. The package is Microsoft’s official Python metapackage for its Agent Framework. SafeDep identifies 1.26.0 as the last clean release and says PyPI removed both malicious versions. The project receives about 192,000 downloads a month; the number of installations of the affected versions was not known when SafeDep published its analysis.
The central mechanism was a Python .pth file. Python’s site module executes import lines in .pth files at interpreter startup. Version 1.26.1 added agent_framework_meta.pth, which imported a module that launched a detached collector process. Version 1.26.2 used a differently named startup file, af_runtime_diag.pth, and moved the collector into a different module. As a result, installing either version could trigger the code without an application importing the package. SafeDep says the malicious releases each shipped only as a wheel, unlike releases from 1.20.0 through 1.26.0, which shipped both a wheel and a source distribution.
According to SafeDep, the collector searched environment variables for names containing strings such as TOKEN, SECRET, KEY, AZURE, AWS, GITHUB and OPENAI, and read as many as 60 credential files, including Azure CLI data, package-manager credentials, Docker configuration, Hugging Face tokens and Git credentials. It also inspected up to 300 other processes’ environments, potentially exposing secrets from other jobs on a shared or self-hosted runner. The code requested fresh Azure DevOps and managed-identity tokens; the second release additionally requested GitHub Actions OIDC tokens for two audiences. The collected data was compressed and sent to a webhook.site endpoint.
SafeDep says it flagged 1.26.1 22 minutes after its 20:35 UTC upload. PyPI removed that release, but 1.26.2 appeared at 21:08 UTC and SafeDep flagged it four minutes later. The second version retained the same exfiltration endpoint while changing filenames and adding GitHub Actions OIDC collection. SafeDep also reports that a PyPI account named vibiret, created on the day of the attack, had publishing access to agent-framework and five related projects. Its role in the incident is not established. In its 23 November update, SafeDep cites Wiz Research’s assessment that the attacker appears to have compromised a client certificate and private key for Microsoft’s Engineering System Release Pipeline (ESRP), which signs and publishes the package. SafeDep says how those credentials were obtained is unknown.
What the archive adds
New Runtime covered the same incident in an earlier note dated 20 November 2026, reporting that the two releases ran credential-stealing code at Python startup. SafeDep’s updated account adds further detail about the collector, the second release, and the still-unconfirmed publishing path. This is a new fact on a known story, not a separate incident.
Trend signal
The incident supports the concern that compromised components in public agent ecosystems can turn routine installation into an execution and credential-exposure boundary. New Runtime tracks this in Skills become a portable capability layer, whose thesis emphasizes provenance, version pinning and security review as public registries grow. Here the affected artifact is a package rather than a skill, so the connection is about registry trust and verification, not identical package types.
Why now
SafeDep’s update on 23 November added Wiz Research’s assessment of a possible ESRP certificate and key compromise. That explanation remains provisional, but it shifts the operational question from simply removing a malicious version to establishing whether the publishing path is secure before trusting later releases.
Connections to other events
SafeDep says this was the second Microsoft PyPI package with rogue releases in six months, following malicious durabletask versions 1.4.1 to 1.4.3 in May. It explicitly says the payloads and infrastructure share nothing and there is no evidence linking the incidents. The separate cases nevertheless make package-publishing access and release provenance relevant concerns for teams consuming Microsoft packages.
Why it matters
A dependency compromise can cross from a library into the credentials of the environment that installs it. The startup hook described by SafeDep made installation sufficient; no application-level use of Agent Framework was needed. On shared CI runners, inspecting other processes’ environments also raises the possibility that one package installation could reach secrets belonging to other jobs. Meanwhile, tokens requested directly from Azure DevOps, managed identity or GitHub Actions may not be covered by rotating secrets already stored on disk.
Teams that installed either release should treat the environment’s reachable credentials as exposed, investigate from the installation time onward, and review identity and federation logs as well as rotating secrets. They should check lockfiles and installed files without starting Python in a suspect environment, since startup is the trigger. Pinning only agent-framework may also be insufficient: SafeDep says its 1.26.0 dependency requirements allowed updates to four sibling packages, and the new maintainer account had access to those projects too.
Limits and uncertainty
SafeDep says the number of installs of 1.26.1 and 1.26.2 is unknown. PyPI and Microsoft had not released upload logs that would establish who uploaded the files or how the vibiret account obtained maintainer access; its role remains unconfirmed. Wiz’s ESRP certificate-and-key explanation is an assessment, not a confirmed finding, and the route by which those credentials may have been obtained is unknown. SafeDep’s technical analysis describes the payload and indicators, but does not establish how many environments were compromised or what data attackers ultimately used.
Skill to build now
If your team used either version, search lockfiles and requirement files for agent-framework 1.26.1 or 1.26.2, then inspect installed environments for the two startup filenames identified by SafeDep without invoking Python. Treat accessible credentials as exposed, rotate them, and review Azure and federated-identity activity from the install time onward. For future installs, lock the full dependency tree with hashes rather than pinning only the top-level package.
Reader takeaway
The risky property was not an agent capability but a package startup hook: a routine install could execute code and expose credentials before a project ever used the framework. For teams affected by these versions, package removal is only the beginning; credential rotation, identity-log review and inspection of shared runners are part of containment.