frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Bitwarden CLI Compromised in Ongoing Checkmarx Supply Chain Campaign

https://socket.dev/blog/bitwarden-cli-compromised
172•tosh•1h ago

Comments

nozzlegear•52m ago
Another day, another supply chain attack involving GitHub Actions.
adityamwagh•41m ago
GitHub was down too! Its uptime has been so bad recently.
righthand•40m ago
It’s the new Npm
palata•6m ago
Don't GitHub Actions actually use npm?
sigmonsays•51m ago
If I run the compromised CLI, do they get all my passwords?
NeckBeardPrince•40m ago
Read the article
rtaylorgarlock•38m ago
kinda crazy to see this comment required in this particular context, yet here we are
hgoel•36m ago
It's an understandable question, the article reads like an AI generated mess.
valicord•19m ago
Where does it answer this question in the article?
bhouston•40m ago
Exactly, that could widen the blast radius of this particular compromise significantly.
ErneX•39m ago
The article explains what is extracted.
valicord•19m ago
No it doesn't?
kbolino•30m ago
No, at least according to Bitwarden themselves: https://community.bitwarden.com/t/bitwarden-statement-on-che...
hurricanepootis•42m ago
This doesn't affect the web extension, no?
1024kb•41m ago
I had a really bad experience with the bitwarden cli. I believe it was `bw list` that I ran, assuming it would list the names of all my passwords, but too my surprise, it listed everything, including passwords and current totp codes. That's not the worst of it though. For some reason, when I ssh'ed into one of my servers and opened tmux, where I keep a weechat irc client running, I noticed that the entire content of the bw command was accessible from within the weechat text input field history. I have no idea how this happened, but it was quite terrifying. The issue persisted across tmux and weechat sessions, and only a reboot of the server would solve the problem.

I promptly removed the bw cli programme after that, and I definitely won't be installing it again.

I use ghostty if it matters.

trinsic2•34m ago
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.
1024kb•27m ago
I don't know, I use a vanilla weechat setup
nicce•20m ago
I thought that CLI would be efficent when I looked for using it and then I figured it is JavaScript
rvz•5m ago
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.

hgoel•37m ago
Does the CLI auto-update?

Edit: The CLI itself apparently does not, which will have limited the damage a bit, but if it's installed as a snap, it might. Incidents like this should hopefully cause a rollback of this dumb situation with forcefully updating people's software without explicit consent very frequently.

Also the time range provided in https://community.bitwarden.com/t/bitwarden-statement-on-che... can help with knowing if you were at risk. I only used the CLI once in the morning yesterday (ET), so I might not have been affected?

flossly•36m ago
Never used the CLI, but I do use their browser plugin. Would be quite a mess if that got compromised. What can I do to prevent it? Run old --tried and tested-- versions?

Quite bizarre to think much much of my well-being depends on those secrets staying secret.

zerkten•21m ago
Integration points increase the risk of compromise. For that reason, I never use the desktop browser extensions for my password manager. When password managers were starting to become popular there was one that had security issues with the browser integration so I decided to just avoid those entirely. On iOS, I'm more comfortable with the integration so I use it, but I'm wary of it.
brightball•20m ago
The problem is that the UX with a browser extension is so much better.
tracker1•15m ago
I also find it far easier to resist accidentally entering credentials in a phishing site... I'm pretty good about checking, but it's something I tend to point out to family and friends to triple check if it doesn't auto suggest the right site.
brightball•12m ago
Exactly. Same principle of passkeys, Yubikeys and FIDO2. Much harder to phish because the domains have to match.
QuantumNomad_•11m ago
The 1Password mobile and desktop apps have such a nice UX that I’m happy copy pasting from and into it instead of having any of the browser extensions enabled.

I have 1Password configured to require password to unlock once per 24 hours. Rest of the time I have it running in the background or unlock it with TouchID (on the MacBook Pro) or FaceID (on the iPhone).

