Short answer: A credential-stealing malware was found in Microsoft’s official Python agent framework. Anyone who installed versions 1.26.1 or 1.26.2 should isolate their systems and rebuild from a clean base.

TL;DR

  • Malware found in Microsoft’s Python agent framework.
  • Versions 1.26.1 and 1.26.2 are affected.
  • Isolate systems and rebuild from a clean base.
  • Review and update OIDC permissions and managed-identity roles.

What happened?

A credential-stealing malware was discovered in Microsoft’s official Python agent framework. It collects cloud and CI/CD credentials and sends them to an attacker. Developers should isolate affected systems and ensure no secrets are compromised.

Malware
Harmful software made to spy, steal or damage.
Credentials / secrets
Passwords, keys and tokens that prove who you are to a system.

Key facts

Reported byHelp Net Security
Date reported19 Nov 2026

How it works

Attack flow: Bad code added to official Python tool then Tool used by many developers then Code ran every time Python started then Copied secrets and sent them away
Built from the checked story facts

A bad person added a secret-stealing code to a Python tool. This code ran every time someone used the tool, copying secrets like tokens and sending them to a website. The code was hidden well, making it hard to find.

  1. Bad code added to official Python tool
  2. Tool used by many developers
  3. Code ran every time Python started
  4. Copied secrets and sent them away

Timeline

DateEventSource
2026-11-19Reported by Help Net SecurityHelp Net Security
2026-12-04This Skillmate explainer publishedSkillmate

How to fix it

  1. Keep the operating system, browser and security software updated.
  2. Do not open unexpected attachments or install software from unofficial sources.
  3. Report suspicious files or pop-ups to your IT or security team.

How to detect it

Signs to watch for:

  • Unknown programs starting at boot, or new scheduled tasks.
  • Security software that was turned off without a reason.
  • Unusual outbound connections from a workstation.

What is confirmed

  • Reported by Help Net Security

Why it matters

This can steal important secrets used by cloud services. Teams must be careful to only use trusted tools and regularly check for hidden threats.

Learn the skills behind this story

Want to understand attacks like this and defend against them? Join Skillmate cybersecurity training or practise hands-on in Skillmate Labs.

FAQ

What is a credential stealer?

A credential stealer is a malicious program that looks for and steals sensitive information like passwords and tokens.

How can I protect my system?

Isolate affected hosts, rebuild from a clean base, pin to a clean version, and restrict outbound connections.

How did the attackers get access?

Sources do not provide details on how the attackers obtained publishing rights.

Sources

How we wrote this: facts come from the sources above. An on-prem AI model drafted the plain-English parts and every sentence was checked against the sources; unsupported sentences were removed. MITRE mapping is our own judgement.

Watch today's video brief: https://youtu.be/40oNMwuJWiQ