103
you are viewing a single comment's thread
view the rest of the comments
[-] davidgro@lemmy.world 54 points 2 days ago

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

[-] ztwhixsemhwldvka@lemmy.world 22 points 2 days ago

Its always npm

[-] NotSteve_@lemmy.ca 6 points 2 days ago

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 3 points 1 day ago

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

[-] davidgro@lemmy.world 7 points 1 day ago

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 3 points 18 hours 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 4 points 2 days ago

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

[-] hirihit640@sh.itjust.works 0 points 18 hours 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 28 points 2 days ago

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

[-] MonkderVierte@lemmy.zip 2 points 1 day ago

Culture problem imo.

this post was submitted on 01 Jun 2026
103 points (98.1% liked)

Cybersecurity

10050 readers
91 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