1Password’s breach is the case against SaaS password managers
The attacker was one build away from your passwords. On auto-updates, supply-chain attacks, and a breach that was a long time coming.
On 25 November 2026 1Password published an update on a security incident. One sentence in it is the one I have been waiting for:
The attacker also copied source code from private repositories and gained access to our CI/CD system.111Password, Update on our November 2026 security incident, 25 November 2026.
Once or twice a year, for years, I have made the same argument to anyone who would listen. A password manager you rent as a service is one build pipeline away from handing every secret you own to bad guys. Yes, the encryption is real. It also doesn’t matter, because the program doing the encrypting can be compromised. The core business model relies on ensuring that customers pay subscription, so convenient way to do is manufacturing need to use the up-to-date version, ideally using the browser and not something that you can properly isolate and compartment.
1Password’s update says that customer vaults were not affected. It can be true. It answers the wrong question. The attacker was inside the system that builds the app you type your passwords into. Unless 1Password’s code signing needs a person to approve each release, update mechanism reliably verifies it and the update doesn’t say whether it does, that is one build away from every password its customers unlock.
TL;DR
- The attacker had pushed code to 1Password’s production backend and was inside its CI/CD. From there, three independent paths lead to your passwords without attacking the encryption of the vault database: the web app, the desktop build and the browser extension. Any one is enough. A fourth needs no change on your device at all: a server that lies about public keys.
- 1Password’s own white paper admits a compromised server could serve a malicious web client. 22“An attacker capable of changing the web client on the server could deliver a malicious client to the user.” 1Password, Security Design white paper, A.1 Crypto over HTTPS. Code signing may or may not stop a malicious desktop build; the paper doesn’t say. Nothing I know of stops a malicious extension update in a normal browser.
- 1Password’s white paper admits more than its marketing does: “There’s no technical barrier to a malicious client”,331Password, Security Design white paper, A.8 Malicious client. The whole section is that one sentence: “There’s no technical barrier to a malicious client, which might generate bad keys or send keys to some third party.” a compromised server could hand out false public keys and collect vault keys, and several protections are enforced only by the server. It never describes how the apps are built, signed or updated.
- You can freeze a SaaS password manager only partly, and only for a while. The vendor decides when an old app stops syncing, the extension and the web app update without asking, and a frozen app still trusts the keys the server hands it. That is the real cost of the model, and it falls on individuals.
- My defence for about ten years: block network access for every program that doesn’t need it, so updates can’t arrive, and update by hand when necessary.
- When I can’t freeze the update process, I want margin of safety: never install a version younger than N days. Attacks on npm and browser stores are usually caught in hours. Signed vendor builds take weeks to months, so a delay is a margin of safety, not a guarantee.
What 1Password says happened
From 19 November 1Password investigated signs that an attacker had taken over an employee’s corporate GitHub account. With it the attacker:
- pushed malicious code to backend services, which downloaded account records for a subset of users: names, email addresses, account and user IDs, sign-in times, public keys, SRP parameters, and some invitation, provisioning and recovery tokens;
- copied source code from private repositories;
- got into the CI/CD system, which “contains infrastructure related secrets in order for our product to work”. 1Password rotated them.
The reassurance is that “your vault data, the items in them, and the keys that protect them are safe,” and that the apps and browser extensions were not affected. The post says nothing about code-signing keys, or about how they established that no build was tampered with.
The response was fast and fairly open. It is still worth reading what it doesn’t claim.
What end-to-end encryption does not protect
1Password encrypts on your device. The server stores ciphertext it can’t read, and your account password is mixed with a 128-bit Secret Key, so a copy of the database alone doesn’t let anyone guess passwords offline. That is a good design, and it is why the leaked SRP parameters are not a disaster on their own.
The words “on their own” carry a lot of weight. 1Password’s white paper is precise about where the Secret Key’s protection ends:
The Secret Key provides extremely strong protection for users if our servers were to be breached. The Secret Key plays no security role if the user’s system is breached.441Password, Security Design white paper, A.10.2. The same section: “it should be assumed that an attacker who gains read access to the user’s disk will acquire the Secret Key.”
A malicious 1Password app on your computer is a breached system.
End-to-end encryption has one assumption it can’t remove: the client is honest. The app you type your password into sees your password, your Secret Key and every item after it decrypts them. Whoever can change that app doesn’t need the database. They wait for you to unlock.
So the question after this incident is not “was the vault touched?” It is “how far was the attacker from shipping you a different client?”
What the attacker did, and four paths from there to your passwords
From one stolen GitHub token. Solid paths are in 1Password's own write-up. Dashed paths are what that access sits next to. Any one of them is enough, and all of them end with the attacker, on the right.
Attack paths from the breach
The paths in figure 1 don’t build on each other. An attacker needs only one, and each would work without the others. Three of them follow; the fourth, a server that lies about public keys, comes from 1Password’s white paper and is covered below.
Through the web app
This is the shortest path, and it needs no CI at all. The 1Password web app is JavaScript that 1Password’s servers send to your browser every time you open it. It does the same end-to-end encryption as the native apps, in your browser, with whatever code the server sent this time.
1Password says this itself. Section A.1 of its security design white paper, in an appendix titled “Beware of the leopard”, says the web client “introduces a number of significant risks”. The second on its list:
The authenticity and integrity of the web client depends on the security of the host from which it’s delivered. An attacker capable of changing the web client on the server could deliver a malicious client to the user.551Password, Security Design white paper, A.1 Crypto over HTTPS. The first mitigation it gives users is “Use (code signed) native clients as much as possible.”
In November an attacker was “capable of changing” code running on 1Password’s backend. I don’t know whether the web client is deployed from the same place as the services they changed, and the update doesn’t say. But the attacker didn’t need signing keys, notarization or an update cycle for this path. A modified page would reach everyone who signed in on the web that day, and nothing on their side would look different.
Through the desktop build
CI/CD is where source becomes the app you download. To be fair to 1Password, being in CI is not automatically the same as shipping a build to users. Code signing sits in between, and whether it stops an attacker depends on how it’s set up:
- If the signing key is in a hardware module and a person has to approve each release, CI access gets the attacker a binary nobody will trust.
- If CI signs automatically, the attacker doesn’t need to steal the key. They only need to get a build through the pipeline, and the pipeline signs it for them.
For Windows 1Password uses Microsoft’s Trusted Signing, a cloud service that issues short-lived certificates.661Password, How to verify the authenticity of the 1Password app. That keeps the key out of 1Password’s hands, which is good. It doesn’t tell us who or what is allowed to ask for a signature. Apple’s notarization is an automated malware scan, not a review.
A signature proves a build came from the vendor’s pipeline. It says nothing about whether the pipeline was honest. SolarWinds’ backdoored Orion updates were signed with SolarWinds’ certificate, because the code was added inside the build system and never appeared in the source repository.77Mandiant, Highly evasive attacker leverages SolarWinds supply chain, 13 December 2020: “Multiple trojanzied updates were digitally signed from March - May 2020”. SolarWinds’ 8-K of 14 December 2020 states the code was not in the source repository. The trojanized 3CX desktop app in 2023 carried 3CX’s own certificate.88Mandiant, 3CX software supply chain compromise, 2023. It began with a 3CX employee installing trojanized trading software, itself signed with the original vendor’s valid certificate.
Then the app updates itself. The desktop app checks for new versions and installs them on its own. The switch that turns this off, updates.autoUpdate, is documented for companies that manage their computers centrally; 1Password says it can’t be set by hand on a Mac.991Password, About mobile device management: “these settings must be applied using MDM and cannot be set manually using the defaults command.”
So, one step away? If signing is tied to CI with no person in the loop, yes. If it isn’t, two or three steps. The update doesn’t say which, and for a company whose product is trust, I think that is the sentence that is missing.
Through the browser extension
The extension is the part of a password manager that sees the most. It reads every page you fill and every password it fills. It also updates through the browser, and the browser is the one program I can’t stop updating.
Publishing an extension update needs a credential for the Chrome Web Store, Firefox Add-ons and the others. Release automation keeps that kind of credential in CI. This is not hypothetical risk:
- Cyberhaven, December 2024. A developer was phished into granting an OAuth app access to the company’s Chrome Web Store account. A malicious version went out on Christmas Day and was installed automatically for about 25 hours. At least 35 extensions were hit in the same campaign.1010BleepingComputer, New details reveal how hackers hijacked 35 Google Chrome extensions, January 2025.
- Trust Wallet, December 2025. Version 2.68 of the wallet extension was published with a Chrome Web Store API key that had been stolen in the Shai-Hulud 2.0 npm worm. The store published it without the company’s own release sign-off. Users lost about $8.5 million.1111Trust Wallet, Browser extension v2.68 incident: community update; BleepingComputer, Trust Wallet links $8.5 million crypto theft to Shai-Hulud npm attack.
A store key in a CI secret store is exactly what an attacker inside CI/CD looks for.
On a personal machine you can’t pin an extension version in Chrome. Pinning a version is an enterprise feature, set by an administrator.1212Google, The Chrome extension update lifecycle and Configure ExtensionSettings policy. Firefox is the exception: each add-on has its own automatic-updates switch. Blocking updates with a firewall, which is my approach below, doesn’t help either, because it would mean blocking the browser.
What 1Password’s own white paper admits
1Password publishes a long security design white paper, and to its credit it is candid. Its admissions are collected in an appendix titled “Beware of the leopard”.1313The title is a joke from The Hitchhiker’s Guide to the Galaxy: the plans to demolish Arthur Dent’s house were technically on display, “in the bottom of a locked filing cabinet stuck in a disused lavatory with a sign on the door saying ‘Beware of the Leopard’”.14141Password, Security Design white paper, release 0.5.3, 28 October 2026, a month before the incident. All quotes below are from that release. Read with November in mind, several of them stop being theoretical.
No technical barrier to a malicious client
The argument of this post fits in one sentence, and the paper has already written it. Section A.8, in full:
There’s no technical barrier to a malicious client, which might generate bad keys or send keys to some third party.1515A.8 Malicious client.
And the design depends on 1Password delivering every client and keeping it current. Explaining how it can change cryptographic algorithms later, the paper says: “Because we supply all the clients, we can manage upgrades without enormous difficulty,” and “we’re the single entity responsible for issuing clients and managing the server, so we can defend against downgrade attacks through a combination of client and server policy.“1616Chapter 5, Flexible, yet firm and Story 5.
A fourth path: the server lies about public keys
Sharing in 1Password works with public keys. When you share a vault, your app encrypts the vault key to the other person’s public key, and it gets that public key from 1Password’s server. Appendix A.3:
At present there’s no practical method for a user to verify the public key they’re encrypting data to belongs to their intended recipient. As a consequence it would be possible for a malicious or compromised 1Password server to provide dishonest public keys to the user, and run a successful Man in the Middle (MITM) attack. Under such an attack, it would be possible for the 1Password server to acquire vault encryption keys with little ability for users to detect or prevent it1717A.3 No public key verification. The only check the paper offers (footnote 36) is running 1Password in a debugger, or an undocumented command in the command-line tool that prints key fingerprints.
Appendix C adds that this applies to sharing a vault with a person, adding a vault to a group, and the final step of a recovery, and that it is “probably most significant with respect to the automatic addition of vaults to the Recovery Group”.1818Appendix C, Verifying public keys. It was added in version 0.2.8, December 2018. The appendix has been there since 2018, and the conclusion hasn’t changed: “We’ll continue to look for solutions, but we’re unlikely to adopt an approach that places a significant additional burden on the user unless we can have some confidence in the efficacy of such a solution.“1919C.2 The problem remains.
Compare that with the reassurance in chapter 6: “an attack on our server could not result in unwanted sharing.“2020Story 6. The “Key security features” page says the same: “We don’t have those keys, so sharing decisions come from you.” Both statements are true of someone who only reads the database. They are not true of someone who can change what the server answers.
The November attacker ran their own code on 1Password’s backend, and public keys were among what it collected. The keys themselves are not secret. What matters is that this path needs no signing key, no new build and no update.
What the stolen tokens could do
Invitations and recoveries reach people by email, as a link carrying a token that the server generated. The paper puts the burden of checking on people:
Both invitations and recovery messages are sent by email. It’s very important that when administrators or Recovery Group members take actions that result in sensitive email being sent, they check with the recipients through means other than email that the messages were received and acted upon.2121A.12 Use of email. For invitations, see also Protecting email invitations; for recovery, footnote 22 of chapter 12.
The attacker took “tokens present in certain emailed links for invitations, provisioning and account recovery”. 1Password’s update explains what else those links need:
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. The token is not able to get access to the account by itself.22221Password, Update on our November 2026 security incident. “In order to reduce the ability for a malicious third party to successfully guess the code, we’ve expanded the code from six numeric digits to ten alphanumeric digits.”
So with a stolen token, the remaining barrier was a six-digit code: one chance in a million per guess, and the update doesn’t say how many guesses the server allowed. If the code had been guessed, someone could complete the sign-up or recovery with keys of their own. An administrator, seeing a new member or a finished recovery, would then let their own app encrypt vault keys to the attacker, and the cryptography would work exactly as designed. Ten alphanumeric characters end the guessing.
They don’t change the other way to get the code. The token and the code arrive in the same mailbox, through the same email system. Anyone who can read that mail has both.
Who else reads those emails
Email is not end-to-end encrypted. 1Password hands each message to a delivery service, which reads it in plain text, signs it on 1Password’s behalf and sends it on. 1Password’s list of subprocessors names four companies for email: Iterable for “Product emails”, Twilio SendGrid for product emails from its SaaS Manager product, Mailgun for email delivery in its privileged-access product, and Postmark for customer support.23231Password, subprocessor list, effective 2 November 2026. The public DNS records suggest that account email goes through Amazon’s SES under 1Password’s AWS account: the Canadian and European domains allow only Amazon SES and Google to send for them, and bounces for all three go to SES. 1Password’s main domain also lets SendGrid sign mail as 1password.com.2424From dig on 26 November 2026: SPF for 1password.ca and 1password.eu is include:amazonses.com include:_spf.google.com; the MX of bounce.1password.com is feedback-smtp.us-east-1.amazonses.com; DKIM selectors s1 and s2 on 1password.com point to sendgrid.net. Which service sends invitations and recoveries is my inference; the headers of a real one would settle it.
Whichever service it is, whoever controls it can read the link and the code as they go out. They could also change a message before it is signed, and it would still pass every check a mail client makes. SPF, DKIM and DMARC prove that a message came through the sender’s authorised service. They don’t prove the sender wrote it.
This has happened to verification codes before. In August 2022 attackers got into Twilio, which delivers SMS for many companies. They read the registration codes of about 1,900 Signal users and re-registered at least one account, and through the same breach they read one-time codes sent to Okta users.2525TechCrunch, 15 August 2022; Okta, Detecting Scatter Swine. The same month a Mailchimp breach let attackers redirect DigitalOcean’s transactional email, including password resets.2626DigitalOcean, Response to Mailchimp security incident, August 2022.
It still isn’t a vault compromise on its own. A recovery has to be approved by a member of the Recovery Group, and a new member gets nothing until someone shares a vault with them. The person approving is the last check, and that is why the white paper keeps asking them to confirm by phone.
Server policy is not cryptography
The paper sorts its protections into three kinds: enforced by cryptography, by the server, and by the client. It also warns that “throughout this document, we’ll typically mention the deepest layer of enforcement only.“2727Chapter 11, Access control enforcement. Client-enforced controls, such as hiding a password from a user who can fill it, are dismissed in Story 9: “Client policy controls are easily evaded.” Several things a user would assume are cryptographic are not:
- The Recovery Group can decrypt every vault. “From an exclusively cryptographic point of view, the members of the Recovery Group have access to all the vaults.” The server stops them from using that access. In a 1Password Families account the Recovery Group is the family’s Organizer.282812.2 Implicit sharing, 12.1 Recovery groups and A.2: “if a Recovery Group member is able to defeat or evade server policy … then that Recovery Group member can decrypt the contents of that vault.”
- Removing someone doesn’t lock them out cryptographically. “Removing someone from a vault, group, or team isn’t cryptographically enforced. Cryptographic keys are not changed.“2929A.4.1 Revocation. A removed person who kept a copy of the vault key is stopped by the server refusing to send them new data.
- Read-only access is the server rejecting uploads.
Every protection on that list holds only while the server runs 1Password’s code.
What the server keeps in the clear
The paper lists what would be exposed in a breach of the server: team names, “IP addresses used by devices”, “MFA secrets”, device makes, models and operating systems, public keys, group names, and users’ full names and email addresses.303016.2 How your data is stored. Many people assume a second factor is something the server can’t leak. By 1Password’s own account, the secret behind it sits there unencrypted. The incident update doesn’t list MFA secrets among what was taken, but the attacker’s code ran on the backend where they are kept.
The update also says “Secure Remote Password protocol parameters” leaked, adding that they “cannot be used to access your account”, but not which parameters. Some of them, the salt and iteration count, the server gives to any app that asks with an email address. The SRP verifier is different. The paper says it is “similar to a password hash in that it can be used in password cracking attempts”; the Secret Key blocks that, as long as the Secret Key stays secret.31317.1 Registration and 8.3, Enrolling a new client. It is a question worth a one-line answer.
Two smaller contradictions
Certificate pinning. Pinning makes an app accept only 1Password’s own certificate, so a forged one can’t be used to serve a fake web app. The web-client section lists it among 1Password’s mitigations: “Pin Certificates (not yet implemented)". The transport chapter has decided against it: “Neither certificate pinning nor DNSSec have been implemented … the marginal gain in security provided by such measures isn’t something we consider to be worth the risk of availability loss."3232A.1 and 15.2 TLS. The reason it gives is that the SRP sign-in authenticates the server anyway. That protects the sign-in. It does nothing for delivering the web app, which A.1 says depends on TLS alone. To be fair, A.1’s first advice to users addresses exactly this: “Use (code signed) native clients as much as possible.“3333A.1 Crypto over HTTPS, the first mitigation in its list. A native app’s code arrives signed and is checked by the operating system, so a forged certificate can’t swap it, and SRP protects its sign-in. For people who use the apps, the missing pinning costs little. The gap is the web app, and everyone who signs in at 1Password.com.
Share links. When you share an item by link, the key is in the part of the URL after #, which browsers don’t send to servers. But the page that opens it comes from 1Password: “The item sharing client running within the user’s browser is, however, able to see and make use of the fragment portion of the share link, and thus will have the share secret.“3434Chapter 14, Share pickup. It is the web-app problem again, for people who don’t even use 1Password.
What it doesn’t cover
The paper never describes how the apps are built, how they are signed, or how the browser extension is published and updated, which is everything this attacker was near. It once had a placeholder for the servers. Version 0.4.1, in February 2023: “Removed empty placeholder chapter ‘How our servers are managed.’“3535Changelog, v0.4.1. The cryptography is documented in detail. The pipeline that delivers it is not documented at all.
Why SaaS makes this worse
None of this is unique to 1Password. Any software that updates itself trusts its vendor’s pipeline. What is particular to a password manager sold as a service (SaaS: the vendor runs the server, ships the clients and decides when they change) is that you can’t opt out of the trust.
A password manager service is also an unusually good target. Breaking into one person’s file pays once; breaking into the vendor pays for every customer at once. Assume someone is always trying, and that you don’t need to matter to them: everyone who uses the product is in range. My KeePassXC file is at risk only if someone comes after me.
LastPass shows what that looks like. Its encrypted vaults were stolen in 2022, and researchers have since tied over $35 million in cryptocurrency thefts from more than 150 people to them, plus a $150 million theft linked by US federal agents.3636Brian Krebs, Experts fear crooks are cracking keys stolen in LastPass breach, September 2023, and Feds link $150M cyberheist to 2022 LastPass hacks, March 2025. The thieves cracked weak master passwords offline, which 1Password’s Secret Key prevents; the point here is who gets hit, not how. Nobody had singled the victims out. They were in the database.
I used 1Password for years, before it became a service. It was a standalone app with a local vault. I blocked its network access, never updated it, and it kept working. For a password manager that is the ideal state: the attacker’s delivery channel is gone, and the program has nothing to do on the internet anyway. Unfortunatelly, Eventually the browser extension stopped working, and then at some point the OnePassword application stopped working on newer versions of my system.
1Password 8, announced in August 2021, ended that. It has no standalone vaults; your vaults live on 1Password’s servers, and the app needs a subscription and an account.37371Password 8 will be subscription only and won’t support local vaults, Hacker News, August 2021. 1Password’s own forum: “1Password 8 does not support standalone vaults”.
That doesn’t make freezing impossible. You can still block a 1Password 8 app’s network access, as I did with the old one; it keeps a local copy of your vaults and works without a connection. But a frozen client is only frozen on their terms:
- The vendor decides how long an old version keeps working. Old 1Password 7 builds were already cut off from syncing with 1Password accounts, and 1Password 7 is being retired: “Starting in early 2027 … it’ll no longer reflect any changes you make in your 1Password account.“38381Password, System requirements (accounts need 1Password 7.9.836 or later on Windows) and If you’re having trouble unlocking 1Password with SSO. Heise reports the sync cut-off is planned for May 2027. Freezing buys time, not independence.
- An employer can forbid it. With “Require app updates” turned on, “team members using an older version of 1Password won’t be allowed to sign in until they update it.“39391Password, Require updates to 1Password with 1Password Business.
- Only the desktop app freezes. The browser extension updates with the browser, and the web app is new code on every page load.
- Sync is the point, and sync talks to the server. A frozen app that still syncs takes the public keys the server gives it, so the fourth path still works. A frozen app that doesn’t sync is a standalone vault with a subscription.
I gave up and moved to KeePassXC, which I can fully control.
For a company the trade often comes out the other way, and it’s worth being fair about that. The alternative in most companies is the shared admin password pasted into Slack, a spreadsheet called passwords-FINAL.xlsx, and the same credentials still working for people who left a year ago. Against that, a SaaS password manager is a large improvement:
- Sharing goes through the manager, encrypted, to named people, instead of sitting in chat history and email for anyone who later gets into those.
- Onboarding and offboarding become one step. A new hire gets the right vaults on day one. A leaver loses access the day they leave, at least by server policy, and there is a record of what they could see, so you know what to rotate.
- There is an audit trail of who has access to what, which an auditor will ask for anyway.
- Recovery doesn’t depend on one person remembering a master password.
All of these need a server, and that server is the same thing that keeps the client from staying frozen. A company is trading a large, everyday risk, its own people handling secrets badly, for a rarer one with a much bigger blast radius: its vendor’s pipeline. For most companies that is the right trade. It should be made knowingly, with the vendor’s build process treated as part of the company’s own attack surface.
For one person the calculation is different. I have no colleagues to onboard and nobody to offboard. For me the server mostly adds a party who can change my client.
Bitwarden is the usual answer, and it is better in two ways: the code is open source, and you can host the server yourself, which removes the web-vault path in figure 1, as long as you decide when to pull new server images. It doesn’t remove the other two. The desktop apps still come from Bitwarden’s build pipeline, and the browser extension still updates itself from the browser’s store. A self-hosted Bitwarden is only as frozen as the clients you let update.
What I do instead
For about ten years I’ve run Little Snitch on my Macs and denied outbound connections to every program that doesn’t need the network. I have also a number of other safeguards - on my machine, network level etc, outside scope of this post.
The point is not to stop data from leaving. The point is to stop updates from arriving. A supply-chain attack needs a delivery channel, and an app that can’t reach its update server never receives the malicious version. I have fifty or a hundred programs on this computer. I need only one of them to be compromised to have a bad day, so I don’t want fifty or a hundred vendors able to change code on my machine whenever they like.
The rules are simple:
- The browser updates. It processes untrusted input from the whole internet: pages, scripts, images, fonts and a long list of formats. An old browser is a bigger risk than a new one.
- Anything that has no business online stays offline. Unless the process untrusted input or needs the network, it gets none.
- I update by hand, when I want a feature or a fix, and when the version is old enough. More on that below.
- A critical vulnerability is the exception. If an offline program has a hole that untrusted input can reach, I update it. Especially now it’s easier to monitor by using AI for daily checkouts.
My passwords are now in KeePassXC. The database syncs through Dropbox. Someone who wants it has to target me: get into my Dropbox, then still get past the database’s encryption. The KeePassXC binary itself doesn’t update unless I update it. What an attacker could still try is a malicious database file that exploits a bug in KeePassXC’s parser, which is a reason to keep the parser’s version young enough to have its known bugs fixed and old enough to have been looked at.
This isn’t a sandbox, and I don’t pretend it is:
- A firewall blocks connections, not behaviour. A malicious program that is already installed can try to hand data to another process: open a URL in the browser, run
curl, or ask for a DNS name.
It shrinks the number of vendors who can push code to me from dozens to a handful. That is the whole goal.
A margin of safety
Freezing doesn’t work for everything. Some programs need updates, but maybe it’s fine to delay it if there’s no security implications. When I do, I don’t want today’s.
The idea of a margin of safety is Benjamin Graham’s, and Warren Buffett and Charlie Munger made it famous: leave room for being wrong.4040Graham called it “the central concept of investment” in the last chapter of The Intelligent Investor, “Margin of Safety as the Central Concept of Investment”. Buffett’s version is to build a bridge for 30,000-pound trucks and drive only 10,000-pound trucks across it. You don’t know exactly where the bridge would fail, so you don’t go near it.
For software it means a minimum release age, or cooldown. Don’t install a version until it has been public for N days. Most supply-chain attacks are found by someone else first. A cooldown lets them find it before it reaches you.
How long is enough? That depends on where the attack was published.
How long malicious releases stayed live before anyone caught them
Time from publication to detection or removal, log scale. Hover a bar for details.
On npm and the browser stores, where security companies watch every release, malicious versions were caught in hours to about three days. A seven-day cooldown would have stopped every one of them.
Signed vendor builds and release tarballs are another matter. The 3CX app was live about three weeks; EDR products flagged it for a week and customers were told to ignore it. The xz backdoor sat in release tarballs for five weeks and was found by accident, because an SSH login was half a second too slow. Codecov’s uploader was altered for two months until one customer checked its hash. CCleaner’s signed installer was on the official download servers for four weeks and was installed 2.27 million times.4141Talos, CCleanup: a vast number of machines at risk, 18 September 2017. The backdoored updates of M.E.Doc, Ukrainian accounting software, shipped from April 2017 and were found only after NotPetya went off through them in June.4242ESET, Analysis of TeleBots’ cunning backdoor, 4 July 2017. ASUS’s Live Update tool pushed updates signed with ASUS’s own certificates, from ASUS’s own servers, for about eight months in 2018; Kaspersky found them with a new detection method, not because anything looked wrong.4343Kaspersky, Operation ShadowHammer, March 2019. About a million machines received it; the payload activated only on some 600 chosen by network-card address. Juniper’s firewall firmware carried unauthorized code in official, signed releases from 2012 until Juniper’s own code review found it in December 2015.4444Juniper advisory JSA10713, via CERT/CC VU#640184; Checkoway et al., A Systematic Analysis of the Juniper Dual EC Incident, 2016.
And the SolarWinds backdoor was designed for this. Mandiant found that it stayed dormant for 12 to 14 days after installation before doing anything:
The sample only executes if the filesystem write time of the assembly is at least 12 to 14 days prior to the current time; the exact threshold is selected randomly from an interval.4545Mandiant, SUNBURST analysis, 13 December 2020.
That is almost exactly the cooldown I’d pick. An attacker who expects their victims to wait two weeks can wait two weeks and three days.
Hardware works the same way at a longer timescale. In September 2024 thousands of pagers and radios exploded in Lebanon on the same day. The pagers carried a Taiwanese brand, Gold Apollo, but were made under licence by BAC Consulting, a Budapest front company set up for the purpose. They had been in use for about five months before they were triggered, all at once.4646Reuters, Israel planted explosives in Hezbollah’s Taiwan-made pagers, say sources, 18 September 2024.
The same thing happened to hardware wallets this autumn. Attackers bought genuine Ledger devices, opened them, added hidden components that capture the recovery phrase during setup, and put them back on sale through resellers in Southeast Asia. Then they drained the wallets in one coordinated operation. Ledger called it “an attack on the distribution channel after the devices left our control” that ran “over many months”, and suspended sales in Southeast Asia and Hong Kong.4747Ledger, Response to the hardware implant attack, 15 October 2026; BleepingComputer. Trezor later confirmed an implanted unit sold through the same reseller (Zetter). It isn’t on the chart because nobody knows when the first one was sold.
The record for patience belongs to Crypto AG. The Swiss company sold cipher machines to more than 120 governments. From 1970 it was secretly owned by the CIA and West Germany’s BND, which rigged the machines so their own analysts could read the traffic. Suspicions surfaced in the 1990s; it was confirmed in 2020, half a century later.4848Greg Miller, The intelligence coup of the century, Washington Post, 11 February 2020, reported with ZDF and SRF. Stuxnet, which wrecked Iranian centrifuges, was not a supply-chain attack, but it shows the same timescale: its drivers were signed with certificates stolen from Realtek and JMicron, and its earliest version, from 2007, was recognised as Stuxnet only in 2013.4949Symantec, W32.Stuxnet Dossier, 2011, and Stuxnet 0.5: The Missing Link, 2013. Patience is the attacker’s tool. A software vendor ships new versions constantly, so a slow attack on them has to hide in every build, past every developer, for months. That is harder, and it is what SolarWinds, ASUS and Juniper’s attackers did.
So a cooldown removes the loud, fast attacks, which is most of them. It does nothing against a patient attacker inside a vendor’s build. A margin of safety isn’t a guarantee, but it gives you a room for someone else to notice first.
Often, you don’t have to outrun the bear. You just have to outrun the guy next to you.
It also has a price: a security fix waits too. That is why my exceptions mirror the firewall rules. The browser or PDF reader updates now. A critical fix for something that parses untrusted input updates now. Everything else waits.
Release-age cooldowns: a survey
Most language package managers now have the setting. Almost everything that installs desktop software doesn’t. Each tool in the table links to the documentation or release notes I checked on 25 November 2026; cooldowns.dev keeps a running list.
| Tool | Seven days, in its own syntax | Since | On by default? |
|---|---|---|---|
| Language packages | |||
| npm | min-release-age=7 in .npmrc | 11.10, Feb 2026 | No |
| pnpm | minimumReleaseAge: 10080 (minutes) | 10.16, Sep 2025 | 1 day since v11 |
| Yarn | npmMinimalAgeGate: 10080 (minutes) | 4.10, Sep 2025 | 1 day since 4.15 |
| Bun | minimumReleaseAge = 604800 (seconds) | 1.3, Oct 2025 | No |
| Deno | "minimumDependencyAge": "P7D" | 2.6, Dec 2025 | 1 day since 2.9 |
| uv | exclude-newer = "7 days" | 0.9.17, Dec 2025 | No |
| pip | --uploaded-prior-to P7D | 26.1, Apr 2026 | No |
| Poetry | solver.min-release-age = 7 | 2.4, May 2026 | No |
| Cargo | global-min-publish-age = "7 days" | Rust 1.100, Nov 2026 | No |
| Composer | policy.cooldown.period: "7 days" | 2.11, Oct 2026 | No |
| Bundler | bundle config set cooldown 7 | 4.0.13, Jun 2026 | No |
| NuGet | minPublishAgeHours="168", only when adding or updating | .NET SDK 11, Nov 2026 | No |
| Go modules | none; proposal on hold | ||
| Maven, Gradle | none in the build tools | ||
| Update bots | |||
| Renovate | "minimumReleaseAge": "7 days" | 35.46, Apr 2023 | No |
| Dependabot | cooldown: default-days: 7 | Jul 2025 | 3 days since Jul 2026 |
| Tools and system software | |||
| mise | minimum_release_age = "7d" | 1 day | |
| Homebrew | none; requests closed as not planned | ||
| MacPorts, asdf | none | ||
| Nix | only Determinate’s nixpkgs-weekly | Jun 2026 | Determinate only |
| apt | none; APT::Snapshot pins a past date | ||
| Code editors | |||
| VS Code | extensions.autoUpdateDelay: 168 (hours), auto-updates only | 1.125, Jun 2026 | 12 hours |
| VSCodium | extensions.minReleaseAge (hours) | 2026 | |
| Cursor | extensions.installCooldownHours: 168, installs and updates | 2026 | No |
| Neovim, Vim | none; vim.pack, lazy.nvim and vim-plug pin commits in a lockfile and never update on their own | ||
| Emacs | none; straight.el and elpaca freeze versions in a lockfile | ||
| JetBrains, Zed, Sublime Text | none; plugin auto-update can be turned off | ||
| Apps and extensions | |||
| Chrome extensions | none; admins can pin a version | ||
| Firefox extensions | on or off per add-on, no delay | ||
| Mac App Store, Sparkle | the developer’s phased rollout, not yours |
The table omits four limitations:
- Lockfile precedence. In most tools the cooldown applies only at resolution time. A version already recorded in the lockfile is installed regardless of its age.
- Exemptions. Several tools admit packages that lack a publish date.
cargo installignores the setting, and NuGet does not check transitive dependencies. - Partial coverage in editors. VS Code’s delay applies only to automatic updates; manual installs and updates bypass it, as do publishers VS Code classifies as trusted.5050VS Code issues #321136 and #321151. Cursor’s setting also covers new installs. Vim and Emacs plugin managers have no age setting, but they never update automatically, so a lockfile combined with manual updates gives comparable control.
- Delayed fixes. A cooldown delays security patches as well. Renovate and Dependabot exempt security updates from the wait; Composer, Bundler and the other command-line tools do not, unless the cooldown is disabled for that install.
The browser extensions are one I most want to delay, but it’s currently not supported.
Homebrew: hash pinning blocks tampered downloads
I like Homebrew partly because it pins every download to a SHA-256 hash in the formula or cask. If the file at the download address changes, the hash doesn’t match and the install fails.
It protects against a replaced file, where the version number stays the same:
- Transmission, March 2016. The installer on the project’s own website was replaced with one carrying KeRanger ransomware, signed with a valid Apple developer certificate.5151Palo Alto Networks Unit 42, New OS X ransomware KeRanger infected Transmission BitTorrent client installer, March 2016.
- HandBrake, May 2017. One of the download mirrors served HandBrake 1.0.7 with the Proton remote-access trojan for four days.5252ESET, Malware warning for Mac users after HandBrake mirror download server hacked, May 2017.
It does not protect against:
- A compromised vendor build. The new version arrives with a new hash, a bot or a maintainer bumps the cask, and the hash now vouches for the malicious file.
- Casks without a hash. Some use
sha256 :no_checkand accept whatever file is served. - Self-updating apps. Casks marked
auto_updates truereplace themselves outside Homebrew entirely.
Formulae are better. Homebrew builds those bottles from source on its own infrastructure, which is a real separation from the vendor’s pipeline. The weak link becomes the source tarball, which is how xz happened.
What Homebrew lacks is a minimum age for what it installs on my machine. People have asked three times and the requests were closed as not planned.5353Homebrew issues #21129, #21421 and #22659. Homebrew’s security and supply-chain notes describe the maintainer-side cooldowns. The maintainers’ objection is a fair one: a delay holds back a fix for a vulnerability that is being exploited now. They do apply cooldowns themselves, to the npm, PyPI, RubyGems and Cargo packages that formulae pull in. I’d still like the choice. A setting along the lines of HOMEBREW_MIN_RELEASE_AGE=14d, off by default, with brew upgrade --now <name> for the urgent fix, would let me decide which risk I’d rather take.
If you still use 1Password
None of this means your vault is open. It means the protections you’re relying on are partly people and policy, and some of them are yours to keep up. From the white paper’s own advice and the gaps above:
- Use the native apps, not the web app. The paper’s first user mitigation is “Use (code signed) native clients as much as possible.“5454A.1.
- Keep your second factors out of 1Password. Storing one-time codes and passkeys next to the passwords they protect puts every egg in one basket. Keep them in an authenticator app on your phone, or on a hardware key such as a YubiKey, so a stolen password alone doesn’t open the account. Don’t lean on 1Password’s own sign-in second factor either: by the white paper’s account, its server keeps those “MFA secrets” unencrypted (above).555516.2 How your data is stored. To be fair, if there’s already a malicious app on your computer it can steal session cookies or use a code as you type it.
- Change your account password if your account is older than 27 January 2023 and you haven’t changed it or your Secret Key since. Older accounts “will use a lower iteration count”, and a change brings it up to the current one.5656Footnote 14 in 8.1, Slow hashing: 100,000 PBKDF2 iterations before, 650,000 now. It also replaces the SRP verifier on the server.
- Keep the Emergency Kit off your computer. It holds your Secret Key and, if you followed the instructions, your password. Print it, then delete the PDF from Downloads, cloud sync and backups.
- Treat every 1Password email about invitations or recovery as suspect. Confirm with the person by phone or in person before you act, and expect phishing if your address was among the records taken.
- If you administer a team or a family, confirm new members and completed recoveries through something other than email before approving them. After removing someone you don’t trust, the paper’s own advice is to “create a new vault (which will have a new key), and move items from the old vault to the new one.“5757A.4.2.
- Know who your Organizer is. In a Families account that person’s account can, cryptographically, open every vault.
- Consider moving out of 1Password, but it’s it’s really decision based on specific needs and your threat model.
What would actually improve it
I don’t expect everyone to stop using SaaS password managers. I’d like the vendors to:
- Separate signing from CI. No release is signed without a named person approving it, from a key the pipeline can’t reach.
- Publish what you shipped. 1Password already does this for its confidential-computing enclaves: the signed release hash goes to Sigstore’s public Rekor transparency log, and clients check it.58581Password, About the security of 1Password confidential computing. Doing the same for the apps and the extension would make a quietly targeted build visible.
- Reproducible builds, so that someone other than the vendor can check that the binary matches the source.
- Let users verify public keys. A fingerprint or safety number, as Signal does, shown when you share a vault or approve a recovery.
- Let users pin and delay. A setting for “install updates when they are N days old” in the app and in the browser, for everyone.