An NHI breach, as we use the term, is an incident in which a non-human identity, or a credential it held, gave the attacker access or widened the impact. This library covers three with a published root cause: Okta (2023), CircleCI (2022 to 2023) and Microsoft Midnight Blizzard (2023 to 2024). Longer write-ups of six incidents are in the breach case studies.
The pattern across all three
- The credential was valid. In each case the attacker authenticated with a working credential or session and did not need to exploit a software vulnerability.
- Privilege converted a foothold into a breach. In all three, the initial access was narrow and the identity’s permissions made it wide.
- Detection came from outside. In two of the three, a customer or partner raised the alarm before the victim’s own monitoring did.
Inclusion criteria
A case appears here only if the affected organisation published a root cause account, or a body such as OWASP documented it, and only if, in our reading, a non-human identity was central to the incident or to its impact. Cases are described from the primary disclosure. Where the public record is thin, as with parts of the Midnight Blizzard timeline, we say so rather than filling the gap with inference. Details in secondary coverage that we could not confirm against the primary source are omitted, not softened. The OWASP risk tags on each case are this site's mapping, not a finding by OWASP or by the affected organisation. Not affiliated with or endorsed by the OWASP Foundation.
The cases
-
Sep-Oct 2023
Okta customer support case management system
A threat actor used a compromised service account to access Okta’s customer support case management system and harvest session tokens from HAR files that customers had uploaded for troubleshooting.
-
Dec 2022 to Jan 2023
CircleCI customer secret exposure
Malware on an engineer’s laptop stole a valid 2FA-backed SSO session cookie. Because that engineer could generate production access tokens, the attacker reached databases holding customer environment variables, tokens and keys, forcing a rotation event across the platform’s entire customer base.
-
Nov 2023 to Jan 2024
Microsoft / Midnight Blizzard
A nation-state actor gained access to a non-production Microsoft 365 test tenant, then compromised a legacy test OAuth application that, in Microsoft's words, had elevated access to the Microsoft corporate environment, and used it to reach corporate mailboxes and exfiltrate email and attached documents. OWASP lists this incident, with two others, in the introduction to its NHI Top 10.
In detail
Okta customer support case management system
Sep-Oct 2023 · Primary source: Okta Security, root cause and remediation post, November 2023 · Full write-up: Okta support system breach (2023)
| Field | Record |
|---|---|
| Date disclosed | 20 October 2023 (public advisory); root cause published 3 November 2023 |
| Initial access | A service account's username and password, saved to an employee's personal Google profile on an Okta-managed laptop; Okta says the most likely exposure was compromise of that personal account or device |
| Identity or credential involved | Identity: a service account stored in the support case system. Credential: its username and password. Harvested: session tokens in customer HAR files |
| Privileges | View and update customer support cases |
| Confirmed impact | Files of 134 customers accessed; Okta sessions of 5 customers hijacked; access ran from 28 September to 17 October 2023 |
| Primary source | Okta Security, 3 November 2023 |
A threat actor used a compromised service account to access Okta’s customer support case management system and harvest session tokens from HAR files that customers had uploaded for troubleshooting.
Timeline
Root cause
Per Okta’s own root cause analysis, an employee had signed in to a personal Google profile in the Chrome browser of an Okta-managed laptop, and the username and password of the service account were saved into that personal Google account. Okta said the most likely avenue of exposure was compromise of the employee’s personal Google account or personal device. How that compromise happened is not publicly disclosed.
What failed, and where it is prevented
| Contributing condition (our reading) | OWASP | Why it mattered |
|---|---|---|
| Service account credential saved in a personal browser profile | NHI10 | Okta says the credential was saved to an employee's personal Google profile; it does not say the account was used interactively. In our reading, any human handling of a machine identity's password creates this exposure. Detection logic for interactive authentication patterns on non-human principals is the control. See zero standing privilege. |
| Static credential outside a controlled store | NHI2 | A service account authenticating with a saved username and password can be captured by anything with access to where it is saved. A federated or vault-issued short-lived credential cannot be saved to a browser profile at all. See secrets management guide. |
| Privilege exceeded the task | NHI5 | The account could view and update all support cases, and the files in those cases contained live customer session tokens. The privilege was reasonable for the function and broad for the data it reached. See least privilege for non-human identities. |
| Detection came from a customer | Not an OWASP risk | 1Password reported suspicious activity on 29 September and BeyondTrust on 2 October; Okta identified the service account on 16 October. External detection also came first in the CircleCI case below. See NHI monitoring and detection. |
CircleCI customer secret exposure
Dec 2022 to Jan 2023 · Primary source: CircleCI, incident report for the 4 January 2023 security incident
| Field | Record |
|---|---|
| Date disclosed | 4 January 2023; incident report 12 January 2023 |
| Initial access | Malware on an engineer's laptop stole a 2FA-backed SSO session cookie on 16 December 2022 |
| Identity or credential involved | Initial: a human engineer's SSO session. Exposed: customer environment variables, tokens and keys held by CircleCI for customers' pipelines |
| Privileges | The engineer could generate production access tokens |
| Confirmed impact | Data exfiltrated from a subset of production databases and stores on 22 December 2022; encryption keys taken from a running process. Fewer than 5 customers reported unauthorised access to third-party systems at the time of the report |
| Primary source | CircleCI incident report, 12 January 2023 |
Malware on an engineer’s laptop stole a valid 2FA-backed SSO session cookie. Because that engineer could generate production access tokens, the attacker reached databases holding customer environment variables, tokens and keys, forcing a rotation event across the platform’s entire customer base.
Timeline
Root cause
Data was encrypted at rest, but the attacker extracted encryption keys from a running process, which rendered that protection ineffective. CircleCI’s own report is explicit that it could not determine whether exposed secrets had subsequently been used against customer-owned third-party systems, which is why the operational scope extended far beyond CircleCI itself.
What failed, and where it is prevented
| Contributing condition (our reading) | OWASP | Why it mattered |
|---|---|---|
| Standing human privilege to mint machine credentials | Not an NHI risk (human privileged access) | In our reading, a significant factor was that the compromised employee routinely generated production access tokens. Just-in-time elevation for credential issuance narrows this from a standing capability to a bounded, logged event. The NHI dimension of this case is the impact on customer-held secrets, in the rows below. See zero standing privilege. |
| Long-lived secrets held on behalf of customers | NHI7 | Environment variables and API tokens sat in the platform indefinitely. Short-lived, federation-issued credentials would have shortened the exposure window to the token lifetime rather than to the rotation programme. See credential rotation. |
| Encryption at rest with co-located keys | No OWASP NHI mapping | Encryption is not a control against an attacker with process access on the machine that decrypts. Worth stating plainly, because "encrypted at rest" appears in a great many control descriptions as though it addresses this. See secrets management guide. |
| Every customer had to rotate secrets | NHI3 | For CircleCI customers this was a third-party NHI incident: a supplier compromise that exposed secrets and tokens able to reach their own systems. CircleCI said that, at the time of its report, fewer than five customers had told it of unauthorised access to third-party systems as a result. Third-party grants belong in both your identity inventory and your supplier risk register. See assigning an owner to every NHI. |
Microsoft / Midnight Blizzard
Nov 2023 to Jan 2024 · Primary sources: Microsoft Security blog, 25 January 2024; OWASP Non-Human Identities Top 10 (2025), introduction
| Field | Record |
|---|---|
| Detected and published | Detected 12 January 2024; responder guidance published 25 January 2024 |
| Initial access | Password spray against a legacy, non-production test tenant account without multifactor authentication |
| Identity or credential involved | A legacy test OAuth application with elevated access to the Microsoft corporate environment, and further OAuth applications the actor created |
| Privileges | The Exchange Online full_access_as_app role, granted to the actor's applications |
| Confirmed impact | Access to Microsoft corporate email accounts. The 25 January 2024 post does not quantify the data taken |
| Attribution | Midnight Blizzard (also known as NOBELIUM), per Microsoft |
| Primary source | Microsoft Threat Intelligence, 25 January 2024 |
A nation-state actor gained access to a non-production Microsoft 365 test tenant, then compromised a legacy test OAuth application that, in Microsoft's words, had elevated access to the Microsoft corporate environment, and used it to reach corporate mailboxes and exfiltrate email and attached documents. OWASP lists this incident, with two others, in the introduction to its NHI Top 10.
Timeline
Root cause
In Microsoft's account the pivot did not use a software vulnerability. A legacy test OAuth application still held elevated access to the corporate environment, so compromising it from a test tenant crossed the boundary between test and corporate systems. Why the application still existed and when its access was last reviewed are not publicly disclosed.
What failed, and where it is prevented
| Contributing condition (our reading) | OWASP | Why it mattered |
|---|---|---|
| The identity was never decommissioned | NHI1 | Improper Offboarding is the first entry in the OWASP NHI Top 10. A legacy application that keeps its access needs no exploit: the grant still works. See decommissioning in the NHI lifecycle. |
| The environment boundary was not an identity boundary | NHI8 | An application in a non-production tenant held access to the corporate environment. The specific test worth running: can any identity scoped to a lower environment authenticate to a production resource? Run it as a control, not as an assumption. See provisioning in the NHI lifecycle. |
| Elevated access on a legacy application | NHI5 | Legacy OAuth applications can hold consent granted under permission models that predate current least-privilege practice, and consent does not expire on its own. See OAuth tokens. |
What the pattern implies
Prevention is a privilege problem; response is a detection problem
In each case, the initial access was narrow: one service account, one laptop, one test tenant. What made each a breach was the permission set on the far side. That means privilege right-sizing has a higher expected value than perimeter hardening for this class of incident, and that knowing which identities hold what is the prerequisite for either.
External detection came first in two of the three cases
1Password and BeyondTrust told Okta. A customer told CircleCI. In our reading, this is because activity under a valid machine credential can look like legitimate automation, so the party best placed to notice is often the one seeing the downstream effect rather than the one hosting the identity. Two implications: build detection around behavioural deviation rather than credential validity, and treat inbound reports from customers and partners as high-signal even when your own telemetry is clean.
“Encrypted at rest” is doing less work than your control description implies
CircleCI encrypted customer secrets at rest and the attacker extracted the keys from a running process. Encryption at rest defends against theft of storage. It does not defend against an attacker with execution on the system that decrypts. Control descriptions that cite it as the mitigation for secret exposure are overstating what it covers.
The absent case
There is no entry here for an AI agent incident, and that is a statement about disclosure rather than about risk. We have not found an AI agent incident with a published root cause analysis that meets the inclusion criteria above. We will add cases when primary accounts exist. We will not manufacture them from vendor scenarios.
Frequently asked questions
What is the most well-known breach caused by a non-human identity?
This site does not rank incidents by prominence. Three with a published root cause account are covered on this page: the Okta customer support system breach of October 2023, which began with a compromised service account; the CircleCI incident disclosed in January 2023, which exposed customer environment variables, tokens and keys; and the Microsoft Midnight Blizzard intrusion disclosed in January 2024, which pivoted from a test tenant to corporate mailboxes through a legacy test OAuth application with elevated access to the corporate environment.
What do NHI breaches have in common?
In the three cases here: the attacker used a working credential or session and did not need a software vulnerability; the identity, or the person able to mint its credentials, held more access than the task needed, so the blast radius exceeded the foothold; and in two of the three, a customer raised the alarm first.
How long do attackers retain access through a compromised machine identity?
It varies, and the cases here give dates, not a general figure. In the Okta case, access ran from 28 September to 17 October 2023, with customers raising the alarm on 29 September and 2 October. In the CircleCI case, the device was compromised on 16 December 2022 and disclosure came on 4 January 2023.
Which OWASP NHI risks appear most often in real incidents?
NHI5 Overprivileged NHI appears in the Okta and Midnight Blizzard cases. In the CircleCI case the privilege that mattered was a human engineer's, which is not an NHI risk. NHI2 and NHI7 appear wherever a static credential existed outside a controlled store. NHI1 and NHI8 appear in the Midnight Blizzard case specifically.
Sources
- OWASP Non-Human Identities Top 10 (2025), owasp.org
- OWASP NHI Top 10 (2025), introduction and referenced incidents, owasp.org
- OWASP NHI Top 10 (2025), full risk list, owasp.org
- Okta Security, Unauthorized Access to Okta’s Support Case Management System: Root Cause and Remediation (Nov 2023), sec.okta.com verified 6 Aug 2026
- CircleCI, Incident report for January 4, 2023 security incident, circleci.com verified 6 Aug 2026
- Microsoft Threat Intelligence, Midnight Blizzard: Guidance for responders on nation-state attack (25 January 2024), microsoft.com
Corrections welcome: report an error.
Disclosure. This reference is free. No vendor pays for coverage, placement, or favourable treatment. HumanAudit Inc., which publishes this site, sells ISO/IEC 42001 documentation and plans NHI governance documentation packs, including an RFP kit that does not name, rank or recommend any vendor; it builds and sells no NHI scanner and no NHI discovery, monitoring or security tool (see About). Links to its offers appear in the header, in the site footer and in one marked box on guide pages; company profiles carry none. See our methodology, sourcing standards and corrections policy.