Attackers Compromise Microsoft's Agent Framework PyPI Package to Steal Cloud Credentials
Attackers compromised a Microsoft package to steal cloud credentials, and the malicious versions were quarantined on the Python Package Index.
Overview
Threat actorsA person or group that carries out cyberattacks, whether for money, spying, or disruption compromised the Microsoft agent-framework package to distribute a credential stealerMalware built to quietly copy saved passwords, browser cookies, and wallet keys from an infected device through versions 1.26.1 and 1.26.2. These malicious versions were published 33 minutes apart on November 17, 2026, and are designed to run a credential stealer on every Python start. The package drops a .pth file in the site-packages rootThe highest administrator permission level on a system, with unrestricted control over all files and programs directory, which gets executed automatically on every interpreter start. This mechanism causes the stealer to run whenever Python is started in an environment, even if the package is not explicitly imported. The code silently collects credentialsThe login details, such as a username and password or key, that prove who an account belongs to, environment data, and cloud identity tokensA short-lived digital pass that a server gives a logged-in user or app, then exfiltratesThe unauthorized copying and sending of stolen files or records out of a victim's network them to a webhookAn automated HTTP message that one web service sends to another URL whenever a specific event happens.site endpointAny user device or server, such as a laptop, phone, or workstation, connected to a network. Both release versions have been quarantined on the Python Package Index (PyPI) repositoryA central storage place where a software project's source code, change history, and configuration files are kept.
Terms in this story
- Threat actors
- A person or group that carries out cyberattacks, whether for money, spying, or disruption. Security researchers use the term threat actor to refer to a criminal gang, state spy unit, or solo hacker behind a series of intrusions. Security+ objective 2.1 lists the term
- credential stealer
- Malware built to quietly copy saved passwords, browser cookies, and wallet keys from an infected device. Victims often download an infostealer through a fake game crack or malicious ad, and the stolen login cookies are then sold to ransomware crews on criminal markets. Security+ objective 2.4 lists the term
- root
- The highest administrator permission level on a system, with unrestricted control over all files and programs. An attacker who gains root privileges on a server can read any user's data, alter system settings, install kernel drivers, and hide their activity from ordinary accounts.
- credentials
- The login details, such as a username and password or key, that prove who an account belongs to. Many breaches begin when attackers steal an employee's login credentials through a fake website and sign in to the company network as if they belonged there. Security+ objective 4.6 lists the term
- tokens
- A short-lived digital pass that a server gives a logged-in user or app. After you sign in once, your browser or app presents a token on each request, and if malware steals that token the attacker can act as you without knowing your password. Security+ objective 4.6 lists the term
- exfiltrate
- The unauthorized copying and sending of stolen files or records out of a victim's network. Before launching ransomware or after breaking into a cloud database, attackers perform data exfiltration by quietly uploading customer records to an external storage server they control. Security+ objective 2.1 lists the term
- webhook
- An automated HTTP message that one web service sends to another URL whenever a specific event happens. Legitimate apps use a webhook to post chat alerts when code is updated, while malware authors often abuse chat webhooks to send stolen passwords straight to their own channels.
- endpoint
- Any user device or server, such as a laptop, phone, or workstation, connected to a network. Security teams install monitoring tools on every company endpoint because a single employee laptop infected at home can carry malware onto the corporate network.
- repository
- A central storage place where a software project's source code, change history, and configuration files are kept. Software teams collaborate by pushing code to a shared repository, and attackers scan public repositories for accidentally committed API keys or try to poison popular projects.
- Cloud Credentials
- Access keys, tokens, or login secrets that grant control over cloud servers and storage. Attackers scan public code repositories and developer laptops for cloud credentials so they can spin up cryptominers or download company databases.
- open-source
- Software whose source code is publicly available for anyone to inspect, use, modify, and share. Most websites and apps rely on hundreds of open-source code libraries, so a single security flaw or malicious update in a popular library can affect thousands of companies at once.
- runtime
- The environment in which a program executes, or the period of time while the program is actively running. A flaw in a container or language runtime can let a program escape its isolation, and runtime security tools watch what a program actually does in memory while it runs.
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the The Hacker News website. Cite the article, not this page.
Read the full article on The Hacker News (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Breach or attack
"...attackers compromise microsofts agent framework..." Found by reading the article; these exact words are in it - Who is affected: "...microsofts agent framework..."
Copied word for word from the article - Security+ 2.1 Compare and contrast common threat actors and motivations.
"Threat actors have compromised Microsoft's agent-framework package to push..." Found in the opening sentences - Security+ 2.2 Explain common threat vectors and attack surfaces.
"Attackers Compromise Microsoft's Agent Framework PyPI Package to Steal Cloud Credentials..." Found in the headline - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"......Microsoft's agent-framework package to push a credential stealer, according to reports from Aikido, Chainguard,..." Found in the opening sentences - Security+ 4.6 Given a scenario, implement and maintain identity and access management.
"......Agent Framework PyPI Package to Steal Cloud Credentials..." Found in the headline - CYBR 101 week 2: the CIA triad, threat actors, risk and CVEs
"Threat actors have compromised Microsoft's agent-framework package to push..." Found in the opening sentences - CYBR 101 week 9: malware, indicators and how detection works
"......Microsoft's agent-framework package to push a credential stealer, according to reports from Aikido, Chainguard,..." Found in the opening sentences - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of malware triage.
"...malicious versions, 1.26.1 and 1.26.2..." Found by reading the article; these exact words are in it
How a story is connected to the course, and every objective, week and job role
Same story at other outlets
- Credential stealer slipped into Microsoft’s official Python agent framework
- Microsoft’s Agent Framework PyPI package compromised to steal credentials
- Attackers hijack Microsoft’s agent-framework package to steal Azure and CI credentials
- Microsoft agent-framework PyPI hijack: inside the stealer and the repos that command AI agents
- Microsoft’s AI Agent Framework Package Compromised on PyPI to Steal Cloud Credentials
- Microsoft’s Agent Framework PyPI Package Hacked to Steal Azure and GitHub Credentials
- Two malicious agent-framework releases hit PyPI in 33 minutes