If an attacker can use one employee’s GitHub account to read your source code, reach your CI/CD system and push changes to backend services, that account is production access, and it needs the controls you give production. 1Password’s November 25 incident update, which describes exactly that sequence, is the clearest recent example, and I think every team that holds customer data should read it as a prompt to review its own source-control accounts.
What the update says
1Password says it began investigating on November 19 after finding indications that an attacker had gained access to an employee’s corporate GitHub account. In its words, “The actor used the account to access source code and push malicious code to backend services, which downloaded administrative data pertaining to our customers.” The records included names and email addresses, account identifiers, public keys and tokens from some invitation and recovery emails. The company says the attacker also copied source code from private repositories and gained access to its CI/CD system, which holds infrastructure secrets.
The company is clear about what held. It says no vault contents, vault keys or account recovery keys were reached, and that it has found no internal evidence of account takeover through the exposed tokens. It disabled the GitHub account, revoked the stolen token, rotated credentials, tightened its GitHub, CI/CD and endpoint controls and lengthened the codes in invitation and recovery emails from six digits to ten characters. The update does not say how the account was taken over, and I will not guess.
The CI/CD detail matters most. 1Password says that system holds infrastructure-related secrets the product needs in order to work, and that it triggered a rotation of every credential that may have been exposed. That is the right response. It is also a measure of the cleanup bill, because every secret a pipeline can read is a secret someone must rotate when one login falls. A team that knows which secrets each pipeline holds can scope that rotation quickly. A team that does not will find out during the incident.
The strongest objection
The best argument against my position is that the design worked. Vaults are encrypted with keys 1Password does not hold, so a backend compromise could not expose them, and the company’s specific disclosure is what other vendors should copy. Developer accounts must also stay convenient, the argument goes, or engineers route around the controls.
I accept the first half. Limiting what a stolen account can reach is exactly the design principle I am asking for, and the vault architecture shows it works when it is applied. The second half does not hold for source control. The path in this incident ran from an employee account to backend services and customer administrative records, and none of those steps required a vault key. The same path exists in most companies, and the data at the end of it is whatever the backend serves.
Treat the account as production
The UK’s NCSC listed “credentials mistakenly committed to code repositories” among the weaknesses attackers use in its November 24 guidance on agentic attacks, written by Kris B, an incident handler at the agency, with two colleagues. Source control is where secrets and deployment rights meet, so it gets production rules:
- Require a phishing-resistant authenticator for every account that can push code or edit pipelines, and rotate to short-lived tokens in place of long-lived personal ones.
- Make a second person approve every change to a branch that deploys to a backend service, so one account cannot push code that runs with customer data access.
- Split CI/CD secrets by pipeline and environment, and let a build reach only the credentials its own job needs.
- Alert when a token is used from a new location, when a branch protection rule changes and when a pipeline definition is edited.
- Review who holds organisation-level GitHub access each quarter, and remove it from anyone who does not need it.
None of this is exotic. Cutting what a CI identity can reach was our advice after a poisoned package, and the wfx-loot campaign that used 4,837 compromised GitHub accounts showed how much sits behind these logins.
Start with the list of accounts that can push to a deploying branch. If a single stolen credential could change what your backend does, you have found the first account to fix.
Source: 1Password, Update on a security incident involving 1Password’s backend systems