Remix.run Logo
▲ varenc 4 hours ago

I use the web based vault (https://my.1password.com/) rarely, and most every time I do I'm prompted to enter my password. Or even if you don't enter the password, presumably the important decryption keys are stored locally in your browser, and malicious JS could exfiltrate them. There might be things like CSP policies that would make this hard, but if the attacker can push arbitrary code, most anything is possible.

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 4 hours ago | parent [-]

Agreed. But my point is: how does a local vault with a 1Password client fundamentally improve any aspect of this? Malicious updates to a 1Password app could exfiltrate everything from your local vault too.

▲unsnap_biceps 3 hours ago | parent | next [-]

I run little snitch and lock down what domains/ip addresses/etc each app can communicate to. My 1Password client can't exfiltrate to a non-1password domain nor to a raw ip address. This is obviously defeated if they set up a target inside of the 1password infrastructure, but that seems rarely done.

If it's a completely local vault, I could lock down the client to not allow any remote access at all.

Unfortunately this doesn't help with the IOS stack.

▲ 18 minutes ago | parent [-]
[deleted]
▲varenc 4 hours ago | parent | prev [-]

That's a fair point! Really I think avoiding the web version entirely would avoid what I'm talking about here. And with a self-hosted vault, the dynamic web based version just goes away, but that's besides the point.

Though I still like the idea of a self-hosted vault. If 1Password had been more severely breached, the attacker would have access to the encrypted vaults, which with time they might be able to crack offline. I don't like that right now an attacker could push malicious code to 1Password AND get access to the encrypted vaults. With the self-hosted vault, even if all my keys were leaked I'd still have some protection as long as my vault stays safe. Would require two independent compromises. Though to your point, even if I'm self-hosted, a malicious update to the local desktop version would still compromise me. Fortunately 1Password 7 I still use has not received any updates in a long time. (which has some cons, as well as pros)

▲quacker 3 hours ago | parent [-]

I see, yes: my account password + secret key could be stolen one way, and my encrypted web vault could be stolen a different way. And that is an additional, different threat than a local vault, since 1Password web-vaults are high-value targets so more likely to eventually be stolen. So there is more vulnerability for web-vaults in that sense.

And it is true that a desktop app is easier to firewall and avoid auto-updating to reduce risk of malicious updates exfiltrating everything.