SecurityTechInsider AI security & governance
EN/ NL
Infrastructure

Attackers using agentic AI exfiltrated Key Vault data

Microsoft reports that agentic AI found leaked credentials in GitHub and exfiltrated Azure Key Vault data within five minutes in one case.

18 November 2026 4 min
Illustration for this article: Attackers using agentic AI exfiltrated Key Vault data. A ventilation grille in deep shadow, cold air distorting the light passing through it.
Agentic systems with broad cloud permissions and leaked credentials can move from discovery to data exfiltration in minutes. Image: SecurityTechInsider — original editorial illustration

You must now demonstrate that your agentic AI systems cannot reach secrets or cloud resources through prompt instructions alone. Bind tool use to short-lived workload identities, deterministic parameter validation, credential rotation and an independently tested revocation path outside the model layer.

An analysis of 18 November 2026 of agentic AI exfiltrating Azure Key Vault data after discovering leaked credentials in GitHub argues that attackers using autonomous tooling found exposed secrets and moved data from cloud storage within five minutes. The observed attack chain involved an agentic framework scanning public repositories, accessing cloud resources with discovered credentials, adjusting API requests after errors and exfiltrating data from Azure Key Vault. In our assessment, this incident exposes why prompt-layer instructions cannot form a security boundary: the agent adapted its requests after refusals, which means the risk has shifted from credential exposure to what an autonomous identity can reach before intervention occurs.

What makes this attack chain different from a routine credential leak?

Exposed secrets have always posed a risk, but the speed and adaptation here are new. The observed path from discovery to exfiltration took five minutes in one case. That pace matters because it outstrips most approval workflows and human-led incident response. More significantly, the agentic framework adjusted its API calls after receiving errors, which means a static instruction to the model would not have prevented the escalation. The agent operated with a valid workload identity and autonomously determined which APIs to call and how to modify requests when initial attempts failed. This is not a credential leak that sits dormant until someone uses it; it is a credential leak that an autonomous system immediately weaponises.

Which failure modes does agentic autonomy introduce?

  • Prompt-layer boundaries — instructions to the model do not constrain which APIs the agent reaches or how it modifies parameters after errors.
  • Workload identity sprawl — service principals feeding agentic systems often retain rights far broader than the agent's intended function.
  • Adaptation after refusal — an agent that adjusts API requests after receiving errors can escalate beyond its original instructions.
  • Credential discovery at scale — agentic tooling can scan public repositories faster than manual reconnaissance and act on findings in minutes.
  • Separation of duties collapse — when an agent operates under a single identity with broad permissions, no human checkpoint remains between discovery and exfiltration.

What concrete controls must you be able to demonstrate?

  1. Record the workload identity and its scope — document which service principal each agentic system uses, which APIs it may call and which data it may access, and reduce those permissions to the strictly necessary function.
  2. Validate parameters outside the model — enforce deterministic parameter checking in the infrastructure layer, not in the prompt, so the agent cannot modify API calls after errors.
  3. Implement revocation in minutes, not hours — test that a revoked credential or disabled service principal truly blocks access within the time it takes an agent to discover and act on a leaked secret.
  4. Separate the agent from approval workflows — require dual authorisation for sensitive operations, with the agent, the policy layer and the human approver kept distinct so that one compromised identity cannot bypass all controls.
  5. Monitor and interrupt autonomously — establish independent runtime monitoring that detects when an agent's behaviour drifts from its documented scope and can halt execution without relying on the agent itself to stop.

How should you structure the boundary between the model and the infrastructure?

Prompt instructions describe desired behaviour, but they do not determine which APIs are reachable, which parameters the agent can modify or which identity executes each call. If you rely on text alone, you let the security boundary be set by language that the agent itself can reinterpret or that an attacker can influence through poisoned training data or prompt injection. The usable boundary lies outside the model layer entirely. Separate instructions from data and parameters. Limit the reachable actions to a strict allowlist. Retain independent monitoring and an interruption path that works without the agent's cooperation. This is the structure that both Microsoft Learn and the OWASP GenAI Security Project emphasise: the agent observed here adjusted its API requests, so a textual instruction would not have bounded the behaviour.

What does this mean for your incident response and credential rotation?

Microsoft advises rotating or revoking exposed credentials immediately. That guidance is sound, but a rotation policy without tested revocation is false security. You must demonstrate this quarter that a revoked secret truly no longer grants access, and that revocation propagates to all systems that might use it within the time window in which an agent can act. The five-minute observation is incident-specific and not a universal attack speed, but it establishes that your approval process cannot be the primary control. Your stop and revocation path must work in minutes. Have that tested under realistic failure scenarios—when the identity service is slow, when cache invalidation lags or when the agent has already cached credentials before revocation.

Tooling can enforce parameter validation, track workload identities and alert on anomalous API calls. It cannot decide which permissions are truly necessary for your business, which APIs your agents should reach or whether a particular approval delay is acceptable in your operational context. Those judgements remain yours.

Sources: This article draws on reporting and guidance from Microsoft Threat Intelligence, Microsoft Learn, OWASP GenAI Security Project and CrowdStrike.

Casper Veenstra

Written by

Casper Veenstra

Continuity, failover, and the operational side of depending on someone else's model.