TL;DR: Generative AI applications create attack paths that bypass code-focused defenses because prompt injection, data poisoning, model inversion, and adversarial inputs manipulate model behaviour directly, according to Obsidian Security’s analysis. The security problem is no longer just model quality; it is governance of access, data flow, and runtime trust across AI systems.
At a glance
What this is: This analysis argues that generative AI introduces a distinct attack surface where model behaviour, data pipelines, and access controls all become security controls.
Why it matters: For IAM and NHI practitioners, the key issue is that AI agents and supporting services need identity, privilege, and monitoring models that match their runtime access and data handling patterns.
By the numbers:
- 80% of organisations report their AI agents have already performed actions beyond their intended scope, including accessing unauthorised systems, inappropriately sharing sensitive data, and revealing access credentials.
- When AWS credentials are exposed publicly, attackers attempt access within an average of 17 minutes, and as quickly as 9 minutes in some cases.
👉 Read Obsidian Security's analysis of securing generative AI applications against modern threats
Context
Generative AI security is now an access-governance problem as much as a model-security problem. The article shows that prompt injection, data poisoning, model inversion, and adversarial examples can reshape outputs without exploiting conventional code flaws, which means perimeter tools and signature-based detection do not see the real failure mode. For identity programmes, the key question is who and what is allowed to influence model behaviour, access data, and trigger downstream actions.
This matters because AI systems are increasingly wired into customer service, knowledge retrieval, and internal automation, where a compromised prompt or overprivileged agent can move from content manipulation to data exposure. The identity angle is genuine here: AI agents, APIs, and SaaS integrations need explicit authentication, authorisation, and runtime monitoring rather than assumed trust. That starting position is now common, not exceptional.
Key questions
Q: How should security teams enforce least privilege for AI agent identities?
A: Start by treating every agent as an NHI with a dedicated identity, a tight permission boundary, and a named owner. Then enforce least privilege in policy, not just in dashboards, so unused access is removed and rare elevation is granted only through JIT workflows. The goal is to shrink blast radius before autonomy creates incident scale.
Q: Why do AI agents complicate zero trust architecture in practice?
A: AI agents complicate zero trust because they can authenticate correctly and still behave unpredictably after access is granted. Zero trust is not just about verifying identity at the door. For autonomous systems, it also requires continuous validation of scope, context, and action before high-risk operations proceed.
Q: What do security teams get wrong about prompt injection defence?
A: They often assume better blocklists will solve the problem, but obfuscation simply changes the shape of the payload. Real defence requires examining meaning across the full interaction, including retrieved content and model responses. If the control cannot interpret intent, it will keep missing the attack class it is meant to stop.
Q: How do organisations know if AI agent governance is actually working?
A: Look for three signals: every production agent has a named owner, access decisions are enforced during runtime, and audit trails show when requests were allowed, denied, or escalated. If teams can only describe agent behaviour in hindsight, governance is still incomplete.
Technical breakdown
Prompt injection changes the trust model at the input layer
Prompt injection works by feeding a model text that competes with or overrides the system instructions the application intended to enforce. Because large language models process natural language probabilistically, the attack does not need code execution. The attacker is exploiting instruction-following behaviour, not a software bug. That makes filtering, context isolation, and instruction hierarchy critical design choices. In practice, every user-supplied or tool-supplied input becomes part of the security boundary around the model.
Practical implication: separate untrusted input from system instructions and validate all model-adjacent content before it reaches an agent or LLM.
Data poisoning and model inversion target the AI supply chain
Data poisoning occurs when corrupted data enters training or fine-tuning pipelines and causes the model to learn the wrong patterns. Model inversion is different: it tries to recover sensitive training data from a model’s outputs or behaviours. Both attacks succeed because models are trained to generalise, not to preserve a strict boundary between harmless and sensitive information. That means the security problem includes training data governance, dataset provenance, and the controls around continuous learning pipelines.
Practical implication: protect training data lineage, restrict continuous-learning feeds, and treat model outputs as potential disclosure channels.
Identity-based access controls are the control plane for AI systems
AI applications are often treated as internal tools, but they act like distributed systems with their own credentials, service accounts, API tokens, and delegated access. Once an AI agent can call tools, query data sources, or move between SaaS systems, identity becomes the enforcement layer that decides whether a request is legitimate. Zero trust therefore has to extend to AI interactions, not just user sessions. In that sense, the model is not the only asset. The agent identity, its scope, and the systems it can reach are equally important.
Practical implication: issue least-privilege access to AI agents and review their credentials, scopes, and tool permissions as part of standard IAM governance.
Threat narrative
Attacker objective: The attacker aims to manipulate model behaviour into leaking data, taking unsafe actions, or amplifying access through connected systems.
- Entry begins when an attacker sends malicious prompts or corrupts training inputs that the model ingests as legitimate context.
- Escalation occurs when the manipulated model exposes sensitive data, follows unsafe instructions, or abuses overbroad tool permissions through connected agents and integrations.
- Impact is the disclosure of proprietary data, unsafe automated actions, or compromised downstream systems that rely on model output.
NHI Mgmt Group analysis
AI security now depends on identity governance, not just model hardening. The article makes clear that the real attack surface includes agents, tokens, integrations, and the data they can reach. That moves the problem from isolated AI tuning into IAM, PAM, and lifecycle governance for non-human identities. Practitioners should treat AI systems as identity-bearing workloads, not just software features.
Prompt injection is a governance failure when applications trust user context too early. The risk is not simply that the model says the wrong thing. It is that untrusted instructions are allowed to compete with policy, which exposes a context-boundary weakness across the stack. Teams should treat context separation as a security control, because the failure mode is instruction trust without sufficient isolation.
Identity-first protection is the named control gap that best captures this risk. AI systems often inherit credentials, data access, and SaaS reach without a lifecycle model for ownership, review, or revocation. That creates a verification trust gap between what the application can technically do and what it should be allowed to do. The practitioner conclusion is straightforward: if the AI system cannot be attributed, scoped, and monitored, it is already overexposed.
Zero trust for AI systems must extend to every model interaction. The article correctly frames AI as a system of repeated trust decisions, not a static application boundary. That means authentication, authorisation, and behavioural monitoring must apply to prompts, tools, and outputs alike. For identity programmes, the standard is no longer just who signed in, but what identity is acting at runtime and with what authority.
Continuous monitoring matters because AI risk is behavioural before it is technical. Models can appear normal while quietly drifting, disclosing, or over-sharing under adversarial pressure. That makes detection latency the operational variable to watch, especially when AI agents are connected to sensitive datasets or business workflows. The practitioner implication is to measure model and agent behaviour continuously, not only at deployment.
What this signals
Identity-first AI governance is becoming a baseline control, not a specialist add-on. As more enterprises wire generative systems into SaaS, data, and workflow tools, the AI identity becomes part of the access model. Teams that cannot inventory agent identities, credential scope, and tool reach will struggle to prove control effectiveness under audit or incident review.
Verification trust gap: this is the gap between a model that is technically able to act and a programme that can explain why it was allowed to act. The gap is closing only when ownership, privilege boundaries, and behaviour monitoring are tied together. For practitioners, that means integrating AI controls into IAM, PAM, and SIEM workflows rather than standing them up as a separate island.
The practical signal to watch is detection latency across AI workflows. If prompt abuse, risky tool calls, or anomalous outputs are only discovered after data exposure, the control model is already behind the threat. Programmes should measure whether alerting reaches the SOC before the model’s action becomes business impact.
For practitioners
- Map every AI agent to a named identity Assign each model, agent, connector, and automation path a unique identity with documented ownership, purpose, and system scope. Treat shared credentials and unnamed integrations as governance defects, not convenience shortcuts.
- Restrict tool and data access by least privilege Limit each agent to the minimum SaaS, database, and API permissions required for its task, then separate read, write, and delegation rights. Review those permissions on a lifecycle schedule, not only at deployment.
- Instrument runtime monitoring for model behaviour Track unusual prompts, high-risk tool calls, output anomalies, and sudden scope expansion across AI workflows. Feed those signals into your SIEM or SOAR process so suspicious behaviour is triaged alongside other security events.
- Secure training and retrieval pipelines Validate dataset provenance, block unapproved ingestion sources, and record where sensitive content enters fine-tuning or retrieval-augmented generation workflows. This reduces the chance that poisoned or confidential data becomes part of the model’s operating context.
- Test for prompt injection and model abuse Include adversarial prompt testing, output exfiltration checks, and abuse of connected tools in red-team exercises. The goal is to prove whether the model can be manipulated into bypassing policy or exposing data before production users do.
Key takeaways
- Generative AI risk is fundamentally an identity and governance problem because agents, tokens, and integrations can act beyond their intended scope.
- The article’s evidence shows that traditional security tools miss prompt injection, data poisoning, and model abuse because those attacks target behaviour rather than code.
- Practitioners should inventory AI identities, reduce privilege, and monitor runtime behaviour as part of standard IAM and security operations.
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 and MITRE ATLAS address the attack and risk surface, while NIST AI RMF, NIST CSF 2.0 and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST AI RMF | GOVERN | The article is about governing AI risk across people, process, and systems. |
| OWASP Agentic AI Top 10 | A1 | Prompt injection and tool misuse are core agentic AI threats in this article. |
| MITRE ATLAS | TA0006 , Credential Access; TA0009 , Collection | The article describes attacks that extract sensitive data or manipulate model behaviour. |
| NIST CSF 2.0 | PR.AC-4 | AI agents need controlled access to data and services, not assumed trust. |
| NIST SP 800-53 Rev 5 | AC-6 | Least privilege is central to limiting AI agent blast radius. |
Map model abuse scenarios to ATT&CK-like tactics and build detections around collection and access.
Key terms
- Prompt Injection (Agentic): An attack where malicious instructions are embedded in content that an AI agent reads — causing the agent to execute unintended actions using its own legitimate credentials. A primary vector for agent goal hijacking and identity abuse.
- Model Inversion: Model inversion is an attack technique that tries to recover sensitive information from a model by querying it in a targeted way. The risk matters because information hidden in training data, prompts, or internal behaviour can sometimes be inferred from outputs rather than directly accessed.
- AI Agent Identity: The digital identity used by an autonomous AI agent to authenticate to external systems, APIs, and services. Managing AI agent identities is an emerging and rapidly evolving area of NHI security.
- Behavioral Monitoring: Behavioral monitoring is the practice of detecting misuse by comparing current activity to established patterns of normal use. For NHI governance, it is essential because valid API credentials can look authentic even when they are stolen and being used for exfiltration or lateral movement.
What's in the full article
Obsidian Security's full blog post covers the operational detail this post intentionally leaves for the source:
- Step-by-step treatment of prompt injection, data poisoning, model inversion, and adversarial examples in generative AI deployments
- Implementation guidance for input validation, model rollback, and behavioural monitoring in AI application stacks
- Practical examples of identity-first protection and AI-specific integration with existing security infrastructure
- Cost and resilience analysis showing the operational impact of proactive AI threat management
Deepen your knowledge
The NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, agentic AI identity, machine identity security, IAM, and secrets management. It is designed for practitioners who need to bring identity discipline to workloads, agents, and access paths.
Published by the NHIMG editorial team on August 15, 2026.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org