Spyke
lemmy.world

I'm beginning to think this "NPM" thing isn't a great idea.

54
NotSteve_reply
lemmy.ca

I don't really see how it's NPM at fault here. This was caused by a malicious actor taking control of an account and putting out bad packages on it. It could happen on any package repository for any language

6
davidgroreply
lemmy.world

My understanding is that for most package managers the signing keys are held by a smallish number of maintainers responsible for entire sections, who presumably keep those accounts pretty tightly secured. Not impossible to take over, but it's a smaller attack surface.

While for NPM as far as I know every uploader keeps their own account and there's not even signing keys to lose control of.

7

I've heard quite a few PyPi and Cargo attacks though, but I bet the main reason why hear NPM so much is simply because NPM is the biggest, and thus the most valuable target

4
Fizzreply
lemmy.nz

I'm not familiar with npm but why is this always NPM? Is it a specific issue they have?

4
BoofStrokereply
sh.itjust.works

It's a "package manager" that has zero integrity checks built in. Web devs also love it. Nice combination.

27

because it's the biggest. Just like how hackers target windows and not linux (assuming they are targeting users and not servers).

1

One day, back in 1995, I could download every red hat package onto a series of 13 floppies.

In fact, it was required if you wanted to install red hat. So was compiling them all onto your own computer.

How far we’ve come

11
cyberveganreply
lemmy.world

NPM is not a Linux thing - it's to do with web applications, so it works on Windoze and Mac too.

2

Windoze? What's that? Sounds like socialism 🤨 And I never eat hamburgers, just so you know

-1

You reached the end

Dozens of Red Hat packages backdoored through its official NPM channel | Spyke