Hackers use agentic AI to find and exploit secrets on GitHub
Microsoft warns that automated AI agents can now scan public repositories and breach cloud systems in under five minutes.
The short version
- Hackers use agentic AI to scan multiple public GitHub repositories for sensitive credentials like API keys.
- One reported incident saw an AI agent move from a GitHub search to stealing data from an Azure Key Vault in five minutes.
- Attackers have targeted vendor-owned applications to gain access to multiple customer environments at once.
- Microsoft warns that deleting a secret from code does not invalidate the credential and it must be rotated.
Why it matters
This shift toward 'agentic' AI means cyberattacks are becoming faster and more autonomous. Organizations must move away from static secrets toward managed identities to stay ahead of automated scanning.
The rise of agentic scanning
Microsoft's Threat Intelligence unit recently identified a shift in how hackers find targets. Instead of manual searching, threat actors are employing agentic AI tools to hunt for exposed passwords and application credentials. These tools are specifically designed to scan public GitHub repositories for sensitive information that developers might have accidentally left behind.
Agentic AI refers to systems that can perform multi-step tasks autonomously. In this context, the AI does not just find a piece of data; it can identify valuable credentials and then carry out follow-up attacks. This automation allows hackers to scale their efforts across thousands of repositories simultaneously without needing constant human input.
As reported by Digit, Microsoft found that these tools can identify specific application IDs and keys across several different customers. By automating the discovery phase, hackers can find high-value targets much faster than traditional methods allowed. This creates a persistent threat for any organization that hosts code on public platforms.
From GitHub to cloud theft
The speed of these attacks is one of the most concerning factors for security teams. Microsoft shared an incident where an AI agent moved from searching GitHub for secrets to stealing data from an organization's Azure Key Vault in just five minutes. This rapid progression shows how quickly an exposed string of text can turn into a full-scale data breach.
Once the AI agent gains entry, it begins to explore the environment. The company noted that the tools accessed Azure Storage Accounts, downloaded files from SharePoint and OneDrive, and attempted to find even more credentials. The goal is to move deeper into the network to find the most sensitive data possible.
In some instances, the AI even targeted AI and machine learning services. By using the compromised credentials, the attackers were able to explore these specific cloud resources. This demonstrates that the AI's primary goal is to maximize the impact of the initial breach by seeking out high-value infrastructure.
Impact on multi-tenant systems
A particularly dangerous trend identified by Microsoft involves the targeting of vendor-owned applications. If a single application is used by multiple different organizations, a hacker who steals its credentials can potentially access several customer environments at once. This creates a massive ripple effect where one mistake by a vendor can compromise many clients.
The attackers have been detected using specific IP addresses to perform successful automated login attempts. These attempts used multiple application IDs across various affected customers. This systematic approach allows hackers to cast a wide net, looking for any door that the AI can unlock using the stolen credentials.
Because these applications are often multitenant, the risk is amplified. A single compromised credential for a shared service can provide a gateway to a wide variety of environments. This makes it critical for organizations to understand not just their own security, but the security of the third-party tools they integrate into their workflows.
The ARTEX framework and detection
Microsoft identified a specific agentic AI framework called ARTEX being used by these threat actors. The malicious activity involving this framework was detected beginning in August 2026. The tool was specifically utilized to search for sensitive information on public repositories, highlighting how accessible these AI frameworks are to bad actors.
To counter these threats, Microsoft recommends that organizations treat every publicly exposed credential as compromised. They warn that simply editing or deleting the code where the secret was found does not invalidate the credential. Once a secret is public, it must be considered compromised and requires immediate action.
The company advises that organizations should promptly rotate or revoke any affected certificates, API keys, and application secrets. They also suggest checking various logs, including those for Azure activity and Key Vault access, to spot any unusual behavior that might indicate a breach.
Defending against automation
To protect against AI-powered attacks, Microsoft suggests several specific technical shifts. Organizations should avoid storing long-term passwords or secret keys directly in their code. Instead, they recommend using managed identities, which provide a more secure way for applications to authenticate without hardcoded secrets.
Security teams are also encouraged to use decoys—fake systems intended to lure in attackers. These setups help security teams spot suspicious activity and identify threats before they can reach actual data. Using these lures can provide an early warning that an automated agent is scanning the network.
Finally, Microsoft advises strengthening monitoring through tools like Microsoft Defender for Cloud. Organizations should review sign-in history for Entra ID and other relevant logs. By looking for suspicious patterns in these records, teams can better identify the automated behavior of AI agents as they move through a system.
What to watch
- How many other AI frameworks will be released for automated penetration testing?
- Whether more vendors adopt managed identities to reduce the risk of multi-tenant breaches.
Try it
Check your organization's GitHub repositories for any hardcoded API keys or passwords, and rotate them immediately even if you have deleted the code.
Sources and links
- ReportingDigit: the article we sourced
Liked it? Say why
Add a line for other readers.
No account needed. We never show your email. Comments with links, ads or abuse are held and not shown. Your comment shows after a quick check.
Listen to the AI Wire headlines
Listen to the AI WireListen to our daily AI shows every morning: on your commute, in the shower, wherever you are
Listen to the daily showsFirst reported by Digit · Read the original. Written by the SI Agent News Desk from the reporting above.Written with AI from the source above. Every number is checked against the source. Spot a mistake? Corrections.
