1Password disclosed on November 25, 2026 that an attacker had used an employee's corporate GitHub account to reach source code and push malicious code to backend services. Those services then downloaded customer account records. Vault contents were not affected, according to 1Password's incident post, but the path the attacker took is the part worth studying. It ran from one developer identity to production data, and the disclosure names no software vulnerability along the way.
What 1Password has said happened
1Password says it began investigating on November 19, 2026 after indications that an employee's corporate GitHub account was compromised. The attacker copied source code from private repositories and gained access to the CI/CD system, which holds infrastructure secrets the product needs to run. The downloaded account records include names, email addresses, account and user identifiers, sign-in timestamps, public keys, Secure Remote Password parameters and tokens from emailed invitation, provisioning and recovery links.
The company's response list is informative. It disabled the account, revoked "the stolen token" and removed access the attacker created, then rotated credentials that may have been exposed. It also says it tightened internal GitHub, CI/CD and endpoint controls and added detections for this kind of attack. BleepingComputer's coverage adds that the recovery and invitation codes went from six digits to ten alphanumeric characters, and that the company reports no evidence of account takeovers.
1Password has also said a root cause analysis is coming in the following weeks. Until it lands, how the account was taken over is unknown. The disclosure mentions a stolen token, but it does not say whether that was a session, a personal access token or something else. Treat everything below as design guidance drawn from the stages the disclosure names, not as a reconstruction of 1Password's environment.
Where does the chain break?
The disclosed stages are a compromised identity, access to private repositories, malicious code reaching a backend service, and CI/CD access. Each is a place to put a control.
Identity. A stolen token is a stolen login that skips your MFA prompt. Inventory which token types your organization permits, and prefer short-lived ones. GitHub's audit log has a personal_access_token category for fine-grained tokens, an auto-approval category for token requests, and categories for OAuth apps and integration installations. Require approval for tokens and apps, and alert when a new one appears for a user with write access to a production repository.
Repository. Access to read source is not the same as the right to change what ships. Protect release branches so that a push needs a second person's review, and make sure the account that wrote the change cannot also approve it. The audit log has a protected_branch category and a workflows category. A rule that gets weakened or removed shortly before a push is a signal you want paged, not reviewed next quarter.
Pipeline. This is the stage where one developer's access becomes the company's access. GitHub environments let you attach required reviewers, a wait timer and deployment branch rules, and a job that references an environment must satisfy those rules before it runs or sees the environment's secrets. Two settings matter most: "Prevent self-review", so the person who triggered a run cannot approve it, and unticking "Allow administrators to bypass configured protection rules". Be aware of a catch in the same documentation: anyone who can edit workflows can create an environment through a workflow file, and a new one starts with no protection rules or secrets. Protection therefore has to live on the environment that holds the production credentials, and workflow edits need their own review.
Can the pipeline hold fewer secrets?
1Password says CI/CD contains infrastructure related secrets and that it rotated everything that may have been exposed. That rotation is a large job precisely because the secrets were there to be taken. The less a pipeline stores, the shorter that list.
GitHub's documentation describes the alternative. With OpenID Connect, a workflow requests a short-lived access token from the cloud provider instead of presenting a stored secret, and the token is valid for a single job. The cloud role's trust policy checks claims in the token, such as the repository, the environment and the branch. A trust policy that only accepts the prod environment on the main branch of one repository means a stolen developer token pushing to a feature branch gets nothing from the cloud. The example token in the documentation shows those fields, including the environment, ref, actor and workflow that ran.
The same documentation notes organizations can add repository custom properties, such as a data classification, as claims, so access decisions can follow how sensitive a repository is. Tag the repositories that can reach customer data, and write cloud trust conditions against that tag.
What should the audit log tell you?
GitHub's organization audit log records the actor, the repository, the action, the country and the time. You can filter by actor, repository, operation and country, export JSON or CSV, and look back 180 days. API access to the log is available for GitHub Enterprise Cloud. Webhooks are an alternative if you want events streamed. The retention limit means you should ship events to your own log store, because an investigation that starts in month seven has nothing to read.
Build detections from combinations, since single events are noisy:
- A first-ever sign-in or token creation for a user from a country the audit log has not seen for them.
- A new token, OAuth app or integration installation followed by repository access across many private repositories.
- Changes to branch protection or workflow files, then a deployment, from the same actor inside a short window.
- Deployments to a production environment that no reviewer approved, or that ran from a branch outside the allowed list.
Which of these 1Password's new detections cover is not stated, and we would not guess. Their post says only that detections for this kind of attack were added.
What to do this week
Pick the one repository that deploys to the system holding customer data. Check four things: who can push to the release branch, whether the production environment has required reviewers with self-review disabled, whether cloud credentials in the pipeline are stored secrets or OIDC-issued, and whether audit events leave GitHub for a log store you control. Then ask your vendors the same questions about their own pipelines, since the stolen data in this case belonged to customers.
This is the kind of work we do under green team: threat modelling the path from repository to production and setting the permissions so a single stolen identity stops short of customer data. When 1Password publishes its root cause analysis, check the identity stage against your own token policy first.