November 18, 2026

Breach Prevention For Non-Human Identity: Getting Started

No items found.

A practical sequence for finding every key, service account, and agent credential, assigning owners, and replacing standing access with expiring credentials.

Island blog hero image for Breach Prevention For Non-Human Identity: Getting Started

Key takeaways

  • Start discovery from the systems that issue non-human identities, because a static list only shows the identities someone remembered to record.
  • Assign an owner and an end date to each production identity, and treat the ownerless ones as your first cleanup queue.
  • Sort findings into rotate, disable, or scope back, and fix leaked keys and dormant-but-valid identities first.
  • Give each production agent its own identity with short-lived, task-scoped credentials instead of a borrowed session.
  • Pick one audit trail that separates agent actions from human ones.
  • Pilot just-in-time access on one workflow before you scale.

Teams have issued keys, service accounts, and app grants for years, and now AI agents are adding more of them, faster than most review processes can follow. Most identity programs were built around employees, so these credentials often sit outside the process that governs everyone else. If no one can say how many keys exist or who owns them, you're in the situation this piece is written for.

Start with a live inventory and tie each identity to a human owner, then triage the risks most likely to lead to a breach, move one high-risk workflow from standing keys to expiring credentials, and enforce policy where the identity acts. This piece walks through that order, so you can plan the first quarter and defer the rest.

Why non-human identities are a breach path now

A "non-human identity" is any identity or credential a system uses to act without a person signing in. In our experience, this means application programming interface (API) keys, service accounts, personal access tokens, identity and access management (IAM) roles, and Open Authorization (OAuth) grants. The Open Worldwide Application Security Project (OWASP) risk categories for non-human identities catalog the risks in this space.

In the customer environments we see, these identities often outnumber employees. That's our impression, not a measured statistic. AI agents change the picture. An agent is an actor that chooses tools and takes actions, so its credential can be used in ways the issuer never reviewed.

Agents add six patterns of non-human identity risk: orphaned credentials, inherited human permissions, "standing keys" (long-lived credentials that never expire), over-trusted delegation chains, hijacking, and unvetted connections to the "Model Context Protocol" (MCP).

Consider a team that spins up an agent to summarize tickets and gives it a long-lived key with broad read access. The team doesn't record an owner, and the key has no expiration date. That key now works as a standing entry point into each system it can reach. If your IAM program treats these credentials as a footnote, make them a risk class with an owner and a roadmap line.

Start with a live inventory

A spreadsheet of known service accounts goes out of date quickly, and it only lists the accounts someone remembered to record. We'd rather discover non-human identities from the systems that issue them, which means cloud consoles, code repositories, software-as-a-service (SaaS) applications, and AI tools. Security needs a current list of identities and the systems each one can reach.

Discovery from issuers matters because some non-human identities skip the request process. Someone generates a token to unblock a deploy, and it doesn't show up in a ticket. If you inventory only the identities that came through a request workflow, you'll likely miss the identities people forgot. It also helps to compare each identity's granted permissions with its used permissions, since over-permissioning hides in the difference between the two.

For a first pass, pick the three or four places where your organization mints the most credentials, and start discovery there. Your cloud provider and your main source-code platform are usually the right first two. Once those feeds are flowing, add the SaaS and AI tools your teams adopted without central review.

Tie each identity to a human owner

An inventory without owners is a list of problems with no assignee. We tie each discovered identity back to a person where possible, because a key that leaks at the wrong moment needs an accountable human to call. The same rule applies to agents. When you give each production agent its own identity, the agent carries an owner and a purpose, and its lifecycle runs from creation through expiration.

The alternative is an agent that borrows a person's session. The agent gets that person's reach, and the audit trail blurs, because actions taken by the agent look like actions taken by the employee. After an incident, that's a hard conversation, since you can't separate the person's actions from the software's.

Employee identity processes often don't stretch to this problem, because identity programs built for employees tend to end at onboarding. Ownership should run from issuance through expiration, rather than ending at onboarding. A good first move is to require an owner and an end date for each production identity, along with a stated purpose. Ownerless identities become your first cleanup queue, and you might disable any identity that remains unclaimed past an agreed window.

Triage the risks that lead to breaches

With owners attached, you can rank your findings. We look for three conditions first: a hardcoded API key in a repository, an identity that's dormant but still valid, and access far broader than its task requires. Each one maps to a plain response. You can rotate a leaked key, disable a dormant identity, or scope one back, and we'd work them in that order.

