News for hackers. Stuff that matters.
Re:Bitwarden CLI Compromised in Ongoing Checkmarx Supply Cha... by cobolcomesback on Thursday April 23, 2026 @12:12PM (#47877508)
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.
Re:Bitwarden CLI Compromised in Ongoing Checkmarx Supply Cha... by reactordev on Thursday April 23, 2026 @12:16PM (#47877576)
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.
Re:Bitwarden CLI Compromised in Ongoing Checkmarx Supply Cha... by Sohcahtoa82 on Thursday April 23, 2026 @12:44PM (#47877972)
Can someone explain why people struggle with CORS?

The full strength of the SOP applies by default. CORS is an insecurity feature that relaxes the SOP. Unless you need to relax the SOP, you shouldn't be enabling CORS, meaning you shouldn't be sending an Access-Control-Allow-Origin header at all.

If your front-end at www.example.com makes calls to api.example.com, then it's simple enough to just add www.example.com to CORS.

Re:Bitwarden CLI Compromised in Ongoing Checkmarx Supply Cha... by 12_throw_away on Thursday April 23, 2026 @03:58PM (#47880936)
IME, CORS is pretty straightforward in prod but can be a huge pain in dev environments, so you end up with lots of little hacks to get your dev environments working (and then one of those hacks leaks back into prod and now you have CORS problems in prod).
Re:Bitwarden CLI Compromised in Ongoing Checkmarx Supply Cha... by reactordev on Thursday April 23, 2026 @05:20PM (#47882212)
This. This is a result of not having proper environments and engineering practices in place and so the team or engineer is free to just wing it and add hacks around security best practices because the Security Team (tm) is elsewhere and they never understand the ask. They know PKI and certificates, access card identity, maybe Cisco for their "cyber security" but that's usually where it ends. Yet somehow, they are in charge of CORS and TLS and Sast/Dast scans and everything else that should be baked into the pipelines and process. Resulting in an engineer saying f'it and adding an `if localhost` hack or something. CORS is one example but there are many others in pretty much every area of security. OAuth, CORS, LDAP, Secrets, Hashing, TOTP, you name it. Each has a plethora of packages and libraries that can "do" the thing but it always becomes a hairball mess to the dev because they never understood it to begin with.
Re:Bitwarden CLI Compromised in Ongoing Checkmarx Supply Cha... by fragmede on Thursday April 23, 2026 @05:36PM (#47882394)
That simple prod example isn't where people struggle with CORS. It's during development and I've got assets on Cloudflare and AWS and GCP and localhost:3000 and localhost:8000, and localhost:3001 and then a VM in Hetner at API.example.com because why not, that shit gets complicated and people get confused and lost. I mean, yeah, don't do that, but CORS gets complicated once the project gets enough teams involved.
Re:Bitwarden CLI Compromised in Ongoing Checkmarx Supply Cha... by tcoff91 on Friday April 24, 2026 @02:55AM (#47886577)
I’ve found that the best way to deal with this is to add an entry to /etc/hosts for my local machine that fits the pattern for QA environment. Then I run a local reverse proxy with a self signed certificate.

So I do local dev on https://local.qa.yourappnamehere.com

Re:Bitwarden CLI Compromised in Ongoing Checkmarx Supply Cha... by lxgr on Thursday April 23, 2026 @03:09PM (#47880185)
We've had all those well before AI.

> 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 Cha... by renewiltord on Thursday April 23, 2026 @05:17PM (#47882175)
Probably terminal emulator is like iTerm2 and double click to select and copy to clipboard is feature.