1Password Security Incident

(1password.com)

104 points | by lxhrstn 37 minutes ago

16 comments

  • tptacek 21 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 14 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.
    • grey-area 16 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.

      • tptacek 3 minutes ago
        If it makes you feel better, you weren't going to be any better off with a different commercial password manager. 1Password sets the standard, for better or worse, for operational security on this stuff.

        (I don't take the "access to source code gets them vulns" thing all that seriously. When I worked at Fly.io, we were fond of saying that'd we'd happily open source the entire stack if we thought anybody would be able to do something with the code. There's mountains of open source code that hasn't been seriously assessed, lots of it deployed in prod.)

        • AlanYx 0 minutes ago
          Is there any solid evidence 1Password sets the standard for operational security? They spent about a decade as a Mac-specific password manager with fancy animations sold to individuals, then staffed up and pivoted to enterprise sales. I assume they also beefed up their ops alongside the pivot, but I wonder how much of the original code base and design is still there.
    • gib444 17 minutes ago
      What password manager do you use?
      • tptacek 4 minutes ago
        I use 1Password 7, like a hipster.
    • lapcat 2 minutes ago
      > Change velocity in 2026 is unreal and that trend is going to continue.

      You speak as if this were a force of nature rather than a choice.

      Is there a good reason for 1Password to move fast and break things, as it were? Shouldn't 1Password of all companies insist on line-by-line reviews?

  • ChrisHardie 24 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 16 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 21 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 18 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.
  • K0nserv 0 minutes ago
    I was just recently bemoaning how Passkeys are being implemented across the web[0]. On most websites you cannot use a Passkey and a second factor, whether FIDO U2F or TOTP.

    My precise concern is that if you add Passkeys to 1Password you are ending up in a weaker security posture than a password and a second factor outside 1Password.

    How this relates is: one of the potential attack vector is a malicious 1Password app that exfiltrates cleartext secrets after decryption.

    0: https://bsky.app/profile/hugotunius.se/post/3n2tltlkl4c2y

  • mikestylz 1 minute ago
    My fear with these password managers is that a sophisticated multi-step attack could lead to an undetected full compromise of user credentials.

    First, an attacker would gain control of an employee's system and add a seemingly benign bug to a dirty source file in the local application source. Once pushed this bug would enable an RCE when the app processes some very specific packet coming from the server. It might lay dormant for months, because a sophisticated LLM could make it so subtle as to be undetectable. A different attack on the server infrastructure would send this packet, possibly in response to the app's update checks or another common poll. Code would then be injected into the local vault GUI to save the user credentials to disk somewhere the next time they log in. Thus E2E encryption could be circumvented. Finally after a period of saving credentials, a final order is given to upload all these credentials to a server where they are gathered. This server would only need to run for a blip of time.

    Maybe I am completely schizophrenic, but this is why I containerize everything and don't put all my passwords in one place.

  • fn-mote 13 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 23 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 19 minutes ago
      I still use 7 to this day. It has some rough edges now, but still works great
  • adverbly 18 minutes ago
    Seeing this on the same day as https://news.ycombinator.com/item?id=50643065 (rumours about Factoring in P) is crazy.
  • gib444 6 minutes ago
    I picked a good week to migrate away from 1Password. I felt it would only be a matter of time. The stakes are so high
  • tom1337 32 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.

    • hnlmorg 18 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 14 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.
        • loginatnine 5 minutes ago
          You are right that changing rulesets will trigger a 2FA check. But then again, the attacker might have the 2FA too if it's a OTP.

          You are also right that it's possible to have a secure setup, however there are multiple ways to get it wrong (see my other reply in the parent thread).

    • loginatnine 8 minutes 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.

    • minaguib 21 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 25 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.

    • akmarinov 18 minutes ago
      Or a disgruntled employee can just gruntle them really bad
    • misker1 28 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 27 minutes ago
        Even admin bypass can be disabled.
        • td521534f12 14 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.
        • icedchai 3 minutes ago
          Can't they just turn on admin bypass, then turn it off when they're "done"?
  • dwightgunning 30 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 26 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 26 minutes ago
      A bullet is useless without knowing what kind of gun was firing.
      • atomic_cattlepr 10 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.
    • gib444 7 minutes ago
      > “As a courtesy…” seriously?

      What are you quoting? "courtesy" doesn't appear on the TFA's page.

  • guardiandemon 6 minutes ago
    I was switching phones this week and all went very smooth but it did make me wonder: all my passwords are basically linked to one point of failure- in my case Samsung Pass. I'd be totally fucked if hackers breach them.
  • pryelluw 4 minutes ago
    Guess I now need 2 passwords.
  • autoexec 8 minutes ago
    It's another great day to be using KeyPass.
  • gib444 9 minutes ago
    All SaaS is temporarily secure. Just as some people are temporarily embarrassed millionaires.
  • drcongo 26 minutes ago
    [flagged]