187 points lxhrstn 1 hour ago 92 comments
tom1337 1 hour ago | parent
Interesting that their is no code review in place and the attacker could just deploy something.
fidotron 55 minutes ago | parent
Would hope that has significant hoops to jump through.
minaguib 52 minutes ago | parent
Mandating PRs has multiple benefits, but one of which is to prevent a single malicious actor from unanimously getting changes into production.
hnlmorg 49 minutes ago | parent
GitHub permissions are a joke. Github is more akin to a social network than an enterprise tool with regards to identity and RBAC. It’s a lot harder than it should be to give people autonomy without allowing abuse.
tom1337 45 minutes ago | parent
loginatnine 36 minutes ago | parent
You are also right that it's possible to have a secure setup, however there are multiple ways to get it wrong (see my other reply in the parent thread).
akmarinov 49 minutes ago | parent
loginatnine 39 minutes ago | parent
- If there's an external coding agent (copilot can be properly setup), if you can invoke `@codex` in a pull request to open a new pull request, you can then approve this agent-generated PR and merge it without human oversight
- If you don't have the "review the last reviewable commit" activated, someone can find an old unmerged but approved PR, add something in it and merge
- If you don't have the "dismiss previous approvals on push" setup with codeowners, if you have access to a github app with write access to the repo, you can find an old unmerged PR, push changes, use the app to approve your PR and merge (this can be protected by having a ruleset that require a review from at least 1 human with a team that does not contain the bots/app)
- If you're a GitHub repo admin, the ruleset might allow you to merge without review
- If you're a GitHub organization admin, you can disable rulesets, merge, and reenable them right away, making the attack very sneaky. Or just exclude your target repository.
- If users have the possibility to create blank repositories, then you can commit directly to main branch on the first commit, even though you have a ruleset that mandates pull requests. This works because the branch does not exist yet.
- If users have the possibility to create branches, a user can create a malicious protected branch, bypassing restrictions for the same reason as the previous point. Example : your ruleset protect `main` and `master` for backward compatibility. If user can create branches, they can push to a `master` branch on a repo where `main` is the main branch, bypassing restrictions.
There are multiple ways to get it wrong in GitHub and most people are not aware of these tradeoffs.
dwightgunning 1 hour ago | parent
> The attacker downloaded account records for a subset of our users. These records include:
> Names and email addresses
Looking at how far the attackers got through their systems and what data was extracted before detection is very concerning. Feels like a bullet was dodged.
cyanydeez 57 minutes ago | parent
atomic_cattlepr 40 minutes ago | parent
cyanydeez 18 minutes ago | parent
tptacek 57 minutes ago | parent
gib444 38 minutes ago | parent
What are you quoting? "courtesy" doesn't appear on the TFA's page.
ChrisHardie 55 minutes ago | parent
I've read their architecture docs about why online vaults are safe, and I understand that they have more resources to throw at securing infrastructure than I do. But "malicious actor pushes code to production services" seems like exactly the foundation for someone to eventually insert themselves into the middle of a user's access to decrypted vault contents.
I really wish 1Password would return to supporting local-only vaults.
varenc 51 minutes ago | parent
tptacek 49 minutes ago | parent
grey-area 46 minutes ago | parent
Well done to you for resisting their repeated attempts to force users into online usage.
varenc 54 minutes ago | parent
I miss the old 1Password 7, when I could still store my own vault locally or on Dropbox. I don't like that 1Password provides both the code, and the E2EE vault storage.
akmarinov 50 minutes ago | parent
varenc 20 minutes ago | parent
quacker 15 minutes ago | parent
Only a code change to a local app (browser extension, desktop app, etc) which is capable of unlocking my vault could potentially see my unencrypted password and ship it somewhere.
So then how are web vaults more vulnerable than local vaults to this kind of password exfiltration? If I used a 1Password app for a local vault (if it still supported them) I’d be just as vulnerable to malicious code changes.
varenc 10 minutes ago | parent
In the extreme case, the attacker could push a new 'phishing' site. But not really phishing, because its hosted on the real domain. The phishing site would just ask you to re-enter your master key and password. While suspicious, you'd have no way to know it wasn't trusted.
quacker 2 minutes ago | parent
ozgrakkurt 9 minutes ago | parent
Not sure something like this is viable on phones
tptacek 51 minutes ago | parent
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.
gib444 47 minutes ago | parent
tptacek 35 minutes ago | parent
GoofGarage 18 minutes ago | parent
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.
gib444 11 minutes ago | parent
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.
grey-area 47 minutes ago | parent
They also have access to things like reset tokens that were set in the db, though 1pass have since changed criteria for those to invalidate old ones. Sounds like they had full access to pretty much all internal systems from the update.
I was just persuaded to set up a 1password online account a few days ago after years of resistance to their all-online model, and now received this email. Sigh.
tptacek 33 minutes ago | parent
(I don't take the "access to source code gets them vulns" thing all that seriously. When I worked at Fly.io, we were fond of saying that'd we'd happily open source the entire stack if we thought anybody would be able to do something with the code. There's mountains of open source code that hasn't been seriously assessed, lots of it deployed in prod.)
AlanYx 31 minutes ago | parent
tptacek 28 minutes ago | parent
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.
Angostura 19 minutes ago | parent
tptacek 16 minutes ago | parent
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.
grey-area 5 minutes ago | parent
TimTheTinker 22 minutes ago | parent
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), but the 1P client software that decrypts it is only TLS-encrypted in motion. Windows/macOS notarization mitigates any mistakes in TLS implementation, but that doesn't apply to browser plugins AFAICT.
But the main 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 isn't easy to guarantee the security of these using cryptographic primitives.
Concretely, an attacker could use a compromised build or edge server to inject an exfiltrator into browser plugins, and we'd be none the wiser.
stanmancan 45 minutes ago | parent
kristofferR 22 minutes ago | parent
ablob 16 minutes ago | parent
You technically only need a fingerprint right before you push, so you can sign all the commits just then.
Antoniocl 15 minutes ago | parent
lapcat 33 minutes ago | parent
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?
tptacek 26 minutes ago | parent
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.
lapcat 18 minutes ago | parent
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.
tptacek 15 minutes ago | parent
lapcat 7 minutes ago | parent
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.
ValentineC 8 minutes ago | parent
I guess the VCs are demanding it, since they've raised all the way up to Series C:
pamcake 30 minutes ago | parent
> 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.
tmpz22 28 minutes ago | parent
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.
rectang 20 minutes ago | parent
Reading line by line with the expectation that review could actually catch clever smuggled attacking code seems like a weak layer of defense.
pishpash 14 minutes ago | parent
ceocoder 27 minutes ago | parent
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.
iambateman 23 minutes ago | parent
tptacek 20 minutes ago | parent
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.
QuantumNomad_ 9 minutes ago | parent
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?
ValentineC 11 minutes ago | parent
https://www.1password.community/announcements-52/psa-1passwo...
Well, I guess I'll move my business elsewhere some time around then too.
noname120 25 minutes ago | parent
dawnerd 13 minutes ago | parent
goosejuice 11 minutes ago | parent
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.
adverbly 48 minutes ago | parent
fn-mote 44 minutes ago | parent
I am pretty sure they try to state this in the section that says "What information was affected", where it says "these records include...". I'm so used to weasel words from breached companies that even relatively clear statements like these worry me.
> During this incident there were a small number of users in this state, who have been specifically notified. This token is used to complete the invitation or recovery process, but only when combined with an SSO sign-in or a six digit code sent to the user's registered email address
We'll find out later if this was part of some kind of targeted attack. I hope not.
drum55 16 minutes ago | parent
tristor 6 minutes ago | parent
Same. Basically it reads to me like this could have been a HNDL attack against everyone's vaults. I am going to roll the dice that the attacker doesn't have some unknown way to break the crypto ready to go and wait until after the holidays to rotate every single credential. Yay!
At this point I think I might build my own password manager.
gib444 39 minutes ago | parent
autoexec 39 minutes ago | parent
guardiandemon 37 minutes ago | parent
pmontra 15 minutes ago | parent
At least it's all on me and my health (what if I start forgetting things?) but it's still a single point of failure. I think that's inevitable for this kind of stuff.
gib444 37 minutes ago | parent
al_borland 24 minutes ago | parent
mikestylz 32 minutes ago | parent
First, an attacker would gain control of an employee's system and add a seemingly benign bug to a dirty source file in the local application source. Once pushed this bug would enable an RCE when the app processes some very specific packet coming from the server. It might lay dormant for months, because a sophisticated LLM could make it so subtle as to be undetectable. A different attack on the server infrastructure would send this packet, possibly in response to the app's update checks or another common poll. Code would then be injected into the local vault GUI to save the user credentials to disk somewhere the next time they log in. Thus E2E encryption could be circumvented. Finally after a period of saving credentials, a final order is given to upload all these credentials to a server where they are gathered. This server would only need to run for a blip of time.
Maybe I am completely schizophrenic, but this is why I containerize everything and don't put all my passwords in one place.
talmr 13 minutes ago | parent
Probably has better security than me using 1P.
K0nserv 30 minutes ago | parent
My precise concern is that if you add Passkeys to 1Password you are ending up in a weaker security posture than a password and a second factor outside 1Password.
How this relates is: one of the potential attack vector is a malicious 1Password app that exfiltrates cleartext secrets after decryption.
0: https://bsky.app/profile/hugotunius.se/post/3n2tltlkl4c2y
abound 30 minutes ago | parent
In the past, I haven't worried about attacks just because I'm too small of a fish to make sense for an attacker's ROI calculation, but now with automated LLM-enabled attacks, the threat vector is definitely changing. Even still, I'm pretty confident in the overall shape of the attack surface.
I keep an unused Bitwarden subscription to support them (since I'm still using their Android + web + extension clients).
johng 25 minutes ago | parent
anotherhue 29 minutes ago | parent
In this breach, someone's GitHub was accessed. If that GH was part of the release engineering process then what's stopping a sneaky-bad-release going out, that POSTs your secrets to an attacker in some way? Or something more dubious, with more steps, but less detectable.
You're not just trusting them to do one-time-encryption, you're trusting them to forever deliver safe software over xThousand releases, where one damned debug logging switch could cause catastrophe.
jtokoph 27 minutes ago | parent
c16 26 minutes ago | parent
I don't know what the correct answer here is, but full access across orgs seems ... a little too permissive. Maybe I've not spent the time looking in to this, but I'm sure gh cli could enforce the use of the secure enclave / finger print scanner prior to pushing.
In the meantime, `4` protects me (as it evidently has with our CA's...)
xvxvx 25 minutes ago | parent
figassis 16 minutes ago | parent
Now they have the repo, and all the vibe coded bugs from the last 3 years so they will start phishing and exploiting the web extensions or machines that are already compromised to open up the 1Password vaults locally.
dawnerd 12 minutes ago | parent
zamalek 14 minutes ago | parent
Local-only would be more secure, but I do own a phone where I need to use passwords.
xucheng 8 minutes ago | parent
While the two scenarios currently yield the same outcome for the attacker, they are not exactly equivalent. If the attacker were able to harvest encrypted vault data, they could launch a phishing campaign to trick users into revealing their Secret Key and Master Password, potentially allowing them to decrypt the vault.
Moreover, the disclosure mentions that the vault’s public key was leaked. Unfortunately, 1Password uses public-key encryption in part of its encryption process [1]. Does this mean the attacker could potentially carry out a harvest now, decrypt later attack and simply wait for a sufficiently powerful quantum computer, potentially within less than a decade [2]?
[1] https://www.reddit.com/r/1Password/s/rRyqj4Uc8C
[2] https://blog.google/innovation-and-ai/technology/safety-secu...
brandon272 6 minutes ago | parent
MadrasThorn 3 minutes ago | parent