Attackers hijack Microsoft’s agent-framework package to steal Azure and CI credentials
Attackers briefly hijacked Microsoft's AI agent package on PyPI to distribute malware that stole cloud and build credentials.
Overview
Attackers briefly hijacked Microsoft's official Agent Framework package on PyPI to distribute credential-stealing malwareMalware built to quietly copy saved passwords, browser cookies, and wallet keys from an infected device. Two malicious versions, 1.26.1 and 1.26.2, appeared on November 17 and remained live for less than an hour. The package is a credential stealer that harvests environment secretsPrivate credentials used by software, such as API keys, database passwords, and encryption keys, cloud and package-managerA developer tool that downloads, installs, and updates software libraries from a central registry credentialsThe login details, such as a username and password or key, that prove who an account belongs to, and Azure managed identity tokensA short-lived digital pass that a server gives a logged-in user or app. It exfiltratesThe unauthorized copying and sending of stolen files or records out of a victim's network this data to an attacker-controlled webhookAn automated HTTP message that one web service sends to another URL whenever a specific event happens and runs automatically every time Python starts. The malicious versions also installed the genuine framework code, so applications kept working and the compromise was easy to miss. The package has 192,534 monthly downloads, meaning many developers and automated build systems were potentially exposed to the threat.
Terms in this story
- credential-stealing malware
- 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
- credential-stealing
- Stealing usernames, passwords, login tokens, or keys so an attacker can sign in as a real user. Attackers use phishing pages, keyloggers, and memory dumps for credential theft because logging in with a real employee's password triggers fewer alarms than a noisy software exploit. Security+ objective 2.4 lists the term
- malware
- Software built to steal data, spy on users, lock files, or take control of a computer. News reports use malware as the umbrella term for viruses, ransomware, spyware, and trojans that criminals install on phones, laptops, or servers without permission. 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.
- package-manager
- A developer tool that downloads, installs, and updates software libraries from a central registry. Every major programming language has a package manager, and supply chain attackers target them by uploading trojanized libraries that install automatically when developers build an app.
- 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.
- SDK
- A bundle of code libraries, tools, and documentation that developers import to build apps for a platform. Mobile app developers include third-party advertising or analytics SDKs in their apps, and a malicious or buggy SDK can quietly collect data from every app that bundles it.
- pipelines
- The automated pipeline that tests, builds, and deploys software whenever developers push new code. Attackers love to compromise a company's CI/CD pipeline because that build server holds cloud keys and can inject malicious code directly into official software releases. Security+ objective 4.7 lists the term
- payload
- The part of an attack or malware file that carries out the harmful action on the target. A phishing email and an exploit are only the delivery steps, while the payload is the ransomware or spyware that actually runs once the computer is compromised.
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 CSO Online website. Cite the article, not this page.
Read the full article on CSO Online (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 hijack microsofts agent-framework package..." Found by reading the article; these exact words are in it - Who is affected: "Microsoft..."
Copied word for word from the article - Security+ 2.2 Explain common threat vectors and attack surfaces.
"......hijacked Microsoft's official Agent Framework package on PyPI and used it to distribute credential-stealing malware..." Found in the opening sentences - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"......PyPI and used it to distribute credential-stealing malware capable of harvesting cloud tokens, developer secrets..." Found in the opening sentences - Security+ 4.6 Given a scenario, implement and maintain identity and access management.
"......agent-framework package to steal Azure and CI credentials..." Found in the headline - Security+ 4.7 Explain the importance of automation and orchestration related to secure operations.
"......of harvesting cloud tokens, developer secrets and CI/CD credentials from developer workstations and automated build..." Found in the opening sentences - CYBR 101 week 11: penetration testing, OSINT, MITRE ATT&CK and hacking back
"......and automated build systems, according to multiple security researchers. Two malicious versions of the package,..." Found in the opening sentences - CYBR 101 week 9: malware, indicators and how detection works
"......PyPI and used it to distribute credential-stealing malware capable of harvesting cloud tokens, developer secrets..." Found in the opening sentences - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of malware triage.
"...two malicious versions of microsofts ai agent sdk..." 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
- 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