this post was submitted on 01 Jun 2026
81 points (97.6% liked)

Cybersecurity

10044 readers
176 users here now

c/cybersecurity is a community centered on the cybersecurity and information security profession. You can come here to discuss news, post something interesting, or just chat with others.

THE RULES

Instance Rules

Community Rules

If you ask someone to hack your "friends" socials you're just going to get banned so don't do that.

Learn about hacking

Hack the Box

Try Hack Me

Pico Capture the flag

Other security-related communities !databreaches@lemmy.zip !netsec@lemmy.world !securitynews@infosec.pub !cybersecurity@infosec.pub !pulse_of_truth@infosec.pub

Notable mention to !cybersecuritymemes@lemmy.world

founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] davidgro@lemmy.world 44 points 1 day ago (3 children)

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

[–] ztwhixsemhwldvka@lemmy.world 20 points 1 day ago

Its always npm

[–] NotSteve_@lemmy.ca 4 points 1 day ago (2 children)

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

[–] MonkderVierte@lemmy.zip 2 points 19 hours ago

Trust by default for a atomic packaging system. Entirely NPM's fault.

[–] davidgro@lemmy.world 6 points 1 day ago (1 children)

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.

[–] hirihit640@sh.itjust.works 2 points 55 minutes ago

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

[–] Fizz@lemmy.nz 3 points 1 day ago (2 children)

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

[–] hirihit640@sh.itjust.works 1 points 56 minutes ago

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

[–] knobbysideup@sh.itjust.works 25 points 1 day ago (1 children)

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

[–] MonkderVierte@lemmy.zip 2 points 19 hours ago

Culture problem imo.