It also helps that I don’t really sign into a ton of services all the time. Mostly I log into HN, and GitHub, and a couple of others. A lot of my usage of 1Password is also centered around other kinds of passwords, like passwords that I use to protect some SSH keys, and passwords for the disk encryption of external hard drives, etc.

embedding-shape•5m ago
> The 1Password mobile and desktop apps have such a nice UX that I’m happy copy pasting from and into it instead of having any of the browser extensions enabled.

Also a great way of missing out on one of the best protections of password managers; completely eliminating phishing even without requiring thinking. And yes, still requires you to avoid manually copy-pasting without thinking when it doesn't work, but so much better than the current approach you're taking, which basically offers 0 protection against phishing.

streb-lo•16m ago
Use the desktop or web vault directly, don't use the browser plugin.
ffsm8•14m ago
You should use hunter2 as your password on all services.

That password cannot be cracked because it will always display as ** for anyone else.

My password is *****. See? It shows as asterisks so it's totally safe to share. Try it!

... Scnr •́ ‿ , •̀

rvz•36m ago
Once again, it is in the NPM ecosystem. OneCLI [0] does not save you either. Happens less with languages that have better standard libraries such as Go.

If you see any package that has hundreds of libraries, that increases the risk of a supply chain attack.

A password manager does not need a CLI tool.

[0] https://news.ycombinator.com/item?id=47585838

hrimfaxi•31m ago
> A password manager does not need a CLI tool.

Why not? Even macos keychain supports cli.

gear54rus•24m ago
The above comment is just a bunch of generalizations not meant to address seriously that's why.
rvz•15m ago
So the comparison here is that you would rather trust a password manager with a CLI that imports hundreds of third-party dependencies over a first party password manager with a CLI that comes with the OS?

I don't think macOS Keychain uses NPM and it isn't in TypeScript or Javascript and, yes it does not need a CLI either.

The NPM and Java/Typescript ecosystem is part of the problem that encourages developers to import hundreds of third-party libraries, due to its weak standard library which it takes at least ONE transitive dependency to be compromised and it is game over.

hgoel•7m ago
You initially complained about CLIs, not the dependency mess of the JS ecosystem.

You still have not said why this is an issue of having a CLI.

trinsic2•30m ago
Yeah Im going to have to agree with this
internetter•27m ago
> A password manager does not need a CLI tool.

A password manager absolutely does need a CLI tool??

hgoel•24m ago
I guess anyone/anything using a non-graphical interface should just not use a password manager for some reason?

Not to mention that a graphical application is just as vulnerable to supply chain attacks.

imiric•10m ago
> A password manager does not need a CLI tool.

That's a wild statement. The CLI is just another UI.

The problem in this case is JS and the NPM ecosystem. Go would be an improvement, but complexity is the enemy of security. Something like (pass)age is my preference for storing sensitive data.

citizen4902•33m ago
Bitwarden statement - https://community.bitwarden.com/t/bitwarden-statement-on-che...
hrimfaxi•33m ago
> The affected package version appears to be @bitwarden/cli2026.4.0, and the malicious code was published in bw1.js, a file included in the package contents. The attack appears to have leveraged a compromised GitHub Action in Bitwarden’s CI/CD pipeline, consistent with the pattern seen across other affected repositories in this campaign.
mobeigi•32m ago
KeePass users continue to live the stress free live.

I've managed to avoid several security breaches in last 5 years alone by using KeePass locally on my own infra.

1024kb•29m ago
I need my passwords to be accessible from my infrastructure and my phone. How do you achieve this with KeePass? I assumed it was not possible, but in fairness, I haven't really gone down that rabbit hole to investigate.
piperswe•26m ago
Syncthing can synchronize Keepass files between devices quite well.
jasonjayr•24m ago
I rely on this too, but counting down the days android no longer lets syncthing touch another app's files :(
piperswe•4m ago
It would be strange if Android locked that down further than even iOS - Keepassium on iOS can open files from any sync app IIRC
Matl•23m ago
I mean there are ways i.e. if you run something like tailscale and can always access your private network etc. but it is a hassle.

Plus, now you're responsible for everything. Backups, auditing etc.

