Skip to content
EventPast event

Two versions of Microsoft agent-framework poisoned to steal cloud credentials

9 reports9 reporting sourcesplus 5 outlets covering itLatest report

Start here

AI overview

On November 17, 2026, malicious versions 1.26.1 and 1.26.2 of Microsoft Agent Framework's PyPI package agent-framework appeared, containing credential-stealing code; PyPI quarantined them in under an hour, and the last clean version was 1.26.0. According to analyses by Wiz, Socket and other vendors, the malicious versions used a .pth startup hook to execute on every Python startup without needing to import the package, collected environment variables, credential files and other processes' environments, attempted to request Azure managed identity, Azure DevOps and GitHub Actions OIDC tokens, and exfiltrated data to webhook.site. Chainguard said the publishing account was compromised rather than typosquatting, and the attacker may still hold publishing permissions; Wiz found no 1.26.1 release tag in Microsoft's GitHub project, and how publishing permissions were obtained remains unknown. The package has about 41,000 weekly downloads, and the actual scale of victims has not been confirmed. Parties recommend pinning to 1.26.0 and rotating credentials; CSA warned that running pip uninstall in an infected environment will trigger the payload again.

Generated by AI from reports · Updated 2 days ago

Attention and developments

Attention, hourlyA report

Now 46, -11% in 24 hours·Peak 80 (Nov 19 17:00)·3 reports in this range, 3 earlier·3 other outlets followed

Nov 20Nov 21Nov 22Nov 23Now 46

Progress timeline

Nov 21
Nov 20
Nov 19
  1. CSA Labs Research
    Microsoft Agent Framework's PyPI package was hijacked, and a malicious version used a .pth startup hook to steal credentials

    On November 17, 2026, an unknown attacker published two malicious versions, 1.26.1 and 1.26.2, of the Microsoft Agent Framework meta-package agent-framework on PyPI under the name of a legitimate project, with a credential stealer built into the wheel; PyPI quarantined both within about 45 minutes, and 1.26.0 is the last known clean version. The payload is delivered via a Python .pth startup hook and runs on every interpreter startup, collecting environment variables, credential files, and secrets from other processes on the same host, and attempts to mint Azure managed identity, Azure DevOps, and GitHub Actions OIDC tokens and send them back to webhook.site. CSA warns that running pip uninstall in an infected environment will trigger the payload again, and that _AF_TEL=1 should be set first or uv used instead; StepSecurity says its conclusions come from static analysis, that it has not confirmed any token was actually issued, and that the initial access vector remains unconfirmed.

  2. iThome (Taiwan)Selected
    Microsoft Agent Framework package found implanted with malware, targeting Azure and CI/CD environment credentials

    The Python package agent-framework of Microsoft's AI agent development framework Microsoft Agent Framework was implanted with malicious programs. According to analysis by security vendor Wiz, the attacker published malicious versions 1.26.1 and 1.26.2 on PyPI on November 17, attempting to steal authentication credentials for Azure cloud services and development and CI/CD environments such as Azure DevOps and GitHub Actions; both versions have been removed from PyPI, the latest safe version is 1.26.0, the actual scale of victims has not been confirmed, and the package has about 41,000 weekly downloads. Researchers did not find a release tag for 1.26.1 in Microsoft's GitHub project, and assess that the attacker may have bypassed the normal release process to upload directly to PyPI; how the publishing permissions were obtained remains unclear.

  3. CSO OnlineSelected
    Attackers hijack Microsoft's agent-framework package to steal Azure and CI credentials

    Attackers briefly hijacked the distribution of Microsoft's official Agent Framework package on PyPI to deliver credential-stealing malware; the malicious versions 1.26.1 and 1.26.2 went live on November 17 and were available for less than an hour. According to OX Security's analysis, the payload runs automatically on every Python startup, collects environment variables containing keywords such as TOKEN, SECRET, AZURE and OPENAI, reads up to 60 credential files, extracts secrets from up to 300 processes, and requests identity tokens in Azure DevOps pipelines, sending data to an attacker-controlled webhook.site address. Endor Labs believes the attack mainly targeted automated build systems, and that the two malicious versions were uploaded only as wheel files; OX said the attackers appear to have hijacked the wheel file build process. According to OX's count, the package has 192,534 monthly downloads, and Endor Labs said that during that period any installation without a pinned version would pull the malicious version.

