1Password Security Incident

(1password.com)

72 points | by lxhrstn 29 minutes ago

11 comments

  • tptacek 13 minutes ago
    This is the single most important attack vector for SAAS companies. It has been for a long time --- this is the standard fact pattern for every SAAS breach --- but much more so today. As the number of employees grow, the likelihood that one of their laptops will get compromised approaches 1. When that happens, the attacker will be able to push code to Github, and if that code gets deployed, you're owned.

    In 1Password's case, the absolute worst-case catastrophe is mitigated by the fact that customers retain custody of their unlocking secrets; 1Password (at least in the normal product flows) simply doesn't hold it. But an attack like this implicates every catastrophe short of that worst case.

    Change velocity in 2026 is unreal and that trend is going to continue. You could not outcompete 1Password by building a handcrafted artisanal password manager backend (witness all the commercially successful password managers that don't even share 1Password's customer secret custody model). You have to accept insane PR rates as a premise to do modern SAAS security.

    So the question then becomes: what is review? It's not what r/programming assumes it is; you almost certainly can't literally have a team of people line-by-line reviewing PRs anymore, at least not across the whole codebase (you can and should probably do a threat model for your codebase and institute stuff like that on a case-by-case basis, though). What you can realistically expect to review for is change provenance; a human developer signoff of some sort. But it's tricky! The attacker owns your email during the window of attack.

    I think this is a fun problem to noodle on, and someone could probably come up with something here that would make a real difference.

    • stanmancan 7 minutes ago
      A few months ago I updated my workflow so my git signing keys are in 1Password. All commits and git pushes require my finger print. It's a bit annoying, but at least I can feel a bit more confident that I was present for the commits and pushes.
    • toomuchtodo 2 minutes ago
      > I think this is a fun problem to noodle on, and someone could probably come up with something here that would make a real difference.

      Human review when able, static and dynamic code analysis, and a once through of a GenAI code security product gating releases. In production operating infra gets constant adversarial agentic testing.

      I cannot trust our engineers to provide accurate documentation, threat models, attack surface and an up to date inventory of potential entry points, etc. But I can treat entire systems as a formal proof I am constantly building systems to test and attempt to solve for. And so, we do.

      (n=1 as someone who runs appsec in an org)

    • grey-area 9 minutes ago
      What I'm worried about here is that it sounds like they had access to all the source code, so they'll be able to far more easily find vulnerabilities across the 1password stack now.

      They also have access to things like reset tokens that were set in the db, though 1pass have since changed criteria for those to invalidate old ones. Sounds like they had full access to pretty much all internal systems from the update.

      I was just persuaded to set up a 1password online account a few days ago after years of resistance to their all-online model, and now received this email. Sigh.

    • gib444 9 minutes ago
      What password manager do you use?
  • ChrisHardie 17 minutes ago
    Longtime 1Password user here who maintains a local-only vault (and is therefore stuck on older versions of their apps/extensions) out of concern for incidents like this.

    I've read their architecture docs about why online vaults are safe, and I understand that they have more resources to throw at securing infrastructure than I do. But "malicious actor pushes code to production services" seems like exactly the foundation for someone to eventually insert themselves into the middle of a user's access to decrypted vault contents.

    I really wish 1Password would return to supporting local-only vaults.

    • grey-area 8 minutes ago
      I know, it's really really frustrating. I have resisted for years and only recently gave in, and now this. They make it very difficult to keep things offline though - you end up stuck on 1pass 7, local sync doesn't work so well, browser autofill stopped working for me etc.

      Well done to you for resisting their repeated attempts to force users into online usage.

    • varenc 13 minutes ago
      100% agree about supporting local-only vaults! I'd still be happy to pay the subscription price, even if it makes less sense.
    • tptacek 11 minutes ago
      I'm in the same boat with 1Password, by the way. 1Password could sell me something here, but I don't think they will: the team secret management space they're in has to be way more lucrative than consumer password management. At some point, I'll cross the threshold where it makes sense to just vibecode my own password manager.
  • fn-mote 6 minutes ago
    I wish they also had a statement saying clearly that "your encrypted vault was not downloaded".

    I am pretty sure they try to state this in the section that says "What information was affected", where it says "these records include...". I'm so used to weasel words from breached companies that even relatively clear statements like these worry me.

    > During this incident there were a small number of users in this state, who have been specifically notified. This token is used to complete the invitation or recovery process, but only when combined with an SSO sign-in or a six digit code sent to the user's registered email address

    We'll find out later if this was part of some kind of targeted attack. I hope not.

  • varenc 15 minutes ago
    The pushing code part is concerning. 1Password is E2EE encrypted, but I believe a small code change to their web-based vault could set things up to log your password to an external service. Though that's one of the reasons I try to avoid using the web version.

    I miss the old 1Password 7, when I could still store my own vault locally or on Dropbox. I don't like that 1Password provides both the code, and the E2EE vault storage.

    • akmarinov 12 minutes ago
      I still use 7 to this day. It has some rough edges now, but still works great
  • adverbly 10 minutes ago
    Seeing this on the same day as https://news.ycombinator.com/item?id=50643065 (rumours about Factoring in P) is crazy.
  • tom1337 25 minutes ago
    > 1Password began investigating indications that an attacker gained access to an employee’s corporate GitHub account. The actor used the account to access source code and push malicious code to backend services, which downloaded administrative data pertaining to our customers.

    Interesting that their is no code review in place and the attacker could just deploy something.

    • loginatnine 1 minute ago
      They're of course light on the exact details but there are multiple ways this can be bypassed :

      - If there's an external coding agent (copilot can be properly setup), if you can invoke `@codex` in a pull request to open a new pull request, you can then approve this agent-generated PR and merge it without human oversight

      - If you don't have the "review the last reviewable commit" activated, someone can find an old unmerged but approved PR, add something in it and merge

      - If you don't have the "dismiss previous approvals on push" setup with codeowners, if you have access to a github app with write access to the repo, you can find an old unmerged PR, push changes, use the app to approve your PR and merge (this can be protected by having a ruleset that require a review from at least 1 human with a team that does not contain the bots/app)

      - If you're a GitHub repo admin, the ruleset might allow you to merge without review

      - If you're a GitHub organization admin, you can disable rulesets, merge, and reenable them right away, making the attack very sneaky. Or just exclude your target repository.

      - If users have the possibility to create blank repositories, then you can commit directly to main branch on the first commit, even though you have a ruleset that mandates pull requests. This works because the branch does not exist yet.

      - If users have the possibility to create branches, a user can create a malicious protected branch, bypassing restrictions for the same reason as the previous point. Example : your ruleset protect `main` and `master` for backward compatibility. If user can create branches, they can push to a `master` branch on a repo where `main` is the main branch, bypassing restrictions.

      There are multiple ways to get it wrong in GitHub and most people are not aware of these tradeoffs.

    • hnlmorg 11 minutes ago
      More likely is they do have code review but haven’t enabled strict enough branch protection to prevent bypassing. Or this particular GitHub account has senior enough privileges to disable branch protection.

      GitHub permissions are a joke. Github is more akin to a social network than an enterprise tool with regards to identity and RBAC. It’s a lot harder than it should be to give people autonomy without allowing abuse.

      • tom1337 7 minutes ago
        I'd disagree. GitHub branch protection rules can be setup so you simply cannot merge without a code review / passing tests etc. and branch protection has nothing to do with identity or RBAC. Maybe the user is able to bypass the protections but iirc you cannot globally disable them without entering "sudo mode" which requires a password. But also after that it's insane that the release can be started completely autonomous from one developers pc.
    • minaguib 14 minutes ago
      ^ This is what immediately caught my eye as well.

      Mandating PRs has multiple benefits, but one of which is to prevent a single malicious actor from unanimously getting changes into production.

    • fidotron 17 minutes ago
      Raises the question of how many steps extra it would take for them to deploy malicious clients.

      Would hope that has significant hoops to jump through.

    • misker1 21 minutes ago
      Maybe they got access to an administrator account, which can just bypass all code review settings (the button just turns red in Github, still clickable).
      • counters 19 minutes ago
        Even admin bypass can be disabled.
        • td521534f12 7 minutes ago
          Can you disable being able to disable the admin bypass? On my repos I have the bypass disabled but it's one command to re-enable it.
    • akmarinov 10 minutes ago
      Or a disgruntled employee can just gruntle them really bad
  • autoexec 1 minute ago
    It's another great day to be using KeyPass.
  • gib444 1 minute ago
    [delayed]
  • dwightgunning 22 minutes ago
    “As a courtesy…” seriously?

    > The attacker downloaded account records for a subset of our users. These records include:

    > Names and email addresses

    Looking at how far the attackers got through their systems and what data was extracted before detection is very concerning. Feels like a bullet was dodged.

    • tptacek 18 minutes ago
      1Password is relatively serious (relative to the industry, let alone to password managers) and there's an element of "assume breach" to these kinds of architectures. You were never going to be one SQL query away from vault plaintext at 1Password; in fact, they're designed so that they can't get plaintext from all their customers (I have qualms about the specific mechanism, but it certainly addresses an attack like this).
    • cyanydeez 19 minutes ago
      A bullet is useless without knowing what kind of gun was firing.
      • atomic_cattlepr 2 minutes ago
        Is it? Because based on all those true crime shows my wife likes to watch, I've been led to believe that forensics experts are pretty good at figuring out what kind of gun was firing when all they have is a bullet.
  • drcongo 18 minutes ago
    And yet these pricks won't let us use our own sync anymore.