r/devsecops • • 8d 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?

21 Upvotes

10 comments sorted by

2

u/GoodySpeed2899 7d ago

Separate CI from CD. Use another tool like Argocd or Fluxcd that prevents deployment without review

1

u/eqza1 7d ago

Or just environment approval gates

2

u/GoodySpeed2899 7d ago

In most projects, there are 1 or 2 developers. The environmental approval gates are not practical

2

u/eqza1 7d ago

Gotta find a balance between devex and security. If 1 person can push straight to production then they are a security risk

1

u/NebulaElectrical1467 7d ago

This is basically every software company though

1

u/eqza1 7d ago

Times changing

1

u/instructiveslugger5 8d ago

We push to main and that's prod, so yeah, same boat.

1

u/alao77 8d ago

Wow, all devs can push to main? We have a sole release manager for that and we call him Peter (not real name).

1

u/MidnightOwn32 4d ago

For a one- or two-person team, a protected release path doesn’t have to mean a dedicated release manager. A required review from another team member, even just for production changes, can add a useful check without slowing every branch.

1

u/natitasha 1d ago

Supply chain security needs controls beyond GitHub access. RapidFort reduces container image attack surface by removing vulnerable components. Signed images, restricted CI permissions, and deployment approvals strengthen the release process.