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?
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?
I've used this kind of password generation in the past: nothing is stored, the tool just computes the password of a website by hash(master_key, website_domain).
This works, until a website (or a corporate IT admin) requires to change your password.
> This works, until a website (or a corporate IT admin) requires to change your password.
I save a list of "domains", and don't require them to be actually valid domain names or to correspond to the service. So I can just put a number on the value in the file, and the hash function computes something completely different. Of course, that does leak the information about what websites I have accounts on, but that sort of thing is probably easily guessed anyway.
Because the list doesn't contain secret information, even in encrypted form. The algorithm requires input that's only available from my own head. (To be clear, my threat model here doesn't include RATs, or specific malware that could read the process memory of my program and know how to interpret it, because I figure either of those would be game over regardless.)
If I were to generate random data and encrypt it, and I lost that data somehow, I would have to worry about whether I implemented the encryption properly. But I can't really mess up the implementation of "hash an arbitrary amount of data with a standard algorithm". Even if it were a bad hash, the attacker would be missing information on both the input and output side.
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.
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.
What does this scheme gain in security over one where vaults are client-side encrypted and servers store and synchronize vaults as opaque blobs, or mildly structured rows of blobs?
It mostly limits the data that is online and available to be hacked at any time. If a discovery server is hacked and starts trying to MitM the sync for later decryption, only the in-flight passwords would be compromised, not the entire vault. If a hack is detected, a simple date range between when the hack occurred and when it was detected and fixed could be used by clients to enumerate all affected passwords that need to be changed. Also, clients wouldn’t have to use the same discovery servers each time, making it harder for attackers to target any specific user. If a nation state (the most likely entity capable of decrypting a full vault blob) is targeting a dissident, they’d have to compromise all discovery servers the clients might use rather than just a single server holding the entire vault. Then they’d have to wait while they capture data slowly over time. If a vault is online in its entirety, even if it’s encrypted, the hack only needs to last seconds before it’s detected for the attacker to get everything.
> If a discovery server is hacked and starts trying to MitM the sync for later decryption, only the in-flight passwords would be compromised, not the entire vault.
So there is no way to bootstrap a new client at all?
> If a discovery server is hacked and starts trying to MitM the sync for later decryption, only the in-flight passwords would be compromised
Bootstrapping is done directly, usually by QR code. This is when encryption keys/certificates are shared. Needing to have both devices in the same location and, possibly, on the same LAN during bootstrapping is not an unreasonable requirement.
Data is encrypted in transit, but even ephemeral, encrypted data can be captured for offline decryption later. So picture the NSA compromising a discovery server for a month and capturing all in-flight synchronization data. It may take them more months to actually decrypt it, but those passwords would still be considered compromised.
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.
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.
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?
The point of my question was that if a partiular tool/scheme becomes popular, it becomes a target. If everybody is rolling their own, that heterogenious structure makes it resiliant against broad attacks. As long as everybody puts some own thought into it and doesn't just accept the default solution which AI-agent-of-the-day produces.
Relying on a cloud service to store all your secrets is clearly not the obviously better alternative, thus my question. Nobody is asking to invent the next AES for this.
This is a FUD argument. I don’t think that is helpful here. Do you have a concrete concern? Maybe an attack vector that is partially tricky to get right? The design I was proposing was to specifically avoid the common ones: network software exposed to the public internet and parsing binary or text formats.
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.
JJ, using the squash workflow, is brilliant for working with Claude
The workflow is straightforward: I create a named revision for the work I want to do, then an unnamed revision on top. I prompt Claude, changes land in the unnamed revision, I review those, squash the parts that I'm ready to accept, prompt some more to iterate on the parts that aren't up to par yet. Rinse and repeat until the topmost (unnamed) revision is empty.
I instructed Claude that I use jj with the squash workflow, so it should never touch revisions with a non-empty description (I also needed to tell it to shut up about that check), and the whole thing flows pretty damn smoothly.
I just tell Claude to fold changes in their respective commits when working on a feature branch. No need to do rebase edits or anything else really. I don't really have to think of what gymnastics it has to do to get there.
It's the same basic concept, yes. The details matter, though, and the fact that AoS/SoA is mostly about in-memory layout, whereas row/column store is about on-disk layout means that the performance compromises are very different. E.g. column store databases frequently use RLE for compression, but that's probably _way_ too expensive for SoA.
One thing to add is that databases tend to take it further using compression. For instance, if you have a column that is all either A or B, you can use run-length encoding ("the next thousand entries are B"). Or you can do delta encoding: if you have some very large number that takes a lot of bits to store, but the deltas between them are quite small, you can save a lot of disk space and I/O by just storing the deltas.
You can also combine these two: if you have a numeric id that increases by 1 every row, you can delta-encode that to just get a massive list of 1's, which you can then run-length encode to just be "the delta for the next million rows is 1", saving huge amounts of space.
You generally don't do this with AOS/SOA, because you do want to be able to random-access your entries ("index" them, in database terms) and I/O performance is much less important. Databases have this issue too, which is why indexes tend to either not be available or much slower in column-oriented DBs.
EDIT: ah, read the original commenter a bit too quickly, missed that they mentioned run-length encoding. Apologies.
One of the cool things about Vortex (which is a file format, but in this context can be better thought of as the storage layer of a DBMS) is that we have implemented compression encodings that _do_ support fast random access. For example, FastLanes allows us to bit-pack values extremely effectively while retaining random access, and this can be combined with other encodings such as ALP and FSST.
I believe Vortex is unique in its ability to retain random access while recursively compressing data. And turns out that this is helpful for both in-memory _and_ on-disk (we might write about that in the future)!
I unfortunately didn't have much space to write about that in this blog, but in the compression section I did link to other blogs that we have written that go into much more detail, if you are interested :D
Fun fact, the original Pokemon used both DE and RLE to compress the sprites. It's one of the things that makes missingno screw up sprites (it tries to decode game data as if it's a sprite encoded this way and sometimes causes buffer overruns)
Appreciate you going into more detail about how run-length encoding works in any case. I had an abstract idea it was something like that, but didn't realize it could actually be implemented so 'simply'.
On the one hand, you missed me mentioning RLE. Oh no how dare you.
On the other hand, you added a bunch of extra detail, including stuff I didn't know about.
> While probably harder to find a no-questions asked buyer, the price premium on GPUs is a lot higher than some consoles.
I'd go further than that. A no-questions-asked buyer for a console merely suspects there's shenanigans afoot, and will expect a considerable discount off the sticker price. A no-questions-asked buyer for server GPUs almost certainly knows for a fact there's shenanigans afoot, but is likely to pay a premium over the sticker price anyway.
Another reason why they are cheap is because Xbox will ban the consoles once they know they were stolen. GPUs on the other hand don't have a remote kill switch after being stolen.
Given current market tends, if that becomes more frequent the likelihood of consumers actually getting GPUs goes up, as these will at least end up on various markets
While I appreciate and broadly agree with your bigger point, I'd argue this particular bit is a bit uncharitable. Articles about nerds doing interesting, unusual things do make the front page pretty often.
They do but the point point is that this post made it because of the AI hype. Not the discovery itself which should grant more attention than that of a machine doing archeological "work" that happens to misinform.
In an honest, well-functioning org, those are decisions made by completely different groups that do not (and should not) report to each other. It's actually kind of depressing that we (and I include myself in that) assume otherwise by default.
I have bad news: most large corporations are successful because they know how to make money. Often, the internal operations, are disappointingly bad, just not bad enough to kill the corp fast.
Source: I've worked in and with many successful organizations, and worked at one place with proper internal processes, so I know what's possible
I have observed that also. Though I'm still not sure whether: 1) there are some small pockets where important decisions are made, innovation happens and the needle is moved, and dysfunction I see is just justified bloat of the company 2) it is the entire corporation like that but it somehow works at the end.
The way I would describe large companies is similar to that joke "Mandatory scheduled fun events" just with innovation. Most large organizations cannot innovate, instead they execute well. Look at all the major large organizations, they primarily distinguish themselves on execution, not innovation. A startup that's hobbled together by passionate soft drink makers (or whatever) aren't gonna come close to full business efficiency of Coke Inc. The manufacturing capacity, distribution channels, the logistics, the brand management and awareness, the brand integration and cross promotion, and other things that come from economy of scale. The rigid structure is not a place for innovation to grow.
>I have bad news: most large corporations are successful because they know how to make money.
Who is they? Do you have any idea what its like working at an org the size of GS, that you actually think these two completely different departments discussed the matter with each other?
I'm no longer in that industry, but as I recall there are actually rules imposing independence from investment banking and research arms, for example. Dates back to the Dot Com era where research analysts were touting IPOs for the investment banking division.
Really? You think executives at GS waste their time debating where software should be installed on trading desk computers? They have entire departments dedicated to handling those issues...
ANT was expected to be the largest IPO ever, it may still raise more money than SpaceX, so this is an incredibly consequential deal for GS.
Restricting Ant's primary revenue driver across a broad swath of GS weeks before trading would trigger immediate leadership review. What organizational background and level of experience are you extrapolating?
I think that if this wasn't sanctioned by someone at the top then there would be a round of public hanging, drawings and quarterings in the IT department.
What is the Investment Bank version of "flogging round the fleet"?
> In an honest, well-functioning org, those are decisions made by completely different groups that do not (and should not) report to each other.
I don't agree at all. Different groups should be supporting each other and the overall bottom line instead of their parochial, narrow self-interests - the latter is a poorly functioning org.
If by group A delaying its $100M cost-cutting, group B can add $1B to the bottom line, it would be a corporate and group management failure for group A not to cooperate.
Well functioning by what metrics? To make money? No doubt Goldman sachs does that. But making money often has the incentive of ignoring ethics .. which is what this thread was about. Would they ignore ethics to make more money?
So here, would they synchronize announcing big things in relation to the hottest and most risky investment there is right now?
"what motivated them to announce this a few weeks before trading starts?"
Also what’s your point? Goldman Sachs shouldn’t pull Claude Code because there’s no point in trying in this world and we should all give up on everything?
> the numbers we're discussing here are the amount they'll raise from the IPO
No, the "valuation" numbers are the market cap at the moment of IPO. The amount raised is that multiplied by the percentage of shares issued by Anthropic (as opposed to by existing shareholders like investors and employees -- that combined number is the float) at the IPO.
Sorry, yes, that. The bigger point still stands, though — given a fixed fraction of shares they're offering, the valuation gives you the amount raised, and that makes the number interesting.
To me the second response reads more like PR-speak, like somebody who's been over-coached on how to talk to customers.
I find it strange that they'd have an AI-driven followup email days after the survey. If you're automating it, why the delay? "Delay the response so it seems more human" is way too cynical.
It's worth noting that OP is talking about Ocado, too. I've been a client of theirs for over ten years, and the number one reason why I keep buying from them is that their delivery drivers never feel super-hurried. They have lower quotas than drivers for other services, and they always have time for a little bit of banter. Compare that e.g. to Amazon Fresh drivers, who'll always just leave the groceries at the door and knock. They're already gone by the time I open the door.
I find it unlikely that they'd automate this sort of second-level customer support response while not squeezing the everliving shit out of their drivers.
reply