Machine identities outnumber employees as credential risks persist
Machine identities—including service accounts, API keys, OAuth applications, certificates, tokens and AI agents—are multiplying across enterprise environments. A 2026 survey from Palo Alto Networks found an average of 109 machine identities for every human identity among respondents. But that figure should not be treated as a universal benchmark: other studies report ratios from 20:1 to 144:1, using different definitions, samples and measurement methods.
The comparable survey series reported by CyberArk and Palo Alto Networks shows a marked rise: respondents estimated 45 machine identities per person in 2022, 82 in 2025 and 109 in 2026. The latest survey, conducted by Vanson Bourne for Palo Alto Networks, covered 2,930 security decision-makers in 20 countries between March and April 2026. The figures are vendor-sponsored research and reflect survey estimates, rather than a direct count of identities across all enterprises.
Different methods produce different ratios
Other published findings illustrate why organizations should review the method alongside the headline number. A Cloud Security Alliance report commissioned by Astrix cited a 20:1 ratio, drawing on a survey of 818 respondents and Astrix telemetry from more than two million non-human identities in Fortune 500 companies. Entro Labs reported 144:1, up from 92:1 a year earlier, based on telemetry covering more than 27 million identities and secrets in its customer environments.
These figures count different things. A survey may ask security leaders to estimate the identities in their own organizations; product telemetry may inventory every object its tooling can detect. Sources also differ over whether a token, its certificate and the service account associated with it count as separate identities, and whether AI agents are included. The customer populations behind vendor telemetry may also differ from the wider enterprise market.
In the Palo Alto Networks survey, 79 of the 109 machine identities per human were identified as AI agent identities. Respondents expected agent numbers to grow 85% over the following 12 months, compared with 77% growth for machine identities overall and 56% for human identities. Those are expectations reported in the survey, not measured future growth.
Secrets remain active after exposure
Credential discovery and revocation are persistent operational challenges. GitGuardian reported that 28.65 million new hardcoded secrets appeared in public GitHub commits during 2025, a 34% increase from the prior year. Its analysis scanned about 1.94 billion public commits. The company also retested secrets first identified in 2022 and found that more than 64% remained valid in January 2026.
That persistence makes exposure response a lifecycle issue, not just a detection problem. GitGuardian’s 2025 report had found 70% of the 2022 leak set still active in early 2025. Separately, Verizon’s 2025 Data Breach Investigations Report put the median remediation time for a secret exposed in a GitHub repository at 94 days, based on 141 remediation events contributed to the report. The findings come from different analyses, but both point to the importance of promptly assessing, revoking and replacing exposed credentials.
Secrets are not limited to source code. Entro Labs reported that 43% of exposed secrets in its enterprise customer environments were outside repositories, including in CI/CD logs, collaboration platforms and project tools. These are vendor telemetry findings, rather than a census of all enterprise environments.
Access governance has not caught up
The Palo Alto Networks survey found that 40% of machine identities had access to organizational data. Yet only 15% of surveyed organizations considered a machine identity with sensitive access to be privileged. A separate 2025 CyberArk survey found that 88% of respondents defined privileged users as humans only, while 42% said machine identities had privileged or sensitive access.
The gap affects how access is reviewed and protected. If privileged-access processes are designed around employees and administrators, service accounts, application registrations and agents may not receive equivalent scrutiny. Palo Alto Networks reported that an average of 39% of privileged access used just-in-time or zero-standing-privilege models, leaving room to reduce persistent access. That finding is also based on a vendor survey.
AI agent adoption adds a related governance challenge, though survey results are not directly comparable. Three studies reported organizational use rates of 82%, 91% and 99%, based on different questions and respondent groups. In Palo Alto Networks’ survey, fewer than half of respondents said core lifecycle controls, such as behavioral monitoring and credential revocation, applied across agent types. The Cloud Security Alliance reported that 78% of respondents lacked a formally adopted policy for creating or removing AI identities.
Incidents show how credentials become an entry point
Disclosed incidents provide concrete examples of the risk. Google Threat Intelligence Group described attackers using compromised OAuth tokens in the 2025 Salesloft Drift campaign to access Salesforce data and search for AWS access keys and Snowflake tokens. Cloudflare said credentials left unrotated after the October 2023 Okta compromise enabled an attacker to access its environment; the company subsequently rotated more than 5,000 production credentials.
Microsoft disclosed that Midnight Blizzard used a legacy test OAuth application with elevated access in its corporate environment. BeyondTrust reported that a compromised infrastructure API key provided access to 17 Remote Support SaaS customers in December 2024. These incidents involved distinct circumstances, but they underline why organizations need to inventory non-human identities, assign accountable owners, limit permissions and remove credentials when they are no longer required.
For security teams, the available numbers are useful as directional evidence, not as a single standardized benchmark. Organizations should document what they count as an identity, track secrets beyond code repositories, and include machine accounts and agents in privileged-access reviews. Any reported ratio should be presented with its source and method so that changes over time are not confused with differences in measurement.