azureblog.co.uk
← cd ~/posts
Azure

What the 1Password breach means for Entra and Azure admins

1Password says an attacker used one employee's GitHub account to push code into its backend and copy customer account records. Your vaults are safe, but the phishing that follows won't be, and the way in is one most Azure tenants are open to as well.

AzureNEW7 min read✓ checked 25 Nov 2026Security · Entra ID · Azure
On this page
  1. What happened
  2. What was taken, and what wasn't
  3. If your organisation uses 1Password
  4. The same attack path into your Azure
  5. My take
  6. Sources

I've used 1Password in the past, so when I saw its disclosure this morning, my first question was the one every user and every admin asks: are the vaults safe? They are. The part I kept rereading was how the attacker got in. One employee's GitHub account was enough to change code that ran in production. Plenty of Azure tenants are wired up the same way, so this post covers both: what to do if you run 1Password, and how to check your own setup.

What happened

1Password published the details on 25 November. On 19 November it "began investigating indications that an attacker gained access to an employee's corporate GitHub account." It hasn't said how that account was compromised.

With that account, the attacker read private source code and pushed malicious code to backend services. Those services then downloaded administrative customer data. The attacker also copied source code and got into 1Password's CI/CD system, which exposed infrastructure secrets. 1Password says it has rotated every credential that may have been exposed, and that there is "no impact to 1Password's services, availability, or product security."

AttackerEmployee's GitHubBackend servicesCustomer recordsUses the employee'scorporate GitHubaccount1Reads and copies privatesource codePushes malicious code3Downloads accountrecords for a subset ofusers4Reaches CI/CD and itsinfrastructure secrets
The attack path, as 1Password describes it.

What was taken, and what wasn't

Taken (a subset of users)
  • Names and email addresses
  • Account and user IDs, creation and last sign-in times
  • Public keys and SRP parameters
  • Tokens in some invitation, provisioning and recovery links
  • Non-secret internal metadata
Not affected
  • Vaults and the items in them
  • The keys that protect vaults
  • Account recovery keys
  • Apps and browser extensions
  • Account passwords and Secret Keys, which 1Password never stores
From 1Password's disclosure of 25 November 2026.

1Password says the public keys have "no impact to user security" and the SRP parameters "cannot be used to access your account." It hasn't given a number of affected customers.

The tokens are the part to understand. They came from emailed invitation, provisioning and recovery links, and they only work with an sign-in or a code sent to the user's registered email. As a precaution, 1Password has made that code ten letters and numbers long, up from six digits. It says it has found no evidence of account takeovers using the exposed provisioning tokens, and it has contacted the small number of users who were mid-invitation or mid-recovery.

1Password's advice to customers is: "You do not need to update anything in your 1Password account."

If your organisation uses 1Password

There's nothing to rotate, but the attacker now has names and work email addresses, along with the knowledge that those people use 1Password. That's everything needed for a convincing phishing email.

I've been here before. Years ago I dealt with the phishing that followed a different vendor's breach, and the breach itself caused far less trouble than the emails that came after it. They looked genuine, they arrived when people were already worried, and they asked people to do exactly what a nervous user wants to do: check that their account is safe. So I'd do four things this week.

1. Warn your users before the phishing starts

Keep it short and give them one rule. Something like this, for Contoso:

1Password has reported a breach. Your passwords are safe and you don't need to do anything. You may get emails or calls about 1Password asking you to verify, reset or recover your account. Don't click the links. Open the 1Password app yourself instead. 1Password will never ask for your account password or Secret Key. Forward anything suspicious to the service desk.

2. Hunt for lookalike emails

If you have Microsoft Defender for Office 365, this advanced hunting query finds mail that mentions 1Password but didn't come from 1Password's domain. Check which domains your genuine 1Password mail comes from first, and add any others to the filter. Match the exact domain and its subdomains, not just the ending, or a lookalike such as fake1password.com slips through. Thanks to David Coombe for spotting that.

kql8 lines
EmailEvents
| where Timestamp > ago(14d)
| where Subject has "1Password" or SenderDisplayName has "1Password"
| where SenderFromDomain != "1password.com"
    and not(SenderFromDomain endswith ".1password.com")
| summarize Emails = count(), Recipients = dcount(RecipientEmailAddress)
    by SenderFromDomain, SenderDisplayName, Subject, DeliveryAction
| order by Emails desc

Anything delivered to inboxes here is worth a closer look in Threat Explorer, and a soft delete if it's a phish.

3. Check pending invitations and recoveries

