Subscribe to the Non-Human & AI Identity Journal
Home Glossary Governance, Ownership & Risk Ghost workforce
Governance, Ownership & Risk

Ghost workforce

← Back to Glossary
By NHI Mgmt Group Updated June 9, 2026 Domain: Governance, Ownership & Risk

A collection of non-human identities and agents that behave like staff members without having the governance structure of employees. They often lack named owners, clear offboarding, and clean accountability, which makes them hard to audit and easy to forget.

Expanded Definition

Ghost workforce is a governance term for the population of non-human identities, service accounts, API keys, bots, and AI agents that execute work with employee-like reach but without employee-like controls. The concept is broader than simple account sprawl because it includes operational roles that persist after the people who created them have moved on.

In practice, a ghost workforce becomes visible when organisations rely on machine identities to perform routine tasks across CI/CD, cloud platforms, data pipelines, or agentic workflows, yet fail to assign named ownership, lifecycle review, or offboarding. The term is still evolving across vendors and security teams, so usage is descriptive rather than standards-bound. For governance, it aligns closely with least privilege, inventory discipline, and identity lifecycle control in NIST Cybersecurity Framework 2.0, while NHIMG treats the issue as a core Non-Human Identity risk surface. A related NHI governance pattern is the persistence of forgotten credentials after system changes, as discussed in Ultimate Guide to NHIs.

The most common misapplication is treating ghost workforce as a staffing metaphor only, which occurs when teams track bots and agents operationally but never bind them to accountable owners or removal triggers.

Examples and Use Cases

Implementing ghost workforce governance rigorously often introduces inventory and ownership overhead, requiring organisations to weigh automation speed against continuous review and offboarding discipline.

  • A payroll integration uses a service account that still has production read access long after the original project closed, making it part of the ghost workforce.
  • An AI agent creates tickets, queries internal systems, and triggers workflows, but no team owns its credentials, prompts, or stop conditions.
  • A CI/CD runner stores long-lived tokens in build tooling, and no one can confirm which repositories or pipelines still depend on them.
  • A legacy API key remains valid after an application is retired, creating hidden access that only appears during a breach review.
  • Machine credentials involved in ASP.NET machine keys RCE attack illustrate how dormant or poorly governed non-human access can become exploitable when control is lost.

These cases are easiest to spot when identity inventories, vault logs, and workload telemetry are correlated with business ownership records and change tickets. In standards terms, the closest operational guidance comes from identity governance expectations in NIST Cybersecurity Framework 2.0, even though no single standard uses the phrase ghost workforce.

Why It Matters in NHI Security

Ghost workforce risk matters because non-human identities often outlive the context that justified their access. Once a service account, token, or agent is forgotten, it is unlikely to be rotated, reviewed, or decommissioned on schedule. That creates a durable attack path for credential theft, lateral movement, and unauthorised automation. NHIMG reports that 80% of identity breaches involved compromised non-human identities such as service accounts and API keys, and 71% of NHIs are not rotated within recommended time frames, which helps explain why forgotten identities become persistent exposure points.

This is especially dangerous in environments where machine identities outnumber human identities by 25x to 50x and where offboarding is informal. The practical fix is not simply more logging; it is a governance model that forces named ownership, expiry, rotation, and revocation across every non-human account. NHIMG also reports that only 20% have formal processes for offboarding and revoking API keys, which means ghost workforce conditions are common rather than exceptional. The same lifecycle weakness is why NHIMG’s guidance on NHI governance and visibility remains central to remediation.

Organisations typically encounter the business impact only after a breach review, at which point the ghost workforce becomes operationally unavoidable to address.

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 address the attack and risk surface, while NIST CSF 2.0 and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10NHI-01Ghost workforce maps to missing ownership and inventory for machine identities.
NIST CSF 2.0PR.AC-1Access control and identity governance directly address forgotten machine access.
NIST Zero Trust (SP 800-207)Zero Trust requires continuous verification of non-human identities, not permanent trust.

Inventory every non-human identity, assign owners, and enforce lifecycle controls for review and removal.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on June 9, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org