Most of us have sat through the security awareness training that says never lend your badge to anyone. Not a coworker, not a contractor, not the friendly person who forgot theirs. The reason isn’t that the other person is untrustworthy. It’s that once they walk through the door on your badge, the log says you did.
We’ve spent decades teaching that lesson to people. And then we gave our credentials to software.
Last week we talked about the agents nobody remembers: agents that stop being used but keep their keys – LINK: The Agents Nobody Remembers. This week is the other side of that problem. These agents are very much in use. The trouble is that nobody can tell them apart from the person whose login they’re using.
Your name, its actions
Start with how common this is. A Cloud Security Alliance survey of 228 IT and security professionals, conducted in January and reported by Help Net Security, asked how organizations represent an AI agent when it acts. Thirty-one percent said they allow agents to operate under a human user’s identity. Forty-three percent use a shared or generic service account. Only 36% give the agent its own dedicated identity. (The figures add up to more than 100%, so many organizations use more than one approach.) The survey also found that most organizations can’t clearly tell actions performed by agents from actions performed by people.
New data from BlueFlag Security shows what that looks like in software development, where agents are already doing real work. Its State of Developer Risk 2026 report, covered by Help Net Security on November 6, found:
- Unapproved agents were present in 83% of the organizations measured.
- Of the developer and service account identities that agents operated under, 68% held administrator permissions and 81% lacked behavioral monitoring.
- In six in ten organizations with AI activity, agents used tokens capable of cloning every repository.
- Ninety-nine percent of the repository access tokens measured had no expiration date.
And here’s the line that matters most for this post: actions taken through a developer’s account may appear under that person’s name, which makes human and AI activity hard to tell apart without commit tags or other metadata.
One caution. This is vendor data, and the article doesn’t give a sample size, a method or a time period. Read it as a signal, not a census. But the shape of it matches what the CSA survey found, and what most of us see when we look.
Why this keeps happening
Nobody sets out to build it this way. It happens because it’s the fastest way to get an agent working.
NIST’s Bill Fisher and Ryan Galluzzo made this point well in a Cybersecurity Insights post. They wrote that security professionals have told users not to share credentials since the first passwords, because it breaks a core tenet of identity and access management: accountability. “Credential sharing is a bad idea in all contexts,” they wrote. “And yet, individuals giving their personal and enterprise credentials to agents has quickly become a common pattern for enabling agent access to data, applications, and services.”
They also named the most common version. Agents get deployed locally, on a developer’s or knowledge worker’s machine, with that person’s credentials and entitlements. It’s convenient. But in their words, “giving agents local account access allows the agent to both impersonate the user and act with broadly scoped access.”
Dark Reading’s coverage of Microsoft’s agent security work last month noted the same thing: many agents today run with the permissions of the user who launched them, or by using that user’s credentials.
So the badge gets lent not out of carelessness, but because the agent needs to get into the building and the person’s badge is right there. That’s worth remembering when we design the fix. If the secure path is harder than the borrowed one, people will keep borrowing.
What borrowing actually costs
When an agent wears your badge, you pay for it in three ways.
It inherits everything you can reach. The agent doesn’t get the access it needs for the task. It gets your whole access profile. If you’re an administrator, so is the agent. That’s how you end up with BlueFlag’s numbers, where most of the identities agents ran under held admin rights. Every task the agent runs carries the full blast radius of the person it borrowed from.
You lose the record of who did what. NIST put it plainly: agents running commands with user authorization undermine non-repudiation. When the log says “Gary changed the firewall rule,” you need to know whether Gary did it, Gary’s agent did it on Gary’s instruction, or Gary’s agent did it on someone else’s instruction hidden in a ticket it read. With a borrowed login, those three look the same. We spent the whole of Week 17 on proving who authorized what – LINK: From Policy to Proof. Borrowed credentials erase that proof at the source.
Your detection goes blind. Behavioral analytics work by learning what normal looks like for an identity. When a person and an agent share an identity, normal gets blurry. And attackers know it. Sophos found that the group behind Aur0ra ransomware handed AI agents VPN logins, proxy access, targets and objectives, then let the agents map the network, hunt for passwords in shares and backups, and move laterally with little human input. To get past the tools’ guardrails, the attackers told them it was authorized red team work. An agent holding a person’s credentials looks like that person, whoever is directing it.
Stolen agent credentials are also turning into a market. SecurityWeek counted at least a dozen AI developer platforms hit in the past month, with attackers hunting AI access tokens they could monetize. In two cases Wiz observed, the first unauthorized activity came within 30 minutes of the reported credential access.
Delegation, not impersonation
The fix isn’t to stop agents from acting for people. That’s the whole point of most agents. The fix is to make it delegation instead of impersonation.
Vinay Thakker, CTO of KloudStax, gave Help Net Security the clearest model I’ve seen. He says the deciding question is whether the agent is doing a job for the business or a task for one person.
If it’s doing a job for the business, like triaging every customer’s support tickets, it gets its own identity, with permissions scoped to that job. If it’s doing a task for one person, it still gets its own identity, but each request also carries the identity of the person who asked. “The agent can then only do what both are allowed to do, and the logs show both names.”
Read that last sentence twice. Two names in the log. And the agent gets the intersection of the two sets of rights, not the union. That’s exactly the principle from Week 18: when work gets handed down, authority should shrink, not copy – LINK: When Agents Delegate, Authority Should Shrink, Not Copy.
Thakker is equally direct about the option he’d rule out: borrowing the person’s login outright, “because the agent’s actions become indistinguishable from the person’s, and it inherits everything that person can reach.”
NIST lands in the same place. Fisher and Galluzzo argue that agents need to be treated as first-class entities “with their own unique identifiers, credentials, and associated entitlements that are bound to and by the identity of the user or system operating the agent.” Bound to the user, so you know who’s accountable. Bound by the user, so the agent can’t exceed them.
Then there’s the credential itself. Thakker separates two questions that usually get bundled together: how long a credential lives, and whether the agent ever holds it. Short-lived credentials limit how long a leaked one stays useful. A proxy that attaches the credential at call time means the agent never sees it at all. He also flags the trap people miss: “A refresh token in the same environment is a long-lived secret by another name.”
The platforms are starting to make this easier. Google Cloud, for example, announced agent identity support that lets agents authenticate across services “without relying on static, long-lived API keys.” Microsoft told Dark Reading its approach gives every agent a distinct identity separate from the user’s, starting with no permissions and adding only what the task needs. Treat those as landscape, not recommendations. The point is that per-agent identity is no longer a research project.
We already know how to do this
Here’s the part I most want readers to take away. None of this requires a new theory of identity. We can saddle up with what we know. We just need to check our reins, watches and compasses.
If you run ITIL, start with the schema and objectives of Access Management as they already exist. ITIL defines identity as the information that distinguishes a user as an individual, and says that “by definition, the identity of a user is unique to that user.” It says Access Management should verify every request two ways: that the requester is who they claim to be, and that they have a legitimate need for the service. A borrowed login fails both tests. The agent isn’t who it claims to be, and the person’s legitimate need isn’t the agent’s.
Your service account program already has the rest. You don’t let two applications share a service account. You don’t let an application run under an employee’s personal account. You give each workload its own identity, scope it, rotate its secrets and name an owner. An agent is a workload that writes its own commands. Apply the same rules.
That’s the filter I’d suggest. You don’t need to adopt a whole new world view about AI. Take the Access Management process and the service account standards you already enforce, look at them through a slightly different lens, and ask where agents are slipping through.
If you’ve worked through the Artificial Identity attributes – LINK: FuBAC and Artificial Identity, four of the nine do most of the work here. Owner names the human sponsor accountable for the agent. Capabilities define what the agent itself is allowed to do, separate from anyone it acts for. Conditionals say when the requester’s identity must be carried and what the intersection of rights allows. Credentials say how the agent proves who it is, how long that proof lives and whether the agent ever holds it. An agent with those four filled in is wearing its own badge.
Don’t trade one problem for another
One warning before the checklist. When teams first separate agent identity from human identity, the instinct is to put a human approval in front of everything. NIST cautions against exactly that. Leaning too hard on human-in-the-loop approvals creates consent fatigue, the same dynamic as MFA bombing. Agents that keep asking condition people to click “allow” without reading, and then the approval proves nothing.
The NIST authors also made a point that applies to every design decision in this post: the “secure path” will also need to be the “easy path,” or credential sharing and impersonation will keep spreading. If giving an agent its own identity takes a week of tickets and borrowing a login takes ten seconds, you know which one will win.
Where the real work is
In TechVision’s five-layer agent governance model, this is a Layer 2 problem: discrete identity with a defined scope. But it depends on Layer 1, because you can’t fix the borrowers you haven’t found. And it pays off in Layer 5, because behavioral monitoring only works when each identity belongs to one actor.
In our advisory work, the pattern we see most often is that agent identity programs start with the agents IT deploys centrally, and those are usually the ones already on service accounts. The agents running locally on people’s laptops, under their own logins, are the ones that never make the inventory. They’re also the ones with the broadest access, because they inherit everything the person has.
That’s why the first step below is finding the borrowers, not building the new identity system.
Five rules for agents that act on someone’s behalf
- No borrowed badges. An agent never runs under a person’s personal credentials. If it acts for someone, it carries that person’s identity alongside its own.
- Two names in every log. Each action records the agent’s identity and, where relevant, the human it acted for. Tag agent work in commits, tickets and change records so the difference survives later review.
- Intersection, not union. When an agent acts for a person, it can only do what both are allowed to do.
- Keep the secret out of the agent. Use a broker or proxy that attaches short-lived, scoped credentials at call time. Check for refresh tokens sitting next to the agent.
- Every agent has a named sponsor. A person is accountable for each agent identity before anything goes wrong, not after.
Four steps to start this quarter
- Find the borrowers. List every agent running under a human account, a shared service account or a developer’s personal token. Start with coding assistants and local agents, because that’s where borrowed access is most common.
- Sort by blast radius. For each borrower, ask what the borrowed identity can reach. Admin rights and tokens that can touch every repository go to the top.
- Move one workflow. Pick one high-value agent and give it its own identity, scoped to its job, with the requester’s identity carried on each request. Measure how long it takes. That number tells you whether your secure path is easy enough.
- Update the standard. Add agents to your service account policy and your Access Management process. One sentence will do to start: agents may not use personal credentials.
The bottom line
We stopped letting people share badges because we wanted to know who walked through the door. Agents don’t change that reason. They make it more urgent, because they act faster, act more often and can be talked into things by content they read along the way.
The good news, again, is that we already know how to do this. Unique identity, scoped rights, short-lived secrets, a named owner and a clean record of who did what. We do it for people and for workloads. Agents just need to join the list.
So here’s the question I’d bring to your next identity review: if an agent did something under your name yesterday, could you prove it wasn’t you?
If you’re working through that question and want a second set of eyes on your agent identity design, the TechVision team is always happy to compare notes.
Recent Comments