TL;DR: A company AI assistant exposed salary data because it was granted broad access without identity guardrails, showing how agentic systems can query HR, code, and financial data without verification, logging, or purpose-bound scoping, according to Defakto Security. The core failure is not model capability but treating an actor-like system as infrastructure, which collapses existing access assumptions.
At a glance
What this is: This is an analysis of how agentic AI becomes a security actor when it can query enterprise systems, and why the article argues that broad permissions created a salary-data exposure.
Why it matters: IAM, PAM, and NHI teams need to govern agentic systems as identities because purpose-bound access, verification, and observability become mandatory once AI can act on data and trigger actions.
Context
Agentic AI changes the security problem because the system is not merely generating text, it is initiating requests and acting against enterprise resources. That means the control question shifts from output moderation to identity, entitlement, and auditability.
The article centres on a salary-data exposure that occurred when an AI assistant was allowed into an HR system too broadly. The governance gap is familiar to IAM teams, but the actor is not: the access pattern must be treated as a privileged non-human identity with scoped purpose and traceable actions.
Key questions
Q: What breaks when AI agents are given broad enterprise access without tight governance?
A: Broad access turns AI agents into high-speed execution paths that can move data, spend money, modify records, or delete assets before operators can intervene. The failure is not only misuse by an attacker. The system itself can exceed intended scope during normal task completion, so the real control problem is bounding authority before runtime action begins.
Q: Why do agentic systems need identity controls instead of just application security?
A: Because the security problem changes once the system can initiate requests and take actions on behalf of users. Application security alone protects code and interfaces, but identity controls govern what the actor may access, when it may act, and how those actions are traced. That is the control boundary agentic AI crosses.
Q: How should teams detect when an AI agent is overreaching its intended role?
A: Look for agents that can reach into HR, code, finance, or other sensitive domains without a clear task justification. Repeated high-risk queries, broad system reach, and unaudited actions are strong signs that the agent is operating beyond its intended scope and that entitlement design is too loose.
Q: Should organisations treat autonomous agents like human users or service accounts?
A: Organisations should not treat autonomous agents as simple human analogues. They behave like governed non-human identities with added runtime decision-making, so they need identity boundaries, action checkpoints, and clear accountability. Human-style certification cycles alone are too slow for systems that can complete sensitive work within one session.
Technical breakdown
Why agentic AI behaves like a privileged actor
Agentic AI is described here as a system that can interpret intent, take action, and pull data from multiple enterprise sources. That is materially different from a passive application because the system can initiate requests instead of only responding to them. Once a system can query databases, trigger APIs, or compose messages on behalf of a user, it starts behaving like an identity with an access profile. The security model therefore has to cover authentication, authorization, logging, and policy enforcement at the actor level, not just at the application perimeter.
Practical implication: define agentic AI as an identity subject with explicit entitlements, not as a generic application component.
How broad permissions turn a helpful assistant into an exposure path
The article’s example shows the failure mode clearly: an assistant with HR access answered a salary request that should not have been allowed. The issue was not model capability, but access scope that exceeded the task’s purpose. In governance terms, the agent inherited permissions it did not need, and those permissions were not tied tightly enough to context or job function. Once that happens, the agent can surface data from HR, code repositories, financial systems, or other sensitive stores without a human-style review checkpoint.
Practical implication: scope agent access to the narrowest data domain and purpose, then verify that entitlement against every high-risk workflow.
Why visibility must move from post-action logging to real-time enforcement
The article stresses that requests were unverified, unaudited, and effectively invisible until the wrong question was asked. That is the core architecture problem: if the system can act autonomously, a delayed review does not stop the action or the leak. Real-time enforcement matters because agentic activity can be fast, broad, and hard to unwind once data leaves the source system. This is especially important where the output is not just disclosure but subsequent reuse, forwarding, or downstream retention of intellectual property.
Practical implication: enforce policy in-line at request time and log every agent action with enough context to reconstruct intent and scope.
Breaches seen in the wild
- DeepSeek database exposure 2025: An unauthenticated DeepSeek ClickHouse database exposed over a million log lines with plaintext chat history and API keys in 2025.
- 12,000 secrets in LLM training data: Truffle Security found 11,908 live API keys and passwords hard-coded in web pages captured by Common Crawl, a dataset used to train LLMs.
Read our 52 NHI Breaches Analysis report for a comprehensive view of breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
Agentic AI should be treated as a first-class identity, not a feature layer. The article’s core point is that once AI can query systems or take actions, it stops fitting the software-only model many programmes still use. Identity, scope, and auditability become the control plane because the actor is now capable of reaching across enterprise boundaries. The practitioner conclusion is straightforward: if it can act, it needs governed identity.
Purpose-bound access is the missing governance concept in most early agent rollouts. The salary leak happened because the assistant had broad HR reach that was not constrained tightly enough to its actual purpose. That is the same failure pattern IAM teams have spent years correcting for humans and service accounts, but agentic systems make it more dangerous because they can combine intent, data access, and action at machine speed. The practitioner conclusion is to bind access to context, not just to role.
Identity-first AI security is becoming a control expectation, not an architectural preference. The article argues that regulators will expect demonstrable control over AI systems in the same way they expect control over other privileged actors. That shifts the market toward identity-aware observability, authorization, and lifecycle governance for agents. The practitioner conclusion is to plan for AI systems to enter the same governance inventory as other non-human identities.
Unchecked agent autonomy creates identity blast radius before anyone notices the mistake. Once an agent can query sensitive repositories, the consequence is not limited to one data pull. The access can propagate into copied outputs, retained records, or follow-on actions that extend exposure beyond the initial request. The practitioner conclusion is to evaluate how far a single agent session can spread sensitive information when no guardrails exist.
Agentic AI exposes the gap between infrastructure thinking and actor thinking. Infrastructure is usually secured by environment and deployment controls, but an actor needs identity, authorization, and continuous policy decisions. This article shows why that distinction matters: the same system can be either harmless or high-risk depending on whether it is governed as a thing or as a subject. The practitioner conclusion is to align governance with actor behaviour, not system category.
From our research library:
- Gartner predicts that by 2028, 33% of enterprise software applications will include agentic AI, up from less than 1% in 2024, and that 15% of day-to-day work decisions will be made autonomously.
- Read next: Agentic AI Security Guide
What this signals
Agentic AI security programmes now need to start with identity inventory, not model evaluation, because the risk comes from what the actor can reach and do inside enterprise systems. When an assistant can query HR or finance, governance has to move from prompt safety to entitlement control and traceable execution.
Identity blast radius: the real exposure is not the first data pull but the reach of the actor once it can combine access, action, and output retention. Security teams should model how far a single agent session can spread sensitive information before any human review can intervene.
Access review processes alone will not catch agentic misuse if the agent can obtain and discard access within a short execution window. The practical shift is toward issuance-time authorisation, inline enforcement, and continuous observability of agent behaviour.
For practitioners
- Inventory every agentic AI system Map internal assistants, embedded agents, and workflow agents to the systems they can reach, then classify which ones can query sensitive stores or trigger downstream actions.
- Assign identity and purpose-scoped access Treat each agent like a privileged non-human identity, then bind its access to a specific purpose, context, and data domain instead of a broad application role.
- Enforce real-time policy checks Require authorization and audit enforcement at request time so the agent cannot query, send, or act before policy is evaluated.
- Test misuse and exfiltration paths Red-team prompt abuse, unauthorised data retrieval, and logic bypass scenarios to see what a curious or malicious user can extract through the agent.
- Throttle privileged agent activity Apply rate limits to sensitive queries and privileged actions so a misconfigured or compromised agent cannot rapidly expand the blast radius.
Key takeaways
- Agentic AI becomes a governance problem when it can act across enterprise systems rather than merely generate output.
- The article’s example shows how overbroad permissions can expose salary data and potentially other sensitive assets such as source code or financial records.
- The decisive control is identity-based scoping with real-time enforcement, because leaked intellectual property and copied outputs cannot be easily recovered.
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 OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST SP 800-53 Rev 5, NIST CSF 2.0 and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | ASI03 — Identity & Privilege Abuse | The article centers on an agent exercising more privilege than its task warranted. |
| Recommendation — Bind agent privileges to explicit purpose and context so identity abuse cannot expose sensitive systems. | ||
| OWASP Non-Human Identity Top 10 | NHI-05 — Overprivileged NHI | The assistant behaved like an overprivileged non-human identity with excessive enterprise reach. |
| Recommendation — Reduce agent entitlements to the minimum required data domains and actions. | ||
| NIST SP 800-53 Rev 5 | IA-5 — Authenticator Management | The article stresses governed access, verification, and control over non-human credentials. |
| Recommendation — Apply authenticator management to issue, constrain, and review agent credentials. | ||
| NIST CSF 2.0 | PR.AA-05 — Access Permissions, Entitlements and Authorizations | The central issue is whether the AI agent had the right permissions for the data it reached. |
| Recommendation — Review agent entitlements against PR.AA-05 and revoke any access not tied to a clear business purpose. | ||
| NIST Zero Trust (SP 800-207) | Section 2.5 — Least Privilege Access | The article depends on continuous enforcement of least privilege for an autonomous actor. |
| Recommendation — Enforce least privilege at the point of request so agent actions are checked before access is granted. | ||
Key terms
- Agentic AI: Autonomous AI systems capable of planning, deciding, and taking actions, including calling APIs, writing code, and orchestrating other agents, with minimal human oversight. Agentic AI introduces new NHI risks as agents must authenticate to external services.
- Tool-scoped Access: A permission model that limits which external tools, APIs, and resources an agent can use for a specific task. For autonomous or semi-autonomous systems, tool scope is a core identity control because access to action often matters more than access to text.
- Identity Blast Radius: The amount of damage a compromised identity can cause across systems, data, and infrastructure. In NHI environments, it is shaped by permissions, network reach, and administrative capability rather than by the credential alone. Reducing blast radius is a containment strategy that limits lateral movement and data exposure.
- Real-Time Enforcement: Real-time enforcement means a system evaluates conditions while the transaction or session is still active, rather than after the fact. For governance programmes, this is the difference between preventing a harmful outcome and only reporting it later.
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.
Published by the NHIMG editorial team on June 24, 2026.
Updated on October 6, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org