An unofficial, read-only Hacker News reader.

1Password Security Incident (opens external site)

1714 points by lxhrstn 3 days ago | 1password.com | 732 comments on HN

View full thread · View on Hacker News

Comment thread (60)

  1. > you almost certainly can't literally have a team of people line-by-line reviewing PRs anymore

    You absolutely can, especially with a mature product like 1password. A security focused company like 1password should have plenty of human controlled approval gates in their process.

    Replies (4)
    1. AI bros love declaring things like this as not only an inevitability, but something that has already been set in stone, with zero room to push back against it. "Whether you like or not" as they smugly proclaim.
      Replies (2)
      1. Ok but are they right? That should be what matters. If they are right, it doesn't really matter that they love declaring it and it doesn't matter that you dislike them and mock them as a "<something> bro". In fact if your argument is simply name calling, that makes me believe their case is too strong for people to say something concrete instead of sneering and seething.
        Replies (5)
        1. I think you have the burden of proof backwards. The world already existed before AI, so we have a baseline of things happening via humans. If someone's only argument for why AI usage is inevitable is "it's inevitable," or if they're not actually providing any evidence of human review being unsustainable or impossible (just making the claim to handwave to their next point), then their claim that "it's inevitable" is empty. That's what the person you replied to was calling out, underneath the discussion of AI supporters' common phrasing.
        2. My FUD evaluation algorithm for this kinda thing has been: If everyone is doing this thing.. where is the demo?

          I spent most of my adult life in Missouri - you need to show me.

          I’ve seen many companies try no-human-in-the-loop, and of course you can certainly have agents do PRs all day long: but I have yet to see maintainable large scale backend software built this way. I was part of a major rescue operation of a large backend system built this way with Opus just a few months back, collapse as system was deployed and every Opus emergency patch added new outage-causing bugs.

          If it’s so easy to do this reliably, show your work.

          Replies (1)
          1. You need people with agency and will not some burned out jaded cranky dude who can't wait to clock out at some toxic workplace. It's new, it works for people with early adopter mindset who are willing to adapt and enjoy learning new things. I know that this is a luxury and the bulk of software devs just want to put food on the table and use their knowledge they picked up years ago and so on. I empathize. But yeah, rolling this out at scale is indeed a challenge. It doesn't mean it's all nonsense.

            Again, the dynamic here is that I'm not super incentivizes to convince you that I'm gaining a productivity boost. So my effort is limited and also the code I work on isn't public. If you want to remain skeptical, it's no skin off my nose, really. You just leave more tokens for the rest of us.

            Replies (1)
            1. Are we talking about the same thing though? I'm not saying it doesn't give "a productivity boost", I'm much more productive with LLM coding, that part clearly works.

              I'm specifically doubtful of claims of no human in the loop. Agents plan the task, write the code, review the code, deploy the code, with zero human intervention.

              I hear claims of this all the time - at a meetup last night someone (not from Legora) said this is how Legora writes code: Humans are not involved in planning code, writing code or deploying code, no human ever reads any of their code. Humans only ever touch the harnesses; if there is a bug they change the harness and rebuild the feature.

              And.. maybe that's true, but every time someones shown me a system like that, it's been tiny or post-collapse.

              So.. I'll keep improving my own harnesses, but as long as PRs keep failing human reviews, I will wait for someone to show me a working zero-human "software factory"

        3. In the case of something like 1password they are wrong.

          1. It's a security product and not reviewing is simply reckless.

          2. It's a mature project so every pr will be well scoped and easy to review

          3. It's a password manager, it's a not millions of lines of code. In what world is reviewing changes to that impossible in 2026?

          Replies (1)
          1. It's not a password manager anymore, it's a secret management B2B SaaS. Just open the landing page:

            > Secure access for every human and AI agent

            > Visibility and control for humans and AI agents, built on the most trusted vault for identities, credentials, and secrets.

            We got rug pulled.

            Replies (1)
            1. In this case there are plenty of open-source alternatives. And not much vendor lock-in. So shrug and move on.
        4. In this case, you throw your hands up and say “we must have AI for velocity and review is too expensive”.

          Makes sense until you realize their entire executive team was chilling in the Paddock Club in Vegas last weekend at a cost probably 10x appropriate engineering.

        5. They are not right. You don't have to use LLMs at all, anywhere.
          Replies (2)
          1. Attackers don't "have to use" LLMs, but they will, they don't care about the ethics of them. So if attackers are using them in an automated way to systematically find and exploit vulnerabilities and the only response to that are humans who need sleep, food and a life, that's a power imbalance that allows the attackers to win.

            They are right.

            Replies (3)
            1. No, they’re not right. You don’t have to use LLMs.

              Continue this thread (1 replies) →

            2. You have to patch expediently. It doesn’t have to be via an LLM, you can certainly automate patching without an LLM.

              Continue this thread (1 replies) →

            3. It's not a new "fight" either, it's just happening so much faster now.

              But for decades it's been an arms race between attackers and defenders, both poring over code and poking it to find and exploit or fix vulnerabilities. There's now tooling that can automate that process, and do it faster and an order of magnitude (or more?) more thoroughly, 24/7, limited only by what it can access and how much compute it has (or how big the user's credit card limit is).

              Continue this thread (1 replies) →

          2. How do you propose convincing adversaries not to use LLMs?
            Replies (1)
            1. It doesn’t matter if they do or don’t.

              Continue this thread (1 replies) →

      2. Red queen effect. Firms can push back against it but their competitors won't.
        Replies (1)
        1. That's the gamble that companies are taking (not just with this but with most technological advances - e.g. "do we keep maintaining our own servers or are we moving to the cloud?", or "do we keep on our own exchange server or are we moving to office365?".

          Also thanks for mentioning the "red queen", it's pretty insightful: https://en.wikipedia.org/wiki/Red_Queen's_race

              "Well, in our country," said Alice, still panting a little, "you'd generally get to somewhere else—if you ran very fast for a long time, as we've been doing."
          
              "A slow sort of country!" said the Queen. "Now, here, you see, it takes all the running you can do, to keep in the same place. If you want to get somewhere else, you must run at least twice as fast as that!"
    2. In a world where fresh vulnerabilities are published and exploited within minutes, you may not be able to afford the delay.

      We're ticking closer to Neuromancer's cyberpunk world, where AIs both attack and defend.

      Replies (3)
      1. Or the Strossian world of mathemagicians who are scientific yet operate with things beyond comprehension.
        Replies (1)
        1. At least in The Laundry you get to use paranormal tools and abilities to go alongside the impending future of Eldritch overlords and mind-dissolving otherworldly terrors.

          A trade I'd almost take at this point!

      2. Security vulnerabilities should have an accelerated review pipeline that's more (or completely) automated. However, normal development work has no such need to move so quickly.

        We'll inevitably move towards AI defense as we see agents discovering zero days and launching social engineering attacks.

        Replies (1)
        1. Once we’ve figured out how to safely automate review of security fixes, why wouldn’t we apply the same thing to all the PRs
          Replies (3)
          1. Because the typical security fix is like 3 lines long.
            Replies (1)
            1. If the pitch is that we should be able to totally automate simple PR review and humans should review complex PRs, that seems pretty rational.

              But that’s not the security vs non-security split the previous commenter seemed to be describing.

          2. In the near term, it seems (to me) dangerous to completely automate review of security fixes, or of any kind of PR, in a product as security-critical as 1password. Supplementing human review with automated review of course makes sense, as long as the automated review can be trusted not to e.g. leak the vulnerability early.

            Security fixes are often urgent, and it may be worth having a shorter manual review of urgent fixes simply because reviewing takes time. On the other hand, security fixes are often short, so it might not be difficult to thoroughly manually review them (in addition to automated review).

            Replies (1)
            1. Did you mean to reply somewhere else in the thread? I think I agree with you; my comment specifically says “once we figure out how”
          3. I mean there's nothing stopping anyone from doing so already (and it is happening at large scales). The actual question to ask is "who takes ownership" of a change.

            If an AI accepts and merges a merge request automatically that contains malicious code, who takes responsibility? And are you willing to bet your (hypothetical) company and customers' data, privacy and finances on it?

            Replies (1)
            1. Is there any debate about whose responsibility it is? If I’m the approver for something and I use technology as part of the review, I am still responsible.
      3. In a world where fresh vulnerabilities are exploited within minutes, it doesn't matter that an update is pushed in hours instead of days. By that point, is already too late: a password manager only needs to be exploited once, it's not an ongoing thing.

        Trying to run faster is not an option. Not having vulnerabilities to begin with is.

        Replies (2)
        1. Exactly, the only long term solution is "qmail updated for the AI era": small, compact, provably correct/safe design.
          Replies (1)
          1. The closest to that I can think of, considering different tradeoffs like browser integration or sync or passkeys, is Apple Passwords. Primarily because it reuses the keychain and the incredible amount of work on hardening that, extending right into the kernel.
            Replies (1)
            1. I'm not sure if I would consider a software solution much of an upgrade, especially one that syncs to the cloud. Even Apple's hardware solutions have been breached before: Secure Enclave in 2020 [1], and Security Exclave just last week [2].

              I would lean more towards Yubikey-backed passkeys. Browser integration is good and sync... you have multiple and you carry one with you.

              [1] https://theapplewiki.com/wiki/Blackbird_Exploit [2] https://x.com/i0n1c/status/2123501272087380424

        2. > In a world where fresh vulnerabilities are exploited within minutes

          It’s good that we’re now operating with this assumption now but as someone in incident response we’re about 10 years late.

    3. Exactly. You build the product modularly. There is a very high-security core to it with a very tight API. It's very hard to do dangerous things using it's minimal API. It rate limits calls to "GetPassword." It handles 2-way encryption. This cold has a massive test suite, a fuzzing suite, a timing suite, etc. Every line is reviewed very, very carefully.

      Vibe code the UI all you want. Be fast and easy w/ reviews.

      But that central code that performs the truly dangerous stuff, it's reviewed carefully and owned by a security-focused team.

      I think this sort of modularization and treating some code as "golden, needs human review" and some as "can be vibed / thrown away and rewritten" will become common over time. Sort of how Python writes it's "fast" parts in C or Rust (e.g numpy matrix math), we'll extract the secure stuff.

      That's my philosophy at least. I pushed for it at my last company and got pretty good buy-in. It clicks with ppl, gives PMs the ability to vibe away, and security folks the ability to say "I don't trust AI code."

      Replies (5)
      1. They have an ssh agent daemon that runs on folk's machines. Whether that's a valuable service iz another question, but they do offer it.
      2. Secrets are chained through the UI though. If you aren't reviewing that you have a massive hole in your security model.

        It needs to be a vertical slice, not a core. Now only that feature touches the sensitive bits. In a well designed system, oftentimes your core is completely internal to the subsystem.

        In general people over-emphasize layers, feature slices are usually what matters.

      3. It’s a password manager, though. The UI is part of the security core.
      4. Glad it worked for you - I'm in a "central code that performs dangerous stuff team" and the higher-ups are annoyed that we're not tokenmaxing. Any attempt at push-back has been met with arguments like "this is how software development is now, no point pushing back".
        Replies (2)
        1. Give it time and stay assertive, churning through tokens is the same stupid metric as having LOC or story points as a benchmark. You are the software developer, you are the expert on these matters, not the higher-ups who are thinking in competition and whether their $500/month/seat (or howver much) AI expenses are worth it (they most likely aren't).
          Replies (1)
          1. Oh yeah, I know that common sense will win out sooner or later. Still ridiculous that the rest of the industry seems to have largely moved on to being wise with AI spend and here we are being told to blow the budget.
        2. I had a similar situation. I brought up the topic of safety and the potential consequences of adverse events. They didn’t object; they accepted my point of view.
      5. You can't ignore UI when building a secure product. Go read about Therac-25 if you don't know about it, it's a case-study in UI and security failure.

        You can have a secure core that's carefully reviewed and has less velocity. But that core includes handling the user's password. And then everything else needs to be sandboxed/isolated in some way: you'll be quickly making various tradeoffs.

        Replies (1)
        1. Wanted to say this. If corporate users are an attack vector, it seems like hardening the UI would arguably be Step 1 in multi-layered plan for a B2B SaaS or consumer app.
    4. Exactly; while AI can churn out huge volumes of code, you really shouldn't let it, especially in an established codebase like 1password's should be by now.

      Before AI coding we didn't accept large code changes without review either, why should we do so now? The rules and best practices never changed.