By NHI Mgmt Group Editorial TeamBased on Aembit: “The Real Risk Behind Service Accounts (And Why Nobody’s Watching Them)” (December 1, 2025)

TL;DR: Service accounts now outnumber human users by 82 to 1 in CyberArk’s 2025 Identity Security Landscape, with 42% carrying privileged access, while Aembit argues that static credentials, broad permissions and missing ownership leave them outside traditional IAM governance. Machine identity governance has become an operational control problem, not a policy problem.


At a glance

What this is: This analysis says service accounts have become the dominant nonhuman identity problem in enterprise infrastructure because they are created quickly, over-permissioned, and left without ownership or offboarding.

Why it matters: IAM, PAM, and platform teams need to treat service accounts as governed identities with lifecycle, inventory, and runtime controls because human-centric review models do not scale to machine identities.

By the numbers:

  • Service accounts now outnumber human users by 82 to 1 in CyberArk’s 2025 Identity Security Landscape.
  • 42 percent of machine identities carry privileged access, according to CyberArk’s 2025 Identity Security Landscape cited by Aembit.
  • Only 5.7 percent of organizations in Osterman Research’s 2023 study could accurately inventory all their service accounts, according to Aembit.
  • Roughly 29 million secrets were detected on public GitHub in 2025, according to GitGuardian’s 2026 report cited by Aembit.

Context

Service account sprawl is the accumulation of machine identities that are created faster than they can be inventoried, owned, reviewed, and retired. In practice, that means CI/CD jobs, microservices, and SaaS integrations keep getting credentials and permissions that no human governance workflow was designed to track.

The governance gap is structural. Traditional IAM assumes a manager, a stable owner, and periodic review, while service accounts are often created on demand, copied between environments, and left with static credentials long after their original task has ended.

In that sense, the article is less about one vendor’s platform and more about the mismatch between human IAM processes and the operating reality of machine identity at scale.


Key questions

Q: What breaks when organisations manage service accounts like human users?

A: Service accounts do not behave like people, so human IAM controls miss the real risks. They run continuously, use static or long-lived credentials, and often lack a clear owner or review cycle. When teams apply human models to machines, they tend to overgrant access, miss orphaned credentials and overlook scope drift until a breach or outage exposes it.

Q: Why do service accounts and automation tokens increase breach impact when they are over-privileged?

A: Because they can move data and trigger actions at machine speed without the friction that often limits human accounts. If those identities have broad scopes or standing credentials, attackers can use them to scale theft or disruption quickly. Least privilege and short-lived access reduce the blast radius when compromise occurs.

Q: How do security teams know if service account governance is actually working?

A: Governance is working when every service account has an owner, a workload, a retirement condition, and an auditable rotation path. Teams should also see reduced stale access, fewer unknown accounts, and fewer secrets stored outside managed controls. If the organisation cannot explain why an account still exists, governance is not yet effective.

Q: What should IAM teams do when service account access is broader than the workload needs?

A: IAM teams should reduce the entitlement to the minimum runtime function the workload requires and then revalidate the dependency with the technical owner. Broad service account access usually persists because teams optimise for deployment convenience, not governance. Tightening scope reduces blast radius and makes later audit and offboarding decisions far easier.


Technical breakdown

Why service accounts evade human IAM workflows

Service accounts do not fit the onboarding and review model built for people. They are commonly created by developers or automation pipelines, not approved through a manager-led request, and they may be duplicated across environments without a central registry. That breaks the assumption that every identity has a clear owner, a stable purpose, and a review cadence. In hybrid and cloud environments, the same service may also exist as cloud roles, service principals, tokens, or API keys, which makes inventory fragmentation worse. The result is not just visibility loss. It is governance drift, where identities persist after the service that justified them has changed or disappeared.

Practical implication: treat service account inventory and ownership as a control layer, not an administrative cleanup task.

How over-privilege and long-lived secrets turn service accounts into backdoors

