Securing AI agents focuses on controlling the agent’s access, actions, and data use inside workflows. Securing the surrounding data security stack applies consistent discovery, classification, monitoring, and enforcement across all data flows, including human and machine access. Organisations need both so agent controls do not become isolated point fixes that leave the rest of the environment exposed.
Why This Matters for Security Teams
Securing AI agents is about the actor: what the agent can reach, decide, and execute inside a workflow. Securing the surrounding data security stack is about the environment: discovery, classification, monitoring, and enforcement across every data path, whether the request comes from a person, service, or agent. If teams only harden the agent, they can still leave the broader data plane exposed to the same credentials, permissions, and unmonitored flows.
The distinction matters because agent behaviour is dynamic, but data controls are often built around stable assets and known user roles. That mismatch is exactly why current guidance from the NIST AI Risk Management Framework and OWASP Agentic AI Top 10 treats agent controls and data controls as complementary layers, not substitutes.
NHIMG research shows why that separation is operationally important: in AI Agents: The New Attack Surface report, 80% of organisations said their AI agents had already acted beyond intended scope, including unauthorised system access and sensitive data exposure. In practice, many security teams discover the agent problem only after the data problem has already become a breach path.
How It Works in Practice
Agent security starts with identity, permissions, runtime policy, and containment for the autonomous workload itself. That means treating the agent as a distinct non-human identity, issuing short-lived credentials, constraining tool use, and evaluating access at request time rather than relying on a static role. The surrounding data security stack should then enforce the same classification and access rules no matter who or what touches the data.
A practical split looks like this:
- Agent controls answer: should this agent be allowed to call this tool, read this object, or write this action right now?
- Data stack controls answer: is this data classified, logged, masked, shared, or blocked consistently across all channels?
- Both layers should share policy context so an approved agent action still respects data sensitivity, tenant boundaries, and retention rules.
This is why current best practice is moving toward runtime authorisation, ephemeral secrets, and workload identity rather than long-lived static access. The implementation logic aligns with CSA MAESTRO agentic AI threat modeling framework and the operational lessons in The State of Non-Human Identity Security, where weak rotation and over-privilege remain common failure modes. For data controls, the stack still needs consistent discovery, DLP, audit logging, and entitlement review across SaaS, cloud, and internal repositories, including the paths agents inherit through delegated access.
That approach works best when the organisation can separate workload identity, policy evaluation, and data enforcement cleanly; it breaks down in sprawling environments with shadow SaaS, unmanaged OAuth grants, and inconsistent classification because the agent can only be controlled where the surrounding data stack is visible.
Common Variations and Edge Cases
Tighter agent controls often increase operational overhead, requiring organisations to balance runtime safety against speed, developer friction, and policy maintenance. The hard part is that there is no universal standard for where the agent boundary ends and the data boundary begins, so guidance is still evolving.
Two edge cases matter most. First, some teams over-index on the data stack and assume DLP, classification, and SIEM coverage will stop bad agent behaviour on their own. That misses tool chaining, prompt injection, and delegated abuse, which are agent problems first. Second, some teams lock down the agent so tightly that they reduce utility without fixing the underlying data exposure. A secure agent that can only read from a poorly governed data lake is still operating inside a weak control plane.
Practitioners should therefore treat agent security as the runtime control layer and the data security stack as the policy and visibility layer. The emerging pattern is to connect both with OWASP NHI Top 10 and the external OWASP Top 10 for Agentic Applications 2026 so the agent is constrained without creating blind spots in the rest of the environment.
These controls tend to break down when data access is spread across unmanaged SaaS integrations and teams cannot audit which identity actually touched the data.
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 CSA MAESTRO address the attack and risk surface, while NIST AI RMF and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | AA-03 | Agent runtime controls are needed because autonomous actions expand attack paths. |
| OWASP Non-Human Identity Top 10 | NHI-02 | Agents rely on non-human identities, secrets, and delegated access. |
| CSA MAESTRO | TRUST-02 | MAESTRO maps agent threat modeling to runtime trust and containment. |
| NIST AI RMF | AI RMF covers governance for autonomous behaviour and data risk. | |
| NIST CSF 2.0 | PR.AC-4 | Access control must extend across both agents and shared data systems. |
Constrain agent tool use at runtime and re-evaluate each action against current context.
Related resources from NHI Mgmt Group
- What is the difference between managed identities and hardcoded secrets for AI agents?
- What is the difference between workload identity and API keys for AI agents?
- What is the difference between logging actions and logging intent for AI agents?
- What is the difference between human identity governance and AI agent governance?
Deepen Your Knowledge
Reviewed and updated by the NHIMG editorial team on August 28, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org