Microsoft Warns: Hackers Are Using Agentic AI to Steal Secret Keys

Source

6 November 2026 · 13:00 · Claude (Anthropic) · claude-sonnet-5

Microsoft reports that cybercriminals are increasingly deploying agentic AI tools to automatically hunt for leaked passwords, API keys, and other secrets across corporate environments, making attacks faster and far more scalable.

Agentic AI isn't just being adopted by companies to automate their processes — cybercriminals are increasingly turning to it too. In a new security analysis, Microsoft reports that bad actors are using AI agents to automatically search for exposed passwords, API keys, and other sensitive data, then exploit them immediately. Where attackers once had to manually comb through codebases, configuration files, and cloud environments, autonomous AI systems now do that work at blistering speed and massive scale.

What agentic AI is, and why it appeals to hackers

Agentic AI refers to artificial intelligence that doesn't just answer questions but independently takes steps to reach a goal: searching, analyzing, deciding, and acting without a human directing every move. For legitimate use cases, that's a breakthrough — but those same qualities make it attractive to criminals. According to Microsoft, attackers are using AI agents to rapidly scan public repositories, misconfigured cloud storage, and source-code leaks for exposed secrets such as access keys and credentials. Once such a secret is found, the agent can independently attempt to use it to gain access to systems, with no human needed at each step.

How the attacks work, according to Microsoft

Microsoft Security describes agentic tooling being used to accelerate three stages that used to take considerable time: discovering vulnerable environments, validating found secrets, and actually exploiting them. Because AI agents can search huge volumes of data and recognize patterns at remarkable speed, criminals can now check thousands of potential targets within minutes instead of days. That dramatically shrinks the window organizations have to discover and fix a leak before it's exploited. Microsoft stresses this isn't a theoretical scenario, but a trend it is actively observing in the wild, in attacks on companies worldwide.

Risks for businesses and developers

This development particularly affects organizations that develop software or manage cloud environments. An API key accidentally published in a public codebase, a misconfigured storage bucket, or a forgotten test environment with default passwords can now be found and exploited in a fraction of the time it used to take. That's especially concerning because many companies are themselves embracing agentic AI for software development and operations, which is expanding the attack surface just as defensive techniques are struggling to keep pace. Microsoft argues that organizations need to adapt their security strategy to a world where both attackers and defenders are deploying AI agents.

What organizations can do now

Microsoft advises companies to take basic security hygiene more seriously than ever: never hardcode secrets in source code, deploy automated leak scanning, use short-lived tokens instead of permanent keys, and strictly limit access through the principle of least privilege. The company also recommends turning the same agentic AI techniques to defensive use — for example, AI-driven monitoring that spots suspicious patterns in real time before an attacker can exploit a discovered secret. Speed is critical here: since attackers now operate in an automated, high-speed fashion, detection and remediation of leaks must move just as fast.

Looking ahead: a new phase in the AI arms race

Microsoft's warning shows that the rise of agentic AI isn't just delivering productivity gains — it's also opening a new chapter in the digital arms race between attackers and defenders. Just as earlier technological breakthroughs in the history of artificial intelligence brought both opportunities and risks, this development is forcing companies to fundamentally rethink their cybersecurity. Readers who want to learn more about how AI agents are being deployed across different industries can check out our overview of AI applications. To stay on top of developments like this one, we continuously publish more AI news, and anyone wanting to dig deeper into the background can find explanations and context in our knowledge base. One thing is clear: now that AI is becoming both weapon and shield, how fast companies adapt their security will determine who wins the next round of this arms race.

Microsoft Security BlogMicrosoft Security Blog


Source: Microsoft Security Blog

Ster Software

The most complete knowledge platform on artificial intelligence.

Kraaienjagersweg 24
7341 PT Beemte Broekland, Netherlands


© 2026 Ster Software BV · Chamber of Commerce 75474913

Content generated by Claude (Anthropic) · model: claude-sonnet-4-6