Searching public code repositories for exposed credentials is a long-established attack technique. However, identifying repositories, reviewing their contents, validating exposed secrets, and using them to access systems has traditionally required significant manual effort. Microsoft Threat Intelligence now reports agentic AI attacks that automate this process, with one observed agent progressing from a GitHub search to data theft from Azure Key Vault in approximately five minutes.
Other investigations published between May and November 2026 reveal separate security weaknesses involving exposed credentials, authentication failures, compromised software release identities, and AI coding agents manipulated through approval workflows. Although these incidents are unrelated to Microsoft's reported activity, they demonstrate how weaknesses in credentials, access controls, and automated development tools can create opportunities for attackers.
This article examines Microsoft's findings alongside these independent investigations to explore how automated attacks exploit exposed secrets, gain unauthorised access to cloud resources, compromise software distribution processes, and manipulate AI-assisted development environments. Together, these cases highlight the need for stronger credential management, effective access controls, and security assessments that account for the permissions and trust boundaries of automated systems.
1. Agentic Tooling Turns Exposed Secrets into Cloud Access
Microsoft reports that, beginning in August 2026, threat actors used the ARTEX agentic framework to automate large volumes of GitHub searches, combining organisation names with keywords associated with secrets and cloud services. When an agent identified a valid OAuth client secret, it used the credential to authenticate as the application's service principal and obtain access tokens for Azure Resource Manager, Key Vault, Storage and Microsoft Graph.
From there, the agent enumerated Azure subscriptions, retrieved storage keys and connection strings, accessed files in SharePoint and OneDrive, and used Azure's Run Command feature to execute scripts on virtual machines. Microsoft also observed the agent adapting when an API request failed, retrying with a supported API version within seconds.
The speed of this sequence highlights the risk of leaving exposed credentials active. Removing a secret from a public repository does not invalidate it; the associated credential must also be revoked or rotated to prevent further use.
2. Weak Authentication Creates Opportunities for Autonomous Attacks
Acronis TRU documented an operation in which a single operator managed BOSSAI, a network of 12 AI agents, connected to offensive security tools such as Kali, sqlmap and Ghidra through MCP servers. The researchers confirmed data theft or unauthorised access at approximately ten targets. These included emergency service records accessible without authentication and university systems affected by SQL injection vulnerabilities. The investigation also revealed important limitations: agents sometimes fabricated vulnerabilities and struggled to proceed when authentication controls were properly enforced.
The Credit Nirvana disclosure documents authentication and credential management weaknesses that exposed sensitive systems. The researcher identified a hardcoded API key in client-side JavaScript that provided access to the vendor's AI call centre, exposing 315,000 call recordings belonging to one lender's customers. A separate vulnerability allowed the main platform to accept a username supplied in the request body without validating the associated identity token. This authentication failure exposed administrative access to 6.6 million accounts across three client instances.
Both vulnerabilities were reported through CERT-In on May 30, 2026, and fixed on June 2, when the vendor was notified. Although the disclosure was published in November, the underlying security issues had been addressed earlier.
3. Release Bots and Coding Agents Become Part of the Attack Path
The bee-js compromise on November 9, 2026, illustrates the risks of compromised credentials in automated software release processes. According to CGSEC, an attacker who obtained the project's release-bot credentials distributed the same malicious loader through npm and a signed Swarm Desktop release. Because the release pipeline trusted the compromised identity, it also signed the malicious code, allowing it to reach users through an established distribution channel.
A different type of weakness affects the AI coding tools developers rely on. In May 2026, Adversa AI documented SymJack, a technique that abuses symbolic links to redirect a seemingly harmless file operation towards an AI agent's own MCP configuration. A developer may approve what appears to be a routine file copy, unaware that the destination resolves to a sensitive configuration file. When the agent or its associated process restarts, the modified configuration can result in attacker-controlled code execution.
Forever Security reported a related security weakness in Claude Dispatch, where a browser extension could use an authenticated Claude web session to send instructions to the desktop agent and trigger local command execution.These separate investigations highlight distinct security risks in software development environments. Compromised release credentials can affect software distribution, unsafe file operations can expose AI agent configurations, and overly trusted integrations can create opportunities for unauthorised local execution. Each issue demonstrates a different way automated development tools or their surrounding systems can be compromised..
4. Testing the Paths an Agent Would Exploit First
The investigations discussed above highlight several areas that organisations can examine during security assessments, including exposed credentials in public repositories, APIs that fail to enforce proper authentication and authorisation, and AI agents that may execute unauthorised actions through unsafe approval workflows.
Penetration testing covering exposed secrets and authentication logic, together with assessments of AI agent integrations, can help organisations identify these weaknesses before they are exploited. An assessment can examine the cloud identities, applications and agent integrations in scope, validate potential vulnerabilities through manual testing, and verify that the necessary fixes have been implemented.

The investigations discussed in this article document different security weaknesses across credential exposure, cloud access, software release processes and AI-assisted development tools. While these findings do not describe a single campaign, they highlight the importance of reviewing how credentials are stored and protected, how access permissions are enforced, and what actions automated systems are allowed to perform. Revoking exposed credentials promptly, enforcing least-privilege access and reviewing agent permissions can help organisations reduce their exposure to these risks.
If you're looking to assess your organisation's exposure to similar risks, scan your organisation's exposure, explore Laburity, or book a consultation.