By HumanAudit Inc. Editor: Akshay DubeyMigrated 7 October 2026
Sourced guideKey facts re-checked against the Okta, CircleCI and Microsoft sources on 16 October 2026 with AI-assisted research. Editor: Akshay Dubey.MethodologyCorrections log

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.

    NHI10 Human Use of NHINHI2 Secret LeakageNHI5 Overprivileged NHI
  • 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.

    NHI2 Secret LeakageNHI3 Vulnerable Third-Party NHI (customer impact)NHI7 Long-Lived Secrets
  • 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.

    NHI1 Improper OffboardingNHI5 Overprivileged NHINHI8 Environment Isolation

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)

Incident record: Okta support system, 2023
FieldRecord
Date disclosed20 October 2023 (public advisory); root cause published 3 November 2023
Initial accessA 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 involvedIdentity: a service account stored in the support case system. Credential: its username and password. Harvested: session tokens in customer HAR files
PrivilegesView and update customer support cases
Confirmed impactFiles of 134 customers accessed; Okta sessions of 5 customers hijacked; access ran from 28 September to 17 October 2023
Primary sourceOkta 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

28 Sep 2023
Unauthorised access to the support case management system begins, using a service account stored in the system itself and granted permissions to view and update support cases.
29 Sep 2023
1Password detects suspicious activity on its Okta instance and reports it to Okta Support.
2 Oct 2023
BeyondTrust uploads a HAR file to a support ticket, detects suspicious activity involving the session cookie within about thirty minutes, and notifies Okta.
2 to 19 Oct 2023
BeyondTrust says it continued to escalate its concerns to Okta until Okta confirmed the breach to it on 19 October. Okta says it identified the compromised service account on 16 October.
17 Oct 2023
Okta disables the service account, terminates its sessions and revokes the session tokens embedded in the HAR files.
18 to 20 Oct 2023
Cloudflare discovers attacks on its Okta instance on 18 October. Okta alerts customers with registered security contacts on 19 October and publishes its public advisory on 20 October.
3 Nov 2023
Okta publishes a root cause analysis: files of 134 customers accessed, session tokens used to hijack the Okta sessions of five customers.
29 Nov 2023
Okta says the actor also downloaded a report containing the names and email addresses of all Okta customer support system users.

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)OWASPWhy it mattered
Service account credential saved in a personal browser profileNHI10Okta 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 storeNHI2A 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 taskNHI5The 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 customerNot an OWASP risk1Password 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

Incident record: CircleCI, 2022 to 2023
FieldRecord
Date disclosed4 January 2023; incident report 12 January 2023
Initial accessMalware on an engineer's laptop stole a 2FA-backed SSO session cookie on 16 December 2022
Identity or credential involvedInitial: a human engineer's SSO session. Exposed: customer environment variables, tokens and keys held by CircleCI for customers' pipelines
PrivilegesThe engineer could generate production access tokens
Confirmed impactData 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 sourceCircleCI 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

16 Dec 2022
An engineer’s laptop is compromised by information-stealing malware not detected by the company’s antivirus. The malware performs session cookie theft.
19-22 Dec 2022
Reconnaissance, then data exfiltration from a subset of databases and stores.
29 Dec 2022
A customer alerts CircleCI to suspicious GitHub OAuth activity. This is the first indication.
31 Dec 2022
CircleCI proactively begins rotating all GitHub OAuth tokens on behalf of customers.
4 Jan 2023
Public disclosure. Customers advised to rotate any and all secrets stored in CircleCI and to audit logs from 21 December.
5-6 Jan 2023
CircleCI revokes all Project API tokens on 5 January and, on 6 January, all Personal API tokens created before 00:00 UTC on 5 January; it begins work with Atlassian to rotate Bitbucket tokens on customers' behalf.
13 Jan 2023
Full incident report published.

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)OWASPWhy it mattered
Standing human privilege to mint machine credentialsNot 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 customersNHI7Environment 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 keysNo OWASP NHI mappingEncryption 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 secretsNHI3For 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

Incident record: Microsoft Midnight Blizzard, 2023 to 2024
FieldRecord
Detected and publishedDetected 12 January 2024; responder guidance published 25 January 2024
Initial accessPassword spray against a legacy, non-production test tenant account without multifactor authentication
Identity or credential involvedA legacy test OAuth application with elevated access to the Microsoft corporate environment, and further OAuth applications the actor created
PrivilegesThe Exchange Online full_access_as_app role, granted to the actor's applications
Confirmed impactAccess to Microsoft corporate email accounts. The 25 January 2024 post does not quantify the data taken
AttributionMidnight Blizzard (also known as NOBELIUM), per Microsoft
Primary sourceMicrosoft 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

Nov 2023
Per Microsoft, a password spray attack compromises a legacy, non-production test tenant account that did not have multifactor authentication enabled.
Dates not disclosed
The actor compromises a legacy test OAuth application with elevated access to the Microsoft corporate environment, creates further malicious OAuth applications, and uses the legacy application to grant them the Exchange Online full_access_as_app role (Microsoft).
Jan 2024
Microsoft detects the attack on 12 January and then discloses unauthorised access to corporate email accounts and exfiltration of emails and attached documents.

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)OWASPWhy it mattered
The identity was never decommissionedNHI1Improper 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 boundaryNHI8An 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 applicationNHI5Legacy 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.

Page history
First published on nhimanagement.com; moved to this site on 7 October 2026. Okta, CircleCI and Microsoft facts re-checked against their primary sources with AI-assisted research on 16 October 2026. Errors: corrections log.
Monthly change log

Know when the NHI landscape changes.

One email a month from this reference: new deals, standards status changes and corrections. No sponsored content. Unsubscribe from any email.

We first email you a link to confirm. Privacy policy.