Leaked keys come first because anyone with read access to the repository can already see them. If the repository is public, everyone can. Rotation doesn't tell you if the key was already used, so check its usage logs for unfamiliar activity before you close the ticket.

Dormant identities come second. They don't do anything today. But an unmonitored valid credential is attractive to an attacker, because nobody is likely to notice its use. Over-scoped access comes third, because it takes more careful work and often needs the owner's input on the identity's requirements.

These patterns get worse with agents. Standing keys, inherited human permissions, and unvetted MCP connections each widen the damage a hijacked agent could do. The credential it holds sets the limit. After you rotate and disable, shrink the scope of the remaining identities, starting with those that touch your most sensitive data.

Replace standing credentials with just-in-time access

Cleanup reduces today's exposure, but new standing keys can keep appearing unless you change your access-granting process. "Just-in-time (JIT) access" targets that cause: an identity receives a credential scoped to one task, and that credential expires when the task ends. We treat each production agent as a non-human identity with an owner, a purpose, and a lifecycle. We issue it task-scoped credentials that expire, so it never holds a standing key.

Our Agentic Identity capability applies this approach. It works alongside your existing IAM and non-human identity tooling, so you can keep your current tools that already work.

Convert one high-risk workflow first, such as an agent that reads customer records or a pipeline that deploys to production, and move it to expiring, task-scoped credentials. Watch the workflow for a few weeks. Note which steps failed and which approvals the owner had to give. Use those notes as the template for the next workflow. They also give you a concrete result to show leadership.

Enforce and audit where the identity acts

"Zero trust," the model of verifying every request instead of trusting a network location, is a good foundation. But if it stops at login, you can't see the many later calls a non-human identity makes. A single authentication doesn't record the identity's later actions. In our approach, we apply the same policy engine to agent tool calls, evaluating identity and context at the moment of the action, including the "device posture" (the security state of the machine making the call).

For agents, one practical control point is an "MCP gateway," a proxy that sits between the agent and its tools. You configure the MCP gateway to set the tools the agent may invoke and the identity it invokes them under. Model guardrails alone don't cover this. Governance needs a live picture of the prompt, the tool call, the files involved, and the identity that started it. We built our AI Protect capabilities, part of Island Enterprise AI, to provide that visibility, including through AI runtime protection.

When you choose control points, test your audit log for separation between an agent's action and a human's. If it can't separate them, pick the gateway, browser, or endpoint layer that gets you there first, and make that single trail the one your investigators use. Once that trail is in place, you can scale the JIT pilot with confidence in what it records.

FAQs

What is a non-human identity?

It's any identity or credential a system uses to act without a person signing in: API keys, service accounts, personal access tokens, IAM roles, and OAuth grants. AI agents add a new twist, because they choose their own tools and actions. Your program scope should cover those five credential types plus each agent that holds one.

Which non-human identity should we fix first?

Start with leaked keys, such as a hardcoded API key in a repository, because they're already exposed. Dormant but still valid identities come next, and over-scoped access comes third. You can rotate, disable, or scope back in that order.

How do we find identities that no one told us about?

Discover them from the systems that issue them, including cloud consoles, code repositories, SaaS applications, and AI tools. Some tokens skip the ticket process, so a request-based list will miss them. A live picture of every identity built from those sources shows the ones that went unreported.

Do we need a new tool, or can our IAM program cover this?

Most IAM programs were built around employees, so they often need extension before they cover agents and service credentials. Check your current tools for discovery from issuers, owner assignment, and expiring credentials, and add a tool only for the missing capabilities. One option is Agentic Identity.

How do AI agents change the risk?

Agents act on their own, so a standing key or an inherited human permission can be used in ways the issuer never reviewed. We recommend giving each production agent its own identity with an owner, a purpose, and task-scoped credentials that expire. You can check your environment against the six patterns of non-human identity risk from agents.

What should a first just-in-time pilot look like?

Choose one high-risk workflow, such as an agent that reads customer records, and move it to expiring, task-scoped credentials. Watch it for a few weeks and note the failed steps and the approvals the owner had to give. Reuse those notes as the template for the next workflow.

How do we tell an agent's actions apart from a person's?

Choose a control point, such as a gateway, browser, or endpoint layer, that logs actions under the agent's own identity. Aim for one audit trail your investigators use for both. An MCP gateway is one such control point, placed between the agent and its tools.

Island Team

Island is defining the future of work for people and AI agents. Its enterprise agentic control plane helps organizations enable, govern, and audit agentic workforces alongside people. Island boosts productivity across devices, browsers, applications, networks, and data while protecting sensitive information, simplifying access, and helping enterprises scale AI safely.