[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"post:microsoft-agent-framework-1-26-1-and-1-26-2-on-pypi-stole":3},{"post":4,"author":19,"controls":26,"vendors":27,"more":28,"episode":14},{"slug":5,"kind":6,"title":7,"excerpt":8,"cover_image_url":9,"cover_image_alt":10,"author_name":11,"published_at":12,"body_md":13,"author_title":14,"regulation_refs":15,"ai_assisted":16,"cover_ai_generated":17,"updated_at":12,"reading_minutes":18},"microsoft-agent-framework-1-26-1-and-1-26-2-on-pypi-stole","rapid-alert","Microsoft agent-framework 1.26.1 and 1.26.2 on PyPI stole Azure and CI credentials on every Python start","Two malicious releases of Microsoft's agent-framework meta-package landed on PyPI on 17 Nov within 33 minutes. A .pth startup hook ran a credential stealer on every Python launch, targeting Azure, Azure DevOps and GitHub Actions secrets. Pin 1.26.0 and rotate.","https:\u002F\u002Fzbqafrnxsxwbarztrtqp.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fresources\u002Frapid\u002Fmicrosoft-agent-framework-1-26-1-and-1-26-2-on-pypi-stole-285d54fb-cover.png","agent-framework rapid alert: Built AI agents with Azure creds? Any Python start leaked your tokens.","Marcus Lenngren","2026-11-18T04:45:11.58+00:00","![agent-framework rapid alert: Built AI agents with Azure creds? Any Python start leaked your tokens.](https:\u002F\u002Fzbqafrnxsxwbarztrtqp.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fresources\u002Frapid\u002Fmicrosoft-agent-framework-1-26-1-and-1-26-2-on-pypi-stole-285d54fb-card.png \"The rapid alert card: save it and share it with your team\")\n\n## What happened\n\nOn 17 November 2026, two malicious versions of Microsoft's `agent-framework` PyPI package were published: 1.26.1 and 1.26.2. Both carried a credential stealer. The package is the meta-package for Microsoft's Agent Framework for Python, so the machines most likely to install it are the ones holding Azure credentials worth stealing.\n\nThe malware installs as a Python `.pth` startup hook in `site-packages`. Python's `site` module reads `.pth` files on every interpreter start and runs any line beginning with `import`. That means the stealer fires whenever Python starts in that environment, even if nothing ever imports `agent_framework`. Running `pytest`, a build script, or `pip` itself is enough.\n\nThe releases were uploaded through the project's legitimate Microsoft publisher credentials, as a wheel only, with no trusted-publishing provenance and the user-agent `RestSharp\u002F106.13.0.0`. There is no matching `python-1.26.1` tag or malicious code in the GitHub repository. How the credentials were obtained is not confirmed.\n\n## Timeline\n\n- 12 Nov 18:25 UTC: clean 1.26.0 published (wheel plus sdist).\n- 17 Nov 20:35:20 UTC: malicious 1.26.1 uploaded.\n- 17 Nov 21:06:16 UTC: 1.26.1 quarantined by PyPI.\n- 17 Nov 21:08:39 UTC: malicious 1.26.2 uploaded, about 2 minutes 23 seconds after the first quarantine.\n- 17 Nov 21:16:44 UTC: 1.26.2 quarantined.\n\nThe attacker's publishing access survived the first quarantine. That does not confirm the access remains available now.\n\n## Am I affected?\n\nYou are exposed if you installed `agent-framework` 1.26.1 or 1.26.2 between about 20:35 and 21:20 UTC on 17 Nov, directly or through a loose requirement like `agent-framework>=1.26`.\n\nCI is where this hurts most. A pipeline or container build that resolved a fresh install during the window ran the stealer with whatever the job could reach. On Azure DevOps that means `SYSTEM_ACCESSTOKEN` and service connections. On GitHub Actions, 1.26.2 targets the OIDC token any workflow with `id-token: write` can request. Developer laptops and Azure VMs with a managed identity attached are exposed too.\n\nThe two versions leave different files behind. Checking only for 1.26.1's filenames will miss 1.26.2, which restored the legitimate initializer byte-for-byte and moved its code to a top-level `af_runtime_diag.py`.\n\n## What to do now\n\n1. Isolate any host or runner that installed either version before starting Python or pip on it.\n2. Search lockfiles, CI logs, virtualenvs, container images and package caches built since 17 Nov for 1.26.1 or 1.26.2.\n3. Look in `site-packages` for `agent_framework_meta.pth` and `agent_framework_meta\u002F_telemetry.py` (1.26.1), or `af_runtime_diag.pth` and `af_runtime_diag.py` (1.26.2). Any Python process started there ran the payload.\n4. Rebuild from a clean base image or dependency set and pin `agent-framework==1.26.0`, the last clean release.\n5. From a clean system, rotate every secret the environment could reach: Azure CLI sessions, Azure DevOps PATs and service connections, Azure service principal credentials, GitHub, npm, PyPI, NuGet, Docker and Hugging Face tokens, and git credentials.\n6. Audit Azure sign-in and activity logs for managed identities and federated credentials reachable from affected VMs, App Services, AKS nodes or ADO pipelines. Stolen managed-identity and OIDC-exchanged tokens are valid for up to 24 hours.\n7. For GitHub Actions jobs that installed 1.26.2 with `id-token: write`, check Entra ID trust settings and sign-ins for the linked application.\n\n## How to hunt\n\nSearch proxy and DNS logs for `webhook[.]site\u002Fd381fd80-ec62-42ad-8f5c-d1b15103c9bb` (path `?t=telemetry`). A 200 response means that host's data was accepted. A 410 or 429 suggests it was rejected: the free-tier endpoint caps at 100 requests. A domain connection alone does not confirm exfiltration.\n\nLook for exfil user-agents `af-runtime-diagnostics\u002F1` (1.26.1) and `runtime-diagnostics\u002F1` (1.26.2), and for the run-once marker `_AF_TEL=1`. There is no persistent on-disk execution marker, so a fresh process tree can trigger collection again.\n\n## What does not help\n\nRemoving the package stops future runs but does not undo anything already sent. PyPI quarantine does not remove copies already installed or cached. Searching only for 1.26.1's filenames misses 1.26.2.\n\n## Sources\n\n- [Microsoft agent-framework PyPI Package Compromised](https:\u002F\u002Fwww.stepsecurity.io\u002Fblog\u002Fmicrosoft-agent-framework-pypi-package-compromised), StepSecurity, 18 Nov\n- [Microsoft agent-framework Compromised: Credential Stealer Targets Azure and CI Pipelines](https:\u002F\u002Fwww.wiz.io\u002Fblog\u002Fmalicious-version-of-microsofts-agent-framework-published-to-pypi), Wiz Research, 17 Nov\n- [Microsoft’s Agent Framework PyPI Package Hacked to Steal Azure and GitHub Credentials](https:\u002F\u002Fcybersecuritynews.com\u002Fmicrosofts-agent-framework-pypi-package\u002F), Cyber Security News, 18 Nov\n- [Two malicious agent-framework releases hit PyPI in 33 minutes](https:\u002F\u002Fwww.aikido.dev\u002Fblog\u002Ftwo-malicious-agent-framework-releases-hit-pypi-in-33-minutes), Aikido Security, 17 Nov\n- [Microsoft’s agent-framework PyPI package Compromised with Credential Stealer](https:\u002F\u002Fsocket.dev\u002Fblog\u002Fagent-framework-pypi-package-compromised-with-credential-stealer?utm_medium=feed), SocketDev, 17 Nov\n",null,[],true,false,3,{"name":11,"slug":20,"same_as":21,"job_title":22,"photo_url":23,"short_bio":24,"linkedin_url":25},"marcus-lenngren",[],"Founder, ThreatNoir","https:\u002F\u002Fzbqafrnxsxwbarztrtqp.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fresources\u002Fauthors\u002Fmarcus-lenngren-ca3a2dad9da5.jpg","Founder of ThreatNoir. Security and technology leader: CTO and CISO in a regulated industry, head of applications, network and data centre at Schibsted Sverige, and today security engineering for a global retailer's SOC. CISSP, CISM and AAISM.","https:\u002F\u002Fwww.linkedin.com\u002Fin\u002Fmarcuslenngren",[],[],[29,38,46],{"slug":30,"kind":31,"title":32,"excerpt":33,"cover_image_url":34,"cover_image_alt":35,"author_name":11,"published_at":36,"reading_minutes":37},"you-will-not-out-patch-the-2shell-wave-decide-what-a-shell-can-reach-instead","blog","You will not out-patch the 2Shell wave. Decide what a shell can reach instead.","Attackers were exploiting PHP2Shell four days before the patch shipped. If the plan is to patch faster, the timeline says that race is lost, so the plan has to be what a shell can reach.","https:\u002F\u002Fzbqafrnxsxwbarztrtqp.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fresources\u002Fblog\u002Fai-75e79bd7-e550-42fb-b401-569be4b7b8ea.png","A broken computer shell releasing tendrils of dark code that reach towards network nodes and engulf a server.","2026-11-19T19:51:04.425+00:00",6,{"slug":39,"kind":31,"title":40,"excerpt":41,"cover_image_url":42,"cover_image_alt":43,"author_name":11,"published_at":44,"reading_minutes":45},"the-attackers-did-not-get-smarter-they-got-faster-does-your-patch-window-know-th","The attackers did not get smarter, they got faster. Does your patch window know that?","The techniques are old, but the speed is not. If your patch window assumes humans on the other side, this report says that assumption is now wrong.","https:\u002F\u002Fzbqafrnxsxwbarztrtqp.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fresources\u002Fblog\u002Fai-65a0789f-bf3e-4eb4-b903-ffb061ec7bed.png","A digital clock spinning fast, surrounded by robotic arms assembling old attack tools at high speed.","2026-11-19T09:25:27.261+00:00",4,{"slug":47,"kind":6,"title":48,"excerpt":49,"cover_image_url":50,"cover_image_alt":51,"author_name":11,"published_at":52,"reading_minutes":45},"nginx2root-unauthenticated-http-2-rce-in-nginx-cve-2026","nginx2root: unauthenticated HTTP\u002F2 RCE in nginx (CVE-2026-123007), patch to 1.31.9 or 1.30.7 now","A 10-year-old flaw in nginx HTTP\u002F2 flow control lets an unauthenticated attacker run code as the nginx worker. Fixed in 1.31.9 and 1.30.7 on 18 Nov. Chained with a Linux kernel SCTP bug, researchers reached root. PoC is public.","https:\u002F\u002Fzbqafrnxsxwbarztrtqp.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fresources\u002Frapid\u002Fnginx2root-unauthenticated-http-2-rce-in-nginx-cve-2026-d0c62f1c-cover.png","nginx 1.31.8 rapid alert: Your nginx has HTTP\u002F2 on? One request and the worker is theirs.","2026-11-19T06:35:51.219+00:00"]