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 by | Help Net Security |
|---|---|
| Date reported | 19 Nov 2026 |
How it works

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.
- Bad code added to official Python tool
- Tool used by many developers
- Code ran every time Python started
- Copied secrets and sent them away
Timeline
| Date | Event | Source |
|---|---|---|
| 2026-11-19 | Reported by Help Net Security | Help Net Security |
| 2026-12-04 | This Skillmate explainer published | Skillmate |
How to fix it
- Keep the operating system, browser and security software updated.
- Do not open unexpected attachments or install software from unofficial sources.
- 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.
Related Skillmate posts
Sources
- Credential stealer slipped into Microsoft’s official Python agent framework (Help Net Security)
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
