Anyone know of a better way to protect yourself than setting a min release age on npm/pnpm/yarn/bun/uv (and anything else that supports it)? Setting min-release-age=7 in .npmrc (needs npm 11.10+) would have protected the 334 unlucky people who downloaded the malicious @bitwarden/cli 2026.4.0, published ~19+ hours ago (see https://www.npmjs.com/package/@bitwarden/cli?activeTab=versi... and select "show deprecated vers…
Renovate can do it as well
Bitwarden CLI compromised in ongoing Checkmarx supply chain campaign
211–220 of 458 posts
Re: Bitwarden CLI compromised in ongoing Checkmarx supply chain campaign
#212Re: Bitwarden CLI compromised in ongoing Checkmarx supply chain campaign
#213Earlier quoted context omitted.
> Anyone know of a better way to protect yourself than setting a min release age on npm/pnpm/yarn/bun/uv (and anything else that supports it)? Most of these attacks don't make it into the upstream source, so solutions[1] that build from source get you ~98% of the way there. If you can't get a from-source build vs. pulling directly from the registries, can reduce risk somewhat with a cooldown period. For the long tail…
Build from source is a great idea, I assume you provide SLSA/sigstore like provenance as well?
Re: Bitwarden CLI compromised in ongoing Checkmarx supply chain campaign
#214Anyone know of a better way to protect yourself than setting a min release age on npm/pnpm/yarn/bun/uv (and anything else that supports it)? Setting min-release-age=7 in .npmrc (needs npm 11.10+) would have protected the 334 unlucky people who downloaded the malicious @bitwarden/cli 2026.4.0, published ~19+ hours ago (see https://www.npmjs.com/package/@bitwarden/cli?activeTab=versi... and select "show deprecated vers…
The problem with cooldowns is that the more people use them, the less effective they become.
Re: Bitwarden CLI compromised in ongoing Checkmarx supply chain campaign
#215Earlier quoted context omitted.
Wow. Thats crazy. Is there an extension for bwcli in weechat? BTW I didnt even know BW had a cli until now. I use keepass locally.
It's crazy because it's not default bw behavior, or even any bw behavior... I don't use the cli, but I don't see any built-in capacity to copy bw output to the clipboard. (In the UNIX way, you'd normally pipe it to a clipboard utility if you wanted it copied, and then the security consequences are on you.) They probably caused it themselves, somehow, and then blamed bitwarden. Note in the original comment they aren't…
I know this because I had the same surprised reaction
Re: Bitwarden CLI compromised in ongoing Checkmarx supply chain campaign
#216How the hell are most people supposed to balance the risk of not updating software against the risk of updating software?
I lean toward cooldown by default, and bypass it when an actual reachable exploitable ZeroDay CVE is released.
Re: Bitwarden CLI compromised in ongoing Checkmarx supply chain campaign
#217Earlier quoted context omitted.
The problem is that the UX with a browser extension is so much better.
> The problem is that the UX with a browser extension is so much better. It's better, but calling it so much better [that it's unreasonable to forgo the browser extension] is a bit silly to me. 1. Go to website login page 2. trigger the global shortcut that will invoke your password manager 3. Your password manager will appear with the correct entry usually preselected, if not type 3 letters of the site's name. 4. Pr…
Re: Bitwarden CLI compromised in ongoing Checkmarx supply chain campaign
#218Earlier quoted context omitted.
Not to mention utter nonsense. There’s no possible way that BW CLI somehow injected command history into a remote server. That was 100% something the GP did, a bug in their terminal, or a config they have with ssh/tmux, not Bitwarden.
that's our future... with AI. Engineers that don't know the difference between client-side convenience and server-side injection, how to configure `php.ini`, or that no synchronized password manager is safe. While the OAuth scope is `*`, and CORS is what you drink on the weekend.
> no synchronized password manager is safe
Care to elaborate? I'd agree that the security/availability tradeoff is different, but "not safe" is as nonsensical a blanket statement as "all/only offline/paper-based/... password managers are safe".
Re: Bitwarden CLI compromised in ongoing Checkmarx supply chain campaign
#219Earlier quoted context omitted.
That's just direct dependencies. Including all the dependency tree is 785k LOC according to lib.rs. Most rust libraries include tons of others. https://lib.rs/crates/rbw
326 packages right now when doing a build. Seems large in general, but for a Rust project, not abnormal. Takes what, maybe 15 seconds to compile on a high-core machine from scratch? Isn't the end of the world. Worse is the scope to have to review all those things, if you'd like to use it for your main passwords, that'd be my biggest worry. Luckily most are well established already as far as I can tell.
Chance of someone auditing all of them is virtually zero, and in practice no one audits anything, so you are still effectively blindly trusting that none of those 326 got compromised.
Re: Bitwarden CLI compromised in ongoing Checkmarx supply chain campaign
#220Earlier quoted context omitted.
I thought that CLI would be efficent when I looked for using it and then I figured it is JavaScript
Exactly. That is the problem. There is a time and place for where it makes sense and a password manager CLI written in TypeScript importing hundreds of third-party packages is a direct red flag. It is a frequent occurrence. We have seen it happen with Axios which is one of the biggest supply chain attacks on the Javascript / Typescript ecosystem and it makes no sense to build sensitive tools with that.
But how else are you going to check if a number is even or odd? Remember, the ONLY design goal is not repeating yourself (or in fact anything anyone has ever thought of implementing).