AI Compass / News
ImportantARTEX: AI agents hunt for credentials on GitHub and use them within minutes
Microsoft describes attacks in which an AI tool searches public repositories for keys. In one case, five minutes passed between the find and data leaving the cloud. Here is what to check now.
Source: Threat actors use agentic AI tooling to find and abuse exposed secrets (Microsoft Security Blog),


What happened: On 5 November 2026, Microsoft Threat Intelligence described attacks using a tool called ARTEX. Microsoft calls ARTEX an agentic AI offensive framework: AI agents carry out the steps of an attack largely on their own, from searching to getting in. Since August 2026, Microsoft has seen the tool send large numbers of GitHub searches for credentials. The queries often combined the target organisation’s name, words for secrets and the names of cloud and AI providers. The secrets in question are passwords, API keys (which a program uses to sign in to a service) and client secrets, the password an app uses with Microsoft’s sign-in service. Microsoft does not name an attacker in this post.
How the attacks unfolded: With the credentials they found, the attackers signed in as apps to organisations’ Microsoft cloud accounts. The earliest such sign-in from specific IP addresses was on 28 October 2026. From there they accessed Azure, Microsoft 365, SharePoint, OneDrive and mailboxes, and went looking for more keys, including keys for AI services. In one case, Microsoft says an AI agent took five minutes to get from searching GitHub for the client secret to pulling data out of Azure Key Vault, a safe for keys and passwords. Microsoft does not say how many organisations were affected. The post refers to “some impacted customers” and dozens of apps across several organisations.
In a second post on 6 November, Microsoft reports that a group it calls Storm-3358 also uses ARTEX, in that case against financial firms and through flaws in servers rather than through GitHub.
Why it matters: Credentials in public code have always been a risk. What’s new is the speed: an agent finds a key, tries it and uses it faster than you are likely to notice (my own assessment, based on the five-minute case). Microsoft advises treating any publicly exposed key as compromised, even after you delete it, because it can live on in edit history, caches or archives.
What you can do (based on Microsoft’s recommendations):
- Search: go through your public repositories for credentials, including config files, scripts and issues.
- Rotate, don’t just delete: revoke anything you find with the provider and have a new key issued. Removing it from the code is not enough.
- Use push protection: GitHub then blocks a push that contains a recognisable secret before it reaches the repository. According to GitHub, it is on by default for your account, so check that you haven’t turned it off.
- Fewer long-lived keys: Microsoft recommends moving apps from client secrets to managed identities, which let an app sign in without a stored password.
- Least privilege: give each key only the permissions it actually needs.
The bigger picture: Microsoft describes observed cases, not a wave of attacks of known size. Most of the detail in the post, such as detection rules and queries, is aimed at admins of Microsoft clouds. The core advice applies to keys from other providers too: ARTEX also searched specifically for keys to AI services.
My workshops show you how to bring AI into your team. See the workshops