News for hackers. Stuff that matters.
Re:NPM debug and chalk packages compromised by dpc_01234 on Monday September 08, 2025 @04:15PM (#45173360)
NPM dev gets hacked, it's detected within 1 hour.

XZ got hacked, it reached development versions of major distributions undetected, in an _SSH_, and it only got detected due to someone luckily noticing and investigated slow ssh.

Some C devs will still think their practices and tooling are worth boasting about. :shrug:

Re:NPM debug and chalk packages compromised by grayhatter on Monday September 08, 2025 @05:04PM (#45173977)
xz didn't get hacked (phished).

For xz an advanced persistent threat, inserted hypertargeted self modifying code into a tarball.

A single npm dev was "hacked" (phished) by a moderate effort, (presumably drive by) crypto thief.

I have no idea what you meant by "right inside _ssh_" but I don't think that's a good description of what actually happened in any possible case.

I'm unlikely to defend C devel practices but this doesn't feel like an indictment of C, if anything the NPM ecosystem looks worse by this comparison. Especially considering the comment you replied to was advocating for minimizing dependencies, which if the distros effected by xz being compromised had followed, (instead of patching sshd) they wouldn't have shipped a compromised version.

Re:NPM debug and chalk packages compromised by typpilol on Monday September 08, 2025 @08:26PM (#45175911)
Lol it's so true.. the C smugness is unmatched