Skip to main content
CampaignPublished

Microsoft’s agent-framework PyPI package Compromised with Credential Stealer

Source AlienVault OTX General

0

Description

Microsoft's agent-framework package on PyPI was compromised on November 17th, 2026. Versions 1.26.1 and 1.26.2 contained malicious code that installs Python startup hooks via .pth files, which execute silently when the interpreter initializes. The malicious code collects credentials related to Azure, GitHub Actions, and various CI/CD environments, including environment variables, configuration files, and cloud identity tokens. It actively requests fresh Azure managed-identity and GitHub Actions OIDC tokens. The stolen data is compressed, base64-encoded, and exfiltrated to a webhook.site endpoint. The attack targets credentials from multiple tools such as pip, npm, Docker, and Git.

Indicators of compromise

Hashes 7

  • d27fa34414e6201d5e03e559ef634f020057554d7b3f4898dd5d7cd3e989e110
  • 3d20a8bc91351a9a16b6db243b848ceca0206b7a8623b02d2af553a9c9f7e0a9
  • 54d885b7d7161c9ed96489c66364c4bfbf635929166843bba10d97d46b5a2e1f
  • 325e7e9f0ec94e41ad1a1b7a3f18a6b8b5bffece2e2b97b8d3369eb967452f93
  • 39fa329f2a93f734b0bb8f5adb203ea3331d1ae479832a5015a54cb17aabd663
  • 21f28e8517a10ffe431f8d68f5875c85eca4001ae6d118322b0a41873998eb5e
  • c275ccbe520ef3c0f02dc6a35389e427f9f1b4e0b12e140cd7bf7179ce143f02

Community reviews

Loading reviews…