The exposed tokens belonged to people who were partway through being invited or recovered. In the 1Password admin console, look at who still has an invitation outstanding or a recovery in progress. Cancel anything stale, and confirm any recent recovery with the user over a channel you trust.

4. If you use Unlock with SSO through Entra ID, check that path

For organisations that sign in to 1Password through Entra ID, the SSO sign-in is what stands between an exposed token and an account. Make sure the 1Password is covered by requiring , ideally . Then look at its recent sign-ins. If you send sign-in logs to or :

kql8 lines
SigninLogs
| where TimeGenerated > ago(14d)
| where AppDisplayName has "1Password"
| summarize SignIns = count(),
            Failures = countif(ResultType != "0"),
            Countries = make_set(tostring(LocationDetails.countryOrRegion))
    by UserPrincipalName
| order by Failures desc

A user with a burst of failures, or a country you don't expect, is worth a conversation.

The same attack path into your Azure

Take the password manager out of the story and it reads like this: someone got one engineer's GitHub account and used it to run their own code in production. If your deployments run from GitHub Actions into Azure, that's a path into your subscriptions too. These are the checks I'd make.

Deploy with federation, not client secrets

A stored in GitHub is a password for your Azure app. Anyone who can read the repository's secrets, or run a workflow that prints them, can take it away and use it from anywhere. federation removes the stored secret. GitHub gets a short-lived token for each run, and Entra ID only accepts it if it matches the trust you configured. I covered the trade-offs in finding expiring app secrets with Graph.

Scope that trust to an environment

Federation only helps if the trust is narrow. Microsoft's subject formats for GitHub Actions are:

  • Environment: repo:contoso/infra:environment:Production
  • Branch or tag: repo:contoso/infra:ref:refs/heads/main
  • Pull request: repo:contoso/infra:pull-request

A pull request credential lets workflows triggered by pull requests get an Azure token, so code nobody has reviewed yet can reach Azure. An environment credential is the one to aim for, because a GitHub environment can require a named reviewer to approve each deployment. Turn on Prevent self-review too, so the person who started the run can't approve it. That puts a second person between a stolen account and production, which is exactly what was missing in this attack. Required reviewers on private repositories need a paid GitHub plan, so check yours supports it. Microsoft notes that wildcards aren't supported, so each trust has to be spelled out.

Find what you have today

This PowerShell lists every that trusts GitHub Actions, how tightly each trust is scoped, and whether the app still has client secrets alongside it. It makes one call per app, so it takes a while on a big tenant.

powershell17 lineshover a line number for notes
Connect-MgGraph -Scopes "Application.Read.All"

Get-MgApplication -All -Property Id,DisplayName,PasswordCredentials | ForEach-Object {
    $app = $_
    Get-MgApplicationFederatedIdentityCredential -ApplicationId $app.Id |
        Where-Object Issuer -like "https://token.actions.githubusercontent.com*" |
        ForEach-Object {
            [pscustomobject]@{
                App        = $app.DisplayName
                Subject    = $_.Subject
                Scope      = if ($_.Subject -match ':environment:') { 'Environment' }
                             elseif ($_.Subject -match ':pull-request$') { 'Pull request' }
                             else { 'Branch or tag' }
                HasSecrets = $app.PasswordCredentials.Count -gt 0
            }
        }
} | Sort-Object Scope | Format-Table -AutoSize
What each line does
  1. Line 1: Signs in to Microsoft Graph with the permissions (scopes) listed.
  2. Line 3: Reads application details from Microsoft Graph.
  3. Line 5: Reads application federated identity credential details from Microsoft Graph.
  4. Line 6: Keeps only the items that match the condition.
  5. Line 7: Runs the block once for each item coming down the pipeline.
  6. Line 17: Sorts the results.

Anything scoped to a pull request, or with HasSecrets set to True, goes to the top of the list. User-assigned can hold too, so check those separately if you use them for deployments.

Put GitHub behind Entra ID

If your organisation uses GitHub Enterprise Cloud, connect it to Entra ID for single sign-on. Your Conditional Access policies then decide who gets into GitHub, on what device and with what MFA, just as they do for Microsoft 365. A GitHub account that lives outside your identity provider is one you can't see or switch off from Entra.

My take

1Password's design did its job. The attacker reached the backend and still couldn't touch a vault, because the keys that protect vaults never sit on 1Password's servers. Most of our own systems don't have that safety net. If someone took a developer's GitHub account at Contoso tomorrow, the honest question is how far that would get them in Azure. If the answer is "straight into production with a secret that never expires", fix that before you do anything else on this list.

Sources

More on Security →

Spotted something out of date or wrong? Tell us and we'll fix it.