[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fAAk-P-Y5A-XtddQl_9p3G2twrXEYTbQKk2cgOMjbIzg":3},{"article":4,"iocs":51,"iocs_total":52,"watch_terms":53,"solutions":54,"lesson":144},{"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":28,"category":29,"article_tags":33},"ec148a9f-1ec0-46cc-868d-2d9ba223b528","Credential stealer slipped into Microsoft’s official Python agent framework","credential-stealer-slipped-into-microsoft-s-official-python-agent-framework-e47a16","Two releases of Microsoft’s official agent-framework package on the Python Package Index (PyPI) carried code that steals cloud and CI\u002FCD credentials from developers’ systems. Agent Framework is Microsoft’s open-source toolkit for building AI agents and running them in workflows. Three supply chain security companies, StepSecurity, OX Security and Socket, caught the malicious versions and shared their analysis. “On November 17, 2026, versions 1.26.1 and 1.26.2 of the official Microsoft agent-framework package on PyPI were published … More → The post Credential stealer slipped into Microsoft’s official Python agent framework appeared first on Help Net Security.","Two versions of Microsoft's agent-framework package on PyPI, 1.26.1 and 1.26.2, were found to contain credential-stealing malware. The malware, installed as a .pth startup hook, steals cloud and CI\u002FCD credentials by collecting environment variables and .env files. PyPI has quarantined the malicious releases, and users are advised to isolate affected hosts and pin the agent-framework to version 1.26.0.","Microsoft's Python agent framework package on PyPI contained credential-stealing malware.","https:\u002F\u002Fwww.helpnetsecurity.com\u002F2026\u002F11\u002F19\u002Fmicrosoft-agent-framework-package-pypi-compromised\u002F","https:\u002F\u002Fimg.helpnetsecurity.com\u002Fwp-content\u002Fuploads\u002F2026\u002F07\u002F23092014\u002Fpypi-1500.webp","2026-11-19T12:53:44+00:00","2026-11-19T13:00:25.895505+00:00",9,[17,20,23,26],{"name":18,"type":19},"Microsoft","vendor",{"name":21,"type":22},"agent-framework","product",{"name":24,"type":25},"Python","technology",{"name":27,"type":25},"PyPI","26b0b636-0e31-4db1-bffb-61bdf9f20a58",{"id":28,"icon":30,"name":31,"slug":32},null,"Supply Chain","supply-chain",[34,36,41,46],{"category":35},{"id":28,"icon":30,"name":31,"slug":32},{"category":37},{"id":38,"icon":30,"name":39,"slug":40},"89f78b1c-3503-45a1-9fc7-e23d2ce1c6d5","Malware","malware",{"category":42},{"id":43,"icon":30,"name":44,"slug":45},"ade75414-7914-4e23-a450-48b64546ee70","Open Source","open-source",{"category":47},{"id":48,"icon":30,"name":49,"slug":50},"e7b231c8-5f79-4465-8d38-1ef13aea5a14","Threat Intelligence","threat-intelligence",[],0,[18,21],{"controls":55,"vendors":135},[56,85,111],{"slug":57,"name":58,"problem":59,"products":60},"secrets-management","Secrets management","API keys, tokens and passwords stop leaking from code, chat and configuration files.",[61,69,77],{"vendor_slug":62,"vendor_name":63,"vendor_logo":64,"product_slug":65,"product_name":66,"url":67,"description":68},"hashicorp","HashiCorp","\u002Fvendor-logos\u002Fhashicorp.png","vault","HashiCorp Vault","https:\u002F\u002Fwww.hashicorp.com\u002Fen\u002Fproducts\u002Fvault","Secrets management with short-lived credentials and encryption as a service.",{"vendor_slug":70,"vendor_name":71,"vendor_logo":72,"product_slug":73,"product_name":74,"url":75,"description":76},"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.",{"vendor_slug":78,"vendor_name":79,"vendor_logo":80,"product_slug":81,"product_name":82,"url":83,"description":84},"github","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.",{"slug":86,"name":87,"problem":88,"products":89},"endpoint-detection-response","Endpoint detection and response (EDR and XDR)","Malware and hands-on-keyboard attackers on laptops and servers get spotted and stopped.",[90,95,103],{"vendor_slug":70,"vendor_name":71,"vendor_logo":72,"product_slug":91,"product_name":92,"url":93,"description":94},"cortex-xdr","Cortex XDR","https:\u002F\u002Fwww.paloaltonetworks.com\u002Fcortex\u002Fcortex-xdr","Endpoint detection and response with extended detection across network, cloud and identity.",{"vendor_slug":96,"vendor_name":97,"vendor_logo":98,"product_slug":99,"product_name":100,"url":101,"description":102},"eset","ESET","\u002Fvendor-logos\u002Feset.png","eset-protect","ESET PROTECT","https:\u002F\u002Fwww.eset.com\u002Fint\u002Fbusiness\u002Fsolutions\u002Fendpoint-protection\u002F","Endpoint protection platform with detection and response add-ons.",{"vendor_slug":104,"vendor_name":105,"vendor_logo":106,"product_slug":107,"product_name":108,"url":109,"description":110},"crowdstrike","CrowdStrike","\u002Fvendor-logos\u002Fcrowdstrike.png","falcon-insight-xdr","Falcon Insight XDR","https:\u002F\u002Fwww.crowdstrike.com\u002Fen-us\u002Fplatform\u002Fendpoint-security\u002Ffalcon-insight-xdr\u002F","Endpoint detection and response with extended detection across other security tools.",{"slug":112,"name":113,"problem":114,"products":115},"software-supply-chain","Software supply chain security","Malicious and vulnerable open-source packages are caught before they ship.",[116,124,130],{"vendor_slug":117,"vendor_name":118,"vendor_logo":119,"product_slug":120,"product_name":121,"url":122,"description":123},"jfrog","JFrog","\u002Fvendor-logos\u002Fjfrog.png","jfrog-xray","JFrog Xray","https:\u002F\u002Fjfrog.com\u002Fxray\u002F","Software composition analysis and SBOM generation for artifacts.",{"vendor_slug":125,"vendor_name":126,"vendor_logo":127,"product_slug":125,"product_name":126,"url":128,"description":129},"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":117,"vendor_name":118,"vendor_logo":119,"product_slug":131,"product_name":132,"url":133,"description":134},"jfrog-curation","JFrog Curation","https:\u002F\u002Fjfrog.com\u002Fcuration\u002F","Blocks malicious and risky open-source packages before they enter your repositories.",[136,141],{"slug":137,"name":18,"logo_path":138,"roles":139},"microsoft","\u002Fvendor-logos\u002Fmicrosoft.png",[140],"affected",{"slug":125,"name":126,"logo_path":127,"roles":142},[143],"reported_by",{"slug":145,"title":146,"body":147,"framework_refs":148,"framework_notes":154},"malicious-credential-stealer-hidden-in-microsofts-official-pypi-package","Malicious Credential Stealer Hidden in Microsoft's Official PyPI Package","Two versions of Microsoft's agent-framework package on PyPI were compromised to include credential-stealing malware, demonstrating that even packages from reputable publishers can be weaponized through supply chain attacks. The malware used a .pth startup hook—a subtle Python mechanism that executes code at interpreter startup—to silently harvest cloud and CI\u002FCD credentials from environment variables and .env files. This incident matters because developers often implicitly trust packages from well-known vendors, making supply chain poisoning an especially effective attack vector. The theft of CI\u002FCD credentials in particular can cascade into full pipeline compromise, enabling attackers to inject malicious code into downstream software builds.",[149,150,151,152,153],"MITRE ATT&CK T1195.002: Supply Chain Compromise: Compromise Software Supply Chain","CIS Control 2: Inventory and Control of Software Assets (v8)","NIST SP 800-53 SA-12: Supply Chain Protection","NIS2 Article 21(2)(d)","OWASP A06:2021 Vulnerable and Outdated Components",{"NIS2 Article 21(2)(d)":155,"NIST SP 800-53 SA-12: Supply Chain Protection":156,"OWASP A06:2021 Vulnerable and Outdated Components":157,"CIS Control 2: Inventory and Control of Software Assets (v8)":158,"MITRE ATT&CK T1195.002: Supply Chain Compromise: Compromise Software Supply Chain":159},"This point specifically requires security measures addressing supply chain risks between organizations and their direct suppliers, covering the trust relationship with third-party package repositories like PyPI.","This control requires organizations to protect against supply chain threats by applying safeguards such as package integrity verification and trusted supplier controls, which would have detected the tampered PyPI packages.","This risk category addresses the failure to verify the integrity and provenance of third-party components, which is precisely the gap exploited when the malicious agent-framework versions were consumed without hash validation.","This control requires organizations to track and vet all authorized software, including third-party packages, which would have prompted hash verification and faster detection of the modified PyPI releases.","This technique covers adversaries tampering with software packages before delivery to end users, exactly as occurred when malicious code was inserted into the PyPI releases of agent-framework."]