Manifesto

Why every AI agent needs an identity

Companies gave AI hands — real keys, real production access. Our identity and access tooling wasn't built for an actor that reasons, improvises, and can be talked into things.

Xtrom TeamOct 6, 20266 min read

For thirty years, identity and access management has rested on a quiet assumption: the thing holding the credential is either a human, who can be trained, held accountable, and trusted to notice when something feels wrong — or a service account, which does exactly one thing, the same way, every time. Neither assumption survives contact with an AI agent.

An agent reads untrusted content — a web page, a support ticket, a PDF, a commit message — as part of doing its job, and that content can contain instructions. It chains tool calls in ways no one explicitly programmed. It can be right 999 times and catastrophically wrong on the thousandth, not because it was compromised in the traditional sense, but because it was persuaded. That is not a bug in a particular model. It's structural: the same general-purpose reasoning that makes an agent useful is what makes it manipulable.

And yet most organizations are issuing agents the same artifacts they'd issue a junior engineer's laptop: a long-lived API key, a broad IAM role "to unblock the team," a service account with standing access to the production database "just in case." The agent is new. The governance model is not.

The category error

The industry has mostly responded to agent risk with better prompts, better guardrail models, and better output filters — in other words, by trying to make the agent's judgment more trustworthy. That's necessary, but it treats agent security as a model-quality problem. It isn't, or at least it isn't only that. It's an identity and access problem wearing a model-quality costume.

Ask it this way instead: if a human employee started exhibiting the agent's exact behavior pattern — reading external content, then taking privileged actions based on what it read, thousands of times a day, faster than any reviewer could sample — would you govern that with a better pep talk, or with least privilege, approval gates, and an audit trail?

The question isn't whether an agent can be fooled. Assume it can. The question is what it's authorized to do when it is.

What identity means for a non-human actor

Treating an agent as a first-class identity means a few concrete things, most of which the OWASP GenAI Security Project's agentic threat guidance and a decade of zero-trust practice already spell out:

  • Scoped, short-lived credentials per agent, per task, per environment — not one long-lived key shared across every deployment of a given workflow.
  • Capability-based authorization: the agent can only invoke the specific tools/actions it was explicitly granted, not "everything the underlying service account can do."
  • A deterministic action boundary that enforces policy at the moment of the tool call — independent of whatever the agent's reasoning concluded was a good idea.
  • A durable, tamper-evident record of what every agent did, with what identity, under what policy — because "why did it do that" is a question you will eventually have to answer to an auditor, a customer, or a regulator.
  • Step-up authorization for the small set of actions where a wrong call is expensive — production data deletion, financial transactions, secret rotation — so a single persuasive prompt can't become a single catastrophic action.

Why this can't wait for the model to get better

Models will keep improving. Indirect prompt injection will not disappear as a side effect of that improvement, because the attack doesn't exploit a model weakness that patches fix — it exploits the fact that the agent's job is to read content and act on it, and an attacker can shape that content. As agents get more capable, they get access to more consequential tools, which raises the cost of the failure mode, not lowers it.

That's the real argument for identity-first agent governance: it's the one layer of defense that holds regardless of how good or bad the agent's judgment is in a given moment. A well-scoped identity with a deterministic action boundary turns "the agent was tricked" from an incident into a non-event — the tool call it was tricked into making simply wasn't in its capability set, or required an approval it couldn't forge.

The honest version of this thesis: detectors and behavioral scoring are valuable — they catch drift, they flag the weird 2am request, they get better with data. But they're advisory. Identity, scope, and a fail-closed enforcement boundary are the layer that has to be a guarantee, because it's the layer standing between a clever prompt and your production database.

Guardrails guess. Identity, properly governed, is the part of the stack that doesn't have to.


Keep reading: CIEM for agents: granted vs. used and the non-human identity explosion.

Start free · no card

See what your agents would do.

Monitor mode first — observe real tool calls, nothing is blocked until you enforce.