Nov 18
  1. The Hacker NewsSelected
    Attackers poisoned Microsoft Agent Framework's PyPI package to steal cloud credentials

    Microsoft Agent Framework (an open-source framework for building and orchestrating AI agents in Python)'s PyPI meta-package agent-framework was poisoned by attackers; the malicious versions 1.26.1 and 1.26.2, released 33 minutes apart on November 17, 2026, have been quarantined on PyPI, and the incident was reported by multiple security vendors including Aikido, Socket and Wiz. The package has about 190,000 monthly downloads, and the report recommends that users pin to the safe version 1.26.0, check for exposure between 8:35 and about 9:20 UTC on November 17, and rotate credentials. How the attacker obtained publishing permissions is still unclear; this is the second Microsoft-related PyPI package poisoning incident this year.

  2. StepSecurity
    Microsoft agent-framework PyPI package poisoned

    Microsoft's official agent-framework PyPI packages 1.26.1 and 1.26.2 were implanted with a credential-stealing malicious payload on November 17, 2026; PyPI has quarantined both versions, and the last clean version is 1.26.0, released on November 12. StepSecurity's static analysis of the two quarantined wheels found that the payload writes a .pth startup hook into site-packages, executing as soon as Python starts, without needing to import the framework; it collects environment variables and credential files, captures other processes' environments via /proc/*/environ, and attempts to request new tokens from GitHub Actions OIDC, Azure DevOps OIDC and Azure managed identity endpoints, exfiltrating data to webhook.site.

  3. GitHub Security AdvisoriesSelected
    Versions 1.26.1 and 1.26.2 of the Microsoft Agent Framework PyPI package were implanted with credential-stealing code

    Versions 1.26.1 and 1.26.2 of the agent-framework package on PyPI (Microsoft Agent Framework) were implanted with credential-stealing code; both versions were released on 2026-11-17, have now been removed from PyPI, and no fixed version exists yet. The malicious versions execute via a .pth startup hook on every Python interpreter startup, triggering after installation without needing to import the package; they collect environment variables whose names contain keywords such as TOKEN, SECRET, AWS, GITHUB, and OPENAI, the /proc/*/environ of other processes, credential files such as .npmrc, .git-credentials, and .env, as well as Azure DevOps OIDC tokens and Azure managed identity tokens; 1.26.2 additionally adds theft of GitHub Actions OIDC tokens; the data is zlib-compressed, base64-encoded, and POSTed to a collection endpoint on webhook.site.

  4. SocketSelected
    Microsoft's agent-framework PyPI package was compromised and implanted with credential-stealing code

    Microsoft's agent-framework PyPI package was compromised on November 17, with credential-stealing code implanted in versions 1.26.1 and 1.26.2. The malicious code uses a .pth startup hook to collect credential-related environment variables, local configuration and credential files, and the environments of other processes at Python startup in a background process or thread, and actively requests cloud identity tokens such as Azure managed identity tokens; 1.26.2 additionally adds GitHub Actions OIDC token requests. The data is compressed and Base64-encoded, then exfiltrated to the same webhook.site endpoint. 1.26.2 restores the legitimate package initialization file byte for byte, so checking only that file would miss this version. Socket recommends avoiding installation of these two versions; those who have installed them should remove them and rotate potentially leaked credentials. The article includes SHA256 values for the relevant files.

  5. Wiz ResearchSelected
    Wiz: malicious versions 1.26.1/1.26.2 of Microsoft agent-framework steal Azure and CI credentials

    Wiz Research reported that on November 17, 2026, malicious versions 1.26.1 and 1.26.2 of Microsoft Agent Framework's agent-framework package appeared on PyPI, containing a stealer targeting Azure and CI credentials; both versions were taken down that day, the latest secure version is 1.26.0, and the package has about 41,000 weekly downloads. The malicious versions drop a .pth file in site-packages, so the stealer executes every time the Python interpreter starts, even if the package is never imported; the stealer collects environment variables, credential files, Azure managed identities and Azure DevOps OIDC tokens, among other things, and exfiltrates them to webhook.site, and 1.26.2 also requests a GitHub Actions OIDC token in workflows where id-token: write is enabled.

Nov 17
  1. ChainguardSelected
    Microsoft agent-framework compromised on PyPI: 1.26.1 and 1.26.2 carry credential-stealing code

    On November 17, 2026, Microsoft agent-framework versions 1.26.1 and 1.26.2 on PyPI were implanted with credential-stealing code; researchers say this was a compromise of the publishing account rather than typosquatting. Both versions write a .pth file into site-packages, so the stealing code executes every time Python starts, with no need to import agent_framework. The code steals environment variables whose names contain TOKEN, SECRET, KEY, AZURE, etc., and credential files such as .npmrc, .env, and Hugging Face tokens, and requests OIDC tokens for GitHub Actions and Azure DevOps and Azure managed identity tokens. The code has no system-level persistence; deleting the file with shell tools removes it, but credentials already sent out need to be rotated; the publishing account has been isolated, and researchers believe the attacker may still hold publishing permissions.

Related discussion

Total 390 items

What people think

By account: 36 hold one of the views above, 58 posted without a clear one, and 245 more only relayed the news. AI drew the views from the posts; a post is placed only when three models, judging apart, all agree. The posts themselves are the record.

Attention trend

New sources per day

353 in 9 days·most 174 (Nov 18)·today 0

  • Nov 18: 174 new sources (6 outlets, 168 accounts)
  • Nov 19: 115 new sources (7 outlets, 108 accounts)
  • Nov 20: 59 new sources (0 outlets, 59 accounts)
  • Nov 21: 5 new sources (1 outlets, 4 accounts)
  • Nov 22: 0 new sources (0 outlets, 0 accounts)
  • Nov 23: 0 new sources (0 outlets, 0 accounts)
  • Nov 24: 0 new sources (0 outlets, 0 accounts)
  • Nov 25: 0 new sources (0 outlets, 0 accounts)
  • Nov 26: 0 new sources (0 outlets, 0 accounts)

Hourly attention

Current attention 46·Peak in the comparable period 80 (Nov 19 17:00)·Change over the comparable past 24 hours -11%

0255075100Nov 1901:00Nov 2016:00Nov 2208:00Nov 2323:00