By NHI Mgmt Group Editorial TeamBased on CyberArk: “The Rise of the Machines and the Growing AI Identity Attack Surface” (August 22, 2024)

TL;DR: AI models and AI-powered tools are expanding the machine identity attack surface as attackers target trust boundaries through jailbreaking, indirect prompt injection, and other model-aware attacks, according to CyberArk. The governance gap is no longer theoretical: security teams must treat AI identities as privileged actors, not just software features.


At a glance

What this is: CyberArk argues that AI machine identities are becoming a larger privileged access problem because attackers can exploit trust, prompt injection, and model-aware manipulation to reach sensitive systems.

Why it matters: IAM, PAM, and NHI programmes need to treat AI services as governed identities, because the access paths they open can expose data, logic, and downstream privileges in ways conventional controls do not fully model.

By the numbers:

  • 68% of security professionals indicate that up to 50% of all machine identities across their organizations have access to sensitive data.

Context

AI machine identities are software identities that can access data, tools, and workflows on behalf of a service or model. In this article, CyberArk argues that these identities are growing faster than the controls designed to govern them, especially when AI systems are trusted to operate inside business workflows.

The governance gap is not simply that AI is new. It is that current IAM assumptions, including deterministic boundaries and human-style review cycles, do not map cleanly to machine identities that can be prompted, manipulated, or trusted into action without the same guardrails used for people.

For identity teams, the issue sits at the intersection of NHI governance, PAM, and emerging AI security practice. The article is typical of the current market moment, where AI capability is expanding faster than identity policy, inventory, and enforcement.


Key questions

Q: What breaks when AI assistants are allowed to act on behalf of users without policy checks?

A: The assistant can make legitimate-looking requests that exceed the user's intended scope, especially when it can retrieve data, call APIs, or generate responses across sensitive systems. Without action-level policy checks, authentication becomes a weak proxy for authorisation. Teams lose the ability to prove that each AI-driven action stayed inside the approved boundary.

Q: Why do machine identities create risk even when MFA is enabled?

A: Machine identities create risk because MFA only verifies access at one moment, while the underlying credential, certificate, or token may remain reusable for far longer. If the identity is over-privileged, poorly inventoried, or not rotated, an attacker can still exploit it after the initial check. Governance failures, not just weak authentication, drive the exposure.

Q: What are the signs that AI-powered compliance workflows are being overtrusted?

A: Common warning signs include answers that are accepted without source checking, policies that drift from the organisation’s actual controls, and automated outputs that are reused across contexts without review. If staff cannot explain where a response came from or whether it was verified against evidence, the workflow has moved from assistance to dependency.

Q: How should security teams govern sensitive data used by AI systems?

A: Security teams should treat AI as a data consumer that needs policy boundaries, not just authentication. Classify sensitive data, define which datasets may enter AI workflows, and monitor outputs, logs, and downstream reuse. If governance stops at login, the organisation can approve access while still losing control of the data itself.


Technical breakdown

Why AI machine identities create a new privilege boundary

AI assistants, chatbots, and LLM-backed workflows are not just users of data. They often act with delegated access to documents, repositories, ticketing systems, and analytical outputs, which makes them machine identities in the identity stack. That matters because once a model or plugin can execute a task, the question becomes who can influence its inputs, outputs, and scope of access. CyberArk’s point is that trust is being extended to systems that do not behave like traditional deterministic applications, so privilege must be analysed at the identity and workflow boundary, not only at login.

Practical implication: classify AI services as governed machine identities and review the access they inherit from connected workflows.

How jailbreaking and indirect prompt injection abuse machine trust

Jailbreaking tries to coerce the model directly, while indirect prompt injection places malicious instructions inside content the model later processes. In both cases, the attacker is not always trying to defeat authentication in the classic sense. Instead, the objective is to manipulate the model’s decision path so it reveals data, follows unsafe instructions, or produces misleading output with legitimate-looking access. CyberArk’s article also stresses that these attacks exploit security boundaries enforced statistically rather than deterministically, which makes them structurally different from ordinary application abuse.

Practical implication: treat model inputs and retrieved content as attack surfaces, not as trusted context by default.

Why LLMs should not be treated as security-enforcing elements

The article makes a clear architectural claim: current LLMs enforce boundaries in a probabilistic way, so they are unsuitable as the control point that decides whether something is allowed. That is a crucial distinction for identity architects. If an AI model can be persuaded to alter output, expose data, or change task flow, then it cannot safely stand in for an authorization engine or policy decision point. In practice, the control plane must remain external to the model, with explicit policy enforcement and auditable identity boundaries around it.

Practical implication: keep authorization and policy enforcement outside the model and do not let the model act as the control mechanism.


Threat narrative

Attacker objective: The attacker aims to turn trusted AI access into a path for data exposure, workflow manipulation, and unsafe downstream responses without needing classic human credential theft.

  1. Entry begins when an attacker crafts deceptive prompts, injected content, or weighted word choices that influence how an AI system interprets instructions and context.
  2. Credential or access abuse follows when the manipulated AI service uses its existing machine identity to reach sensitive pages, data sources, or workflow actions it was trusted to handle.
  3. Impact occurs when the model reveals sensitive information, sends malicious responses, or carries out unintended actions through its delegated access and privileged workflow position.
  • Twitter source code leak 2023: Twitter source code and internal tools were posted to GitHub by "FreeSpeechEnthusiast" and stayed public for months before a 2023 takedown.
  • Sisense breach 2024: A credential in Sisense's GitLab reportedly opened S3 buckets of customer tokens, passwords and certificates; CISA urged a full reset.

Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.


NHI Mgmt Group analysis

