Microsoft: AI attack tool went from public GitHub secret to Key Vault data in 5 minutes
What happened next
Microsoft Threat Intelligence reports that threat actors use an agentic AI offensive framework, such as ARTEX, to search public GitHub repositories for exposed secrets, including credentials, application credentials and AI inference API keys. Since August 2026, Microsoft has observed large volumes of such queries, often containing the name of a target organization. In at least one case, an AI agent went from finding a secret on GitHub to exfiltrating data from Azure Key Vault in five minutes.
From October 28, 2026, Microsoft has seen follow-on attacks in which leaked or stolen application credentials were used to sign in to Microsoft Entra ID tenants of some organizations, mainly from two IP addresses, one of which is a Tor exit node. The agent ran service principal[1] sign-ins on dozens of applications across multiple tenants and then targeted credentials such as storage account keys, connection strings and publishing credentials. It also accessed SharePoint and OneDrive content in the targeted tenants.
Microsoft recommends removing secrets from code, rotating any exposed keys and credentials, and enabling GitHub secret scanning and push protection. It also recommends that developers move OAuth applications from secret-based authentication to managed identities. Microsoft notes that exposed credentials remain usable until they are revoked or rotated, so removing the original disclosure alone does not fix the exposure.
Read the original microsoft.comDiscussion
Discussion
Commenters mostly argue that the real failure is that the secret was pushed to a public repository in the first place, so attack speed matters less. Some dismiss the report as AI fear-mongering, and one is annoyed by the ARTEX hype. One suggests that GitHub block secret uploads and flag existing repositories that contain them.
Sources
-
Microsoft Security Blog
Microsoft saw an AI offensive framework move from a public GitHub secret to Key Vault data in five minutes




