[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fWlXm_wIy_X-CmGe8QYziNVRqSkwxwI5HcAeFEmUWOt8":3},{"article":4,"iocs":53,"iocs_total":54,"watch_terms":55,"solutions":56,"lesson":153},{"id":5,"title":6,"slug":7,"summary":8,"ai_summary":9,"brief":10,"url":11,"image_url":12,"published_at":13,"ingested_at":14,"relevance_score":15,"entities":16,"category_id":30,"category":31,"article_tags":35},"5e86a3ff-81e0-4778-b84a-355ce40c793b","Microsoft’s Agent Framework PyPI Package Hacked to Steal Azure and GitHub Credentials","microsoft-s-agent-framework-pypi-package-hacked-to-steal-azure-and-github-creden-85d9c1","Hackers published two malicious versions of Microsoft’s agent-framework package on the Python Package Index (PyPI) on November 17, 2026. Versions 1.26.1 and 1.26.2 contained a credential stealer that could run during normal Python startup, even if an application never imported Agent Framework. The malware targeted Azure identities, GitHub credentials, and secrets used in automated builds. […] The post Microsoft’s Agent Framework PyPI Package Hacked to Steal Azure and GitHub Credentials appeared first on Cyber Security News.","Hackers published two malicious versions of Microsoft's agent-framework package on PyPI, versions 1.26.1 and 1.26.2, containing a credential stealer. The malware targeted Azure identities, GitHub credentials, and secrets used in automated builds by placing a .pth file in the site-packages directory, which Python processes during startup. Both malicious versions sent compressed, encoded data to a specific webhook[.]site address.","Malicious versions of Microsoft's agent-framework PyPI package stole Azure and GitHub credentials.","https:\u002F\u002Fcybersecuritynews.com\u002Fmicrosofts-agent-framework-pypi-package\u002F","https:\u002F\u002Fcybersecuritynews.com\u002Fwp-content\u002Fuploads\u002F2026\u002F11\u002FMicrosofts-Agent-Framework-PyPI-Package.webp","2026-11-18T03:30:19+00:00","2026-11-18T04:00:36.162208+00:00",9,[17,20,23,26,28],{"name":18,"type":19},"agent-framework","product",{"name":21,"type":22},"Microsoft","vendor",{"name":24,"type":25},"PyPI","technology",{"name":27,"type":25},"Azure",{"name":29,"type":25},"GitHub","26b0b636-0e31-4db1-bffb-61bdf9f20a58",{"id":30,"icon":32,"name":33,"slug":34},null,"Supply Chain","supply-chain",[36,38,43,48],{"category":37},{"id":30,"icon":32,"name":33,"slug":34},{"category":39},{"id":40,"icon":32,"name":41,"slug":42},"89f78b1c-3503-45a1-9fc7-e23d2ce1c6d5","Malware","malware",{"category":44},{"id":45,"icon":32,"name":46,"slug":47},"ade75414-7914-4e23-a450-48b64546ee70","Open Source","open-source",{"category":49},{"id":50,"icon":32,"name":51,"slug":52},"e7b231c8-5f79-4465-8d38-1ef13aea5a14","Threat Intelligence","threat-intelligence",[],0,[21,18],{"controls":57,"vendors":141},[58,86,114],{"slug":59,"name":60,"problem":61,"products":62},"secrets-management","Secrets management","API keys, tokens and passwords stop leaking from code, chat and configuration files.",[63,71,78],{"vendor_slug":64,"vendor_name":65,"vendor_logo":66,"product_slug":67,"product_name":68,"url":69,"description":70},"gitguardian","GitGuardian","\u002Fvendor-logos\u002Fgitguardian.png","gitguardian-platform","GitGuardian Secrets Detection","https:\u002F\u002Fwww.gitguardian.com\u002F","Finds and helps remediate secrets leaked in repositories, CI pipelines and chat tools.",{"vendor_slug":72,"vendor_name":29,"vendor_logo":73,"product_slug":74,"product_name":75,"url":76,"description":77},"github","\u002Fvendor-logos\u002Fgithub.png","advanced-security","GitHub Advanced Security","https:\u002F\u002Fgithub.com\u002Fsecurity\u002Fadvanced-security","Dependency review, code scanning and secret scanning with push protection.",{"vendor_slug":79,"vendor_name":80,"vendor_logo":81,"product_slug":82,"product_name":83,"url":84,"description":85},"palo-alto-networks","Palo Alto Networks","\u002Fvendor-logos\u002Fpalo-alto-networks.png","idira-secrets-management","Idira Secrets Management","https:\u002F\u002Fwww.paloaltonetworks.com\u002Fidira\u002Fmachine\u002Fsecrets-management","Secrets management for applications, scripts and pipelines, from the former CyberArk portfolio.",{"slug":52,"name":87,"problem":88,"products":89},"Threat intelligence","Attack campaigns reach your sector, suppliers or software before your team hears about them.",[90,98,106],{"vendor_slug":91,"vendor_name":92,"vendor_logo":93,"product_slug":94,"product_name":95,"url":96,"description":97},"dataminr","Dataminr","\u002Fvendor-logos\u002Fdataminr.png","agentic-threat-intelligence-platform","Agentic Threat Intelligence Platform","https:\u002F\u002Fwww.dataminr.com\u002Fproducts\u002Fcyber-defense\u002Fagentic-threat-intelligence-platform\u002F","Threat intelligence platform, formerly ThreatConnect TI Ops, that collects, scores and structures intelligence and pushes it into security tools.",{"vendor_slug":99,"vendor_name":100,"vendor_logo":101,"product_slug":102,"product_name":103,"url":104,"description":105},"reliaquest","ReliaQuest","\u002Fvendor-logos\u002Freliaquest.png","greymatter-digital-risk-protection","GreyMatter Digital Risk Protection","https:\u002F\u002Freliaquest.com\u002Fsecurity-operations-platform\u002Fdark-web-and-digital-risk-protection\u002F","Watches the open, deep and dark web for threats aimed at an organisation and alerts its security team in real time.",{"vendor_slug":107,"vendor_name":108,"vendor_logo":109,"product_slug":110,"product_name":111,"url":112,"description":113},"google","Google","\u002Fvendor-logos\u002Fgoogle.png","google-threat-intelligence","Google Threat Intelligence","https:\u002F\u002Fcloud.google.com\u002Fsecurity\u002Fproducts\u002Fthreat-intelligence","Threat intelligence from Mandiant's frontline investigations, Google's threat analysts, open sources and Google's own visibility, in one service.",{"slug":115,"name":116,"problem":117,"products":118},"software-supply-chain","Software supply chain security","Malicious and vulnerable open-source packages are caught before they ship.",[119,125,133],{"vendor_slug":120,"vendor_name":121,"vendor_logo":122,"product_slug":120,"product_name":121,"url":123,"description":124},"socket","Socket","\u002Fvendor-logos\u002Fsocket.png","https:\u002F\u002Fsocket.dev\u002F","Detects and blocks malicious and risky packages in npm, PyPI and other ecosystems.",{"vendor_slug":126,"vendor_name":127,"vendor_logo":128,"product_slug":129,"product_name":130,"url":131,"description":132},"snyk","Snyk","\u002Fvendor-logos\u002Fsnyk.png","snyk-open-source","Snyk Open Source","https:\u002F\u002Fsnyk.io\u002Fproduct\u002Fopen-source-security-management\u002F","Finds and fixes vulnerable open-source dependencies in code and pipelines.",{"vendor_slug":134,"vendor_name":135,"vendor_logo":136,"product_slug":137,"product_name":138,"url":139,"description":140},"jfrog","JFrog","\u002Fvendor-logos\u002Fjfrog.png","jfrog-xray","JFrog Xray","https:\u002F\u002Fjfrog.com\u002Fxray\u002F","Software composition analysis and SBOM generation for artifacts.",[142,147],{"slug":143,"name":21,"logo_path":144,"roles":145},"microsoft","\u002Fvendor-logos\u002Fmicrosoft.png",[146],"affected",{"slug":148,"name":149,"logo_path":150,"roles":151},"wiz","Wiz","\u002Fvendor-logos\u002Fwiz.png",[152],"reported_by",{"slug":154,"title":155,"body":156,"framework_refs":157,"framework_notes":163},"malicious-pypi-package-targets-azure-and-github-credentials-via-supply-chain-attack","Malicious PyPI Package Targets Azure and GitHub Credentials via Supply Chain Attack","Attackers hijacked or impersonated Microsoft's agent-framework PyPI package by publishing two trojanized versions (1.26.1 and 1.26.2) containing a credential stealer that executed automatically at Python startup via a .pth file. This technique is particularly dangerous because .pth files are processed before user code runs, making the malicious payload nearly invisible to developers who trust the package ecosystem. The malware silently exfiltrated Azure identities, GitHub tokens, and CI\u002FCD secrets to an attacker-controlled webhook, meaning any automated build pipeline that pulled these versions could have handed over credentials without any user interaction. This incident illustrates how dependency on public package registries without integrity verification creates a silent, high-impact attack vector that bypasses most traditional security controls.",[158,159,160,161,162],"MITRE ATT&CK T1195.001: Supply Chain Compromise: Compromise Software Dependencies and Development Tools","MITRE ATT&CK T1552.001: Unsecured Credentials: Credentials In Files","CIS Control 16: Application Software Security (v8)","NIS2 Article 21(2)(d)","NIST SP 800-53 SR-4: Provenance",{"NIS2 Article 21(2)(d)":164,"NIST SP 800-53 SR-4: Provenance":165,"CIS Control 16: Application Software Security (v8)":166,"MITRE ATT&CK T1552.001: Unsecured Credentials: Credentials In Files":167,"MITRE ATT&CK T1195.001: Supply Chain Compromise: Compromise Software Dependencies and Development Tools":168},"NIS2's supply chain security point requires entities to assess and manage security risks arising from their software and service suppliers, which includes verifying the integrity of third-party packages consumed from public registries.","SR-4 requires organizations to document and verify the provenance of software components, which would have mandated integrity checks (e.g., hash verification) on PyPI packages before allowing them into build pipelines.","CIS Control 16 requires organizations to manage the security of software they acquire and use, including vetting third-party libraries and components, which would have flagged the malicious PyPI package before execution.","The malware harvested Azure identities, GitHub tokens, and CI\u002FCD secrets stored in environment variables and configuration files accessible during Python startup, matching this technique's focus on credential theft from files and environment state.","This technique directly describes adversaries injecting malicious code into a trusted public package repository to compromise downstream consumers, which is exactly how the trojanized PyPI versions were delivered."]