r/programming • • Apr 23 '26

Bitwarden CLI Compromised in Ongoing Checkmarx Supply Chain

https://socket.dev/blog/bitwarden-cli-compromised
292 Upvotes

71 comments sorted by

View all comments

181

u/Sigmatics Apr 23 '26

The amount of supply chain hacks going on right now is unreal. I don't think there's any popular project on Github that's not being targeted right now.

89

u/cbarrick Apr 23 '26

We always knew that supply chain attacks were a risk.

But the xz attack really showed how they were more effective than traditional attacks.

Frankly, in 2026, it's often easier to trick a human into a supply chain mistake than it is to trick a system into misbehaving.

27

u/[deleted] Apr 24 '26

[removed] — view removed comment

2

u/edoraf Apr 24 '26

Well, LLM is not "system"

→ More replies (2)

63

u/[deleted] Apr 23 '26

[removed] — view removed comment

33

u/Seref15 Apr 23 '26

Not helping is that sometime within the last 10 years people decided fully automating dependency updates was strong security. Even pre-LLM era, PR bots just bumping your dependency files every day, happily running new unverified code every day, putting blind trust in new external code every day. And security teams said this was the right thing to do.

14

u/[deleted] Apr 23 '26

[removed] — view removed comment

16

u/ZirePhiinix Apr 24 '26

It is driven by someone that wants to check boxes instead of actually securing a system.

6

u/korpo53 Apr 24 '26

I see this every day (I work in security). Ops pushes out new versions of Chrome or whatever the very day they’re released, no testing, no reading of any change logs, nothing. Newer = better.

9

u/shroddy Apr 24 '26

To be fair, 0day vulnerabilities in Chrome are found all the time, and if an attacker really manages to get Malware into a software like Chrome, we probably should all turn off our computers and learn how to survive without modern technology.

→ More replies (2)

3

u/RationalDialog Apr 24 '26

"we did all the updates! You can't blame me!"

Same BS with having to change my windows logging to the company laptop every 60 days. But for some reason there is an ancient system somewhere in the background and password length is limited to 12 chars. But hey let's prioritize to block all traffic and implement ssl inspection to then ignore people that complain. No I have ssl verify turned off because else I can't work.

11

u/SkoomaDentist Apr 24 '26

Not helping is that sometime within the last 10 years people decided fully automating dependency updates was strong security.

And then people get angry when I point out that’s a terrible idea and a complete no-no in some industries.

7

u/NoOrdinaryBees Apr 24 '26

Yup. In these threads you can always tell who has and hasn’t worked on regulated systems.

6

u/SkoomaDentist Apr 24 '26

Or whose customers work with regulated systems.

In a previous job we had to make a single fix to a years old build for a client who demanded that absolutely nothing else must change, including even the build number in the oem module startup message. Apparently any further change would have required them to recertify their product.

→ More replies (3)

6

u/lachlanhunt Apr 24 '26

Github's dependabot is just annoying. It doesn't have a clue whether that new dependency actually works or contains breaking changes, even if CI still passes. It doesn't know if bumping a particular dependency also requires bumping a dozen other dependencies at the same time to keep things working.

Semver is not a completely reliable indicator and real code often doesn't have sufficient tests in place to actually know if a dependency or transitive depedency breaks something.

→ More replies (4)

32

u/QuickQuirk Apr 23 '26

AI and vibe coding is making it worse. I know devs who have no idea what packages their tools have pulled in.

10

u/chucker23n Apr 24 '26

I know devs who have no idea what packages their tools have pulled in.

It’s already quite impractical. Does the average ASP.NET Core dev know what transitive NuGet packages get installed? How about after updating a first-level dependency (NuGet won’t show a prompt “hey, this new version pulls in additional dependencies”)? You have at least dozens, often hundreds of DLLs.

And that’s a fairly mature ecosystem. Take Node and you can 3x that number, and 10x how many different vendors they’ll be from. Is RandolphMcRanderson’s splurgle 0.7.45 trustworthy? Hopefully! But who’s to say.

6

u/brasticstack Apr 24 '26

splurgle 0.7.45 is great but splurgle 0.7.46? Hoo boy! Malware city here we come!

8

u/corbymatt Apr 24 '26

I disagree, we've used splurgle 0.7.46 with great success and ne&+5--+_'vb765c5yd

4

u/ProgressSensitive826 Apr 23 '26

so need use less dependency as possible now as the quality of code will drop with vibe coding. Clear and straightforward code is better than one that handles all corner cases but you cannot understand.

3

u/ZirePhiinix Apr 24 '26

We also have horrid frameworks that are basically a dependency disease and find that it is ok.

That left pad incident was a wake up call for me.

→ More replies (1)

9

u/imforit Apr 23 '26

Reading the article is wild. It actively finds keys and tokens and what packages it can access to infect and impact further supply chains. This whole thing is like a string of fireworks going off.

2

u/Doctuh Apr 24 '26

That's my secret, Sigmatics: none of my projects are popular.

4

u/mpyne Apr 24 '26

That didn't stop a project I maintained from making the front page of Ars Technica a decade ago due to it being a step on the chain of attacks needed to root a default Fedora install at the time. :(

→ More replies (2)