r/devsecops • u/m4uri • 2d ago
1Password breach: one employee GitHub account was enough to get malicious code into backend services
1Password published details on Nov 25. On Nov 19 they started investigating signs that an employee's corporate GitHub account had been taken over. With it the attacker copied private repos, got into CI/CD and pushed malicious code to backend services. That code pulled account records for a subset of customers (names, emails, IDs, timestamps, SRP parameters, some invite/recovery tokens). Vaults and keys were not affected. CI/CD holds infra secrets, all potentially exposed credentials were rotated.
What's not public yet: how the account was compromised and how the push made it into running services. RCA is promised in the coming weeks, so I'm not guessing about thier pipeline. But it's a good excuse to check our own:
- Org-wide MFA, ideally phishing-resistant (security keys or passkeys), plus SSO enforcement so offboarding actually kills access.
- Fine-grained PATs with expiry and org approval. Classic PATs with repo scope and no expiry are the thing you dont want lying on a dev laptop.
- Rulesets / branch protection on anything that deploys: required reviews, CODEOWNERS, no direct pushes, no admin bypass by default.
- Deploy only through environments with required reviewers, not from any branch someone can push to.
- CI secrets via OIDC and short-lived cloud credentials instead of long-lived static secrets in the pipeline.
- Stream the audit log somewhere and alert on new PATs, SSH keys, deploy keys, OAuth/GitHub App installs and changed branch rules.
Source: https://1password.com/blog/update-on-nov-2026-security-incident
In your setup, could a single compromised developer account get code into production without a second person approving it?
2
u/GoodySpeed2899 1d ago
Separate CI from CD. Use another tool like Argocd or Fluxcd that prevents deployment without review
1
u/instructiveslugger5 2d ago
We push to main and that's prod, so yeah, same boat.