All articles
October 13, 2026

Your AI Agents Don’t Need a New Identity Program. Extend the One You Have.

AI agents and MCP connections authenticate with the same API tokens, OAuth grants, and service accounts as any other integration. New research shows how many of them sit outside basic identity governance, and how to bring them back in.

Key Takeaways

  • AI agent credentials are non-human identities (NHIs), the same API tokens, OAuth grants, and service accounts your identity program already knows. They are created faster and reviewed less.
  • Hush Security found that 12% of MCP credential slots hardcode a credential literal, and 55% of those literals have no vendor-recognizable shape.
  • 24% of hardcoded literals are both broad-scope and non-expiring.
  • The fix is basic identity governance applied where agents live: inventory, owner, scope, expiry, and offboarding.

Agent Credentials Are Not a New Identity Class

A non-human identity is any credential that authenticates software instead of a person. API tokens, service accounts, and OAuth grants all qualify. When a coding agent or Model Context Protocol (MCP) client connects to a database, a ticketing system, or a cloud account, it uses one of these. Nothing about the credential is new.

What is new is how they get created. An engineer building a prototype picks a token, pastes it into an MCP configuration file, and moves on, the example Techstrong TV uses. No provisioning request, no ticket, no review.

Joiner-mover-leaver processes assume a human with an HR record that starts and ends. An agent token has no hire date and no manager in the directory, and, as Hush Security notes, no joiner-mover-leaver process to revoke it. That is not a new problem. It is the service account problem identity teams have had for years, moving faster.

What the Research Shows

Two reports published since August 2026 put numbers on the gap. Hush Security's The State of MCP Configuration: the Identity Security Gaps (August 2026) analyzed about 82,000 public MCP configuration files on GitHub, across more than a dozen coding agents including Claude Code, Cursor, VS Code, Windsurf, Gemini, Codex, and JetBrains. OX Security's research on MCP governance (September 24, 2026) examined 15,465 published MCP servers across three public registries.

Read the Hush figures with their caveats. The counts are lower-bound, order-of-magnitude estimates, and credentials were classified by shape and entropy, never validated live. They describe exposure, not confirmed live access. Each finding maps to a risk in the OWASP Non-Human Identities Top 10 (2025).

Credentials Committed by Design

MCP configuration files are meant to be committed and shared, so a credential placed in one travels with the repo. Hush found that 12% of credential slots hardcode a credential literal. Another 44% use safe patterns such as ${VAR} expansion, prompts, or secret managers, and 38% are placeholders.

Deleting the line does not end the exposure. Hush found 243 configs with a secret removed from the file but still readable in Git history, and 1,394 configs still carrying a hardcoded literal at HEAD. Only rotation at the provider ends it. This is OWASP NHI2, Secret Leakage.

Secrets Scanners Can't See

55% of the hardcoded secrets have no vendor-recognizable token shape. Prefix-based scanners such as gitleaks, trufflehog, and GitHub secret scanning look for known shapes, so they miss these. Custom bearer tokens for internal MCP servers make up 29% of literals, and no public pattern library knows their format.

Hush frames this as "a non-human identity (NHI) governance problem, not a secret-hygiene one." A scanner can flag a known token format. It cannot tell you who owns an opaque token, what it reaches, or when it should end.

Broad Scope, No Expiry

Among literals whose credential type has a defined scope, 53% are org-, account-, workspace-, or database-wide. Among literals whose type has a defined expiry policy, 80% do not expire by default. The overlap is the number that matters: 24% of all hardcoded literals are both broad-scope and non-expiring. That maps to OWASP NHI5, Overprivileged NHI, and NHI7, Long-Lived Secrets.

Tokens That Outlive the Decision

Techstrong TV made the point on October 8, 2026: AI agent credentials can stay active long after the decision that created them. Its example is a prototype token that may still be active six months later. That is OWASP NHI1, Improper Offboarding, in practice.