The risk compounds when machine identities are granted broad permissions and tied to static credentials. A service account with admin-level scope can be reused, copied, or embedded into code, CI/CD pipelines, container images, and configuration stores. Once those secrets are exposed, a single credential can unlock far more access than the original workload needed. The article’s core control message aligns with OWASP NHI guidance: improper offboarding, overprivileged NHI, and long-lived secrets are the failure modes that turn ordinary automation identities into durable attack paths. Static credentials also mean revocation is binary and urgent because there is no human MFA step to interrupt misuse.

Practical implication: enforce least privilege and short-lived identity-based access for service accounts instead of relying on stored secrets.

Why detection tools struggle with machine identity behavior

Traditional SIEM and UEBA logic is tuned to human patterns such as office hours, one location, and low-frequency actions. Service accounts routinely violate those baselines by design: they authenticate from multiple IPs, make high volumes of API calls, and operate continuously. That creates two bad outcomes. Either security teams suppress the noise and miss real anomalies, or they tune out normal automation and lose confidence in the alerts. Governance therefore cannot depend on human-behavior heuristics alone. It needs workload-aware baselines, central policy enforcement, and identity-specific telemetry that distinguishes expected automation from out-of-pattern use.

Practical implication: build detection rules around workload baselines and identity scope, not human activity assumptions.


Threat narrative

Attacker objective: The attacker aims to turn a neglected service account into a durable, high-privilege access path that outlives the workload and expands blast radius.

  1. Entry occurs when a service account secret is hardcoded, stored in a CI/CD system, or copied into another environment without centralized control.
  2. Escalation follows when the compromised identity carries broader permissions than the workload actually needs, allowing access beyond the original service boundary.
  3. Impact occurs when the attacker uses that persistent machine identity to move laterally, access clusters, or maintain a backdoor that survives the original service owner’s awareness.

Read our 52 NHI Breaches Analysis report for a comprehensive view of breaches impacting Non-Human Identities including AI Agents.


NHI Mgmt Group analysis

Service account sprawl is a governance failure, not just an inventory problem: The article shows that machine identities are being created at the edge of delivery workflows while oversight remains anchored to human IAM assumptions. That means the core issue is not merely that organisations have too many service accounts. It is that the lifecycle is being managed in the wrong operating model, with no stable ownership, review, or offboarding path. Practitioners should treat this as a lifecycle architecture issue, not a cleanup exercise.

Static credentials and broad permissions create identity blast radius: Once a service account is granted more access than the workload requires, the identity becomes a reusable trust container for code, pipelines, and integrations. That is exactly why long-lived secrets and overprivileged NHI are the two governance assumptions most often broken in machine identity incidents. The practical conclusion is clear: the risk sits in what the identity can reach, not merely in whether it is authenticated.

Human-centric access review does not scale to machine identity behaviour: Access recertification assumes an identity stays visible long enough for a reviewer to understand its purpose and scope. Service accounts are often created, copied, and retired outside that cadence, which means the review process arrives after the governance decision has already gone stale. Practitioners need to reframe service account control as runtime governance with ownership, scope, and decommissioning attached to the identity itself.

Service account governance now defines the boundary of modern automation security: The more CI/CD, Kubernetes, and SaaS integrations rely on machine identities, the more a weak service account programme becomes a platform-wide exposure. That puts IAM, PAM, cloud, and engineering teams into the same control problem space. The implication for practitioners is to align identity governance to the workload, not to the organisation chart.

OWASP NHI-01, NHI-05, and NHI-07 map directly to this problem space: Improper offboarding, overprivileged machine identities, and long-lived secrets are not edge cases here. They are the operating conditions that make service account sprawl exploitable. That makes OWASP NHI a practical lens for prioritising which identities to inventory, redesign, and retire first.

From our research library:

What this signals

Service account governance has become a lifecycle discipline, not a configuration tweak: The real failure mode is the gap between identity creation and identity retirement. If your programme still depends on periodic human review to catch machine identities, it will always lag the workload they support.

Identity sprawl now changes the boundary between IAM and platform security: CI/CD, cloud, and SaaS teams are effectively issuing non-human access, whether they label it that way or not. That means governance needs shared inventory, ownership, and revocation logic across engineering and security rather than separate local exceptions.

