Because agents cannot make reliable decisions from partial telemetry. If configuration, patch, and log data are fragmented, the system sees disconnected symptoms rather than a coherent security state. That leads to misprioritised actions, weak change decisions, and false confidence in automation.
Why This Matters for Security Teams
Context is the difference between an agent making a useful security decision and making a confident mistake. Agentic systems do not fail like simple automation. They chain tools, reinterpret instructions, and act on incomplete state, so fragmented telemetry can turn a routine issue into a bad access decision, an unsafe remediation, or a missed escalation. This is why guidance from NIST AI Risk Management Framework and NHIMG research on the OWASP NHI Top 10 keeps emphasizing full-state visibility rather than isolated signals.
NHIMG’s The State of Non-Human Identity Security reports that only 1.5 out of 10 organisations are highly confident in securing NHIs, which reflects a broader operational problem: teams often manage agents with partial logs, partial inventories, and partial policy coverage. A system that cannot correlate configuration, identity, and runtime behaviour will usually prioritise the symptom it sees first, not the root cause it should fix. In practice, many security teams encounter agent misbehaviour only after a tool call has already crossed the intended boundary, rather than through intentional prevention.
How It Works in Practice
Effective agentic security systems treat context as a live input to authorisation, monitoring, and response. That means the agent’s workload identity, current task, tool chain, data sensitivity, and recent actions are evaluated together at request time. Static RBAC is usually too coarse for this environment because the same agent may need to query a ticketing system, read a CMDB entry, and request a secret in a single workflow, while still being denied database writes or lateral movement.
Current guidance suggests moving toward context-aware controls: policy-as-code, short-lived credentials, and continuous evaluation. A common pattern is to issue per-task access using JIT provisioning, bind the credential to the workload identity, and revoke it automatically when the task ends. For agents, this works best when paired with telemetry that shows what the agent is trying to do, not just what it touched. Standards and research from OWASP Agentic AI Top 10 and CSA MAESTRO agentic AI threat modeling framework both point to runtime governance, not pre-approved trust, as the safer model.
- Use workload identity to distinguish the agent itself from the secrets it consumes.
- Evaluate access at runtime with full task context, not only at provisioning time.
- Keep secrets short-lived and scoped to a single action or narrow workflow.
- Correlate logs, configuration, and policy decisions before allowing remediation.
NHIMG’s analysis of the CoPhish OAuth Token Theft via Copilot Studio shows why this matters: once context is missing, an agent can appear authorized while actually acting outside intended scope. These controls tend to break down in highly distributed environments where telemetry is delayed, ownership is split across teams, and the agent can chain several low-risk actions into a high-risk outcome.
Common Variations and Edge Cases
Tighter context enforcement often increases latency, tuning effort, and policy complexity, so organisations have to balance faster automation against stronger decision quality. That tradeoff becomes most visible when agents operate across multiple tenants, data classifications, or business units, because each boundary adds a new context source that can be stale or inconsistent.
There is no universal standard for how much context is enough. Best practice is evolving, but the current direction is clear: preserve enough runtime state to justify each action without granting durable trust. That usually means combining identity posture, request intent, and environmental risk signals, then denying actions when the context is missing rather than guessing. This is especially important in agentic workflows that involve secrets, because a short-lived token with broad task context can still be abused if the system cannot see that the task shifted.
Edge cases also matter. Human-in-the-loop review can help with irreversible actions, but it does not solve missing telemetry. Likewise, zero trust architecture reduces blind trust in the network, yet it does not automatically supply the operational context an agent needs to act safely. NHIMG’s AI Agents: The New Attack Surface report shows why: 80% of organisations report agents have already performed actions beyond their intended scope. Context is the control surface that helps decide whether a request is routine, suspicious, or too risky to allow.
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, CSA MAESTRO and OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST AI RMF 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 | A1 | Context-aware agent actions are core to agentic app risk reduction. |
| CSA MAESTRO | T1 | MAESTRO emphasizes threat modeling for agent workflows and context loss. |
| NIST AI RMF | GOVERN | AI RMF governance requires traceable, context-based accountability. |
| OWASP Non-Human Identity Top 10 | NHI-03 | Short-lived, scoped credentials reduce harm when agent context is incomplete. |
| NIST Zero Trust (SP 800-207) | SC-3 | Zero trust needs continuous verification using current context, not static trust. |
Evaluate each agent request with identity, device, and workload context before granting access.
Related resources from NHI Mgmt Group
Deepen Your Knowledge
Reviewed and updated by the NHIMG editorial team on July 28, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org