Gustavo AlvaradoRequest my resume
All work

Written pieceStatus: Written piece

The agent is an identity

An agent holds credentials. It decides when to use them. That is the whole problem.

What a non-human identity is

A non-human identity is a credential that stands for software. A service account. An API key. A token. A grant given to an app. OWASP keeps a Top 10 list of the ways these go wrong S1.

A person has an identity that joins, moves and leaves. A workload has one too. SPIFFE defines a workload as one piece of software, deployed with a particular configuration for a single purpose S4. The point of the definition is the single purpose. It is the part most credentials lose.

An agent is a workload that picks its own next step. Nobody told it which call to make. It made a choice, and the credential it holds is the thing that let the choice work.

Why controls built for people miss it

People are hired. They change teams. They leave, and a ticket removes their access.

A credential has none of that. A deploy creates it. A person pastes it into a config file. The person leaves and the credential stays. The job still runs, so nobody asks whether it should.

The first item on OWASP's list is that: accounts and keys that are no longer needed and were never switched off S1. The seventh is the secret that never expires, or expires too far away S1. The ninth is one identity shared by several things, so one compromise opens all of them S1.

In 2023 a large internet infrastructure company had service credentials leak from a third party's breach. It rotated almost all of them. It did not rotate one service token and three service accounts, because it believed they were unused. An attacker used them. The company wrote that up itself, and its automated alert did fire S5. It is not a story about an agent. It is the older story that an agent inherits.

Why an agent makes it worse

A scripted job calls the same three systems every night. An agent chooses.

OWASP's list for agentic applications names the gap. Without a distinct, governed identity of its own, an agent works in what the document calls an attribution gap, and true least privilege cannot be enforced S2. When one agent hands work to another, it can pass its whole credential. The document calls this un-scoped privilege inheritance. A low-privilege agent can also relay a request to a high-privilege one that trusts it and does not check who asked. The document calls that a confused deputy S2.

Messages between agents are a second door. If the agents do not authenticate each other, a message can be forged or changed on the way S3.

The control model

Five things. None is new.

An identity for the workload. Not a secret copied by hand. In SPIFFE's terms, a workload proves who it is with a document it presents to a resource or a caller S4.

Short-lived credentials, scoped to one task. OWASP's agentic list puts task-scoped, time-bound permissions first among its fixes for identity and privilege abuse: a short-lived token per task, with the rights capped S2.

A policy decision at each request. Checking at the start of a workflow is not enough. The same document warns that permission can change before the work is done S2.

A log that ties each action to the agent. NIST's catalogue lists non-repudiation as its own control S6.

A named owner, with a way to revoke. NIST's Cybersecurity Framework asks that identities and credentials for users, services and hardware are managed by the organization S7. If nobody owns it, nobody can switch it off.

Where this meets the other pieces

The intake review asks about this. Which credentials will the tool hold. Who owns them. How long they last. A questionnaire can ask. It cannot show what the credential reaches.

The proxy in the flow demo never sees it. It reads what a person types. An agent's calls are not a person typing.

So I built a third demo. It takes an invented agent and its invented credentials. It checks each one against ten items from the OWASP list that can be seen in a record. It draws what the agent can touch, then draws it again with short-lived, scoped credentials. Every credential, team and system on it is invented. Every number is computed from invented weights and says so.

Limits

The demo reads fields. It does not read behavior. A credential with every field in order can still be used by an agent that follows an instruction it should not. OWASP files that under goal hijack and tool misuse S2. Scenario N9 on the demo page shows it, and the rules find nothing.

It does not discover anything. A real platform finds credentials that nobody listed. This one is handed a list.

It does not rotate, revoke or block. "After the controls" is a picture of what the data would look like. A mapped control is not a met control.

It does not check authentication methods or deployment configuration. Two items on OWASP's list need those, so I left them out and said so.

I have not measured any of this on a real system. Where a result would go, it says not yet measured.

Sources

MarkSource
S1OWASP Non-Human Identities Top 10, 2025. https://owasp.org/www-project-non-human-identities-top-10/2025/top-10-2025/
S2OWASP Top 10 for Agentic Applications for 2026, items ASI03 Identity and Privilege Abuse, ASI01 Agent Goal Hijack, ASI02 Tool Misuse and Exploitation. https://genai.owasp.org/resource/owasp-top-10-for-agentic-applications-for-2026/
S3The same document, item ASI07 Insecure Inter-Agent Communication
S4SPIFFE Concepts. https://spiffe.io/docs/latest/spiffe-about/spiffe-concepts/
S5Cloudflare, "Thanksgiving 2023 security incident", 2024-02-01. https://blog.cloudflare.com/thanksgiving-2023-security-incident/
S6NIST SP 800-53 Rev. 5, control AU-10 Non-repudiation. https://csrc.nist.gov/pubs/sp/800/53/r5/upd1/final
S7NIST Cybersecurity Framework 2.0, PR.AA-01. https://doi.org/10.6028/NIST.CSWP.29

No one is coming. Keep building.

Request my resume