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.
However, now I’m transitioning to self-hosted VaultWarden, as 1Password 7 support (by AgileBits) is apparently going to stop.
My plan is to have it on an ultra-locked down PoE-powered Raspberry Pi[1]. However, that Pi doesn’t need to be on all the time either, only if clients actually need their vaults updated from other clients’ updates, which is pretty infrequent.
So it’s local, it can be synced across my devices, it’s not publicly accessible (even through WireGuard), and if necessary the server can be “offline” if I choose.
-----
[1] Everything bought years ago when prices were normal. I know prices are nuts now, but I already had them, and they’re < 2W idle for 4-cores and 8GB RAM powered over PoE.
Have been using 1Password since it first came out. Have been hanging on to using 1Password7 for a long time - I needed offline vaults for work. I was using separate 1Password7 instances for Personal and Work use.
I'm also not a fan of 1Password moving to a node based client. But unfortunately many of the alternatives, like a local BitWarden / VaultWarden [0], are also essentially JavaScript based. I had been setting up VaultWarden and "SmallStep CA" for TLS but am not happy with it.
The macOS client (node) looks and behaves really, really poorly. Migration also seems broken / poorly implemented. When you import things created years ago, BitWarden / Vaultwarden reports these as being created on the import date - the creation date is in the import data. If any item has an incompatible field (too large?) the whole import fails until you track down and remove the offending data. In this case it was an Airline loyalty card that had stored the entire "terms of service" in a hidden field when the account creation form was submitted - causing 1Password to save a very large string in an element that is not normally visible, but will get exported.
What I cannot understand about 1Password is why they gave up on offline vaults. As an organization, do they really have zero need of any offline secrets? If they do need offline secrets what on earth are they using if it isn't their own product!
1Password is going to loose me as a customer.
[0] A VaultWarden docker image contains the JavaScript client and the desktop clients are also node based.
(You wish you were young enough to be a real hipster ;-))
No Android release since 2022-08-04?
MacOS release last month, after a 2 year break?
Seems pretty abandoned, no?
And you had no issues with its security history, eg?:
> A 2017 analysis by the Fraunhofer-Institut für Sichere Informationstechnologie (SIT) identified several security flaws in multiple Android password managers, including 1Password. The issues, which include Password Leakage, Https downgrade to http URL Titles and URLs Not Encrypted in Database Read Private Data and Information Leaked were reported to the developers and subsequently fixed. [0]
And the clickjacking issues?
Don't mean to attack you; just a bit surprised by your use of seemingly abandoned software.
That report is from 10 years ago and the findings while real were minor in the scheme of things. They were generally mitigated by a complicated attack paths or other co-requirements (e.g. having to hit "browse to site", and the remote site isn't using HSTS, and there's an active MITM underway).
When you look at actual, real-world attacks 1password holds up fairly well because of solid design and polish:
- Use of PAKEs for auth
- The Secret key as 2FA (compared to breakable email/sms for others)
- UI patterns that discourage unsafe use (like autofill on a non-registered domain)
You can find reports like that for every mainstream vault and if KeePass were reviewed by the same standards it would not hold up well (in particular, browser integration / phishing resistance are much worse for it). Most of the DIY implementations you will find in this thread are using worse synch methods with weaker auth than what 1pass uses.
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.
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.)
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 security design is still there?
Yes, quite a bit of it; more than I'm prepared to relate here. Even when they were just AgileBits, they were making a point of doing the cryptography and backend security stuff right, while their competitors were making bank doing things clownishly.
I have absolutely no financial stake in 1Password and don't believe I know anyone who works there. I am at this point more likely to conjure up my own password manager than I am to give them more money. I'm just telling you what I believe to be true.
> while their competitors were making bank doing things clownishly
Nearly 10 years ago, I used to tell my co-workers "Thycotic is psychotic". No cryptographic primitives at all, just TLS and SQL Server's at-rest encryption. Permission to access a given secret is literally a if-condition in server code.
That doesn't really mean anything. But also: I'm not talking about comparing password managers; I'm talking about random backend dependencies.
If you want to run a local-only password manager to foreclose on attacks to backend infra, god bless you. I do the same thing. But that doesn't really address the point I'm making here.
Bitwarden using a single master password without another client-only secret is a bit of a miss, IMO.
1Password's "secret key" is a pretty good level of security against over-the-shoulder surveillance, where the attack vector is someone observing you enter your password -> they obtain the encrypted vault data somehow (breach/3 letter agency) -> can decrypt your entire vault. With secret key, compromise means the attacker would need access to your devices to reveal the qr code / secret key as well.
If someone can observe your password entry and get your vault, they are probably in a position to get your key as well. Though it's admittedly an additional hurdle.
One would most likely be better off with Apple's Passwords, which reuse their keychain stuff that is 1) B2C, thus aligned with customers 2) a massive target in itself for many other reasons and has trillions of dollars behind it.
I reviewed the 1Password white paper a few years ago, and came away with the impression that (a) it's far better than any of the other password manager papers I reviewed, especially since they use cryptographic primitives to guarantee vault security, and (b) the greatest security gap is the supply and delivery chain associated with client software.
That is, they are only ever as secure as the client software is (browser plugins, CLI, 1Password.app/exe, etc.) -- their dependencies and the servers that host them.
Yes, customer vault data is as secure as it could be: E2EE, double-encrypted at rest (filesystem encryption and 1P-encryption) and double-encrypted in motion (TLS and 1P-encryption), and a massive bounty for working exploits. The client software that decrypts it is only TLS-encrypted in motion, but Windows/macOS signing and notarization mitigates any mistakes in TLS implementation (browser plugins aside). And access to a given vault or secret is entirely based on cryptographic primitives. So mostly well and good.
The weakness I saw was that they don't go into a lot of detail on the operational supply and delivery chain for client software -- it may not even be possible to fully guarantee the security of these using cryptographic primitives. One example: an attacker could use a compromised build server to inject an exfiltrator into client software, and we'd be none the wiser.
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.
True, I just checked, and I did an average of 58 pushes per day last month. I guess that would not be too cumbersome - would be interesting actually to check how many times per day I use the fingerprint reader on my Macbook already.
You could probably limit it to all pushes with limited productivity impact, assuming you keep your commits local until you're fully ready for review. Many AI code review tools have CLI options, etc. Even at 30+ new PRs a day and maybe 10 change requests, it's definitely a net negative to productivity but not ruinous
My company mandates signing with Yubikey + touch for every commit for years now. I am close to 9k commits in about 4y apparently according to pinentry. It's fine. The count is inflated by rebases on branches with many commits where you can just keep the finger on the key.
My biggest issue now with AI is that I usually miss the blinking led because I have multiple things going on in parallel, so I have a memory to retry which means I need to re-enter the pin to unlock, but at least it's a pop up in your face. If I leave it to do things in the background and I want commits, I ask it not to sign the commits, and I resign them at the end. It probably needs a history cleanup anyway in this case.
I do this too - if my laptop gets swiped then my keys are safe (there are no github private keys on this machine). Logical question - why did the 1Password dev not also use this feature?
On os x it's default encrypted, not sure what OP is using - moving ssh to 1password isn't for that attack vector, it's to protect AI agents, compromised node libs etc reading your ssh keys off disk.
Gotcha. I do keep my keys in 1Password either way. My agent has its own user account with a 1Password service account to get its own secrets. I realise that a berserk agent could find its way to root on the machine, but I don't lose much sleep about that.
It is a force of nature. More importantly: I don't find this kind of logic reassuring. Handling intense change velocity is part of the premise of doing modern SAAS security. When you say "we'll just choose not to accept that premise", what I hear is "we're choosing to solve an easier problem and call it a day".
There's no reason to punt on this problem. It's a solvable engineering challenge. You're inevitably going to get dragged into needing to solve it, one way or the other. You can plan to solve it and do so diligently, or you can scramble to try to solve it after it blows up in your face.
> Handling intense change velocity is part of the premise of doing modern SAAS security.
I think there‘s a hidden assumption here that you should make explicit: you appear to be claiming that reliance on generative AI to write large amounts of production code is part of the premise of doing modern SAAS security. And if that is your claim, then no, I don’t accept that premise.
> It's a solvable engineering challenge.
If my interpretation of your claim is correct, then I‘m not sure it is solvable.
It is absolutely part of the premise of modern SAAS security. It's not the security team's decision to make. They will support engineering teams that use coding agents. They will deal with unprecedented (up until 2026) change velocities. They need to be prepared to deal with that.
> It's not the security team's decision to make. They will support engineering teams that use coding agents.
I’m confused by this. At 1Password, the security team and the engineering team are one and the same, no? Do you just mean that 1Password needs to support customers that use coding agents? In which case, sure, but that doesn’t mean 1Password itself needs to use coding agents to write its own internal source code. 1Password has many customers, ordinary consumers for example, who are much less strict in their own security practices than 1Password. The goal is for 1Password to help its customers but not to emulate its customers. If 1Password were no better at development than ordinary customers, then what’s the point of 1Password? Just vibe-code an alternative.
"engineering teams that use coding agents" <-- is a choice that the company is making.
"unprecedented change velocities" <-- another one.
The point is these are not forces of nature or inherent attributes of software development. The choice to mindlessly "move fast" is a choice companies are making.
> When you say "we'll just choose not to accept that premise", what I hear is "we're choosing to solve an easier problem and call it a day".
Someone with your background should know that choosing to solve an "easier", more tractable problem is cornerstone of security (not just cybersecurity, i.e. creating choke points; or the famous swiss cheese model; not exposing services that don't need to be exposed instead of finding and patching every bug). Should companies get rid of physical security and background checks too? As soon as AI came along people just started throwing out all of those hard-learned lessons out the window.
There's no justifiable reason for a password manager to chase "velocity" to the point of not reviewing PRs line-by-line, that's the bare minimum. You're in the business of selling trust and there's nothing trustworthy about a security company that doesn't review its own code.
By all means, knock yourself out and build an army of AI agents that review the code with the goal of preventing even the most malicious, high ranking insider from doing harm. However removing the existing processes before you've finalized and proven that the new ones are up to the task and have an established track record in less sensitive applications is extremely negligent.
I've read your comments several times and while I feel like I must've misunderstood them, I don't see how. If your company does that then please be transparent about it so that people like myself can avoid the circus.
I think you're just operating under an assumption tptacek tacitly dismissed:
> You're in the business of selling trust and there's nothing trustworthy about a security company that doesn't review its own code
1Password was in that business. They aren't anymore, they're a B2B SaaS. They don't sell trust, they sell liability. If your 1Password gets popped, it's a catastrophic risk of losing your childrens' photos forever. If a corporate 1Password gets popped, it's a ticket for the lawyers' team.
They are a different business now, and reading tptacek's comments I think he understands that. Unfortunately, most of 1Password's private customers don't (yet).
> 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
Pretty myopic views. Just because you think you can't doesn't nobody can. I say that it is both possible, reasonable, and sometimes necessary. In particular for a secrets manager.
Claiming "it's impossible for any tech business to review their own code" as some sort of truth is just disinfo.
Historically you HAVE been able to expect a lawyer to read line by line a contract.
Especially since SWEs are paid more than lawyers, why cant a software engineer read line by line?
I fundamentally reject the premise that a) every product needs millions of lines of constantly changing code and b) that a 200k SWE is just too good to read line by line as a competent lawyer often must.
Want to say again: the market pushed hard toward cloud. I have to imagine their teams products absolutely swamp the rest of the business.
I'm a 1Password 7 person, which means I of course hate the cloud stuff they did to the consumer product. But I ruefully accept that this was pretty clearly a decision they had to make.
I'd be more sour about it if I wasn't certain I could do a perfectly cromulent local-vault 1P7-alike in an hour. The only reason I haven't already is I don't think I could make the UI as pleasant, yet.
The industry standard for cryptography and platform security has improved to such an extent since 1P7 that I think I'd probably come out ahead on security for doing this. I'm going to shut up now before I talk myself into doing this.
> I'm going to shut up now before I talk myself into doing this.
I think you should keep talking. And then build it :D I’d accept a slightly worse UI if the cryptography of this 1P7-alike was tptacek directed. And I imagine more people on HN would too. I would happily pay $20/month for that, which isn’t a lot I know but if enough people subscribe, it could be enough money to make sense maybe?
SaaS is the damn problem! Your password manager should not have a subscription. Don’t try to shoehorn every type of software into a SaaS please. I will never buy a SaaS to replace 1P7 or Arq. Two things that rightfully should be buy-and-own forever.
I decided to migrate to a self-hosted solution earlier this year when they sent me an email saying they were raising the price, it took me 30 minutes and it's been set and forget ever since.
>Want to say again: the market pushed hard toward cloud.
This is a totally ludicrous assertion, unless by "market" you mean "VCs and shareholders expecting the maximum possible short term ROI". 1Password has very deliberately worked towards subscription lock-in and actively hindering any other option except via leaving. The market (as-in, customers) did not push they go that way at all. There was no A/B test here where they offered an equivalent self-hosted solution with a standard payment model.
>But I ruefully accept that this was pretty clearly a decision they had to make.
It is not merely "pretty clearly" but very clearly not a decision they "had" to make. It was a custom-hostile decision that makes them more money, same as endless other examples of enshittification. Their bet will probably work out in the same way that gambling and other hostile decisions work, no one denies that creating moats and exploiting human psychology and so on works. Though I suppose one small solace of the plummeting barrier to entry with software development is that there is a higher chance then there once was for it not to work out and superior alternatives to appear. Their moat isn't infinite.
>The industry standard for cryptography and platform security has improved to such an extent since 1P7 that I think I'd probably come out ahead on security for doing this.
Agreed on this, and it's tempting depending on how the experience with Vaultwarden goes. The UX is definitely a real concern, there's a social aspect to all this, but it's not an insurmountable one.
> This is a totally ludicrous assertion, unless by "market" you mean "VCs and shareholders expecting the maximum possible short term ROI". 1Password has very deliberately worked towards subscription lock-in and actively hindering any other option except via leaving. The market (as-in, customers) did not push they go that way at all. There was no A/B test here where they offered an equivalent self-hosted solution with a standard payment model.
The people with real money, aka businesses and not individual end users, nearly universally want cloud solutions. Very few businesses want to deal with the headache of self-hosting anything these days; the extremely tiny minority of large enterprises who would be interested in self-hosting are special cases that wouldn't use an off-the-shelf non-cloud solution anyway. (I'm primarily thinking of governments which often do not use public clouds but instead get vendors to build cloud-like infrastructure specifically for them.)
Totally understand that market pushed the product (it used to be one time purchase for a version) in direction of cloud - especially for business users and customers, however - I wished they continued supporting local vaults as well for those of us who wanted to use iCloud/Dropbox/whatever other means to sync.
Reason I haven’t done it - I’m not confident in my skills when dealing with cryptography (obviously not a concern for you ‘tptacek - I’ve read your posts/comments for more than a decade at this point). I’ll continue using my self hosted vaultwarden with tailscale as that’s more my wheelhouse.
I (and I think a lot of other people) would pay $125/person for a Certified Secure password manager that supported teams without creating a single point of failure in a SaaS company.
Just yelling this into the universe for someone to hopefully pick up on. :)
Fellow 1P7 traveler here. I felt like no one else was doing this given how hard and how many different ways they would nag the upgrade. They didn’t really have to change that software. Moving some things to Passwords is okay after they added auth codes, but I make use of all the other types of records in 1P7 — passports, SSNs, IDs, etc. Really not looking forward to fighting 1P7 muscle memory if forced to switch.
> I'd be more sour about it if I wasn't certain I could do a perfectly cromulent local-vault 1P7-alike in an hour. The only reason I haven't already is I don't think I could make the UI as pleasant, yet.
My password manager is "KenPass" and I vibe coded it in about that long. It's not just local vault too, it syncs conflict-free to any WebDAV-enabled web server with mTLS for auth, and I use my homelab server with a wireguard tunnel, so that's as much "cloud" as I need. I never made it public because there's no need, anyone who wants one can just vibe one too. I dropped my 1password subscription and couldn't be happier.
(The UI kinda sucks and there's randomly missing use cases in the iOS app that I haven't bothered to fix up because saving new passwords is so rare, but I could fix all of this with another 20 minutes of vibe coding, but I haven't bothered. But you know what KenPass doesn't do? Send a bunch of pushy notifications to unlock my vault whenever I'm typing a form. Or put up a "What's new in KenPass" with a cutesy "Got it!" button whenever I open my browser. Or any other dark pattern bullshit.)
They've officially announced that they've stopped developing and are deprecating 1Password 7 (the last major version to support local vaults) in May 2027:
I've been moving to StrongBox and overall I'm happy enough with it. It uses the standard keepass format so there's no vendor lock in and it works well with the apple ecosystem. It's not as polished, but I'm willing to accept that tradeoff.
Heads up that strongbox got sold to a company that doesn’t have a good history nor a background in security. There were a few HN comments and Reddit threads about it.
The clear signal that local vaults were going away is the reason I moved away from 1Password, which is unfortunate because I liked the product otherwise.
Yeah, the strong push away from local vaults and towards web stuff was a clear "this company does not care about my security" signal to me. I got out quite a while ago and have not looked back.
And then the product got massively more complicated, too. I still think they're trying, and likely better than almost all similar options, but I haven't been able to recommend them to most people for many years.
The relatively normal people I know who did try bounced out within a year due to the UX, and two lost every password: one from UX confusion, one from horrible cloud-account-connected behavior that left no recovery route, despite multiple logged in devices. The latter in particular is an insane failure mode, and one a local version never has.
Much too late to edit: mmmmm, with that much Agents Agents Agents chanting everywhere in the product and development blog... yeah I'm gonna retract that "I still think they're trying" and any better-ness that remains is inertia that is being tested at an incredibly fast rate. Abandon ship before it pulls you down with it.
If the client code is compromised, local vaults are just as subject to exfiltration as the end-to-end encrypted cloud vaults. I don’t see the difference in the threat models.
One could hope they would learn their lesson but I very much doubt it. If 1Password brought back a local vault only option, I’d absolutely pay money for it.
While not at home, I can create a new account somewhere on my laptop, then hop on public transportation and log in with my phone using the new creds seamlessly.
What if an attacker pushes a malicious update to 1Password that sends all the vault keys to a server under his control? All 1Password apps I know of auto-update
That's what I was thinking when I saw it was a Github account takeover. A lot of damage could be done in the time anyone would catch it. I hope their build and deploy workflow isn't automated but given how they've gone pretty much all in on AI... I don't know if I trust that they're vetting everything anymore.
> When that happens, the attacker will be able to push code to Github, and if that code gets deployed, you're owned
I'm a bit naive, but isn't this relatively straightforward albeit annoying? Separation of duties and requirement of hardware 2FA on push, merge, deploy. Add additional reviewers, human or LLM, as deemed necessary.
Of course, but that's not the attack that occurred here; that's a harder attack to pull off, and requires either sustained access or managing to avoid detection of your compromised update (or web front end). You can say this kind of thing about any compromise; in theory the attacker could pivot to further access, yes, that's how attacks work.
Seems to me an LLM with adequate context and a database of known security risks and best practices can automate review cycles, perform them more thoroughly than human reviewers and call out areas requiring secondary review and/or summarizing the net change of any given PR.
Thoroughly exhaust the space of all available LLMs and their infinite configurations, harnesses. Test every conceivable prompt and approach, such that any remaining gaps are unlikely to be discovered by any publicly available LLM. That would certainly cost more than expert human review so just prayer should do it.
This may seem an odd diversion but I am reminded of the Haskell pattern of "functional core, imperative wrapper" that a lot of that code tends to turn into. If we did a better job thinking in terms of contracts and guarantees, we could build cores that were secure, auditable by AIs and humans because they are smaller, and then often be somewhat less concerned by the much larger pile of code that uses that core, as long as the primitives offered by that core did not admit compromise.
However, despite its other benefits, AI code has been a huge step back on almost every dimension we need for that plan to work. It is no longer the case that I've never seen an AI create a strong type, but I still don't see it thinking in terms of what values of this type guarantee very often, or any related concept. It still erases any such guarantees I add more often than it builds on them, even when I explicitly document the guarantees in the code docs (and then when it erases them, it leaves the comments about the guarantee behind, naturally). It is hard to fence an AI off to tell it not to modify this bit of code... not necessarily impossible but the models seem to presume that if they can see it, they can change it, and they basically YOLO and hope the test suite will catch anything that breaks as a result of their particular change written from the hyper-local perspective of the task at hand. They still want to write reams of scripting code where, for instance, every access to the database is individually responsible for maintaining any security guarantees related to the data in question... and then they often refuse to load the skills that might explain the guarantees that are necessary, and then the skills fall too far back in the context window to be taking effect. If I force them to be secure by building right into some function call a declaration of what permissions must be held to execute it, they rarely get the permissions completely correct and really love to just bypass the check, sometimes in distressingly clever ways. Even when asked to be sure to write tests that assert that permissions fail correctly.
It's a very fast programmer. It can often do surprising specific tasks. But in a lot of ways, it's still not very good, when you really get right down to it.
Without an exceeding strong hand the AIs I've seen build code that fights this on almost every level. If someone has some magic sauce to address my complaints and prove me wrong I am all ears... I'm getting kind of tired of the constant fights with my AIs over these issues. I'm trying various tweaks out but it takes time to try them out fairly.
I used to think Star Trek was silly in the way it portrayed every computer system as hackable in about 15 seconds with the moral equivalent of a paperclip, but I begin to see a world in which that makes sense to me.
The importance of verification is well understood, but some of the ideas around API design were novel to me -
1) ban comments, they usually mean nuance was required, instead just force the LLM to make the APIs more explicit. (Lints to ban comments at pre-commit and tell the LLM what to do instead.)
2) ban sketchy / confusing APIs from your language/framework.
I’m sure you’ve tried a bunch of this so I’d be interested in any concrete examples you can share, but it does sound like you’ve been trying to make Capabilities and strong typed APIs work, which is the right direction IMO.
I would have thought Claude hooks could prevent modifying particular bits of code though, from your list of issues above. And anything you can put in a lint will be resurfaced at the time the invariant is broken, rather than requiring the agent to remember CLAUDE.md line 336.
For any serious project I like the Hexagonal pattern of having CLI and API being two UI layers atop the same underlying Application layer, and then you can ban special-case scripting logic. I always found this architecture a bit too boilerplatey to use in small-to-medium projects but LLMs can do it well (and you can enforce the layer interfaces deterministically too).
Are you saying you want some sort of reviewbot that is specialized in identifying when it thinks a developer has been compromised?
There are so many ways you could go after such an idea, especially if you had the developer's known (good) commit history. (Admittedly less so now that Claude makes everything so similar).
> You have to accept insane PR rates as a premise to do modern SAAS security.
You kinda have to wonder if this is necessary or true. I can’t say I’ve seen the rate of significant product improvements from SaaS providers increase this year (for 1Password in particular, I can’t think of one thing that had changed this year in the product).
However there has undoubtedly been an uptick in major outages and security incidents that have accompanied the increased rate of change.
And more importantly, it is very dependant on how much "stuff" you have in your programs and architecture: lines of code, dependencies, programs, products and third party services .
It's more of a social truth, I think. Leadership is not going to accept a lower velocity of shipping code even if the code isn't doing anything that particularly moves the needle.
Or, alternatively, it will take one 9/11 or Hurricane Katrina level calamity. Something like the grid for a seaboard going down for a week or several commercial planes getting brought down simultaneously.
Only then can I imagine pilled corporate executives and the AI bros suddenly changing their tune.
On the other hand I can see them still arguing that achieving AGI is worth the cost and push even harder on the more powerful AI is the answer for everything narrative.
I don't think this is true. It only happens where you give in to the hype and let quality slip. You could do that before, having programmers rush stuff and skip reviews and testing etc. It might be harder to push back nowadays, but of course you can. "But then we are too slow" is not a convincing argument. You are slower than the alternative, which is to ship low quality rushed crap, but why be bothered by this? That flurry of incidents should just be a warning to everybody to just avoid that trap.
Any feature examples would be helpful here. The downside of code writing spree is that more code begets even more code.
Regardless, code changes in a security product being pushed without adequate review should not be acceptable. There is a reason why enterprise security is priced so high.
> We are so far beyond that, the velocity demands are sky high from capital and the security/vuln risk.
Eh, ROI demands are sky high; the question `mikeocool` asked is whether or not code churn is actually contributing more to ROI today for established companies than a year or two ago.
I think the story on "max velocity vs revenue growth" is likely to play out very differently for 0->1, 1->10, and 10+customer type situations...
"We need to get these features out the door to win our first customers" is a clear ROI situation.
Shotgunning random crap at existing customers? Not so much. If the features don't have clear upsell opportunities to increase the value of those customers, then the customer retention question isn't simply "throw more updates at them and they'll stay."
For 1password, apart from the added support of passkeys, their product has become worse year over year. UI used to be much better. safari integration is flaky. I really miss 1password 6.
And what really concerns me: it’s become pushy. Like I start typing myself, it overrides to remind me to unlock, and if I don’t would I like to save this “new password”?
> I can’t say I’ve seen the rate of significant product improvements from SaaS providers increase this year
You’re not necessarily going to see that from mature SaaS providers. Having the capacity to write new code doesn’t automatically translate to product improvements - that part is still up to the humans to pick the right things to work on and see them through. Mature companies are effectively designed to constrain that process. They “move slow and don’t break things”, because one of the things they don’t want to break is existing revenue streams.
It’s another story for younger startups focused on new product development, though. But that too is constrained by human factors, including overambition encouraged by new capabilities, blunt-force management, etc.
Companies pushing on indirect metrics like volume of AI use, LoC, PR count are mostly going to discover variations of surrogation (confusing metric proxies with the actual goal), Goodhart’s Law (encouraging useless achievement of metrics), and vanity metrics that look good on a slide.
But this is all just bad management. None of it means that a company focused on delivering useful functionality isn’t going to benefit from high-speed development capabilities. But the examples of that have to rise up through the market, which still takes time.
Completely agree. We're making the classic mistake of using activity as a proxy for measuring productivity. More LOC does not equal more features. More features may improve your product, or they might make it worse by making it harder to use and harder to maintain and support. More products/SKUs might increase sales, but it can also hurt sales by confusing the customer about your value prop and diluting your marketing messaging.
One really good product, with a clear value proposition and a small but flawlessly executed feature set which solves a real problem effectively will outsell a pile of mediocre slop, every time.
> I can’t say I’ve seen the rate of significant product improvements from SaaS providers increase this year
This is my perception as well. And I have a lot of trouble reconciling this with the usage of AI I witness everyday (at personal level and professional level).
When you zoom in, we are shipping code faster than ever.
When you zoom out, appart from security breaches, I don't see such a significant impact in terms of features, UX, improvements...
Are we just using AI to build things that would never have been built in the first time?
This is a reflection of the industry more than technical capability.
When you're first building something, you're in the innovator's dilemma; building something that someone needs but they're not asking for.
In a mature SaaS, the incentivized path is to build exactly what your customer is asking you for, because it minimizes churn. But the result is certainly less innovation.
Long term, software will look a lot more like it did in the 90s. Fully bespoke, but reliably maintained with AI. That is a transition we are witnessing now with the FDE/Field CTO position demand going up.
> there has undoubtedly been an uptick in major outages and security incidents
Aside from the increased attack threat, this could also be symptomatic of AI velocity introducing vulnerabilities. Vibe coders on a dopamine fuelled vibe-PR binge tend to stand by their LLM output, citing how SWE has completely changed and everyone else needs to get with the program. I sincerely doubt this is creating good secure code.
> you almost certainly can't literally have a team of people line-by-line reviewing PRs anymore, at least not across the whole codebase
..why?
This "you must move as fast as clankerly possible or you can't compete" is just not true. We didn't copy-paste code around and skip reviews in the past because we knew the costs. What's with this brainwashing? Is it anxiety-driven?
Apple built their entire strategy around moving more intentionally and doing things better.
> You have to accept insane PR rates as a premise to do modern SAAS security.
Not reviewing code in-depth just opens you up to more security issues, not less.
What's funny is that everyone is "moving fast" but software isn't getting any better. You'd think all this hysterical need to "go faster" would be producing results, but it's just producing more code and more change.
This is one of the weirdest mind viruses I've seen infect this industry since I began my career.
If anything, software is getting worse. It was already getting worse before AI bros started to try vibe coding everything, but it has continued to get worse since then.
I do think AI is going to squeeze the Enterprise SAAS commercial model; there are a bunch of companies who rely on scale and compliance standards like SOC2 to argue they can't offer unique terms, sensible liability clauses (because SAAS is cheap bro) or audit rights.
The shock of some vendors over the idea folks want to use SOC as a starting point is mind-blowing.
As we see more of these breaches I believe enterprises will wake up and exert commercial pressure on SAAS folks.
Your point about velocity of changes needed for security of internet-facing apps nowadays. I used to give myself access over a remote URL to my self hosted password manager, but this year I took it offline in the sense that it (just like all my other self hosted services) is only accessible to devices my local home network. I am not updating passwords so frequently that I can't just sync them when I am home in the evening.
So to summarize, you should assume compromised dev systems, and the necessity of accepting changes at a rate that is too fast to review. In light of those conditions, keep your services secure.
> You have to accept insane PR rates as a premise to do modern SAAS security.
> what is review?
> you almost certainly can't literally have a team of people line-by-line reviewing PRs anymore
For a password manager? A fucking password manager? Apart from bumping their dependencies, what do they even need to work on?
I like to blame Continuous Delivery for this. It's never been easier to ship features to prod, so it's just people just pushing patches, all the time. No time to review (and obviously there's no QA department anymore), maybe we'll remember to glance at the prometheus metrics next week (spoiler: no we won't)
> When that happens, the attacker will be able to push code to Github, and if that code gets deployed, you're owned.
I think this is one of those areas where we'll have to rethink local security. It's still pretty common I think to have a bunch of unencrypted credentials to GitHub, AWS etc flying about in some ~/.config directory. Pretty sure most CLIs support encrypted credentials by now, but depending on the OS there's just too much friction to set this up when all you're expected to do is push more and more code (going back to the change velocity argument). Ultimately, that means any laptop is ripe for picking with "easy" attack vectors like compromised packages (or just plain old phishing).
In 1Password's case, the true catastrophe scenario is if the frontend gets compromised, at which point attackers can exfiltrate master keys as users type them in.
In that spirit, I wonder at which skill level "rolling your own" is the more secure choice. Obvioisly mom and dad can't, since even if they ask an AI to do it, it would use a standard architecture with standard libraries and standard flaws that standard attacks (other AIs) could easily exploit. But obviously an expert could. With AI help for the boring chores but they are in charge. Don't open source it, just run it locally, away from the spotlight. How expert does one need to be to have a resulting security that is higher than the constant worry that the widely used tool might be compromised at any single day?
Why could someone not roll their own password manager? Doing it securely with sync is definitely not trivial, but it’s also not rocket science. Like maybe store entries in a SQLite db on Dropbox, encrypt everything you care about keeping secret with the master password, and decrypt on client. I suppose you are still vulnerable to anything that can read the process memory, I guess you would use Secure Enclave or something similar to mitigate that. None of this seems out of reach or a reasonably competent developer. Am I missing something?
It's not actually that big a deal if you scope the problem properly. For example, not having anything online to attack is a great start. My passwords are generated by a tool I wrote that I use locally and there is no sensitive information saved. In order to get anywhere you'd have to compromise my local tool to steal my master passphrase, or you'd have to be able to brute force my derived passwords because of a flaw in my scheme, which involves a sha256 of the metadata about a site plus the master passphrase.
The effect is that there's no vault and my password security is based on information that's entirely in my head. I'm trusting in the strength of some fairly mundane cryptography, but also: it's just passwords for online services (the most important of which have 2fa).
I hope you don't mind me asking .. so your tool doesn't actually save anything, you are only inputting a seed essentially which is the name of the service? How do you ensure that you enter it the same way every time? Normalization goes only so far (force case, remove whitespace, ...) and can't account for things like spelling differences. How do you deal with potentially not remembering?
To match what you get with a password service, you need synchronization between devices and backups. That adds an attack vector for the server and backend APIs that power it. I'm hesitant to be believe that I can reliably match the reliability and security of a company that is actively monitoring for attacks and maintains multiple tiers of online & offline backups. Similar to why I wouldn't want to replicate Google Drive or especially Gmail.
Maybe it depends a little on the features you would need and the convenience factor. You could for example do the sync only when you are at home, not opening anything up. And if you leverage sth like git you wouldn't need to re-implement that. And you would get replicas for free, essentially providing you with continuous backups.
> reliably match the reliability and security of a company that is actively monitoring for attacks
Well with the flurry of incidents recently, and unclear future, that's the detail that could be tipping the scale. See original article.
When I’ve daydreamed of writing my own 1p replacement (from reading this thread, I guess I’m not as unique as I believed), my solution has been to replace cloud storage with cloud discovery. Syncthing does this. If the server on the internet is stateless and only serves to connect two clients who then talk to each other using encryption based on pre-shared keys, you get sync with a much smaller attack surface. Even if the server is hacked, the clients are responsible for authenticating each other, so there’s not much damage a compromised discovery server can do other than make the sync process fail.
The trade-off is that sync only happens when both devices are online at the same time, so there’s no asynchronous replication. But between keeping my most sensitive data on a server somewhere, even if it’s encrypted, and forgoing asynchronous replication, the latter is far more preferable to me.
I’ll comment here a similar thing I said elsewhere in the thread about “scoping the problem” — synchronization becomes quite easy and low stakes if the thing you are synchronizing isn’t sensitive. I send around a config file that describes what sites I care about. I email it, copy/paste it, check it into github. Easy enough. Technically this is PII but so is lots of stuff I handle with this level of care. The thing that matters is that absent my passphrase, it isn’t security sensitive authentication info.
This is not unique to 1Password but any password manager and the compromise does not have to emanate from the password manager software and could instead come from something like another infected version of Notepad++ that is a credential stealer that is password manager aware.
Any software you haven't fully vetted yourself can compromise your password manager, including OS vendor updates.
I know I would rather 1Password that puts all their eggs in one basket and watches that basket carefully than Keepass and its disparate ecosystem developed by multiple different authors with no consistency in its security. There's no doubt this incident, which I wouldn't say is a nothing burger, but something along the lines of milquetoast will see a surge of stricter security processes across the board as goodwill and confidence from users is the bottom line.
This is a very good point, it also assumes that all users are hyper updating their products or have auto updates enabled, which is a separate topic for debate and one that I think is over emphasize. Ie that auto update enabled must be the default (i.e. you must always immediately update all apps and auto update should be enable)
>This is a very good point, it also assumes that all users are hyper updating their products or have auto updates enabled
If that's the default, most do. And it doesn't matter if everybody is "hyper updating" or not anyway. It's enough that they update within any span of time, months even, as long as the compromise isn't discovered yet.
> 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.
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.
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.
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.
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.
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.
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.
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.
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?".
"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!"
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.
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.
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).
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?
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.
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.
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."
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.
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".
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).
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.
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.
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.
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.
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.
"you almost certainly can't literally have a team of people line-by-line reviewing PRs anymore"
Then you can't afford to be in business. Good luck to your greedy executives and the greedy shareholders.
EDIT: and good luck with the burnout, as long as developers are willing to bite off more than they can chew employers will continue underfunding teams.
>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
Oh yeah? Then why are we paying 1Password or any SaaS vendor anything, if it's just prompting and praying?
That said some AI agents have gotten good at both code review and real time pen testing. Still, I'm okay with artisanal line by line review where all my passwords are concerned.
> 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).
Sure you can! You can embrace simplicity and minimalism, have smaller codebases, fewer features. And be in control. It's ok. You don't need to join the madness.
>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.
1Password client unlocks them and shows them to the user. If the attacker can push code to the client, they can access any secret, including the unlocking password.
If only you could mitigate this hole in their entire security premise... something like require two people to sign off on a change before it goes live? Some kind of review step?
Unsure how this would look but maybe there's something in it...
>If only you could mitigate this hole in their entire security premise... something like require two people to sign off on a change before it goes live? Some kind of review step?
If somebody has access to their systems, the change could very well be snuck to engage when building too, and not in the source code shown in the repo as some diff/commit/PR.
Not sure what you meant by “outcompete”, but I would think rolling my own password manager would improve my security. (Perhaps not ergonomics or features I don’t use — but I have to open 1Password by hand and copy paste about 30% of the time anyway.). Among other reasons, a home grown encrypted store is not a known target.
Of all the consequences of AGI and "the singularity" probably I most look forward to finally a cure for the epistemological shell game that is (a trap for) modern cybersecurity.
Not sure where or when it became this way, tbh, but somewhere along the way it turned sour for me as a practitioner.
> 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.
Oh it is absolutely possible and it is absolutely required except for regions of your business where you can accept risk. Whoever thinks code review is not required in critical systems is in AI-delusion and just hasn’t spent time or mental capacity to actually review their own AI code and simply trusts the process, which creates bad code ALL the time.
I think that's the wrong question / wrong way to approach a fix.
I suspect we're going to move to a very different type of defense mechanism, which is proactive defense from agents. Always-on agents on servers that identify attack threats / odd behaviors in realtime. In a weird way, we're moving towards systems that are more akin to anime/video games, where agents track you down and prevent you from acting in real time.
I'm already trying similar things on some of my non-essential servers, and it's starting to convince me this might be the proper way forward.
In 1Password's case, everyone's getting owned when the attacker gets access to their update pipeline. At this point, I see "1Password will update when you restart the app" about 20% of the time I open 1Password.
The situation is really asymmetric: the attacker only needs to deliver a poisoned update once and it's game over. It doesn't matter for me [1] if the poison is quickly patched and the update is pushed out; I'm already fully owned. There's no realistic possibility to rotate 1k+ secrets before an LLM-driven attacker puts anything of value in there out of my reach.
Alternatively, 1Password needs to slow the hell down and make triple sure that every update is safe. Maybe release new version every few months or even once a year, like they did before their SaaS pivot.
[1]: Although the situation is really different for corporate customers, which are now the main focus of 1Password.
A few years ago after one of the password managers had a breach a friend said to me that an online password manager is only as strong as its weakest programmer.
Do you have an updated recommendation about managing password in 2026 for the typical "tech savy" person with a big part of their life online?
Until recently, I thought 1password w/ strong keyphrase + HW token and 2FA in 1password was the right tradeoff between convenience, security and recoverability. But today, I don't know.
> 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.
I'm not sure if this holds. Attackers being able to push code changes implies them being able to push client-side code changes as well. Which means my next 1Password update could download code that will extract my secrets after I unlock my vault and send them somewhere.
Now what I don't have first-hand knowledge of is how much of that data is available in (e.g. ~/Library/Group Containers/2BUA8C4S2C.com.1password/Library/Application Support/1Password/Data/1password.sqlite ) such that one could recover all data if 1password.com went offline. This is a different risk than 1P severing the billing relationship with the account, since they allege that read only access is available indefinitely
For me what’s still a massive challenge, as a fully remote company, is in fact credential management for employees. They need access to systems, but - as you say - at some point one of their computers will get compromised.
We’re a small startup, but even then, this already happened once to us in the past (fortunately very low impact).
What’s the modern solution for this, without creating an insane amount of friction for employees? I feel like letting them install password managers in the first place is already a mistake, as this implies they would have direct access to credentials, but other than than “log into cloud based remote workspace which has almost no permissions” which you see in enterprise contractor environments, I don’t see a good solution.
I've been at remote companies where I've been given more access than I strictly needed. One of my ideas is to have a system steward (not merely a sysadmin), which does control the security posture of the company.. The role is to be a an access overseer. The main source of friction in automated IAM is tracking down who is actually authorized to take action. With this, you have a dedicated team that can resolve some low level issues and contact the relevant person for high level access.
Critical information access are temporary and restricted to the task at hand. Most common access should be read only and tailored to the position. All updates are logged and monitored.
So why should all employees be allowed to merge to the main repo? You can easily create another and assign someone to take care of transferring commits manually for releasing to prod. Maybe this repo is on another platform from where collaboration happens.
Investigating a bug in prod? Sure, contact the prod teams which will send you small sized dump of the necessary data. IMO that's better than doing the whole vpn and oauth dances. It's like how you go to an armory and the person responsible only give what is requested and does not allow you to enter.
Yes, there's a chance of social engineering. But it's way easier to secure a few high profile target than to have everyone has some keys to the main infrastructure.
Every time dependabot demands that I update a dependency I find myself asking why we think the new version is safer than the old one.
Sure, the old one has known bugs, but the new one may have unknown bugs.
I think we'll land on a solution where some moderator decides when it's time to roll out a version widely, and that moderator is totally independent of whoever wrote the code. Different companies. Checks and balances. We push new code through both gates in a hurry only when both parties agree that the risk is warranted.
> Sure, the old one has known bugs, but the new one may have unknown bugs.
If you feel this way about a given dependency (as opposed to just worrying about supply chain attacks), that indicates you don't really trust the developers and shouldn't be using it at all.
When a new version shows up, how do you know it was even authored by the developers that you trust?
If you don't know the developers personally, but instead know somebody who knows somebody who does (and I think that's the case for most of us, most of the time) it could take time for news of a compromised account to reach you. Whatever that lag is, you shouldn't be upgrading to new versions any faster than it.
Dunno, git commit hook that injects the code, modify global AGENTS.md, add agent hooks, blah blah blah.... developer signs off anyways cuz apparently no one's reading all that garbage.
Decentralization and decoupling is one of the only remaining defenses against AI-powered attackers.
You can put up N walls but if each of them is open source, an AI can look for holes in it (unpatched or 0days) and then just chain exploits together. I saw this recently with php2shell chained to kernel exploits on machines we operate.
Rather than patch a million environments, I believe it’s time to start over with provably secure environments as templates and evolve from there. I’ve come up with an entirely new thing called “inductive security”, where you start out with a secure posture and prove that each state transition is still secure. (Blockchains are an example of this, but it can be generalized).
Should I reach out to you by email? I’d love to have a conversation with you on our show, about security in the age of AI. It looks something like this: https://www.youtube.com/watch?v=JWrRqUkJpMQ
Not sure I agree regarding massive PR rates. If you keep it to only patches and internal security it is quite manageable - it is just finding room for it in between all the bad product ideas that gets hard.
I would argue that you can literally have a team of humans reviewing each line. We can either go back to the way things were (for industries where that's an option) or have the right amount of people to safely move at this new speed. Right now we're in a transition space where skeleton crews are expected to maintain impossible velocity while maintaining quality. It's not possible and things are burning left and right as a result.
You want to safely move 10x as fast? Cool, you need to hire more . There are no AI savings, it's a myth to get you to buy the stock.
How about: An LLM reviewing every single PR, and preventing merging to main if it suspects malware or obfuscation. Can only be overruled by agreement between two reviewers other than the PR author (that last number can be raised, in order to require N compromised accounts at once)
> You could not outcompete 1Password by building a handcrafted artisanal password manager backend
This is where I stopped reading. Whenever I hear details of similar incidents, I keep wondering why these companies keep reinventing security. Secure enclaves are now built into said laptops since more than a decade.
you almost certainly can't literally have a team of people line-by-line reviewing PRs anymore, at least not across the whole codebase
Why not? We did that for years before the advent of AI. Especially for something as security critical as this application, I'd prefer as small as possible a codebase with minimal features, done right.
I’ve been thinking about this a lot recently and feel there’s a divide here that probably matches the divide between coders who actively and with thought are ok with AI and the ones completely opposed. I am not making a value judgement about either group. We treat PRs as though they are the natural order of things, but they’re just the proof we all settled on. What else could stand as proof of work being done correctly varies by task (front end tweak versus database migration, screenshots work for the former but not the latter) so it’s not particularly obvious what “it” should be. Is a code change which closes a known security hole but opens another worth being blindly deployed simply to buy time against an infinite number of attackers? It is weird to think of code changes as temporary p, as the work as temporal itself, but it always has been and now the question is what level you put the thought and care into.
A product like 1 password does not have to have tons of features. It could solve the problem of password management in a straightforward way and stop there. Then focus all effort on maintaining security. Which, as you pointed out, may mean having few employees.
There are plenty of solutions to these problems if you don't jump on the bandwagons of needing to use AI, scale as big as possible, etc.
How you solve people's need to go big and jump on bandwagons might be the real problem.
Securing things at scale can be very different, it's a shared attack vector to access a lot of things.
The point about not using AI is kind of moot here, because the scale of AI is used to attack services like this, and it's increasingly looking like AI might need to be used in a way to harden, defend and secure at scale to.
I am skeptical that anyone is threatened by their password manager not getting enough updates. My lightbulbs don't get frequently updated either. Or my front door.
> you almost certainly can't literally have a team of people line-by-line reviewing PRs anymore, at least not across the whole codebase
I agree. At my company though we have an AI code review bot that has to approve a PR, if a human doesn’t or can’t (some file paths require human review).
I’m curious if this is somewhat standard now, and if 1Password does something similar, why did their AI code review bot approve the malicious PR? Or did the attacker push up code without a PR (gulp)?
>You could not outcompete 1Password by building a handcrafted artisanal password manager backend
Isn't 1Password backend just an ftp server where you put an encrypted tarball with your passwords and let the world mirror it? If it's breached, you nuke the disk and start a fresh ftp server, where users upload encrypted tarballs again.
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.
Replies (57)
Replies (1)
Replies (3)
However, now I’m transitioning to self-hosted VaultWarden, as 1Password 7 support (by AgileBits) is apparently going to stop.
My plan is to have it on an ultra-locked down PoE-powered Raspberry Pi[1]. However, that Pi doesn’t need to be on all the time either, only if clients actually need their vaults updated from other clients’ updates, which is pretty infrequent.
So it’s local, it can be synced across my devices, it’s not publicly accessible (even through WireGuard), and if necessary the server can be “offline” if I choose.
-----
[1] Everything bought years ago when prices were normal. I know prices are nuts now, but I already had them, and they’re < 2W idle for 4-cores and 8GB RAM powered over PoE.
Replies (1)
I'm also not a fan of 1Password moving to a node based client. But unfortunately many of the alternatives, like a local BitWarden / VaultWarden [0], are also essentially JavaScript based. I had been setting up VaultWarden and "SmallStep CA" for TLS but am not happy with it.
The macOS client (node) looks and behaves really, really poorly. Migration also seems broken / poorly implemented. When you import things created years ago, BitWarden / Vaultwarden reports these as being created on the import date - the creation date is in the import data. If any item has an incompatible field (too large?) the whole import fails until you track down and remove the offending data. In this case it was an Airline loyalty card that had stored the entire "terms of service" in a hidden field when the account creation form was submitted - causing 1Password to save a very large string in an element that is not normally visible, but will get exported.
What I cannot understand about 1Password is why they gave up on offline vaults. As an organization, do they really have zero need of any offline secrets? If they do need offline secrets what on earth are they using if it isn't their own product!
1Password is going to loose me as a customer.
[0] A VaultWarden docker image contains the JavaScript client and the desktop clients are also node based.
No Android release since 2022-08-04? MacOS release last month, after a 2 year break?
Seems pretty abandoned, no?
And you had no issues with its security history, eg?:
> A 2017 analysis by the Fraunhofer-Institut für Sichere Informationstechnologie (SIT) identified several security flaws in multiple Android password managers, including 1Password. The issues, which include Password Leakage, Https downgrade to http URL Titles and URLs Not Encrypted in Database Read Private Data and Information Leaked were reported to the developers and subsequently fixed. [0]
And the clickjacking issues?
Don't mean to attack you; just a bit surprised by your use of seemingly abandoned software.
[0] https://en.wikipedia.org/wiki/1Password
Replies (1)
When you look at actual, real-world attacks 1password holds up fairly well because of solid design and polish:
- Use of PAKEs for auth
- The Secret key as 2FA (compared to breakable email/sms for others)
- UI patterns that discourage unsafe use (like autofill on a non-registered domain)
You can find reports like that for every mainstream vault and if KeePass were reviewed by the same standards it would not hold up well (in particular, browser integration / phishing resistance are much worse for it). Most of the DIY implementations you will find in this thread are using worse synch methods with weaker auth than what 1pass uses.
Replies (1)
Continue this thread (1 replies) →
Replies (1)
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.
Replies (2)
(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.)
Replies (4)
Replies (2)
I have absolutely no financial stake in 1Password and don't believe I know anyone who works there. I am at this point more likely to conjure up my own password manager than I am to give them more money. I'm just telling you what I believe to be true.
Replies (2)
That’s surprising to me. Upon further reflection, however, maybe that inspires confidence? They didn’t spend cycles getting your endorsement.
Nearly 10 years ago, I used to tell my co-workers "Thycotic is psychotic". No cryptographic primitives at all, just TLS and SQL Server's at-rest encryption. Permission to access a given secret is literally a if-condition in server code.
Hopefully that's changed since then
Continue this thread (1 replies) →
https://agilebits.github.io/security-design/
Replies (2)
If you want to run a local-only password manager to foreclose on attacks to backend infra, god bless you. I do the same thing. But that doesn't really address the point I'm making here.
1Password's "secret key" is a pretty good level of security against over-the-shoulder surveillance, where the attack vector is someone observing you enter your password -> they obtain the encrypted vault data somehow (breach/3 letter agency) -> can decrypt your entire vault. With secret key, compromise means the attacker would need access to your devices to reveal the qr code / secret key as well.
Replies (1)
Continue this thread (1 replies) →
That is, they are only ever as secure as the client software is (browser plugins, CLI, 1Password.app/exe, etc.) -- their dependencies and the servers that host them.
Yes, customer vault data is as secure as it could be: E2EE, double-encrypted at rest (filesystem encryption and 1P-encryption) and double-encrypted in motion (TLS and 1P-encryption), and a massive bounty for working exploits. The client software that decrypts it is only TLS-encrypted in motion, but Windows/macOS signing and notarization mitigates any mistakes in TLS implementation (browser plugins aside). And access to a given vault or secret is entirely based on cryptographic primitives. So mostly well and good.
The weakness I saw was that they don't go into a lot of detail on the operational supply and delivery chain for client software -- it may not even be possible to fully guarantee the security of these using cryptographic primitives. One example: an attacker could use a compromised build server to inject an exfiltrator into client software, and we'd be none the wiser.
Replies (1)
Instead it seems they went for more obvious attacks like exfiltrating customer data, luckily for customers.
Replies (1)
But I do care if they installed backdoors into build or file hosting servers for client software.
Replies (2)
Replies (5)
You technically only need a fingerprint right before you push, so you can sign all the commits just then.
Replies (1)
Replies (2)
Continue this thread (2 replies) →
My biggest issue now with AI is that I usually miss the blinking led because I have multiple things going on in parallel, so I have a memory to retry which means I need to re-enter the pin to unlock, but at least it's a pop up in your face. If I leave it to do things in the background and I want commits, I ask it not to sign the commits, and I resign them at the end. It probably needs a history cleanup anyway in this case.
Replies (1)
Replies (2)
It's not fun to work in places with such developers where they hog all the build servers and it takes 3 hours to push something.
Thankfully I had the right to bump jobs in the queue so I'd do that if I needed something quick, the people who are just random/vibe coding can wait.
But I guess that's not the vibe work flow.
Replies (1)
Replies (1)
Replies (1)
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?
Replies (2)
There's no reason to punt on this problem. It's a solvable engineering challenge. You're inevitably going to get dragged into needing to solve it, one way or the other. You can plan to solve it and do so diligently, or you can scramble to try to solve it after it blows up in your face.
Replies (2)
I think there‘s a hidden assumption here that you should make explicit: you appear to be claiming that reliance on generative AI to write large amounts of production code is part of the premise of doing modern SAAS security. And if that is your claim, then no, I don’t accept that premise.
> It's a solvable engineering challenge.
If my interpretation of your claim is correct, then I‘m not sure it is solvable.
Replies (1)
Replies (2)
I’m confused by this. At 1Password, the security team and the engineering team are one and the same, no? Do you just mean that 1Password needs to support customers that use coding agents? In which case, sure, but that doesn’t mean 1Password itself needs to use coding agents to write its own internal source code. 1Password has many customers, ordinary consumers for example, who are much less strict in their own security practices than 1Password. The goal is for 1Password to help its customers but not to emulate its customers. If 1Password were no better at development than ordinary customers, then what’s the point of 1Password? Just vibe-code an alternative.
Continue this thread (1 replies) →
"engineering teams that use coding agents" <-- is a choice that the company is making.
"unprecedented change velocities" <-- another one.
The point is these are not forces of nature or inherent attributes of software development. The choice to mindlessly "move fast" is a choice companies are making.
Someone with your background should know that choosing to solve an "easier", more tractable problem is cornerstone of security (not just cybersecurity, i.e. creating choke points; or the famous swiss cheese model; not exposing services that don't need to be exposed instead of finding and patching every bug). Should companies get rid of physical security and background checks too? As soon as AI came along people just started throwing out all of those hard-learned lessons out the window.
There's no justifiable reason for a password manager to chase "velocity" to the point of not reviewing PRs line-by-line, that's the bare minimum. You're in the business of selling trust and there's nothing trustworthy about a security company that doesn't review its own code.
By all means, knock yourself out and build an army of AI agents that review the code with the goal of preventing even the most malicious, high ranking insider from doing harm. However removing the existing processes before you've finalized and proven that the new ones are up to the task and have an established track record in less sensitive applications is extremely negligent.
I've read your comments several times and while I feel like I must've misunderstood them, I don't see how. If your company does that then please be transparent about it so that people like myself can avoid the circus.
Replies (1)
> You're in the business of selling trust and there's nothing trustworthy about a security company that doesn't review its own code
1Password was in that business. They aren't anymore, they're a B2B SaaS. They don't sell trust, they sell liability. If your 1Password gets popped, it's a catastrophic risk of losing your childrens' photos forever. If a corporate 1Password gets popped, it's a ticket for the lawyers' team.
They are a different business now, and reading tptacek's comments I think he understands that. Unfortunately, most of 1Password's private customers don't (yet).
I guess the VCs are demanding it, since they've raised all the way up to Series C:
https://en.wikipedia.org/wiki/1Password#History
> 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
Pretty myopic views. Just because you think you can't doesn't nobody can. I say that it is both possible, reasonable, and sometimes necessary. In particular for a secrets manager.
Claiming "it's impossible for any tech business to review their own code" as some sort of truth is just disinfo.
Especially since SWEs are paid more than lawyers, why cant a software engineer read line by line?
I fundamentally reject the premise that a) every product needs millions of lines of constantly changing code and b) that a 200k SWE is just too good to read line by line as a competent lawyer often must.
Replies (3)
Reading line by line with the expectation that review could actually catch clever smuggled attacking code seems like a weak layer of defense.
eula after eula, its always the same: you have no recourse and we take no responsibility...
Folks if you are reading this thread - which I’m sure you are - do take this as a clear sign why local vaults are necessary.
[0] https://news.ycombinator.com/item?id=24054864
Replies (5)
Replies (2)
I'm a 1Password 7 person, which means I of course hate the cloud stuff they did to the consumer product. But I ruefully accept that this was pretty clearly a decision they had to make.
I'd be more sour about it if I wasn't certain I could do a perfectly cromulent local-vault 1P7-alike in an hour. The only reason I haven't already is I don't think I could make the UI as pleasant, yet.
The industry standard for cryptography and platform security has improved to such an extent since 1P7 that I think I'd probably come out ahead on security for doing this. I'm going to shut up now before I talk myself into doing this.
Replies (9)
I think you should keep talking. And then build it :D I’d accept a slightly worse UI if the cryptography of this 1P7-alike was tptacek directed. And I imagine more people on HN would too. I would happily pay $20/month for that, which isn’t a lot I know but if enough people subscribe, it could be enough money to make sense maybe?
Replies (1)
Continue this thread (2 replies) →
Replies (1)
This is a totally ludicrous assertion, unless by "market" you mean "VCs and shareholders expecting the maximum possible short term ROI". 1Password has very deliberately worked towards subscription lock-in and actively hindering any other option except via leaving. The market (as-in, customers) did not push they go that way at all. There was no A/B test here where they offered an equivalent self-hosted solution with a standard payment model.
>But I ruefully accept that this was pretty clearly a decision they had to make.
It is not merely "pretty clearly" but very clearly not a decision they "had" to make. It was a custom-hostile decision that makes them more money, same as endless other examples of enshittification. Their bet will probably work out in the same way that gambling and other hostile decisions work, no one denies that creating moats and exploiting human psychology and so on works. Though I suppose one small solace of the plummeting barrier to entry with software development is that there is a higher chance then there once was for it not to work out and superior alternatives to appear. Their moat isn't infinite.
>The industry standard for cryptography and platform security has improved to such an extent since 1P7 that I think I'd probably come out ahead on security for doing this.
Agreed on this, and it's tempting depending on how the experience with Vaultwarden goes. The UX is definitely a real concern, there's a social aspect to all this, but it's not an insurmountable one.
Replies (2)
There's a lot more money in organization accounts than there is in individual consumer subscriptions.
They published numbers for this in October 2026: https://1password.com/press/2026/october/1password-surpasses...
> Surpassing $500 million in ARR, with the share of ARR from its 200,000+ business customers exceeding 75% and continuing to grow
Continue this thread (1 replies) →
The people with real money, aka businesses and not individual end users, nearly universally want cloud solutions. Very few businesses want to deal with the headache of self-hosting anything these days; the extremely tiny minority of large enterprises who would be interested in self-hosting are special cases that wouldn't use an off-the-shelf non-cloud solution anyway. (I'm primarily thinking of governments which often do not use public clouds but instead get vendors to build cloud-like infrastructure specifically for them.)
Reason I haven’t done it - I’m not confident in my skills when dealing with cryptography (obviously not a concern for you ‘tptacek - I’ve read your posts/comments for more than a decade at this point). I’ll continue using my self hosted vaultwarden with tailscale as that’s more my wheelhouse.
Just yelling this into the universe for someone to hopefully pick up on. :)
Also thanks for the word cromulent.
Replies (1)
Continue this thread (1 replies) →
Replies (1)
My password manager is "KenPass" and I vibe coded it in about that long. It's not just local vault too, it syncs conflict-free to any WebDAV-enabled web server with mTLS for auth, and I use my homelab server with a wireguard tunnel, so that's as much "cloud" as I need. I never made it public because there's no need, anyone who wants one can just vibe one too. I dropped my 1password subscription and couldn't be happier.
(The UI kinda sucks and there's randomly missing use cases in the iOS app that I haven't bothered to fix up because saving new passwords is so rare, but I could fix all of this with another 20 minutes of vibe coding, but I haven't bothered. But you know what KenPass doesn't do? Send a bunch of pushy notifications to unlock my vault whenever I'm typing a form. Or put up a "What's new in KenPass" with a cutesy "Got it!" button whenever I open my browser. Or any other dark pattern bullshit.)
https://www.1password.community/announcements-52/psa-1passwo...
Well, I guess I'll move my business elsewhere some time around then too.
Replies (1)
Replies (3)
Continue this thread (2 replies) →
e.g: https://news.ycombinator.com/item?id=43356283
Replies (1)
And then the product got massively more complicated, too. I still think they're trying, and likely better than almost all similar options, but I haven't been able to recommend them to most people for many years.
The relatively normal people I know who did try bounced out within a year due to the UX, and two lost every password: one from UX confusion, one from horrible cloud-account-connected behavior that left no recovery route, despite multiple logged in devices. The latter in particular is an insane failure mode, and one a local version never has.
Replies (1)
Replies (2)
Replies (1)
I'm a bit naive, but isn't this relatively straightforward albeit annoying? Separation of duties and requirement of hardware 2FA on push, merge, deploy. Add additional reviewers, human or LLM, as deemed necessary.
Replies (1)
Replies (2)
But how do we review the review of the review agent?
Replies (1)
Thoroughly exhaust the space of all available LLMs and their infinite configurations, harnesses. Test every conceivable prompt and approach, such that any remaining gaps are unlikely to be discovered by any publicly available LLM. That would certainly cost more than expert human review so just prayer should do it.
However, despite its other benefits, AI code has been a huge step back on almost every dimension we need for that plan to work. It is no longer the case that I've never seen an AI create a strong type, but I still don't see it thinking in terms of what values of this type guarantee very often, or any related concept. It still erases any such guarantees I add more often than it builds on them, even when I explicitly document the guarantees in the code docs (and then when it erases them, it leaves the comments about the guarantee behind, naturally). It is hard to fence an AI off to tell it not to modify this bit of code... not necessarily impossible but the models seem to presume that if they can see it, they can change it, and they basically YOLO and hope the test suite will catch anything that breaks as a result of their particular change written from the hyper-local perspective of the task at hand. They still want to write reams of scripting code where, for instance, every access to the database is individually responsible for maintaining any security guarantees related to the data in question... and then they often refuse to load the skills that might explain the guarantees that are necessary, and then the skills fall too far back in the context window to be taking effect. If I force them to be secure by building right into some function call a declaration of what permissions must be held to execute it, they rarely get the permissions completely correct and really love to just bypass the check, sometimes in distressingly clever ways. Even when asked to be sure to write tests that assert that permissions fail correctly.
It's a very fast programmer. It can often do surprising specific tasks. But in a lot of ways, it's still not very good, when you really get right down to it.
Without an exceeding strong hand the AIs I've seen build code that fights this on almost every level. If someone has some magic sauce to address my complaints and prove me wrong I am all ears... I'm getting kind of tired of the constant fights with my AIs over these issues. I'm trying various tweaks out but it takes time to try them out fairly.
I used to think Star Trek was silly in the way it portrayed every computer system as hackable in about 15 seconds with the moral equivalent of a paperclip, but I begin to see a world in which that makes sense to me.
Replies (1)
A recent talk from Poteto sketched some ideas here: https://m.youtube.com/watch?v=O_zcc6Xl12g
The importance of verification is well understood, but some of the ideas around API design were novel to me -
1) ban comments, they usually mean nuance was required, instead just force the LLM to make the APIs more explicit. (Lints to ban comments at pre-commit and tell the LLM what to do instead.)
2) ban sketchy / confusing APIs from your language/framework.
I’m sure you’ve tried a bunch of this so I’d be interested in any concrete examples you can share, but it does sound like you’ve been trying to make Capabilities and strong typed APIs work, which is the right direction IMO.
I would have thought Claude hooks could prevent modifying particular bits of code though, from your list of issues above. And anything you can put in a lint will be resurfaced at the time the invariant is broken, rather than requiring the agent to remember CLAUDE.md line 336.
For any serious project I like the Hexagonal pattern of having CLI and API being two UI layers atop the same underlying Application layer, and then you can ban special-case scripting logic. I always found this architecture a bit too boilerplatey to use in small-to-medium projects but LLMs can do it well (and you can enforce the layer interfaces deterministically too).
There are so many ways you could go after such an idea, especially if you had the developer's known (good) commit history. (Admittedly less so now that Claude makes everything so similar).
You kinda have to wonder if this is necessary or true. I can’t say I’ve seen the rate of significant product improvements from SaaS providers increase this year (for 1Password in particular, I can’t think of one thing that had changed this year in the product).
However there has undoubtedly been an uptick in major outages and security incidents that have accompanied the increased rate of change.
Replies (11)
Replies (1)
And more importantly, it is very dependant on how much "stuff" you have in your programs and architecture: lines of code, dependencies, programs, products and third party services .
Replies (2)
The actual semantic meaning is simply "the people with the money and power to make decisions."
Replies (1)
jonahx: the word "leadership" is a euphemism. "negligence" is more fitting in most cases.
Your claim: "Negligence is not going to accept a lower velocity..."
The actual semantic meaning of leadership has ALWAYS been "the people with the money and power to make decisions".
Replies (2)
Only then can I imagine pilled corporate executives and the AI bros suddenly changing their tune.
On the other hand I can see them still arguing that achieving AGI is worth the cost and push even harder on the more powerful AI is the answer for everything narrative.
Replies (1)
What did US leadership learn from those?
9/11 was used as an excuse to invade Iraq and to institute domestic espionage.
What has the US done to prevent and/or prepare for another major hurricane? The Trump administration in particular has cut funding to FEMA.
There's ruthless natural selection in leadership, but the thing they're optimizing for isn't product quality.
The problem is that B2C customers get negative amount of value from those updates after taking the risk of the updates themselves into account.
Replies (1)
Regardless, code changes in a security product being pushed without adequate review should not be acceptable. There is a reason why enterprise security is priced so high.
Replies (1)
We are so far beyond that, the velocity demands are sky high from capital and the security/vuln risk.
> There is a reason why enterprise security is priced so high.
Enterprise Security is in the toilet. It was too slow and didn't provide enough value, and all of those third party vendors pillars have been hacked.
Replies (3)
Continue this thread (1 replies) →
Eh, ROI demands are sky high; the question `mikeocool` asked is whether or not code churn is actually contributing more to ROI today for established companies than a year or two ago.
I think the story on "max velocity vs revenue growth" is likely to play out very differently for 0->1, 1->10, and 10+customer type situations...
"We need to get these features out the door to win our first customers" is a clear ROI situation.
Shotgunning random crap at existing customers? Not so much. If the features don't have clear upsell opportunities to increase the value of those customers, then the customer retention question isn't simply "throw more updates at them and they'll stay."
Continue this thread (1 replies) →
I can say I've seen a decrease in product quality. Google. Amazon. Apple. This "coding is a solved problem" is such an f'ing joke.
Replies (3)
Replies (2)
Replies (1)
You’re not necessarily going to see that from mature SaaS providers. Having the capacity to write new code doesn’t automatically translate to product improvements - that part is still up to the humans to pick the right things to work on and see them through. Mature companies are effectively designed to constrain that process. They “move slow and don’t break things”, because one of the things they don’t want to break is existing revenue streams.
It’s another story for younger startups focused on new product development, though. But that too is constrained by human factors, including overambition encouraged by new capabilities, blunt-force management, etc.
Companies pushing on indirect metrics like volume of AI use, LoC, PR count are mostly going to discover variations of surrogation (confusing metric proxies with the actual goal), Goodhart’s Law (encouraging useless achievement of metrics), and vanity metrics that look good on a slide.
But this is all just bad management. None of it means that a company focused on delivering useful functionality isn’t going to benefit from high-speed development capabilities. But the examples of that have to rise up through the market, which still takes time.
One really good product, with a clear value proposition and a small but flawlessly executed feature set which solves a real problem effectively will outsell a pile of mediocre slop, every time.
This is my perception as well. And I have a lot of trouble reconciling this with the usage of AI I witness everyday (at personal level and professional level).
When you zoom in, we are shipping code faster than ever.
When you zoom out, appart from security breaches, I don't see such a significant impact in terms of features, UX, improvements...
Are we just using AI to build things that would never have been built in the first time?
Replies (3)
Yes.
When you're first building something, you're in the innovator's dilemma; building something that someone needs but they're not asking for.
In a mature SaaS, the incentivized path is to build exactly what your customer is asking you for, because it minimizes churn. But the result is certainly less innovation.
Long term, software will look a lot more like it did in the 90s. Fully bespoke, but reliably maintained with AI. That is a transition we are witnessing now with the FDE/Field CTO position demand going up.
Aside from the increased attack threat, this could also be symptomatic of AI velocity introducing vulnerabilities. Vibe coders on a dopamine fuelled vibe-PR binge tend to stand by their LLM output, citing how SWE has completely changed and everyone else needs to get with the program. I sincerely doubt this is creating good secure code.
..why?
This "you must move as fast as clankerly possible or you can't compete" is just not true. We didn't copy-paste code around and skip reviews in the past because we knew the costs. What's with this brainwashing? Is it anxiety-driven?
Apple built their entire strategy around moving more intentionally and doing things better.
> You have to accept insane PR rates as a premise to do modern SAAS security.
Not reviewing code in-depth just opens you up to more security issues, not less.
Replies (2)
It's FOMO on an utterly massive scale.
This is one of the weirdest mind viruses I've seen infect this industry since I began my career.
Replies (2)
Anthropic alone is pouring hundreds of millions a year into advertising.
They own tech that can flood every online channel with human-looking content pushing whatever ideas they want.
They have enough money to sponsor every major content creator in the tech space.
They own X, Meta, Google, YouTube.
The amount of influence they have in the online space is insane. I don't think the mind virus is surprising at all.
(I'm sure some people will take this as being anti-AI. It's not. It's a "lets take a step back and actually think for a second")
The shock of some vendors over the idea folks want to use SOC as a starting point is mind-blowing.
As we see more of these breaches I believe enterprises will wake up and exert commercial pressure on SAAS folks.
Replies (1)
For a password manager? A fucking password manager? Apart from bumping their dependencies, what do they even need to work on?
What are we doing? What's going on?
Replies (2)
I like to blame Continuous Delivery for this. It's never been easier to ship features to prod, so it's just people just pushing patches, all the time. No time to review (and obviously there's no QA department anymore), maybe we'll remember to glance at the prometheus metrics next week (spoiler: no we won't)
I think this is one of those areas where we'll have to rethink local security. It's still pretty common I think to have a bunch of unencrypted credentials to GitHub, AWS etc flying about in some ~/.config directory. Pretty sure most CLIs support encrypted credentials by now, but depending on the OS there's just too much friction to set this up when all you're expected to do is push more and more code (going back to the change velocity argument). Ultimately, that means any laptop is ripe for picking with "easy" attack vectors like compromised packages (or just plain old phishing).
Replies (2)
Replies (2)
Replies (3)
I don’t know that they could.
Replies (1)
Continue this thread (3 replies) →
The effect is that there's no vault and my password security is based on information that's entirely in my head. I'm trusting in the strength of some fairly mundane cryptography, but also: it's just passwords for online services (the most important of which have 2fa).
Replies (1)
Continue this thread (2 replies) →
Replies (3)
> reliably match the reliability and security of a company that is actively monitoring for attacks
Well with the flurry of incidents recently, and unclear future, that's the detail that could be tipping the scale. See original article.
Continue this thread (1 replies) →
The trade-off is that sync only happens when both devices are online at the same time, so there’s no asynchronous replication. But between keeping my most sensitive data on a server somewhere, even if it’s encrypted, and forgoing asynchronous replication, the latter is far more preferable to me.
Continue this thread (1 replies) →
Any software you haven't fully vetted yourself can compromise your password manager, including OS vendor updates.
I know I would rather 1Password that puts all their eggs in one basket and watches that basket carefully than Keepass and its disparate ecosystem developed by multiple different authors with no consistency in its security. There's no doubt this incident, which I wouldn't say is a nothing burger, but something along the lines of milquetoast will see a surge of stricter security processes across the board as goodwill and confidence from users is the bottom line.
Replies (2)
If that's the default, most do. And it doesn't matter if everybody is "hyper updating" or not anyway. It's enough that they update within any span of time, months even, as long as the compromise isn't discovered yet.
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)
Replies (2)
Replies (5)
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)
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.
Continue this thread (1 replies) →
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)
> 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.
Continue this thread (1 replies) →
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.
Replies (2)
They are right.
Continue this thread (3 replies) →
Continue this thread (1 replies) →
Replies (1)
Also thanks for mentioning the "red queen", it's pretty insightful: https://en.wikipedia.org/wiki/Red_Queen's_race
We're ticking closer to Neuromancer's cyberpunk world, where AIs both attack and defend.
Replies (3)
Replies (1)
A trade I'd almost take at this point!
We'll inevitably move towards AI defense as we see agents discovering zero days and launching social engineering attacks.
Replies (1)
Replies (3)
Continue this thread (1 replies) →
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).
Continue this thread (1 replies) →
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?
Continue this thread (1 replies) →
Trying to run faster is not an option. Not having vulnerabilities to begin with is.
Replies (2)
Replies (1)
Continue this thread (1 replies) →
It’s good that we’re now operating with this assumption now but as someone in incident response we’re about 10 years late.
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)
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.
Replies (2)
Replies (1)
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)
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.
Then you can't afford to be in business. Good luck to your greedy executives and the greedy shareholders.
EDIT: and good luck with the burnout, as long as developers are willing to bite off more than they can chew employers will continue underfunding teams.
How do you explain Google and other companies then ? They are doing something right
Oh yeah? Then why are we paying 1Password or any SaaS vendor anything, if it's just prompting and praying?
That said some AI agents have gotten good at both code review and real time pen testing. Still, I'm okay with artisanal line by line review where all my passwords are concerned.
Sure you can! You can embrace simplicity and minimalism, have smaller codebases, fewer features. And be in control. It's ok. You don't need to join the madness.
https://www.todoist.com/help/todoist/get-started/security-in...
1Password client unlocks them and shows them to the user. If the attacker can push code to the client, they can access any secret, including the unlocking password.
Replies (1)
Unsure how this would look but maybe there's something in it...
Replies (1)
If somebody has access to their systems, the change could very well be snuck to engage when building too, and not in the source code shown in the repo as some diff/commit/PR.
Replies (1)
Not sure where or when it became this way, tbh, but somewhere along the way it turned sour for me as a practitioner.
Oh it is absolutely possible and it is absolutely required except for regions of your business where you can accept risk. Whoever thinks code review is not required in critical systems is in AI-delusion and just hasn’t spent time or mental capacity to actually review their own AI code and simply trusts the process, which creates bad code ALL the time.
The research is VERY clear about this as well.
https://www.endorlabs.com/learn/opus-5-5-6x-cheaper-and-2x-f...
https://www.gitclear.com/the_ai_code_quality_maintainability...
https://arxiv.org/abs/2603.24755
https://2026.msrconf.org/details/msr-2026-mining-challenge/2...
https://arxiv.org/abs/2603.28592v3
I think that's the wrong question / wrong way to approach a fix.
I suspect we're going to move to a very different type of defense mechanism, which is proactive defense from agents. Always-on agents on servers that identify attack threats / odd behaviors in realtime. In a weird way, we're moving towards systems that are more akin to anime/video games, where agents track you down and prevent you from acting in real time.
I'm already trying similar things on some of my non-essential servers, and it's starting to convince me this might be the proper way forward.
Google and Mozilla, at least, still do this. And I think they're right to do so.
The situation is really asymmetric: the attacker only needs to deliver a poisoned update once and it's game over. It doesn't matter for me [1] if the poison is quickly patched and the update is pushed out; I'm already fully owned. There's no realistic possibility to rotate 1k+ secrets before an LLM-driven attacker puts anything of value in there out of my reach.
Alternatively, 1Password needs to slow the hell down and make triple sure that every update is safe. Maybe release new version every few months or even once a year, like they did before their SaaS pivot.
[1]: Although the situation is really different for corporate customers, which are now the main focus of 1Password.
Now it's even worse than that.
Why? For something as important as a password manager, I think hand review is still worth it
I'd pay more for one that was hand reviewed
Until recently, I thought 1password w/ strong keyphrase + HW token and 2FA in 1password was the right tradeoff between convenience, security and recoverability. But today, I don't know.
Replies (1)
I'm not sure if this holds. Attackers being able to push code changes implies them being able to push client-side code changes as well. Which means my next 1Password update could download code that will extract my secrets after I unlock my vault and send them somewhere.
Is that true of their business products?
Replies (1)
Now what I don't have first-hand knowledge of is how much of that data is available in (e.g. ~/Library/Group Containers/2BUA8C4S2C.com.1password/Library/Application Support/1Password/Data/1password.sqlite ) such that one could recover all data if 1password.com went offline. This is a different risk than 1P severing the billing relationship with the account, since they allege that read only access is available indefinitely
We’re a small startup, but even then, this already happened once to us in the past (fortunately very low impact).
What’s the modern solution for this, without creating an insane amount of friction for employees? I feel like letting them install password managers in the first place is already a mistake, as this implies they would have direct access to credentials, but other than than “log into cloud based remote workspace which has almost no permissions” which you see in enterprise contractor environments, I don’t see a good solution.
Replies (1)
Critical information access are temporary and restricted to the task at hand. Most common access should be read only and tailored to the position. All updates are logged and monitored.
So why should all employees be allowed to merge to the main repo? You can easily create another and assign someone to take care of transferring commits manually for releasing to prod. Maybe this repo is on another platform from where collaboration happens.
Investigating a bug in prod? Sure, contact the prod teams which will send you small sized dump of the necessary data. IMO that's better than doing the whole vpn and oauth dances. It's like how you go to an armory and the person responsible only give what is requested and does not allow you to enter.
Yes, there's a chance of social engineering. But it's way easier to secure a few high profile target than to have everyone has some keys to the main infrastructure.
Then the dangerous computer targets are the ones with much more powerful credentials.
I think we'll start to see larger PRs with more intentional review + deep AI review, rather than insane flow rates, become a thing again.
Sure, the old one has known bugs, but the new one may have unknown bugs.
I think we'll land on a solution where some moderator decides when it's time to roll out a version widely, and that moderator is totally independent of whoever wrote the code. Different companies. Checks and balances. We push new code through both gates in a hurry only when both parties agree that the risk is warranted.
Replies (1)
If you feel this way about a given dependency (as opposed to just worrying about supply chain attacks), that indicates you don't really trust the developers and shouldn't be using it at all.
Replies (1)
If you don't know the developers personally, but instead know somebody who knows somebody who does (and I think that's the case for most of us, most of the time) it could take time for news of a compromised account to reach you. Whatever that lag is, you shouldn't be upgrading to new versions any faster than it.
You can put up N walls but if each of them is open source, an AI can look for holes in it (unpatched or 0days) and then just chain exploits together. I saw this recently with php2shell chained to kernel exploits on machines we operate.
Rather than patch a million environments, I believe it’s time to start over with provably secure environments as templates and evolve from there. I’ve come up with an entirely new thing called “inductive security”, where you start out with a secure posture and prove that each state transition is still secure. (Blockchains are an example of this, but it can be generalized).
Should I reach out to you by email? I’d love to have a conversation with you on our show, about security in the age of AI. It looks something like this: https://www.youtube.com/watch?v=JWrRqUkJpMQ
You want to safely move 10x as fast? Cool, you need to hire more . There are no AI savings, it's a myth to get you to buy the stock.
This is where I stopped reading. Whenever I hear details of similar incidents, I keep wondering why these companies keep reinventing security. Secure enclaves are now built into said laptops since more than a decade.
Why not? We did that for years before the advent of AI. Especially for something as security critical as this application, I'd prefer as small as possible a codebase with minimal features, done right.
There are plenty of solutions to these problems if you don't jump on the bandwagons of needing to use AI, scale as big as possible, etc.
How you solve people's need to go big and jump on bandwagons might be the real problem.
Replies (1)
The point about not using AI is kind of moot here, because the scale of AI is used to attack services like this, and it's increasingly looking like AI might need to be used in a way to harden, defend and secure at scale to.
Replies (1)
I agree. At my company though we have an AI code review bot that has to approve a PR, if a human doesn’t or can’t (some file paths require human review).
I’m curious if this is somewhat standard now, and if 1Password does something similar, why did their AI code review bot approve the malicious PR? Or did the attacker push up code without a PR (gulp)?
Isn't 1Password backend just an ftp server where you put an encrypted tarball with your passwords and let the world mirror it? If it's breached, you nuke the disk and start a fresh ftp server, where users upload encrypted tarballs again.