worble•23m ago
Keepass is just a single file, you can share it between devices however you want (google drive, onedrive, dropbox, nextcloud, syncthing, rsync, ftp, etc); as long as you can read and write to it, it just works. There are keepass clients for just about everything (keepassxc for desktops, keepass2android or keepassdx for android, keepassium for iphone).
thepill•22m ago
For me it is nextcloud + wireguard
yolo_420•19m ago
Not op but I mean you can use a public cloud with Cryptomator on top if you don’t trust your password DB on a non E2E cloud. Or you can just use your own cloud (but then no access outside or can risk and open up infra), and then any of the well known clients on your phone. Can optionally sandbox them if possible and then just be mindful of sync conflicts with the DB file but I assume you, like most people, will 99.9% of the time be reading the DB not writing to it.
walrus01•7m ago
In short, when I make a major password or credential change I do it from my laptop, consider that file on disk to be the "master" copy, and then manually sync the file on a periodic basis to my phone. I treat the file on the phone as read-only. Works fine so far.

To date there have been zero instances when I needed to significantly change a password/service/login/credential solely from my phone and I was unable to access my laptop.

Additionally the file gets synchronized to a workstation that sits in my home office accessible by personal VPN, where it can be accessed in a shell session with the keepass CLI: https://tracker.debian.org/pkg/kpcli

You can use an extremely wide variety of your own choice of secure methods for how to get the file from the primary workstation (desktop/laptop) to your phone.

afavour•23m ago
Which is great for Hacker News users that can maintain their own infra. But if we're talking "stress free", that's not an answer for the average user...
NoMoreNicksLeft•17m ago
The average user is reusing their password everywhere, and rotation means changing the numeral 6 at the end of the password to 7.
NegativeK•10m ago
We should be encouraging those users to switch to a password manager.
pregnenolone•20m ago
> KeePass users continue to live the stress free live.

https://cyberpress.org/hackers-exploit-keepass-password-mana...

baby_souffle•15m ago
Happy 1password user for more than a decade.

It's only a matter of time until _they_ are also popped :(.

hypeatei•7m ago
That's an AI slop article. I'm not sure how someone creating their own installer and buying a few domains to distribute it is a mark against KeePass itself.

> The beacon established command and control over HTTPS

