Attacks
1Password hacked: what would an attacker learn from your repo?


Technical writer
8 min
1Password was hacked through one employee's corporate GitHub account. With that account, the attacker copied private source code, reached the continuous integration and continuous delivery (CI/CD) system, and pushed malicious code to backend services. That code downloaded names, email addresses and other account data for a subset of customers. The password vaults stayed out of reach, because 1Password built them on the assumption that its own servers could fall.
That assumption is the real lesson of the incident. It worked for the vault. For any team that writes its own software, the question is less comfortable: if your repository leaked today, what would the attacker learn from it, and what could the attacker ship with it?
What happened in the 1Password hack?
On November 19, 2026, 1Password started to investigate signs that an attacker had gained access to an employee's corporate GitHub account. Six days later, it published the details in an update on its blog. 1Password has not dated the attacker's steps or said how long the attack lasted. These are the steps, as 1Password describes them:
The attacker gets access to the employee's corporate GitHub account. In its response, 1Password mentions a stolen token, but it does not say how the attacker got it.
The attacker uses the account to read source code and copy private repositories.
The attacker reaches the CI/CD system, which holds infrastructure secrets that the product needs to work.
The attacker pushes malicious code to backend services. That code downloads administrative data for "a subset" of customers.
After the detection on November 19, 1Password disabled the account, revoked the stolen token, rotated exposed internal credentials and lengthened its invitation and recovery codes. It disclosed the incident on November 25.
Exposed, according to 1Password | Not exposed, according to 1Password |
|---|---|
Names and email addresses | Vault contents and vault items |
Account and user identifiers, creation dates and last sign-in times | Account passwords and Secret Keys (1Password does not store them) |
Public keys | Keys that protect the vaults |
Secure Remote Password (SRP) parameters | Account recovery keys |
Tokens in invitation, provisioning and recovery emails | Apps and browser extensions |
Non-secret internal metadata |
1Password has not said how the attacker got the token, how many customers were affected or who is behind the attack.
Why did the 1Password vaults hold?
The vaults held because 1Password cannot read them either. Its model is a zero-knowledge architecture: the provider stores only data that it has no key to decrypt. All encryption happens on the user's device, and the keys that open each vault are protected by two secrets: the account password and a 128-bit Secret Key. Neither secret reaches 1Password's servers.
The stolen SRP parameters follow the same logic. Secure Remote Password (SRP) is a protocol that lets a client prove that it knows a password without sending the password. According to 1Password, the parameters cannot be used to access an account.
None of this design is secret. 1Password publishes it in its Security Design White Paper (release 0.5.3, October 2026). The paper states that a security design that depends on secrecy has weaknesses. This is Kerckhoffs's principle, from 1883: a system must stay secure even when the attacker knows everything about it except the key. 1Password applied that principle to the vault. The incident shows where it is harder to apply: the repository and the pipeline.
How did one GitHub account reach the backend?
One account was enough because, at 1Password as in many software companies, a developer identity is a path to production. The chain in this incident has four links:
A developer identity: the employee's corporate GitHub account.
The source code: the private repositories that the account could read.
The pipeline: the CI/CD system and its infrastructure secrets.
Production: the backend services that ran the attacker's code.
Each link trusted the one before it. The vault design did not trust any of them, so the vaults survived. The account data on the backend did not have that protection.
Some questions are still open, so we treat our answers as working hypotheses. We do not know if the push went through code review or around it. We do not know if branch protection was active, or which permissions the stolen token had. A token without write access would have let the attacker read code, but not push it.
The vault was zero-knowledge. The pipeline was not zero-trust.
What can attackers do with the stolen 1Password data?
The stolen data is raw material for targeted phishing. A message that knows your name, your 1Password email, the date you created the account and the date you last signed in looks real. Invitation and recovery tokens make it more convincing.
1Password says that the tokens alone do not give access. An attacker also needs a single sign-on (SSO) login or the code that 1Password sends to the user's registered email. That code had six digits, which is 1,000,000 combinations: a small space if nothing limits the attempts. As a precaution, 1Password changed it to ten alphanumeric characters. The company also says it found no evidence of account takeovers with the exposed tokens.
1Password says its users do not need to take action. Two habits still apply:
Distrust emails, texts or calls about invitations or account recovery that you did not start.
Type your account password and Secret Key only in the official app, or on a web address that you typed yourself. 1Password says it will never ask for them.
Have we seen this attack chain before?
Yes. In the four cases below, the attack did not start with the product. It started with an identity or a device that had privileged access, at the company or at one of its providers.
Year | Company | Entry point | Result |
|---|---|---|---|
2026 | 1Password | An employee's corporate GitHub account | Source code, CI/CD access and customer account data |
2026 | Binance | A DevOps engineer's laptop, according to Binance's preliminary findings | About USD 6.3 billion withdrawn (our analysis) |
2023 | 1Password | A breach of the support system at Okta, its identity provider | Suspicious activity on its Okta instance; no user data accessed, per 1Password |
2022 | LastPass | A software engineer's corporate laptop, then a DevOps engineer's home computer | Source code and internal secrets first; then cloud backups with encrypted vault data |
LastPass is the case that users remember. In August 2022, it also reported stolen source code and no customer data. The attacker then used what it took to target a DevOps engineer's home computer, steal decryption keys and copy cloud backups with vault data, as LastPass explained later. Nothing that 1Password has published points to a second phase. Still, LastPass shows why "no vault data was accessed" is not the end of the story.
How do you write code that is useless to whoever steals it?
Assume that your repository will leak, and then remove its value for an attacker. A leaked repository gives an attacker two things: what it can read and what it can change. The four controls below are ones we cover.
Some links of the chain are outside what we test. Phishing-resistant multi-factor authentication (MFA) for developer accounts, short-lived tokens with minimum permissions, branch protection with required review, and endpoint security belong to your identity and IT teams. Those controls decide if a stolen account can push code at all.
1. Keep secrets out of the repository and the pipeline
A secret in a repository is a key that ships with every copy. Secret scanning searches code, configuration files and infrastructure as code (IaC) for credentials such as API keys, tokens and private keys. Our Secret Scanning detects more than 290 types of secrets. For about half of them, it asks the provider if the secret is still active. It runs in CI/CD pipelines and as a GitHub Action on each push or pull request, so a new secret appears in the report before it reaches the main branch.
LastPass shows the cost. In its first incident, the attacker took internal scripts from the repositories that contained LastPass secrets and certificates. LastPass says that information from that incident was used to launch the second one. In the 1Password case, the CI/CD system held infrastructure secrets, and the company had to rotate them. Fewer secrets in reach means fewer secrets to rotate after a breach.
2. Find the vulnerabilities before the attacker reads the code
A leaked repository turns every attacker into a white-box tester. Static Application Security Testing (SAST) analyzes source code without running it and finds known vulnerability patterns at scale. Our AI SAST adds a generative AI model that evaluates each function in its context.
Pattern matching misses flaws in business logic, for example a recovery flow that accepts a token issued for another account. For those flaws, our security analysts do Secure Code Review: a manual review of the code, read as an attacker would read it. In our process, SAST and Software Composition Analysis (SCA) run first. SCA checks third-party dependencies for known vulnerabilities, and the findings of both guide the manual work. We explain the difference in our post about secure code review.
The goal is that a stranger who reads your code finds nothing that you have not already found and fixed.
3. Stop vulnerable builds before production
CI Gate is a security gate in the CI/CD pipeline. It breaks the build when the code has open vulnerabilities that your policy does not accept, for example above a minimum Common Vulnerability Scoring System (CVSS) score. In its GitHub Action, combined with branch protection rules, it also blocks merges of vulnerable code.
We also report insecure pipeline configuration. One example from our standard is a GitHub Actions workflow that uses a third-party action without pinning it to a commit. An unpinned action lets an upstream change run inside your build, as the tj-actions/changed-files compromise showed.
One limit matters here. CI Gate stops known vulnerabilities. It does not stop a push from an attacker who has valid credentials.
4. Make recovery flows hard to guess
Invitation and recovery flows are authentication under another name. 1Password's change from six numeric digits to ten alphanumeric characters shows how much depends on code length and attempt limits.
In Penetration Testing as a Service (PTaaS), our pentesters attack these flows by hand. They try brute force, token reuse, tokens that never expire and tokens that work for the wrong account. Scanners seldom find these flaws, because each flow has its own logic.
Read your repository as if an attacker already has it
Start with one exercise. Pick the repository that deploys your authentication service and read it as an attacker would. List every secret in it, every token flow it handles and every person and token that can push to it. That list is your exposure if the repository leaks tomorrow.
At Fluid Attacks, we combine our AI, our AppSec tools and our pentesters to find what attackers would find in your code, before they get the chance. Start a 21-day free trial, or contact us to plan a test of your pipelines and recovery flows.
FAQ
Should I change my 1Password account password?
1Password says that no action is required, because account passwords and Secret Keys were not exposed. PCWorld recommends a change anyway, as a precaution. A new password does no harm. It does not address the main risk of this incident, which is phishing with the stolen data.
Is it still safe to use a password manager?
This incident supports the case for one: the attacker reached 1Password's backend and still could not read a vault. We cover the benefits and risks in Your password manager was hacked. If you prefer to keep your vault off the cloud, a local password manager such as KeePassXC is an option, but you lose sync and sharing features.
Were the 1Password apps or browser extensions affected?
1Password says no. The malicious code ran on backend services, not in the apps or extensions. The company also reports "no impact to 1Password's services, availability, or product security." Read that claim narrowly: the backend still ran the attacker's code and exposed account data. 1Password also hired independent security experts to validate its containment and remediation.
Find your secrets before attackers do, with Secret Scanning
Tags:
credential
code
devsecops
company
risk
security-testing
Subscribe to our newsletter
Stay updated on our upcoming events and latest blog posts, advisories and other engaging resources.
Other posts























