Machine identities now outnumber people inside the enterprise, but nobody agrees by how much: published ratios run from 20:1 to 144:1 because each source counts something different. The one like-for-like survey series moved from 45:1 in 2022 to 82:1 in 2025 and 109:1 in 2026. Secrets keep leaking faster than they are revoked, and most organisations still define “privileged” as something only a human can be. What follows is 50 figures where the producing organisation, the period, and the method are all identifiable, each linked to where it was published.
TL;DR
Last verified: December 2026. Every number on this page was read on the source page or PDF it links to, in the exact wording the entry paraphrases. Figures seen only in news coverage, vendor blogs quoting other vendors, or search summaries were left out.
Four rules were applied. A statistic is included only if it has a primary source, a named producing organisation, a stated period, and a described method (survey sample, telemetry base, or incident investigation). Most research in this field is run or commissioned by companies that sell identity or secrets tooling. That research is included, because it is most of what exists, and every such entry is labelled vendor research. Incident entries cite the breached organisation’s own disclosure or the investigating team’s write-up.
Two housekeeping notes. CyberArk’s press pages now redirect to Palo Alto Networks, which acquired it, and Entro’s report pages redirect to SailPoint. For those, the links below point to archived copies on web.archive.org, so the citation shows the page as published. Nothing here is first-party data from me: this page is an index of other people’s work, organised so each number can be checked.
The ratio is the most quoted number in the field and the least comparable. Each source below is accurate to its own method. They disagree because they measure different things.
| # | Ratio | Source and date | Method | What counts as an identity |
|---|---|---|---|---|
| 1 | 20:1 | Cloud Security Alliance, State of Non-Human Identity Security, September 2024 | Survey of 818 respondents (June 2024) plus Astrix telemetry from more than 2 million NHIs in Fortune 500 companies; commissioned by Astrix, vendor research | Service accounts, API keys, OAuth apps; stated as NHIs “often” outnumbering humans, no per-organisation mean |
| 2 | 45:1 | CyberArk, 2022 Identity Security Threat Landscape, April 2022 | Vanson Bourne survey of 1,750 IT security decision makers, 12 countries; vendor research | Respondents’ own estimate of machine identities |
| 3 | 82:1 | CyberArk, 2025 Identity Security Landscape, April 2025 | Vanson Bourne survey of 2,600 security decision makers at organisations of 500+ staff, 20 countries; vendor research | Respondents’ own estimate of machine identities |
| 4 | 109:1 | Palo Alto Networks, 2026 Identity Security Landscape, June 2026 | Vanson Bourne survey of 2,930 security decision makers, 20 countries, March to April 2026; vendor research | Service accounts, secrets, certificates, tokens, workload identities and AI agents |
| 5 | 144:1, up from 92:1 a year earlier | Entro Labs, NHI and Secrets Risk Report H1 2025, July 2025 | Telemetry from more than 27 million NHIs in Entro customer environments; vendor research | Every NHI and secret object the product inventories |
Three things drive the spread. Method comes first: survey respondents estimate their own counts, while telemetry counts every key, token and service principal a scanner can see. Definition is second: whether a token, its certificate and the service account holding it are one identity or three, and whether AI agents are in scope. Sample is third: telemetry describes a vendor’s own customers, who skew toward organisations already buying NHI tooling.
The only like-for-like trend is the CyberArk and Palo Alto Networks survey series: 45 in 2022, 82 in 2025, 109 in 2026. Reading 109:1 against 144:1 as a trend, or as a contradiction, is a category error. The benchmark entry for the 109:1 figure, with its full method, is on the CISO Desk.
6. Of the 109 machine identities per human, 79 are AI agent identities, which leaves roughly 30 conventional machine identities per person. Source: Palo Alto Networks, 2026 Identity Security Landscape, June 2026; survey of 2,930; vendor research.
7. Over the next 12 months, organisations expect AI agents to grow 85% and machine identities 77%, against 56% growth in human identities. Source: Palo Alto Networks, 2026 Identity Security Landscape, June 2026; survey of 2,930; vendor research.
8. 28.65 million new hardcoded secrets were added to public GitHub commits in 2025, a 34% rise and the largest single-year jump GitGuardian has recorded. Source: GitGuardian, State of Secrets Sprawl 2026, March 2026; scan of about 1.94 billion public commits; vendor research.
9. The year before, 23.8 million secrets leaked on public GitHub, a 25% rise on 2023. Source: GitGuardian, State of Secrets Sprawl 2025, March 2025; scan of 1.4 billion commits; vendor research.
10. 70% of secrets leaked in 2022 were still active in early 2025. Source: GitGuardian, State of Secrets Sprawl 2025, March 2025; revalidation of the 2022 leak set; vendor research.
11. Retested in January 2026, more than 64% of that same 2022 set was still valid. Source: GitGuardian, State of Secrets Sprawl 2026, March 2026; vendor research.
12. 35% of private repositories contain secrets, against 4.6% of public repositories. Source: GitGuardian, State of Secrets Sprawl 2025, March 2025; vendor research.
13. Leaked secrets for AI services reached 1,275,105 in 2025, up 81% year over year. Source: GitGuardian, State of Secrets Sprawl 2026, March 2026; vendor research.
14. Claude Code-assisted commits showed a 3.2% secret-leak rate, against a 1.5% baseline across all public GitHub commits. Source: GitGuardian, State of Secrets Sprawl 2026, March 2026; attribution by co-author commit trailers; vendor research. GitGuardian itself says the gap should not be read as a simple tool failure.
15. 24,008 unique secrets sat in MCP-related configuration files on public GitHub, and 2,117 of them were valid credentials. Source: GitGuardian, State of Secrets Sprawl 2026, March 2026; vendor research. MCP (Model Context Protocol) is the standard that connects AI agents to tools, and how it should carry identity is covered in the AI agent identity and MCP guide.
16. The Shai-Hulud 2 supply-chain worm exposed 33,185 unique secrets across 6,943 compromised machines, and 59% of those machines were CI/CD runners rather than workstations. Source: GitGuardian, State of Secrets Sprawl 2026, March 2026; analysis of the exfiltration dataset; vendor research.
17. The median time to remediate a secret leaked in a GitHub repository was 94 days. Source: Verizon, 2025 Data Breach Investigations Report, April 2025; 141 remediation events from a data contributor.
18. 43% of exposed secrets in enterprise environments sit outside code repositories, in CI/CD logs, Slack, Microsoft Teams and project tools. Source: Entro Labs, NHI and Secrets Risk Report H1 2025, July 2025; customer telemetry; vendor research.
19. Over 2% of active secrets are more than ten years old. Source: Entro Labs, NHI and Secrets Risk Report H1 2025, July 2025; customer telemetry; vendor research.
Entries 10, 11 and 17 matter more than the headline leak counts. A leaked secret that is revoked the same day is an incident report. A leaked secret that is still valid three years later is an open door, and the data says most of them are. The same pattern of a long-lived token outliving its purpose sits behind the 1Password GitHub token breach.
20. On average, 40% of AI agents and 40% of machine identities already have access to organisational data. Source: Palo Alto Networks, 2026 Identity Security Landscape, June 2026; survey of 2,930; vendor research.
21. Only 15% of organisations define any machine identity with access to sensitive data as privileged, while 39% reserve the term for IT admins with the highest access. Source: Palo Alto Networks, 2026 Identity Security Landscape, June 2026; survey of 2,930; vendor research.
22. A year earlier, 88% said their definition of a privileged user applied solely to humans, yet 42% of machine identities had privileged or sensitive access. Source: CyberArk, 2025 Identity Security Landscape, April 2025; survey of 2,600; vendor research.
23. Only 39% of privileged access, on average, runs through a just-in-time or zero standing privilege model. Source: Palo Alto Networks, 2026 Identity Security Landscape, June 2026; survey of 2,930; vendor research.
24. 5.5% of AWS machine identities hold administrator privileges, and nearly 9% are granted more access than they use. Source: Entro Labs, NHI and Secrets Risk Report H1 2025, July 2025; customer telemetry; vendor research.
25. 43% of AWS IAM users, 41% of Google Cloud service accounts and 66% of Entra ID app registrations have active keys created in the past year. Source: Datadog, State of Cloud Security 2026, November 2026; posture data from thousands of customer organisations, collected September 2026; vendor research.
26. 54% of AWS organisations use only keyless authentication for GitHub Actions, up from 37% in 2024, against 22% on Google Cloud and 5% on Azure. Source: Datadog, State of Cloud Security 2026, November 2026; customer telemetry; vendor research.
27. Nearly half of organisations using Gemini use long-lived Gemini API keys, and 97% of Azure organisations keep Azure AI Foundry’s default long-lived keys. Source: Datadog, State of Cloud Security 2026, November 2026; customer telemetry; vendor research. For comparison, only 17% of Amazon Bedrock users use Bedrock API keys.
28. 79% of organisations rate their ability to prevent attacks through non-human identities as low or moderate. Source: Cloud Security Alliance, State of Non-Human Identity and AI Security, January 2026; 383 responses, August to September 2025; financed by Oasis Security, vendor research.
29. 24% of organisations take more than 24 hours to rotate or revoke a credential after a potential exposure, and 30% take over a day to triage a high-severity leak. Source: Cloud Security Alliance, State of Non-Human Identity and AI Security, January 2026; 383 responses; vendor research.
Entries 20 to 22 describe the same gap from two angles: machine identities hold real access, and the definition of “privileged” has not caught up. How that gap becomes an attack path is in privilege escalation and least privilege. The argument for governing NHIs before buying more tooling is on the CISO Desk.
30. The share of breaches involving a third party doubled, from 15% to 30%. Source: Verizon, 2025 Data Breach Investigations Report, April 2025; 22,052 incidents, 12,195 confirmed breaches.
31. 38% of organisations have no or low visibility into third-party vendors connected to their environment, and another 47% have only partial visibility. Source: Cloud Security Alliance, State of Non-Human Identity Security, September 2024; 818 responses; commissioned by Astrix, vendor research.
32. 21% of Mandiant’s cloud and SaaS cases came through compromised trusted third parties, including stolen Salesloft Drift and Salesforce Gainsight OAuth tokens. Source: Google Cloud, Cloud Threat Horizons Report H1 2026, February 2026; Mandiant engagements from H2 2025, case count not stated; vendor research.
33. Attackers exploited identity issues for initial access in 83% of incidents involving major cloud and SaaS environments. Source: Google Cloud, Cloud Threat Horizons Report H1 2026, February 2026; Mandiant engagements from H2 2025; vendor research.
Three surveys asked whether organisations use AI agents. They are shown side by side, not merged, because each asked a different population a differently worded question.
| # | Use AI agents | Paired governance figure | Source, date and sample |
|---|---|---|---|
| 34 | 99% | Fewer than half apply core lifecycle controls, such as behavioural monitoring and credential revocation, across agent types | Palo Alto Networks, 2026 Identity Security Landscape, June 2026; survey of 2,930; vendor research |
| 35 | 91% | Only 10% have a well-developed strategy or roadmap for managing non-human identities | Okta, AI at Work 2025, August 2025; 260 executives in nine countries, recruited by AlphaSights; vendor research |
| 36 | 82% | Only 44% have policies to secure them | SailPoint, AI agents: The new attack surface, May 2025; Dimensional Research survey of 353 IT professionals; vendor research |
Okta published two figures for the same question, a year apart, from different surveys. Both are shown.
| # | Secure AI agents with the same controls as human staff | Source, date and sample |
|---|---|---|
| 37 | 32% | Okta, Businesses at Work 2026, April 2026, citing its 2025 executive survey; vendor research |
| 38 | 34% | Okta, AI Agents at Work 2026, May 2026; 292 executives and 492 knowledge workers in seven countries, March 2026; vendor research |
39. 90% agree AI agents should operate under least privilege, and 91% believe they can rapidly contain a compromised agent. Source: Palo Alto Networks, 2026 Identity Security Landscape, June 2026; survey of 2,930; vendor research. Read it next to entry 34: confidence is running well ahead of the controls that would justify it.
40. 23% of organisations say their AI agents have been tricked into revealing access credentials. Source: SailPoint, AI agents: The new attack surface, May 2025; survey of 353; vendor research.
41. 80% say their AI agents have taken unintended actions, and 39% have seen agents access unauthorised systems or resources. Source: SailPoint, AI agents: The new attack surface, May 2025; survey of 353; vendor research.
42. 78% of organisations have no documented, formally adopted policy for creating or removing AI identities, and more than 16% do not track when new ones are created. Source: Cloud Security Alliance, State of Non-Human Identity and AI Security, January 2026; 383 responses; vendor research.
The vendors building controls for these gaps are mapped on the Agent Security Map, and the identity layer specifically on its agent identity page.
Each entry below cites the breached organisation’s own disclosure or the investigating team’s report, not news coverage.
43. In the Salesloft Drift campaign, attackers used compromised OAuth tokens to steal Salesforce data from at least August 8 to August 18, 2025, and hunted for AWS access keys and Snowflake tokens. Source: Google Threat Intelligence Group, Widespread Data Theft Targets Salesforce Instances via Salesloft Drift, August 2025; incident investigation, no victim count given.
44. At Cloudflare, one access token and three service account credentials, left unrotated after the October 2023 Okta compromise, let an attacker in; Cloudflare then rotated more than 5,000 production credentials. The credentials had been left unrotated because they were mistakenly believed to be unused. Source: Cloudflare, Thanksgiving 2023 security incident, February 2024; the company’s own disclosure.
45. Midnight Blizzard pivoted through one legacy test OAuth application with elevated access to Microsoft’s corporate environment, then created more malicious OAuth apps. Source: Microsoft, Midnight Blizzard: Guidance for responders on nation-state attack, January 2024; the company’s own disclosure.
46. The compromised tj-actions/changed-files GitHub Action exposed CI/CD secrets in workflow logs across more than 23,000 repositories. Source: GitHub, advisory GHSA-mrrh-fwg8-r2c3 for CVE-2025-30066, March 2025. CISA’s alert confirms the exposed material included access keys, GitHub tokens, npm tokens and private RSA keys.
47. One compromised BeyondTrust infrastructure API key gave access to 17 Remote Support SaaS customers in December 2024. Source: BeyondTrust, Remote Support SaaS Service Security Investigation, first published December 2024; the company’s own disclosure.
48. In the 2024 Snowflake customer campaign, about 165 organisations were notified, and at least 79.7% of the accounts abused had prior credential exposure, some unrotated for four years. Source: Mandiant, UNC5537 Targets Snowflake Customer Instances, June 2024; incident investigation. Mandiant describes customer usernames and passwords stolen by infostealer malware on accounts without MFA, not service accounts. It belongs here as a rotation and credential-hygiene lesson, covered in the Snowflake breach identity lessons.
49. 90% of organisations report a successful identity-related breach in the last 12 months, 83% at least twice and 76% three or more times. Source: Palo Alto Networks, 2026 Identity Security Landscape, June 2026; survey of 2,930; vendor research.
50. 42% name growth in machine, service and non-human identities as a factor driving identity security controls, behind credential-led breach risk (48%) and cyber insurance requirements (44%). Source: Palo Alto Networks, 2026 Identity Security Landscape, June 2026; survey of 2,930; vendor research.
Four conclusions hold across sources and methods.
Three things have not settled.
The following circulate in NHI coverage and were left out because no primary source could be read for them.
Some sources were not reviewed for this edition at all, including the Microsoft Digital Defense Report 2025 and Gartner. No figures are taken from them here.
About 109 per human on average, according to Palo Alto Networks’ 2026 survey of 2,930 security decision makers. 79 of those 109 are AI agent identities. Telemetry-based counts run higher, with Entro reporting 144:1 in its customer base for the first half of 2025.
Because they count different things. Surveys rely on respondents’ estimates, while telemetry counts every key, token and service principal a product can see. Sources also differ on whether AI agents are included. The only like-for-like series is CyberArk and Palo Alto Networks: 45:1 in 2022, 82:1 in 2025, 109:1 in 2026.
GitGuardian counted 28.65 million new hardcoded secrets in public GitHub commits in 2025, up 34% from 23.8 million in 2024. Leaked AI-service secrets alone reached 1,275,105, up 81%.
Often for years. More than 64% of secrets GitGuardian found leaked in 2022 were still valid when retested in January 2026. Verizon’s 2025 DBIR put the median time to remediate a secret leaked in a GitHub repository at 94 days.
About a third. Okta’s surveys put it at 32% (reported in April 2026 from its 2025 survey) and 34% (AI Agents at Work 2026). Adoption is far higher: surveys from SailPoint, Okta and Palo Alto Networks put AI agent use at 82%, 91% and 99%.
No. Mandiant describes customer account usernames and passwords stolen by infostealer malware, used on accounts without multi-factor authentication. At least 79.7% of the abused accounts had prior credential exposure, some unrotated for four years.