1Password Breach: One Stolen GitHub Token Let an Attacker Push Code to Production and Pull Customer Records
Introduction
1Password disclosed on November 25, 2026 that an attacker took over an employee's corporate GitHub account. With it, the attacker copied private source code, reached the company's CI/CD system, and pushed malicious code to backend services, which then downloaded account records for a subset of customers. 1Password says vaults, vault keys, account passwords, Secret Keys and recovery keys were never exposed, and that customers don't need to change anything. What leaked is exactly what a targeted phishing campaign needs: names, emails, account IDs and invitation and recovery tokens. Treat any unexpected 1Password email as hostile. If you run a GitHub-to-production pipeline yourself, ask whether a single stolen account could do the same to you.
What Happened
1Password started investigating on November 19 after finding signs that an attacker had access to an employee's GitHub account. Its disclosure says the attacker:
- copied source code from private repositories
- gained access to the CI/CD system, which held infrastructure-related secrets
- pushed malicious code to backend services, which then downloaded administrative account data for a subset of users
Records taken, per 1Password:
| Data | 1Password's note |
|---|---|
| Names and email addresses | — |
| Account and user identifiers, creation and last sign-in times | — |
| Public keys | Public by design |
| SRP protocol parameters | "Cannot be used to access your account" |
| Tokens in emailed invitation, provisioning (SCIM Bridge / Hosted Provisioning) and account-recovery links | A small number of users were in this state and were notified individually |
| Non-secret internal metadata (version and file identifiers) | — |
What 1Password says the attacker did not reach: vaults and their contents, the keys protecting vaults, account recovery keys, and the 1Password apps and browser extensions. 1Password says it never stores account passwords or Secret Keys at all.
Its response, as stated:
- disabled the GitHub account, revoked the stolen token and removed access the attacker had created
- rotated or revoked every internal credential that may have been exposed, including CI/CD secrets
- tightened GitHub, CI/CD and endpoint controls and added detections for this kind of attack
- lengthened the verification codes in invitation and recovery emails from six numeric digits to ten alphanumeric characters, because that code was the remaining barrier for anyone holding a leaked emailed token
- found no evidence of account takeover using the exposed provisioning tokens, and brought in outside responders to validate containment
A root-cause analysis is promised "in the coming weeks." Until then, several basics are not public: how the GitHub token was stolen and what type it was, how long the attacker had access, exactly how a push became running production code, and how many customers were affected. Cloud Security Alliance and other analysts infer that the push rode the normal CI/CD deploy path. That is a reasonable reading of the disclosure, but 1Password hasn't confirmed it.
Why It Matters
For 1Password users, the cryptography held. Vault data is encrypted with keys derived from both your account password and your 128-bit Secret Key, and neither ever reaches 1Password's servers. CSA's analysis makes the point that the Secret Key is what keeps offline guessing against the leaked SRP parameters impractical. The realistic threat is social engineering: an attacker who knows your name, email, account ID and when you last signed in can write a very convincing "recovery" or "invitation" email. 1Password never asks for your password or Secret Key, so anything that does is phishing.
For engineering teams, this is the real story. A secrets broker built to survive a full server breach was still hurt, because a single developer identity could ship code that ran in production. Branch protection, deploy approvals, short-lived credentials and CI secrets scoping all exist to stop exactly that, and the attacker got from one GitHub token to customer data anyway. Most organizations run pipelines where a merged commit deploys automatically. If one engineer's token, laptop or session cookie is stolen, the question is whether that alone is enough to put code in production, and in many pipelines it is.
Who Is Affected
- A subset of 1Password customers whose account records were downloaded. 1Password has published no count and no split between Individual, Families, Teams and Business accounts.
- A smaller group with pending invitation, SCIM/hosted provisioning or recovery links at the time. 1Password says it notified them directly.
- Not affected, per 1Password: vault contents, vault keys, account passwords, Secret Keys, recovery keys, and the apps and extensions.
- Indirectly: every organization whose employees use 1Password should expect targeted phishing that uses the leaked metadata.
How to Protect Yourself
1. 1Password users: phishing discipline
- Don't act on unexpected emails, texts or calls about 1Password invitations, recovery or "security checks." Open the app or type
1password.comyourself. - Never enter your account password or Secret Key anywhere except the official app or the official website you typed in.
- Report suspicious contact to
support@1password.com. - No password or Secret Key change is required, according to 1Password. If you want to rotate anyway, that's harmless.
2. 1Password admins: review the account
In the admin console, check the Activity Log and Recovery history since November 19 for invitations, recovery requests and provisioning events nobody on your team started. Then look for pending invites and unexpected users from the CLI:
op signin
op user list --format json | jq -r '.[] | [.email, .state, .type] | @tsv' | sort -k2
op user list --format json | jq -r '.[] | select(.state != "ACTIVE") | .email + "\t" + .state'
Cancel any pending invitation or recovery you can't explain. If you use SCIM Bridge or Hosted Provisioning, confirm that the users it created since November 19 match your identity provider.
3. DevOps teams: make one stolen account insufficient to reach production
Inventory long-lived tokens that can write to your repos. For organizations that use fine-grained PAT approval and SAML SSO:
# fine-grained PATs with org access (requires org admin)
gh api --paginate /orgs/ORG/personal-access-tokens \
| jq -r '.[] | [.owner.login, .token_name, .token_expires_at // "never", .token_last_used_at // "-"] | @tsv'
# SAML-authorized credentials (classic PATs, SSH keys)
gh api --paginate /orgs/ORG/credential-authorizations \
| jq -r '.[] | [.login, .credential_type, .credential_authorized_at, .credential_accessed_at // "-"] | @tsv'
Revoke tokens that never expire or haven't been used in 90 days. Then require reviews on what deploys, enforced for admins too:
# require 2 approvals, code-owner review and dismissal of stale reviews on main
gh api -X PUT /repos/ORG/REPO/branches/main/protection --input - <<'EOF'
{
"required_pull_request_reviews": {"required_approving_review_count": 2, "require_code_owner_reviews": true, "dismiss_stale_reviews": true},
"enforce_admins": true,
"required_status_checks": {"strict": true, "contexts": []},
"restrictions": null
}
EOF
Put production deploys behind a GitHub Environment with required reviewers, so merging alone doesn't ship. Swap static cloud keys in CI secrets for OIDC federation with short-lived credentials scoped to that environment.
4. Hunt your own GitHub audit log for the pattern
On GitHub Enterprise Cloud, look for pushes and token activity that don't match how your developers normally work, such as a new IP, odd hours, or direct pushes to protected branches:
gh api --paginate "/orgs/ORG/audit-log?phrase=action:git.push+created:>=2026-11-01&per_page=100" \
| jq -r '.[] | [.["@timestamp"], .actor, .repo, .actor_ip // "-", .programmatic_access_type // "web"] | @tsv' \
| sort | tail -100
gh api --paginate "/orgs/ORG/audit-log?phrase=action:protected_branch+created:>=2026-11-01" \
| jq -r '.[] | [.["@timestamp"], .actor, .action, .repo] | @tsv'
Alert on any change that disables or weakens branch protection, on new deploy keys, and on workflow file edits merged without review.
5. Assume source code theft is permanent
If private repos are copied, the attacker keeps them. Scan your repositories and their history for secrets, and rotate everything you find, because "it was only in a private repo" no longer protects it:
gitleaks detect --source . --log-opts="--all" --redact --report-path gitleaks-report.json
jq -r '.[] | [.RuleID, .File, .Commit[0:8]] | @tsv' gitleaks-report.json | sort -u
6. Watch for the root-cause analysis
1Password has promised a full RCA. When it lands, the useful details for defenders will be how the token was stolen and which pipeline control failed. Compare them against your own setup.
Source
- 1Password — Update on a security incident involving 1Password's backend systems
- BleepingComputer — 1Password customer data stolen after employee GitHub account breach
- Cloud Security Alliance — 1Password Backend Breach: When the Secrets Broker Is the Target
- Shattered — 1Password Data Breach: CI/CD Hit, 3 Token Types, 0 Counts
- GitHub Docs — Managing personal access tokens in your organization