DEV Community

Cover image for 1Password's GitHub breach stole emails, not vaults
frank chu
frank chu

Posted on

1Password's GitHub breach stole emails, not vaults

1Password's GitHub breach stole emails, not vaults

On November 19, an attacker got into one 1Password employee's GitHub account, pushed malicious code into backend services, and walked out with customer names, emails, and account metadata. Not a single vault was touched — and that split, between what the attacker reached and what they couldn't reach, is the whole story.

What actually happened

1Password disclosed the incident today, November 25, after investigating since November 19. The chain, per their own blog post: an attacker gained access to an employee's corporate GitHub account, used it to access source code and push malicious code to backend services, and that code downloaded administrative data about customers.

What was taken, for a subset of users: names and email addresses, account and user identifiers, account creation and last sign-in times, public keys (public by design), Secure Remote Password protocol parameters, tokens embedded in emailed links for invitations, provisioning, and account recovery, plus other non-secret internal metadata. The attacker also copied source code from private repositories and got into the CI/CD system, which holds infrastructure secrets.

What was not taken: vault contents, the keys that protect vaults, account recovery keys, and the apps and browser extensions. 1Password does not store your account password or Secret Key — that is the sentence the entire disclosure leans on.

What they've done since: disabled the affected GitHub account, revoked the stolen token, removed the access the attacker created, rotated or revoked all internal credentials that may have been exposed, lengthened the codes in invitation and recovery emails from six digits to ten alphanumeric characters, tightened GitHub, CI/CD, and endpoint controls, and brought in independent cybersecurity experts. They say they have validated no internal evidence of user account takeovers using any exposed provisioning token.

The sentence that matters

"The actor used the account to access source code and push malicious code to backend services."

Not "tried to push." Pushed. The blog doesn't say what review gate, if anything, sat between a GitHub push and code running in backend services — and that's the open question. The Hacker News thread picked up on exactly this: if one compromised employee account can land code in production, the code-review and deployment pipeline is part of the incident, not background.

This is also where the architecture paid off, in the exact scenario it was built for. Zero-knowledge means there was nothing on 1Password's servers that could decrypt a vault, so the attacker got admin records, not secrets. But the same incident shows the other side of the ledger: the attacker now holds 1Password's private source code, which makes finding the next vulnerability in the stack easier, and CI/CD secrets had to be rotated wholesale. Vaults held; the build pipeline didn't.

The one number I checked myself

The emailed invite/recovery tokens were only ever usable combined with an SSO sign-in or a code sent to the user's registered email — the token alone couldn't open an account. 1Password lengthened that code from 6 numeric digits to 10 alphanumeric characters, and I ran the numbers:

old code space:  10^6  = 1,000,000 combinations (~20 bits)
new code space:  36^10 = 3,656,158,440,062,976 (~52 bits)
expansion:       ~3.66 billion times
Enter fullscreen mode Exit fullscreen mode

At 1,000 guesses a second, the old 6-digit code falls in about 17 minutes. The new one takes about 116,000 years. (If the alphabet is mixed-case, 62^10 is about 8.4×10^17 — even further out.) Even on the conservative 36-character reading, brute force goes from "an afternoon" to "practically impossible," which is the phrase 1Password used. The token alone was never enough; now the second factor is effectively unguessable too.

What I'd actually do

  • Don't rotate your vault password. Nothing in the vault was exposed, and 1Password doesn't store it anyway — rotation would be theater.
  • Do expect phishing. The attacker has real names paired with real email addresses and knows you're a 1Password customer. Any "1Password invitation" or "account recovery" email from now on deserves a second look: open the app yourself, don't click through.
  • If you were in the small notified group with a pending invite or recovery in flight, follow 1Password's notice directly.
  • Watch for the follow-up. The gap this disclosure leaves open is the push-to-production path: how code from a compromised GitHub account reached backend services, and what gate now stands in between. That's the post worth waiting for.

Caveats, stated plainly

"Subset of users" is 1Password's wording — they haven't said how many, so don't quote a number nobody published. "No evidence of account takeovers" is their internal validation, not an independent audit; the outside experts are validating containment and remediation. And this is day-one disclosure — the blog says it will be updated if anything changes, so treat the details above as the current statement, not the final one.

Sources

Top comments (0)