Skip to content
Industry notes6 min read

Machine Identities Are Growing Faster Than Annual Security Assessments Can Count Them

A swarm of dark hexagonal tokens, standing in for machine identities, streaks with pink light trails toward a cracked stone ring glowing orange, pierced by a bright bar, against a black background.

Most security assessments count people and skip machine identities: the service accounts, API keys, tokens and AI agents that log in to your systems without a person at the keyboard. An annual review asks who has access. It should also ask what has access, what each credential can do, and who owns it. Until it does, the assessment covers only part of your identity surface.

A human account changes a few times a year. Machine identities appear and disappear every time someone ships a pipeline, connects a tool or tries out an AI agent. That speed is the whole problem, and it is why the yearly checklist misses it.

What machine identities are and why they pile up

The OWASP Non-Human Identities Top 10, published in 2025, describes them as credentials software uses to act on its own, "such as service accounts and access keys." In a typical small business that list includes:

  • Service accounts that run backups, sync files or send reports.
  • API keys pasted into a website, a payment tool or a marketing platform.
  • OAuth grants that let one app read another app's data.
  • Deploy keys and runner tokens in a build pipeline.
  • AI agents given a login so they can read email, files or tickets.

Each one was created for a good reason by someone who needed a job done. Few of them have a named owner after that person moves on. They do not quit, change roles or get flagged by HR, so the controls built around people never touch them. Machine identities simply accumulate.

The risks OWASP ranks for machine identities

OWASP's list puts improper offboarding first: "the inadequate deactivation or removal of non-human identities (NHIs) such as service accounts and access keys when they are no longer needed." The rest of the list reads like a description of what an annual audit misses:

  • Overprivileged credentials. Developers or administrators "may assign NHIs with significantly more privileges than required for their function."
  • Long-lived secrets. Keys and tokens "with expiration dates that are too far in the future or that don't expire at all."
  • Secret leakage. Keys copied "to unsanctioned data stores throughout the software development lifecycle," such as a config file or a chat thread.

None of these needs a clever attacker. A forgotten key with broad rights is enough.

OWASP rank (2025)RiskWhat it looks like in a small business
NHI1Improper offboardingA former contractor's deploy key still works.
NHI2Secret leakageAn API key sits in a shared document or a chat thread.
NHI3Vulnerable third-party NHIA code editor extension holds a token to your code or files.
NHI4Insecure authenticationAn integration still signs in with an old, weaker method.
NHI5Overprivileged NHIA reporting tool has full admin rights to read one spreadsheet.
NHI6Insecure cloud deployment configurationsA build pipeline stores a long-lived cloud key instead of short-lived access.
NHI7Long-lived secretsA key created three years ago has no expiry date.
NHI8Environment isolationThe same credential works in testing and in production.
NHI9NHI reuseOne service account runs five unrelated jobs.
NHI10Human use of NHIStaff log in as the service account to do manual work.
The ten risks OWASP ranks for machine identities, with an everyday example of each written by us. Most of them are invisible to a review that only counts staff accounts. Source: OWASP Foundation, Top 10 Non-Human Identities Risks, 2025

Why annual assessments miss machine identities

The yearly assessment was designed for a world where the set of things that could log in changed slowly. It inventories staff accounts, checks password rules, confirms multi-factor sign-in and moves on. That made sense when nearly every login was a person.

Staff accounts

Created by HR or IT when someone joins, changed when they move, closed when they leave. Usually protected by multi-factor sign-in and reviewed every year.

Machine identities

Created by whoever needed a job done, often in minutes. No joiner or leaver process, often no expiry and no second factor, and rarely on the yearly checklist.

Today a build pipeline can create and retire credentials daily. An AI agent can be connected on Tuesday and making authenticated calls to production on Wednesday. A developer can generate a test key, drop it in a file and forget it. By the time the next assessment runs, those machine identities have either vanished or become part of the furniture, and neither state shows up on a checklist built around people.

