Leaked Secrets on GitHub: Microsoft Says an AI Agent Went From a GitHub Search to Azure Key Vault Data Theft in Five Minutes, and What to Rotate This Week
Microsoft says attackers are abusing ARTEX, an AI-powered penetration testing framework, to find leaked secrets on GitHub and use them fast. In one case it took five minutes to go from search to Azure Key Vault data theft.
Where Worldwide
On this page 7 sections
Microsoft says attackers are using an AI-driven attack tool to search GitHub for leaked secrets, such as keys and app credentials, and then use them to get into cloud accounts. In at least one case, the whole chain from a GitHub search to stealing data out of an Azure Key Vault took five minutes. A key that slips into a repository can be abused before anyone on your team notices it is there.
This post covers what Microsoft reported, what is still unknown, and what a business should rotate and check this week.
What happened with the leaked GitHub secrets
In a security blog post dated November 5, 2026, Microsoft says that starting in August 2026 it observed threat actors using an agentic AI offensive framework. "Agentic" means the AI tool carries out steps on its own. It searches, tries what it finds and moves on to the next step without a person driving each action.
Microsoft names the framework as ARTEX and describes it as an AI-powered penetration testing framework. Penetration testing tools are meant for authorized security testing. Microsoft says ARTEX has been abused by threat actors, and names one of them as Storm-0940.
StepSecurity, a security company that wrote up the findings, says attackers have used the AI attack framework to send large volumes of searches to GitHub since August.
How fast an AI agent used an exposed secret
The number that matters most is the speed. Microsoft's own words:
"In at least one case, Microsoft observed an AI agent advance from scanning GitHub for secrets to exfiltrating data from Azure Key Vault in just five minutes."
Azure Key Vault is the Microsoft cloud service where companies keep their passwords, keys and certificates. Getting data out of it is a serious step for an attacker.
Microsoft also describes a follow-on attack that began as early as October 28, 2026. In it, an agentic framework used valid leaked or stolen credentials. Microsoft says the agent successfully carried out service principal sign-ins on dozens of associated applications across multiple tenants. A service principal is the identity an application uses to sign in to Microsoft's cloud, as opposed to a person's account. A tenant is one organization's own space in that cloud.
The sources describe attackers signing in with valid credentials. They do not describe a software flaw in GitHub or Azure. That means no patch fixes this. The fix is to rotate the secrets.
What is confirmed and what is not known
Confirmed by Microsoft's own reporting:
- Threat actors have used an agentic AI offensive framework since August 2026.
- ARTEX, an AI-powered penetration testing framework, has been abused by threat actors, including one Microsoft calls Storm-0940.
- In at least one case, an AI agent went from scanning GitHub for secrets to taking data from Azure Key Vault in five minutes.
- A follow-on attack began as early as October 28, 2026 and used valid leaked or stolen credentials.
- Service principal sign-ins succeeded on dozens of associated applications across multiple tenants.
Not known from the sources:
- Which organizations were affected, or how many in total.
- What data was taken from Azure Key Vault, or from the applications the agent signed in to.
- How the secrets got onto GitHub in each case.
- Whether anyone connected to ARTEX itself is involved. The sources only say threat actors abused it.
If you see claims beyond these, such as victim names or totals, treat them as unconfirmed until Microsoft or the affected company says so.
Why leaked credentials matter for a business network or website
Most businesses never think of their GitHub account as part of their security perimeter. But websites, apps and back-office tools all need credentials to talk to cloud services, payment providers and databases. If one of those secrets ends up in a repository, it becomes a way in for anyone who finds it.
What changes here is the timing. A person hunting through code by hand might take days to find and test a key. Microsoft reports an AI agent doing the search, the sign-in and the data theft in five minutes. Expect a leaked key to be found and used before you notice it.
The second lesson is about cleanup. StepSecurity puts it plainly: "removing the original disclosure alone does not remediate the exposure". Deleting the file, rewriting the commit or making the repository private does not take back a secret that was already exposed. Its advice: "Treat every secret you ever exposed as stolen, and rotate the secret."
If an agency, contractor or AI coding tool builds your software, ask them this directly. Our post AI Can Build Your App. Who Is Going to Keep It Running? covers why someone has to own these questions after launch. For a similar credential story on the network side, see FortiGate VPN Credentials.
What to do this week about exposed GitHub credentials
Microsoft's main recommendation is: "Immediately revoke or rotate the affected credentials and investigate their historical use." Here is that advice as a checklist.
| Step | What to do | How to check it is done |
|---|---|---|
| 1. List exposed secrets | Write down every key, password, token and app credential that has ever been in a GitHub repository, including ones already deleted | You have a written list with an owner for each item |
| 2. Assume each one is stolen | Follow StepSecurity's advice and treat every secret you ever exposed as stolen, however old | No item on the list is marked as probably fine |
| 3. Rotate or revoke | Issue a new secret, update the systems that use it, then revoke the old one | The old secret no longer works when tested |
| 4. Start with Azure service principals | Rotate first any app credentials that can sign in to your Microsoft cloud tenant or reach Azure Key Vault | Each service principal on the list has a new credential |
| 5. Investigate past use | Review sign-in history for those service principals and access history for your Key Vaults, as Microsoft advises | Any sign-in or access you cannot explain is written down and escalated |
| 6. Do not stop at deletion | Removing the secret from the code is housekeeping, not the fix | Steps 3 and 5 are done for every item, even ones already removed |
| 7. Ask your developers | Ask in-house staff, agencies and contractors whether any of your secrets have been in a repository | You have a written answer from each |
If step 5 turns up activity you cannot explain, treat it as a possible breach and bring in help before you change anything else, so the evidence is kept.
Leaked secrets on GitHub questions people are asking
What is ARTEX?
Microsoft describes ARTEX as an AI-powered penetration testing framework. It says threat actors, including one it calls Storm-0940, have abused it.
Can an AI agent really use leaked GitHub credentials in minutes?
Yes. Microsoft says that in at least one case an AI agent went from scanning GitHub for secrets to taking data from Azure Key Vault in five minutes.
If I deleted the secret from GitHub, am I safe?
No. StepSecurity says removing the original disclosure alone does not fix the exposure. Rotate the secret and check how it has been used.
Is this a GitHub or Azure vulnerability?
The sources do not describe a software flaw. The attacks used valid leaked or stolen credentials, so the fix is rotating the secrets, not installing a patch.
When did this start?
Microsoft says it began seeing this activity in August 2026. The follow-on attack it describes began as early as October 28, 2026.
Was my company affected?
The sources do not name victims. If any of your secrets have ever been exposed on GitHub, treat them as stolen and check their sign-in and access history.
The bigger lesson
A secret that has been exposed stays exposed, even after you delete it. Now that attackers use AI agents that act in minutes, rotation has to happen as soon as a leak is found. Waiting for proof of misuse is too slow. The businesses best placed for this know where their secrets live, who owns each one and how to replace it quickly.
For help finding and rotating exposed credentials, see security hardening or request a quote.
Get security alerts by email, plus our free checklist, at /security-alerts.
Sources: Microsoft Security Blog; StepSecurity.
Have a question about this article?
Ask it here and we will answer you directly by email. Questions are private, never posted.
Security alerts by email
Hear about the next one first.
When attackers start using a flaw in software businesses run on, we email what it is, whether it touches you and what to do that week, with a round-up of our latest security writing. Free, one-click unsubscribe. You get the checklist straight away: 12 things to secure this week.
Want a result like this?
Security alerts, breaches and the technology a business runs on: what happened, who it affects and what to do.
Get a Tech QuoteKeep reading
Canada Government Hack: 4,600 Individuals or Organizations and 125,000 Documents Affected, AI Tools Suspected, and What Businesses Should Patch This Week
Canada says it found unauthorized activity inside federal government networks over several weeks, and reports...
EDK II PXE Boot Vulnerability CVE-2026-97631: Network Attackers Can Run Code Before the OS and Secure Boot Load, No Patch Yet, and What to Do This Week
An unpatched flaw in EDK II's network boot code lets an attacker on the network run code while a machine PXE b...
VirtualBox Vulnerability CVE-2026-87268: A Single-Bit .NET Change Let Untrusted Code Load, the Related .NET Framework Fix and What to Check This Week
Google Project Zero showed that a single-bit change was enough to load untrusted .NET code. The research led t...