OX adds the server side. Of 5,095 unique MCP hostnames, 2.3% no longer resolve, and six of those domains were unregistered and available for $4 to $12 a year. Whoever registers one can impersonate a server that agents may still be configured to call.

Start With the Logs You Already Have

Agent credentials are created somewhere, and most of them authenticate somewhere you already log. An agent that authenticates through Okta, whether with an Okta API token, an OAuth grant to an Okta app, or a user's delegated access, shows up in the Okta System Log, the same as any other integration. Cloud credentials land in the cloud audit trail the same way. A basic identity governance process that baselines NHIs from those logs already sees most of this.

Logs have three gaps, and they are why inventory and ownership still matter:

  1. Attribution. If an engineer pastes their own token into an MCP config, the log shows the engineer, not the agent. The identity is visible. The fact that an agent is using it is not.
  2. Custom bearer tokens. The 29% of literals that are internal MCP server tokens often authenticate against the server itself. No IdP event is created.
  3. Exposure before use. A secret sitting in Git history is a problem before any log line exists.

Logs tell you a credential is being used. Inventory and ownership tell you whether it should be. You need both, and neither is a new discipline.

In Okta, three System Log questions cover most of it:

  • Which API tokens were created, and by whom?
  • Which applications received OAuth token grants, and has anyone reviewed them?
  • Which API tokens or service apps are active with no owner who can explain them?

How to Govern Agent Identities

Treat every agent credential as an identity with an owner, a scope, and an end date. The steps below also work as an audit plan for MCP server credentials, and draw on the MCP authorization specification and the OWASP NHI Top 10.

1. Inventory Every Agent Credential

Start with your authentication logs, then go where the logs can't see. Search repos for MCP configuration files, including Git history. Pull Okta API tokens and the applications and OAuth grants registered in Okta, then cloud IAM roles and secret manager entries. Record each credential as an identity: what it authenticates to, what it can do, who created it, and when it expires. A blank field is a finding.

2. Assign a Human Owner

Map every agent identity to a named owner and a business purpose. Without an owner, nobody approves its scope, answers for its actions, or decides when it ends.

3. Scope Each Credential to Its Task

Apply least privilege, starting with org-, workspace-, and database-wide tokens. That is where 53% of scoped literals sit, so that is where the largest reductions are. An agent that reads one repository does not need a token for the whole organization.

4. Expire, Rotate, and Shorten Token Life

Give every agent credential an end date and a rotation schedule. For anything ever committed to Git, rotate at the provider, because deleting the line leaves the secret readable in history. Keep secrets out of files with ${VAR} expansion or secret manager references. The MCP authorization spec already describes the target state: tokens bound to a specific server through Resource Indicators (RFC 8707), and short-lived access tokens.

5. Check Authorization at Use Time

A grant approved once should not authorize forever. Review standing "always-allow" approvals in coding agents and remove any nobody can justify. Where your tooling allows, confirm the action is still authorized when the agent acts, not only when the token was issued.

6. Offboard Agent Identities With Their Owners

Tie revocation to the lifecycle of the project and the owner. When a project ends or an owner leaves, the agent identities attached to them end too. This closes OWASP NHI1.

Okta shows both sides of this. An Okta API token carries the permissions of the admin who created it, and Okta deprovisions it when that admin is deactivated. Offboarding the person ends the token. If the token is owned by a shared service user instead, that link is gone, and the token needs an owner of its own.

Adjacent check: for every MCP server an agent calls, confirm the hostname still resolves and the domain is still registered. An abandoned domain is a takeover path for every config that still points to it.

MCP Credential Audit Checklist

  • Hardcoded literals: credential literals in MCP configs at HEAD and in Git history (OWASP NHI2)
  • Shapeless secrets: opaque and custom bearer tokens that prefix-based scanners miss (OWASP NHI2)
  • Scope: org-, account-, workspace-, or database-wide tokens (OWASP NHI5)
  • Expiry: credentials with no end date or rotation record (OWASP NHI7)
  • Token binding: tokens not bound to a specific MCP server or not short-lived (MCP authorization spec)
  • Standing approvals: "always-allow" grants nobody can justify
  • Offboarding: agent identities whose owner or project no longer exists (OWASP NHI1)
  • Server validity: unresolved hostnames and unregistered domains (OWASP NHI3)