AI agents add machine identities faster than anything before

Federal standards work is catching up to this. On February 5, 2026, the National Institute of Standards and Technology published a concept paper, "Accelerating the Adoption of Software and Artificial Intelligence Agent Identity and Authorization," through its National Cybersecurity Center of Excellence. NIST framed the issue as "understanding the potential risks from giving AI agents access to diverse data sets, tools, and applications" and called for "applying appropriate identification and authorization controls to mitigate these risks." Public comments closed April 2, 2026.

The takeaway for a business owner is simple. If the people who write identity standards are treating AI agents as a new kind of identity, your assessment should too. Every agent you connect is another entry on the list of machine identities, and it often holds broader access than any single employee.

What one stolen key can do

The clearest public example is a 2023 intrusion into a major cloud email service used by US government agencies. The Cyber Safety Review Board, the Department of Homeland Security panel that reviews major incidents, found in its March 2024 report that the attackers held an old signing key that "enabled the threat actor to forge authentication tokens that allowed it to access email systems." The board concluded "this intrusion was preventable and should never have occurred." DHS announced the findings on April 2, 2024, including a recommendation that providers "implement emerging digital identity standards."

That key was a machine credential. It was old, it should have been retired, and nothing alerted anyone that it was still trusted. Your business is far smaller, but the pattern scales down: one long-lived key with wide rights, no owner and no expiry.

How to assess machine identities in practice

A real assessment starts with a full count of human and machine identities, then works through ownership and rights. You can begin this week:

  1. Inventory. List every service account, API key, OAuth grant, pipeline token and AI agent login across email, cloud storage, finance, your website and code hosting.
  2. Assign an owner. Every credential gets a named person who can say why it exists. No owner means it goes on the removal list.
  3. Trim rights. Cut each one to the least access it needs for its job.
  4. Set expiry. Rotate keys on a schedule and prefer short-lived tokens over permanent ones.
  5. Watch continuously. Log what each identity does, and review new grants as they appear instead of once a year.

Start with the leavers: pull the list of people who left in the past year and search for every key, token and app grant they created. OWASP ranks improper offboarding first for a reason, and this one search usually finds the riskiest machine identities fastest.

LTFI runs this kind of check as part of its assessment layer, on infrastructure isolated for each client, and its AI staff work behind approvals so an agent never holds standing access it does not need. Our security layer explains how credentials are stored and scoped. For a related look at automated revocation, see our note on agents that revoke risky OAuth grants.

The difference between a checkbox audit and a useful one is the question it asks. "Who has access?" covers your staff. "What has access, what can it do, and when did anyone last check?" covers the machine identities that now do much of the work.

Frequently asked questions

What counts as machine identities in a small business?

Any credential software uses to log in on its own: service accounts, API keys, OAuth grants between apps, build pipeline tokens, certificates and AI agent logins. If it authenticates without a person typing a password, it belongs on the list.

How often should we review machine identities?

Continuously for new grants, with a full inventory at least every quarter. Annual reviews miss credentials that are created and abandoned between assessments.

Are AI agents machine identities?

Yes. NIST's 2026 concept paper treats software and AI agents as identities that need their own identification, authorization and auditing controls, separate from the person who set them up.

What is the difference between machine identities and non-human identities?

In everyday use the terms overlap. OWASP uses "non-human identities" for credentials such as service accounts, access keys, tokens and certificates that software uses on its own; this note calls the same set machine identities. Some writers keep "machine identity" for devices and workloads that prove who they are with certificates.

How often should API keys be rotated?

There is no single number that fits every key. OWASP's secrets management guidance says it is "better to automate the rotation of keys" and to use short-lived, dynamically created secrets where possible. Rotate at once when a key leaks or when the person who owns it leaves.

What is the quickest win?

Find credentials with no owner and broad rights, then remove or restrict them. OWASP ranks improper offboarding as the top risk for non-human identities for this reason.

Back to top

Nothing plays until you press play.