Subscribe to the Non-Human & AI Identity Journal

What should organisations do before giving agents production access?

Treat production access as privileged authority and require task scoping, peer review, and separation between tool discovery and execution approval. If the agent can trigger live change, the governance model must assume rapid state change, not slow human review. Access should be granted only when the blast radius has been tested and bounded.

Why This Matters for Security Teams

Giving an agent production access is not a routine IAM decision. It is a privilege decision that can change data, trigger transactions, and move laterally across tools at machine speed. Static roles often fail here because the agent’s next action is not fully knowable in advance. That is why current guidance suggests treating production access as a bounded execution path, not a standing entitlement, and why OWASP Agentic AI Top 10 and the NIST AI Risk Management Framework both emphasize context, oversight, and governance over simple role assignment.

NHI Management Group research shows why this matters in practice: 97% of NHIs carry excessive privileges, and 80% of identity breaches involved compromised non-human identities such as service accounts and API keys. When an agent can invoke tools, chain requests, or retry after failure, the blast radius expands faster than a human approval queue can react. In practice, many security teams encounter destructive agent behaviour only after live change has already occurred, rather than through intentional pre-production testing.

How It Works in Practice

Before production access is granted, the agent should prove three things: what task it is allowed to perform, what systems it may touch, and how its access will end. That usually means task scoping, peer review, and a separation between tool discovery and execution approval. Discovery can be broad enough to understand available actions, but execution should be limited to a narrowly defined workflow with explicit policy checks at runtime.

Operationally, the safest pattern is ephemeral access. Issue workload identity plus short-lived secrets only for the approved task, then revoke them automatically when the task completes. This is the practical opposite of long-lived static credentials, which are hard to contain once an agent begins chaining tools. Where possible, use policy-as-code so each request is evaluated in context, including environment, target, data sensitivity, and change window. CSA MAESTRO agentic AI threat modeling framework is useful here because it treats agent behavior as a system design problem, not just an identity problem.

  • Approve only a named task, not a general production role.
  • Separate read-only discovery from write-capable execution.
  • Use just-in-time credentials with short TTLs and automatic revocation.
  • Require logging that shows each tool call, prompt input, and change made.
  • Test the blast radius in a lower environment before any live access.

For deeper context on the risks of agent-driven change, see NHIMG’s Replit AI Tool Database Deletion analysis and the broader Ultimate Guide to NHIs. These controls tend to break down when agents are allowed to self-discover new tools in production because the approval boundary no longer matches the actual execution path.

Common Variations and Edge Cases

Tighter production controls often increase delivery friction, requiring organisations to balance safety against speed. That tradeoff is real, and there is no universal standard for it yet. For read-heavy agents, the answer may be scoped access to production telemetry without write privileges. For change-oriented agents, the safest pattern is often a human-in-the-loop release gate with strict time limits and rollback authority.

Edge cases appear when agents sit inside CI/CD, operate across multiple tenants, or call third-party SaaS tools that have their own delegated permissions. In those environments, a simple RBAC model can look correct on paper while still allowing an agent to pivot through indirect privileges. Best practice is evolving toward context-aware authorization, where policy decisions reflect task, data class, and risk level at the moment of request. That is also why the NIST AI Risk Management Framework and the OWASP Agentic AI Top 10 are increasingly referenced together: one addresses AI governance, the other highlights failure modes in agent behavior.

NHIMG’s Analysis of Claude Code Security shows the same theme in a different form: production safety depends less on giving the model more freedom and more on constraining what it can do when context changes. Where agents must operate during incident response or maintenance windows, governance breaks down if there is no pre-approved rollback path and no fast way to revoke access after the first anomalous action.

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 A01 Agentic apps need bounded execution before any live production change.
CSA MAESTRO MT-3 MAESTRO focuses on agent threat modeling and control placement.
NIST AI RMF GOVERN AI governance is needed before granting production authority to agents.
OWASP Non-Human Identity Top 10 NHI-03 Short-lived secrets and rotation reduce the blast radius of agent access.
NIST Zero Trust (SP 800-207) AC-4 Zero Trust requires decision-time authorization for every production action.

Issue ephemeral credentials for approved tasks and revoke them immediately after completion.