AI machine identity is now a privileged access problem, not just an application risk: The article shows that AI assistants and LLM-backed services are being trusted with access to data, repositories, and workflow actions. That makes them part of the identity estate, not a separate AI-only concern. Security teams that still classify these systems as features instead of identities will miss the governance and entitlement questions that matter most.

Deterministic authorization assumptions are breaking at the model boundary: Current IAM programmes are built around repeatable policy checks, but the article argues that LLMs enforce boundaries statistically and indeterministically. That means the old assumption that a control decision can be predicted from a stable request path no longer holds once the model can be influenced by prompt content. The implication is that model behaviour changes the trust model itself, not just the attack surface.

Prompt injection is a governance failure, not only a content filter problem: Indirect prompt injection succeeds because the AI service is allowed to consume untrusted material as if it were operational context. That creates a governance gap between content ingestion and identity authority. The specific concept here is context trust debt: the more a model is allowed to act on retrieved or user-supplied content, the more the organisation owes in boundary enforcement, provenance, and review. Practitioners need to treat that debt as a control design issue.

AI identities must be governed like powerful machine users: CyberArk’s framing is strongest where it compares AI systems to privileged users rather than to ordinary software. That is the right mental model for identity teams because it shifts attention to least privilege, delegated access, and misuse potential across the full session. The field needs to stop asking whether AI is smart enough and start asking whether its privileges are narrow enough.

Model-aware attacks are forcing identity governance and security engineering to converge: The article’s examples show that the attack is often about how identity, data access, and model behaviour intersect, not about any one control. That makes cross-functional ownership essential across IAM, PAM, application security, and AI governance. The organisations that will cope best are the ones that govern AI access as part of the same identity operating model used for other machine identities.

What this signals

Context trust debt: the more an organisation lets an AI service consume untrusted content and then act on it, the more it accumulates unresolved control risk at the model boundary. That debt shows up later as data exposure, unsafe responses, or workflow drift rather than as a clean authentication failure.

Identity teams should expect AI services to be reviewed like other privileged machine identities. The practical shift is away from asking whether the model is accurate enough and toward asking whether its delegated access is narrow, observable, and revocable.


For practitioners

  • Classify AI services as machine identities Inventory chatbots, assistants, plugins, and LLM-backed services as non-human identities with explicit owners, approved purposes, and access boundaries.
  • Separate policy enforcement from model output Keep authorization decisions, allowlists, and sensitive-data rules outside the model so the AI cannot act as the policy decision point.
  • Review delegated access to sensitive content sources Check which AI workflows can reach documents, repositories, customer data, or internal knowledge bases and remove any access that is not strictly required.
  • Test for prompt injection and jailbreak exposure Probe content ingestion paths, retrieval flows, and plugin integrations for indirect prompt injection and jailbreak patterns before production rollout.
  • Apply privileged access controls to AI workflows Treat AI services that can modify tasks, retrieve data, or send external responses as high-risk identities and govern them with privileged access review.

Key takeaways

  • AI assistants and LLM-backed workflows are becoming machine identities with access paths that can expose data and alter business processes.
  • Prompt injection and jailbreak techniques succeed because they target trust in model behaviour, not just classic login controls.
  • Identity governance for AI now needs ownership, scoped access, and external policy enforcement around the model, not inside it.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Agentic AI Top 10, OWASP Non-Human Identity Top 10 and MITRE ATT&CK define the specific risk controls and attack patterns relevant to this term.

FrameworkControl / ReferenceRelevance
OWASP Agentic AI Top 10ASI03 — Identity & Privilege AbuseThe article centres on AI identities being manipulated through delegated privileges and trust.
Recommendation — Constrain AI identity privileges and review every workflow that lets a model act on behalf of trusted access.
OWASP Non-Human Identity Top 10NHI-04 — Insecure AuthenticationThe article discusses AI services and machine identities being trusted in ways attackers can exploit.
NHI-05 — Overprivileged NHICyberArk highlights broad access to sensitive data and workflow actions as the core exposure.
NHI-10 — Human Use of NHIHuman users are shaping AI behaviour through prompts and content that drive machine actions.
Recommendation — Treat AI services as machine identities and harden authentication, ownership, and access scope. Reduce AI service entitlements to the minimum needed and remove standing access to sensitive sources. Separate human prompt authority from machine execution authority and log who can influence each.
MITRE ATT&CKTA0006;TA0008 — Credential Access; Lateral MovementThe abuse path runs through trusted access to data and downstream workflow movement.
Recommendation — Map AI workflow abuse to credential access and lateral movement to improve detection coverage.

Key terms

  • AI Machine Identity: An AI machine identity is the non-human account, credential set, or service identity used by an AI system to access tools and data. It can include tokens, service accounts, and delegated permissions. In practice, it should be governed like any other privileged NHI with clear ownership and expiry.
  • Indirect Prompt Injection: Indirect prompt injection is an attack where malicious instructions are hidden inside content that an AI system reads later. The model may treat that content as context rather than as hostile input, which can influence tool use, data access, or workflow actions if controls are weak.
  • Jailbreaking: Jailbreaking is the practice of crafting prompts that persuade an AI model to ignore its safeguards and produce restricted outputs. It shows that authentication to the service does not guarantee safe behavior, which is why governance must extend beyond the chat interface.
  • Contextual Trust Debt: The gap that builds when an organisation relies on static access assumptions even though the risk environment has changed. It describes the mismatch between the trust a system grants and the trust its current session, device, or identity history actually deserves.

Deepen your knowledge

NHI governance, agentic AI identity, and machine identity lifecycle are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building or maturing an IAM programme, it is worth exploring.
NHIMG Editorial Note
Published by the NHIMG editorial team on May 29, 2026.
Updated on October 8, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org