1
stolen token behind the whole intrusion
19 Nov
the day 1Password began investigating
7 days
GitHub's REST API retention for Git push and clone events
366 days
default maximum lifetime for a fine-grained token
A developer's GitHub token is a production credential
The 1Password incident is not a story about a password manager failing at passwords. The vaults held. What failed was the oldest soft spot in software companies: one engineer's access to source control, used by somebody else, was enough to put new code into backend services and walk out with customer account records.
That is the lesson worth taking from this week, and it applies to almost every company that ships software, whether or not it sells security. If a token can push to a repository that deploys to production, that token is a production credential. It deserves the same controls as a cloud administrator key: a short life, an owner who approved it, a log someone reads, and a second person between it and the servers.
Most organizations do not treat it that way. Developer tokens are created in a minute, scoped broadly so the work does not stall, and forgotten. Classic GitHub tokens have no expiry requirement at all. The audit trail for Git pushes and clones lives in a place many teams never collect from, and GitHub keeps it for 7 days through the REST API.
1Password has not yet said how the token was stolen, what kind of token it was, or how long the attacker had it. It has promised a root cause analysis in the coming weeks, and the details in it will matter. The shape of the intrusion is already clear enough to act on, and we would act on it now rather than wait for the report.
What 1Password says happened
1Password published its disclosure, Update on a security incident involving 1Password's backend systems, on 25 Nov 2026. Everything below about the intrusion comes from that post unless another source is named.
On 19 Nov 2026, 1Password began investigating indications that an attacker had gained access to an employee's corporate GitHub account. The company says the attacker used that account to access source code and push malicious code to backend services, and that the code downloaded administrative data about customers. The attacker also copied source code from private repositories and gained access to the CI/CD system, which 1Password says contains infrastructure related secrets.
The data taken was account records for a subset of users. 1Password lists it as names and email addresses, account and user identifiers, account creation and last sign-in times, public keys, Secure Remote Password (SRP) protocol parameters, tokens present in emailed links for invitations, provisioning and account recovery, and other non-secret account metadata such as internal version and file identifiers.
1Password is just as specific about what was not reached: vaults and the items in them, the keys that protect vaults, account recovery keys, and the 1Password apps and browser extensions. It says it does not store the account password or the Secret Key, so neither was there to take. At no time, the company says, were vault contents accessed by, or available to, the attacker.
What the attacker reached, per 1Password
Way in //
an employee's corporate GitHub account, through a stolen tokenCode //
source copied from private repositoriesBuild //
access to the CI/CD system and the infrastructure secrets it holdsBackend //
malicious code pushed to backend services, which downloaded customer account recordsNot reached //
vaults, vault keys, account recovery keys, apps and extensionsNot disclosed //
how the token was stolen, its type, how long it was used, how many customers
The response, in 1Password's words, was to disable the GitHub account, revoke the stolen token and remove the access the attacker created, rotate or revoke every internal credential that may have been exposed, restore clean versions of the affected service, and tighten internal GitHub, CI/CD and endpoint controls with new detections. It brought in independent experts to validate containment. As a precaution it lengthened the codes in invitation and recovery emails from six digits to ten characters, and it says it found no evidence of account takeover using any exposed provisioning token.
Two gaps are worth naming plainly. TechCrunch reports it is unclear how the attacker gained access to the employee's account, and that 1Password did not say how many customers had information taken. The company has said it serves millions of customers and more than 200,000 businesses, so "a subset" could be large or small. We do not know yet, and we will not guess.
How one GitHub token reached customer records
Read the disclosure as a sequence and it is short. A token gave the attacker an engineer's identity in GitHub. That identity could read private code and could reach the build system. Code pushed under it ended up running on backend services that could read customer records. Each step was a permission the engineer legitimately had.
Figure 01
From one token to customer records
- 01
Token //
A stolen token signs in as an engineer.
- 02
Code //
Private repositories are copied.
- 03
Build //
The CI/CD system and its secrets are reached.
- 04
Deploy //
Pushed code runs on backend services.
- 05
Data //
Those services pull customer account records.
Result //
No server exploit, no stolen database password, one identity.
The step that decides the outcome is the fourth. Copying source code is serious, and source code for a security product is a map for the next attacker. But code theft does not move customer data. The push does. Somewhere between a commit landing in a repository and that code running on a backend service, nothing stopped it.
1Password has not said what that path looked like: whether the push went to a branch that deploys on merge, whether a review was required and bypassed, whether a pipeline secret was used to deploy directly, or whether the change sat in a service with its own release process. Those are exactly the questions the root cause analysis should answer, and exactly the questions every engineering leader should be able to answer about their own systems today.
There is a reason we say the token was the whole perimeter. Look at what the attacker did not need: no vulnerability in a public endpoint, no phishing of a database administrator, no cloud console access. The build and deploy machinery did the rest, because that machinery is designed to take code from a trusted identity and put it into production with as little friction as possible. That is its job. It is also why the identity at the front of it matters so much.
Why the vault held and the backend did not
The part of this incident that went right is instructive. 1Password's vault design assumes the server can be hostile. Vault data is encrypted with keys derived from the account password and the Secret Key, neither of which the company stores, so an attacker with full read access to the backend still holds ciphertext. The SRP parameters taken are, in 1Password's words, not usable to access an account. That is a design decision made years ago paying off in a week like this one.
The account system around the vault was not built to the same assumption, and it did not need to be for most of its life. Names, emails, sign-in times and identifiers are ordinary account data. The tokens in invitation and recovery emails are the sharper item. 1Password says such a token only completes an invitation or recovery when combined with an SSO sign-in or a six digit code sent to the user's registered email, and cannot reach an account on its own. The Hacker News reports the same, and that the small number of affected users have been notified.
The Cloud Security Alliance's research note on the incident reads that as meaning a six digit numeric code appeared to be the only remaining barrier for flows that did not use SSO. That is the CSA's analysis, not 1Password's statement, but it fits the precaution 1Password took: lengthening those codes to ten characters.
For customers, the practical risk now is the one 1Password names: phishing. An attacker who knows a person's name, email address, that they use 1Password, when they created the account and when they last signed in can write a very convincing message about an invitation or a recovery request. 1Password says customers do not need to change anything in their accounts, and that it will never ask for an account password or Secret Key. Both are true, and the second is the line to repeat to every user.
For everyone else, the lesson is about where to draw the trust boundary. The vault survived because its designers decided the server could not be trusted with secrets. Most companies have not made a similar decision about their deploy path. They trust that anything arriving through source control came from the person whose name is on it.
How to detect a stolen GitHub token
The honest starting point is that GitHub's own audit log is the record you need, and many organizations are not collecting the part that matters most. GitHub's documentation is explicit that git.push, git.clone and git.fetch events are not available in the web interface, only through the REST API, audit log streaming, or exports, and that for GitHub Enterprise Cloud those Git events are available through the REST API with 7 day retention.
Seven days is not long. 1Password began investigating on 19 Nov and published on 25 Nov. An organization that notices a problem a week late and has not been streaming its audit log may find the record of which repositories were cloned already gone.
Three groups of events carry most of the signal in an intrusion shaped like this one:
- Bulk reads.
git.clone,git.fetchandrepo.download_zipacross many repositories in a short window, especially from a token or user agent that has not done it before. The docs describerepo.download_zipas a source archive downloaded as a ZIP file. - Changes to who can get in.
public_key.create(an SSH key added to a user or a deploy key added to a repository) andrepo.add_member(a collaborator added). The disclosure says 1Password removed "the access the attacker created", which is the kind of foothold these events record. - Pushes that skip a gate.
git.pushto a protected or deploying branch, andprotected_branch.policy_override, which GitHub logs when a repository administrator overrides a branch protection requirement.
Audit log entries carry fields that tie an action to a credential rather than just a person, including hashed_token, programmatic_access_type, token_scopes and user_agent. That is what lets you ask the question that matters here: is this a new token, a new client, or a new pattern for this engineer?
Figure 02
One token suddenly reading or changing far more than usual
SPL
index=github_audit action IN ("git.clone","git.fetch","repo.download_zip","git.push","public_key.create","repo.add_member","protected_branch.policy_override")
| eval credential=coalesce(hashed_token, "web_session")
| bin _time span=1h
| stats dc(repo) AS repos values(action) AS actions values(user_agent) AS agents BY _time actor credential programmatic_access_type
| eval risky=if(isnotnull(mvfind(actions, "policy_override|public_key.create|repo.add_member")), 1, 0)
| where repos > 10 OR risky=1Pair that with the build side. A CI/CD system that holds infrastructure secrets should log every job, who or what triggered it, and which secrets it read. A deploy to production that traces back to a push nobody reviewed should page someone, not appear in a weekly report.
If you run 1Password yourself, the response is narrower. 1Password says no action in the account is needed. Warn users about invitation and recovery phishing, and treat any unexpected recovery request in your organization as something to verify with the person directly, through a channel you already trust.
How to lock down developer tokens and CI/CD
None of the controls below is new. What this incident adds is a clear reason to finish them.
Restrict classic tokens. GitHub lets an organization restrict personal access tokens (classic) from accessing its resources, and by default both classic and fine-grained tokens are enabled. Classic tokens have no expiration requirement. If a token can live forever, it can be stolen in a year you are not watching. One caveat from GitHub's own documentation: SSH keys created by personal access tokens continue to work after a restriction, so the restriction is not a cleanup on its own.
Require approval and a lifetime on fine-grained tokens. An organization can require an owner to approve each fine-grained token that can reach its resources, and that is the default setting. The default maximum lifetime for fine-grained tokens is 366 days. We would set it much shorter for anything that can write to a repository that deploys. GitHub notes that a lifetime policy blocks non-compliant tokens from the organization without revoking them, which is the behavior you want when rolling it out.
Put a second person between a push and production. Branch protection or rulesets on every branch that deploys, required reviews from someone other than the author, and no bypass for the people who hold admin. Then watch protected_branch.policy_override, because an override is exactly what an attacker holding an admin's token would do.
Keep long-lived secrets out of CI/CD. 1Password says its CI/CD system contains infrastructure related secrets. Most do. Short-lived cloud credentials through OIDC federation, scoped to one repository, one branch and one environment, mean that reaching the pipeline does not hand over a key that works anywhere. Our CI pipeline secrets and OIDC trust review walks through how we check this, and the GitHub Actions checker flags risky workflow triggers and token permissions before they ship.
Stream the audit log. If the 7 day REST window is the only record of Git activity, the first week of an investigation is a race against deletion. Streaming the audit log to the SIEM you already run is the control that makes the Detection block above possible at all.
Separate who can read customer data from who can write code. The backend services in this incident could download customer account records. Not every service needs that, and the ones that do can be the ones with the slowest, most reviewed release path. That decision is architecture, not tooling, and it is the one that would have changed what the pushed code could reach.
If a developer's token is ever suspected stolen, the playbook is the same as for any stolen session: revoke first, then find everything the credential created, because removing the token does not remove the deploy key or the collaborator it added. Our stolen session token response walkthrough covers that order.
How we test source control on an engagement
On an assumed breach or red team engagement, source control is one of the first places we look once we hold a developer's access, because it so often leads somewhere more valuable than the laptop it came from. The questions are the ones this incident raises: what this identity can read, what it can push, whether a push to that branch deploys, what the pipeline holds, and whether anyone would notice.
We do not need to push malicious code to a client's production system to answer them. The proof is in the configuration: the branch rules, the token policy, the pipeline's triggers and the trust conditions on its cloud roles. Where a path exists, we show it on a repository created for the test, with the client's written agreement, and stop there. Our Git history secret exposure review covers the related check of what the repositories themselves give away.
This is the same class of finding as the Qubole cross-account role attack: access that a supplier or an engineer was given for a good reason, still answering when someone else holds it. The open source tools we publish on our open source page include checks built for exactly that kind of review.
What is still coming is 1Password's root cause analysis. The detail we will read first is how the token was obtained, because the answer changes which control would have stopped it: a token in a public repository, a compromised developer machine, a malicious package or extension, or a session stolen from a browser all point to different fixes. Until then, the defensible position is the one this post argues for. Assume the token on any engineer's laptop could be in someone else's hands tomorrow, and make sure that alone is not enough to reach production.
What to do today
Map which repositories deploy to production, and who can push to them. That list is the set of tokens that are production credentials, whatever they are called.
Restrict classic personal access tokens in every GitHub organization you own. Then require approval and a short maximum lifetime for fine-grained tokens that can write.
Stream the GitHub audit log to your SIEM this week. Git push and clone events are kept for 7 days through the REST API; the Detection block above needs them.
Require review on every deploying branch, with no admin bypass, and alert on overrides. A stolen admin token should not be able to skip the gate quietly.
Replace long-lived cloud keys in CI/CD with short-lived OIDC credentials. Reaching the pipeline should not hand over infrastructure secrets that work anywhere.
If you use 1Password, warn users about invitation and recovery phishing. 1Password says no account changes are needed and it never asks for a password or Secret Key.
SOURCES
- 1Password // the incident disclosure: the GitHub account, the stolen token, the CI/CD access, what was and was not affected
- TechCrunch // how the account was accessed and how many customers were affected are both undisclosed
- The Hacker News // the link tokens need SSO or a six digit code to be used, and the affected users were notified
- GitHub Docs // the audit log events for pushes, clones and branch protection overrides, and the 7 day retention on Git events
- GitHub Docs // the organization token policy: restricting classic tokens, approval and maximum lifetime for fine-grained tokens