derkades•7m ago
This AI generated article is not about vulnerabilities in KeePass, rather about malicious KeePass clones.
isatty•31m ago
Writing a cli with JavaScript? No thank you.
sega_sai•30m ago
So how likely is that these compromises will start affecting the non-cli and non-open-source tools ? For example other password managers (in the form of GUI's or browser extensions).
darkwater•29m ago
> Russian locale kill switch: Exits silently if system locale begins with "ru", checking Intl.DateTimeFormat().resolvedOptions().locale and environment variables LC_ALL, LC_MESSAGES, LANGUAGE, and LANG

So bold and so cowards at the same time...

NewsaHackO•25m ago
The worst thing is that you can't even tell if that's "real" or just a false flag.
embedding-shape•4m ago
[delayed]
bell-cot•23m ago
"Discretion is the better part of valor", "Never point it at your own feet", "Russian roulette is best enjoyed as a spectator", and many other sayings seem applicable.
hypeatei•21m ago
That isn't a smoking gun. I think it was the Vault7 leaks which showed that the NSA and CIA deliberately leave trails like this to obfuscate which nation state did it. I'm sure other state actors do this as well, and it's not a particularly "crazy" technique.
iririririr•9m ago
ah yes, because everyone sets locale on their npm publish github CI job.

obvious misdirection, but it does serve to make it very obvious it was a state actor.

embedding-shape•4m ago
[delayed]
testfrequency•7m ago
Smells like blackmail from another nation..
masfuerte•28m ago
> Checkmarx is an information security company specializing in software application security testing and risk management for software supply chains.

The irony! The security "solution" is so often the weak link.

esafak•23m ago
Last month it was trivy: https://github.com/aquasecurity/trivy/security/advisories/GH...
woodruffw•9m ago
The adage that security companies are often worse at software security than the median non-security company continues to hold water.
Scene_Cast2•20m ago
I recently had to disable their Chrome extension because it made the browser grind to a halt (spammed mojo IPC messages to the main thread according to a profiler). I wasn't the only one affected, going by the recent extension reviews. I wonder if it's related.
bstsb•18m ago
> CLI builds were affected [...]

> Bitwarden’s Chrome extension, MCP server, and other legitimate distributions have not been affected yet.

nothinkjustai•19m ago
Remember how the White House published that document on memory safe languages? I think it’s time they go one step further and ban new development in JavaScript. Horrible language horrible ecosystem and horrible vulns.
tracker1•19m ago
I was literally thinking about installing the cli a few days ago to ease the use in a few places. Now I'm glad I didn't.
ruuda•19m ago
https://github.com/doy/rbw is a Rust alternative to the Bitwarden CLI. Although the Rust ecosystem is moving in NPM's direction (very large and very deep dependency trees), you still need to trust far fewer authors in your dependency tree than what is common for Javascript.
ramon156•14m ago
This + vaultwarden is an awesome self-hostable rust version of bitwarden. We might as well close the loop!
fraywing•18m ago
Can we please get a break?

Praying to the security gods.

It seems like we've have non-stop supply chain attacks for months now?

fnoef•18m ago
I mean, what's the future now? Everyone just vibecoding their own private tools that no "foreign government" has access to? It honestly feels like everything is slowly starting to collapse.

Also didn't Microsoft (the owner of GitHub) got access to Claude Mythos in order to "seCuRe cRitiCal SoftWaRe InfRasTructUre FoR teh AI eRa"? Hows securing GitHub Action going for them?

wooptoo•18m ago
This is precisely why I don't use BW CLI. Use pass or gopass for all your CLI tokens and sync them via a private git repo.

Keep the password manager as a separate desktop app and turn off auto update.

post-it•4m ago
I've dramatically decreased my reliance on third-party packages and tools in my workflow. I switched from Bitwarden to Apple Passwords a few months ago, despite its worse feature set (though the impetus was Bitwarden crashing on login on my new iPad).

I've also been preferring to roll things on my own in my side projects rather than pulling a package. I'll still use big, standalone libraries, but no more third-party shims over an API, I'll just vibe code the shim myself. If I'm going to be using vibe code either way, better it be mine than someone else's.

Why prediction markets are a sure sign that our civilisation is in decay

https://www.joanwestenberg.com/why-prediction-markets-are-a-sure-sign-that-our-civilisation-is-in...
1•alcazar•54s ago•0 comments

Zork-bench: An LLM reasoning eval based on text adventure games

https://www.lowimpactfruit.com/p/zork-bench-an-llm-reasoning-eval
1•mnky9800n•59s ago•0 comments

Unkey raised $4.5M to ship APIs, not infrastructure

https://www.unkey.com/blog/unkey-raises-seed
2•jamesperkins•3m ago•0 comments

France confirms data breach at government agency that manages citizens' IDs

https://techcrunch.com/2026/04/22/france-confirms-data-breach-at-government-agency-that-manages-c...
1•robtherobber•4m ago•0 comments

#008: Design Is a Generous Gift

https://metedata.substack.com/p/008-design-is-a-generous-gift
1•young_mete•4m ago•0 comments

Context Engineering and the Limits of Agentic Coding

https://stephenfritz.dev/blog/context-engineering/
1•conner_bw•4m ago•0 comments

Why Onboarding Flow Is the New Signup Form

https://uxmovement.substack.com/p/why-onboarding-flow-is-the-new-signup
1•antux•5m ago•0 comments

Johny Srouji Named Apple's Chief Hardware Officer

https://www.apple.com/newsroom/2026/04/johny-srouji-named-apples-chief-hardware-officer/
1•wslh•6m ago•0 comments

NY sues Coinbase and Gemini to halt unlicensed prediction market businesses

https://apnews.com/article/prediction-markets-coinbase-gemini-lawsuit-new-york-25fa0db90266f4ecf9...
3•1vuio0pswjnm7•7m ago•0 comments

Texas a&M's H-1B Spending Sparks Debate over Jobs and Transparency

https://dallasexpress.com/education/texas-ams-h-1b-spending-sparks-debate-over-jobs-and-transpare...
2•rawgabbit•7m ago•0 comments

Finra Adopts New Standards to Replace the Day Trading Margin Requirements

https://www.finra.org/rules-guidance/notices/26-10
1•hentrep•7m ago•0 comments

Desktop Powered by Hashing

https://starlight-ai.freemyip.com/sandbox/4c91530a5083a463798865d9f357d473d5318fe683784a390a48a2d...
2•macroadster•8m ago•0 comments

Developer Builds Script That Calls Back Spam Callers in Endless Loop [video]

https://www.youtube.com/shorts/3zyng3lqNAs
1•thunderbong•8m ago•0 comments

Show HN: Interactive knowledge graph for the AAuth (Agent Auth) protocol

https://mcp-shark.github.io/aauth-explorer/
1•0xchamin•10m ago•0 comments

I spent 6 years building my Kanban as I hated how managers run the boards

https://www.npmjs.com/package/ooko
2•okovooo•10m ago•1 comments

The unflattering secrets revealed so far in Elon Musk's latest legal feud

https://web.archive.org/web/20260423124533/https://www.washingtonpost.com/technology/2026/04/23/m...
1•1vuio0pswjnm7•13m ago•0 comments

AWS/Azure IAM Audit Automation – Lessons from the ShinyHunters Breach

https://cyberalert.com.pl/articles/iam-audit-multicloud-shinyhunters-2026-en.html
1•D__S•16m ago•0 comments

Train separately, merge together: Modular post-training with mixture-of-experts

https://allenai.org/blog/bar
1•gmays•16m ago•0 comments

Breathing in nanoparticles could enable a 10-minute pneumonia check

https://phys.org/news/2026-03-nanoparticles-enable-minute-pneumonia.html
1•PaulHoule•16m ago•0 comments

Atlassian Expands Partnership with Google Cloud to Power Agentic AI

https://www.googlecloudpresscorner.com/2026-04-22-Atlassian-Expands-Partnership-with-Google-Cloud...
2•marcosscriven•16m ago•0 comments

Microsoft plans first voluntary employee buyout in company's 51-year history

https://www.cnbc.com/2026/04/23/microsoft-plans-first-voluntary-retirement-program-for-us-employe...
2•1vuio0pswjnm7•17m ago•2 comments

How to Grep Video

https://blog.cloudglue.dev/how-to-grep-video/
5•mrmarket•17m ago•0 comments

Ask HN: How to reduce human bottle neck in solo game dev

1•pennystudio-li•18m ago•0 comments

We rebuilt our Electron recording engine in Swift

https://circleback.ai/blog/how-we-rebuilt-our-electron-recording-engine-in-swift
1•arguiot•18m ago•0 comments

AI Model and 'MAGA' Influencer Emily Hart Unmasked as Indian Man

https://www.mandatory.com/news/1761666-maga-influencer-ai-model-emily-hart-unmasked-indian-man
3•CharlesW•19m ago•0 comments

What you can do in a decade

https://www.swyx.io/decade
1•AnhTho_FR•20m ago•0 comments

Google's opt-out cookies still ignored, 15 years later

https://jackyan.com/blog/2026/04/googles-opt-out-cookies-still-ignored-15-years-later/
4•speckx•21m ago•0 comments

LLM users mistake AI output for their own real skill

https://arxiv.org/abs/2604.14807
1•linkregister•21m ago•0 comments

Rgfeawvgewwvga

https://selfba.se/t5g4egtvfergvretgvr
1•aegvegv•21m ago•0 comments

A catastrophic climate event is upon us

https://www.theguardian.com/commentisfree/2026/apr/23/catastrophic-climate-event-scientists-atlan...
4•yrcyrc•23m ago•1 comments