Where Blink Fits

Most agent credentials already leave a trail. The problem is that the trail is split across Okta, the cloud audit log, and SaaS admin consoles, and nobody joins it into one record per identity with an owner attached.

Blink is where that join happens. Agentic IAM runs on top of the identity stack you already own on Blink, with no rip-and-replace, across Okta, Entra ID, AWS, Azure, GCP, Snowflake, and long-tail SaaS. It correlates identity data from those sources into one view, and runs response and automation from the same place. For agent credentials, that looks like this:

  • Okta tokens and apps. Pull the Okta System Log for API token and OAuth activity, list Okta applications and the users assigned to them, and map each one to an owner.
  • Owner offboarding in Okta. When an owner leaves, deactivate their Okta account and revoke all their sessions, including the OAuth refresh and access tokens issued to them. Any agent running on that person's delegated access stops with them, and Okta deprovisions the API tokens they created.
  • Stale cloud keys. Pull the AWS IAM credential report and last-used data for every access key, flag keys that are unused or have no owner tag, send them to the owner for a decision, and deactivate the ones nobody claims.
  • Findings from NHI tools. Pull risks from NHI and secrets platforms such as Astrix and Entro, tie each one to an identity and an owner, and drive the fix in the system that issued the credential.

Three pre-built micro-agents carry the recurring work:

  • The Access Review Agent pre-classifies entitlements so reviews stop being rubber-stamp certifications.
  • The JML Agent automates provisioning, move-day updates, and same-day leaver revocation across systems.
  • The Identity Risk Agent flags suspicious identity activity such as privilege spikes.

Blink does not replace your secret scanner. Scanners and NHI platforms find the exposed credential. Blink ties it to an owner and runs the fix.

Conclusion: Give Every Agent Credential an Owner and an End Date

Agent credentials are service accounts with less oversight. The August and September 2026 research shows where that oversight breaks: committed configs, opaque tokens scanners miss, broad scopes with no expiry, and prototype tokens nobody offboarded.

Closing the gap is basic identity governance. Start from the logs you have, inventory what they can't see, assign owners, scope to the task, set expiries, and revoke with the owner.

For CISOs, that produces an auditable answer to the board's question about how agents are governed. For security engineers, it replaces a one-time scan with a repeatable process tied to ownership and lifecycle.

Request a demo of the BlinkOps agentic security operations platform

Non-Human Identity FAQ

What Is a Non-Human Identity in Enterprise Security?

A non-human identity is any credential that authenticates software rather than a person: API tokens, service accounts, OAuth grants, and the credentials AI agents use. Each can read data and change systems, yet most sit outside the joiner-mover-leaver processes that govern human accounts. The OWASP Non-Human Identities Top 10 catalogs the main risks, including improper offboarding, secret leakage, overprivilege, and long-lived secrets.

Are AI Agent Credentials Different From Service Accounts?

No. They are the same credential types. The difference is how they are created: during prototypes, pasted into config files, with no provisioning request. That is why they skip the reviews service accounts normally get.

How Do You Audit MCP Server Credentials?

Find every MCP configuration file and list each credential it holds, including secrets deleted but still in Git history. Check each credential's owner, scope, and expiry, and rotate anything ever committed. Confirm tokens are short-lived and bound to one server, as the MCP authorization spec describes, and check that every server hostname still resolves.

How Do I Track AI Agent Identities Across My SaaS Stack?

Build one inventory from authentication logs, repos, SaaS OAuth grants, cloud IAM, and secret managers. Record each agent credential with a human owner, a business purpose, a scope, and an expiry. Review it on a schedule, and tie revocation to project and owner lifecycles. Agentic IAM runs access reviews and leaver revocation across your existing IdPs and SaaS, with every action logged.

See it in your environment.