Service-account-centric control planes should become the default lens for automation risk: When machine identities are the common path into cloud and delivery systems, practitioners need to measure how quickly an identity can be discovered, scoped, and removed. That is the metric that matters, not how many accounts exist in total.


For practitioners

  • Assign a named owner to every service account Create a mandatory ownership record for each machine identity, including purpose, environment, and retirement criteria. Without an owner, offboarding and review will continue to fail by design.
  • Replace static secrets with short-lived identity federation Move workload authentication away from stored keys and toward identity-based access that expires when the task ends. This reduces persistence, improves revocation, and removes secrets from code and pipeline configuration.
  • Scope permissions to the actual workload, not the template Review service account entitlements against the minimum actions the workload needs today, not what a prototype copied months ago. Eliminate admin-level inheritance and copied policies that outlive their use case.
  • Build workload-aware anomaly baselines Tune monitoring to the normal API patterns, timing, and network reach of each service account so routine automation does not drown out genuine misuse. Human user heuristics are the wrong baseline for machine identities.

Key takeaways

  • Service account sprawl is a governance problem created by human IAM assumptions being applied to machine identities that do not have managers, review cycles, or predictable lifecycles.
  • The article’s own evidence points to a large and growing exposure surface, including privileged machine identities, low inventory visibility, and secrets that leak outside managed vaults.
  • The most effective control shift is from static credentials and broad inherited permissions to named ownership, least privilege, short-lived access, and workload-aware monitoring.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10 and MITRE ATT&CK address the attack and risk surface, while NIST SP 800-53 Rev 5 and CIS Controls v8 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10NHI-01 — Improper OffboardingThe article centers on service accounts that remain active after their purpose ends.
NHI-05 — Overprivileged NHIBroad permissions on machine identities are the main escalation path described in the article.
NHI-07 — Long-Lived SecretsStatic credentials in code, pipelines, and integrations are a central risk in the article.
Recommendation — Map every service account to an owner and retirement date, then revoke identities that no longer have a business purpose. Reduce service account entitlements to the minimum actions each workload actually needs. Replace stored service account secrets with short-lived, identity-bound access tokens.
NIST SP 800-53 Rev 5IA-5 — Authenticator ManagementThe article highlights lifecycle problems with credentials, rotation, and revocation for machine identities.
Recommendation — Apply authenticator management to service accounts so credentials are rotated, scoped, and revoked on schedule.
CIS Controls v8CIS-5 — Account ManagementThe core issue is unmanaged machine accounts spanning cloud, CI/CD, and SaaS tools.
Recommendation — Inventory and govern service accounts under account management controls rather than ad hoc engineering ownership.
MITRE ATT&CKTA0006;TA0008 — Credential Access; Lateral MovementThe article describes secret theft and the use of overprivileged machine identities to move across systems.
Recommendation — Hunt for exposed service account secrets and review lateral movement paths enabled by those credentials.

Key terms

  • Service-account sprawl: Service-account sprawl is the accumulation of shared or long-lived machine identities that are created for convenience and then reused across teams or workflows. It increases governance friction because the account no longer maps cleanly to one operator, one purpose, or one lifecycle event.
  • Long-Lived Secret: A long-lived secret is a credential, token, API key, or certificate that remains valid for an extended period without frequent renewal. In NHI environments, it creates durable exposure because one leaked secret can keep granting access long after the original use case has changed.
  • Privileged non-human identity: A privileged non-human identity is any service account, API key, token, certificate, workload, or AI agent that can reach sensitive systems and perform high-impact actions. The risk comes from the access it carries, not from whether a person is operating it directly. Governance must cover lifecycle, scope, and attribution.
  • Workload Identity Federation: A mechanism allowing workloads in one environment to authenticate to another using short-lived tokens rather than stored credentials, based on mutual trust between identity providers.

Deepen your knowledge

NHI governance, identity lifecycle management, and workload identity security are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building or maturing an IAM programme, it is worth exploring.
NHIMG Editorial Note
Published by the NHIMG editorial team on May 31, 2026.
Updated on October 6, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org