Microsoft’s Agent Framework PyPI package compromised to steal credentials
Hackers compromised Microsoft's official Agent Framework Python package on PyPI to steal cloud credentials and other sensitive information from developers' systems.
Overview
HackersA person who explores and manipulates computer systems, either as a criminal intruder or a security researcher compromised Microsoft's official Agent Framework Python package on PyPI by publishing two malicious versions designed to steal cloud credentialsAccess keys, tokens, or login secrets that grant control over cloud servers and storage. The Agent Framework is an open-sourceSoftware whose source code is publicly available for anyone to inspect, use, modify, and share toolkit used to build AI agentsArtificial intelligence software that can plan steps, call tools, and take actions on its own, and it has roughly 200,000 monthly downloads. The malicious releases, versions 1.26.1 and 1.26.2, were published on November 17, 2026, and contained a credential stealerMalware built to quietly copy saved passwords, browser cookies, and wallet keys from an infected device that executed automatically during normal Python startup. This malware harvested secretsPrivate credentials used by software, such as API keys, database passwords, and encryption keys from environment variablesA named setting stored in a program's running environment that often holds file paths or secret keys and local configuration filesA text file that stores settings, network addresses, and options for how a program or server runs, targeting Azure, AWS, GitHub, Docker, Hugging Face, and OpenAI. The attacker also attempted to obtain Azure managed identity access tokensA short-lived digital pass that a server gives a logged-in user or app and Azure DevOps OIDCAn identity layer built on OAuth that lets apps verify user logins through a central provider tokens to gain access to additional cloud resources. Developers who installed these specific versions had their sensitive information exfiltratedThe unauthorized copying and sending of stolen files or records out of a victim's network to an attacker-controlled endpoint.
Terms in this story
- Hackers
- A person who explores and manipulates computer systems, either as a criminal intruder or a security researcher. In news headlines, the word hacker usually means an unauthorized intruder, though the security community also uses it for researchers who find and fix flaws.
- 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.
- 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
- 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.
- AI agents
- Artificial intelligence software that can plan steps, call tools, and take actions on its own. Many stories cover agentic AI when companies connect language models to email, browsers, and databases, creating new risks if a hidden prompt tricks the agent into leaking data.
- 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
- secrets
- Private credentials used by software, such as API keys, database passwords, and encryption keys. Software teams use vault tools to keep secrets out of source code because anyone who finds a leaked secret in a public repository can log right in to the company's cloud services.
- environment variables
- A named setting stored in a program's running environment that often holds file paths or secret keys. Cloud apps frequently store database passwords and API tokens in environment variables, so an attacker who tricks a server into printing its environment variables can steal those secrets.
- configuration files
- A text file that stores settings, network addresses, and options for how a program or server runs. Attackers who gain read access to a server look for its configuration file first because it often contains database passwords, API keys, and internal server paths.
- access 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
- OIDC
- An identity layer built on OAuth that lets apps verify user logins through a central provider. Many single sign-on portals use OIDC to issue a signed identity token confirming who just logged in and what email address they hold.
- exfiltrated
- 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
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 BleepingComputer website. Cite the article, not this page.
Read the full article on BleepingComputer (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
"...hackers compromised microsofts official agent framework..." Found by reading the article; these exact words are in it - Security+ 2.2 Explain common threat vectors and attack surfaces.
"Microsoft’s Agent Framework PyPI package compromised to steal credentials..." Found in the headline - Security+ 4.6 Given a scenario, implement and maintain identity and access management.
"......Agent Framework PyPI package compromised to steal credentials..." Found in the headline - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of malware triage.
"...contained a credential stealer that executed automatically..." 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
- 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
- Attackers Compromise Microsoft's Agent Framework PyPI Package to Steal Cloud Credentials
- 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