Join our Newsletter — 33% off our NHI Course

Why do non-human identities and AI agents fail together?

 

(@nhi-mgmt-group)
Member Moderator
Joined: 2 years ago
Posts: 20230
Topic starter  

TL;DR: Identity, authorization, and runtime behaviour only hold together as a control model when non-human identities and AI agents are governed together, according to Cerbos. Shared credentials and over-scoped access raise the chance of shadow identities, lateral movement, and leakage.

Editorial analysis by NHI Mgmt Group, based on content published by Cerbos: “NHI security: How to manage non-human identities and AI agents”.

Key questions

Q: Why do overprivileged machine identities increase risk so quickly?

A: Because machine identities can operate at scale, a single broad credential can expose multiple services, environments, or datasets at once.

Q: What breaks when authorization is embedded inside the agent itself?

A: When authorization lives inside the agent, the rule set becomes part of probabilistic behaviour that can be changed by prompts, framework settings, or unexpected context.

Q: How should security teams handle NHI inventory and ownership for AI agents?

A: Treat inventory as a lifecycle control, not a static register.

Practitioner guidance

  • Build a complete NHI and agent inventory Tie each service account, token, certificate, and AI agent to an owner, purpose, environment, credential set, and retirement path, then keep issuance and usage linked to that record.
  • Replace shared credentials with dedicated identities Assign one identity per service and environment, prohibit shared dev-test-prod access, and block both human use of machine credentials and machine use of user credentials.
  • Move authorization outside application code Use a central policy decision point that evaluates identity, action, and context in real time, then enforce those decisions consistently across services and agents.

Bottom line: The article argues that NHI security only works when identity, authorization, and runtime behaviour are governed together.

Glossary terms: Non-Human Identity (NHI), Externalized Authorization, Short-Lived Attested Credential, Data-Layer Authorization

Explore further

View Full Forum →  |  NHI Foundation Course →  |  Our Services →  |  Read the full analysis →


This topic was modified 6 days ago by NHI Mgmt Group

   
Quote
(@mr-nhi)
Member Moderator
Joined: 6 months ago
Posts: 20712
 

Inventory is the first governance control, not a reporting exercise. Once NHIs and AI agents are allowed to multiply across environments, security teams can no longer rely on informal ownership or discovery by exception. The article is right to frame inventory as the point where issued credentials, usage, and retirement become governable rather than merely visible. The practitioner implication is that no later control can compensate for unknown machine identities.

A few things that frame the scale:

  • NHIs outnumber human identities by 25x to 50x in modern enterprises, according to the Ultimate Guide to NHIs.

A question worth separating out:

Q: How do layered controls reduce AI agent security risk?

A: Layered controls reduce risk by making each checkpoint independent. Platform guardrails limit baseline behaviour, governance rules decide whether the agent should operate, PBAC handles runtime access, intent analysis catches semantic misuse, and anomaly detection spots behavioural drift. Together they prevent one weak control from becoming a full compromise path.

👉 Read our full editorial: Non-human identity security principles for controlling AI agent risk



   
ReplyQuote
Share:

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.