this post was submitted on 16 Sep 2025
59 points (100.0% liked)

Technology

75205 readers
3086 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
 

This morning, we were alerted to a large-scale attack against npm. This appears to the be work of the same threat actors behind the Nx attack on August 27th 2025. This was originally published by Socket and StepSecurity who noted 40 packages had been comrpomised, since then an additional 147 packages have been infected with malware including packages from CrowdStrike.

The scale, scope and impact of this attack is significant. The attackers are using the same playbook in large parts as the original attack, but have stepped up their game. They have turned it into a full worm, which does these things automatically:

  • Steal secrets and publish them to GitHub publicly
  • Run trufflehog and query Cloud metadata endpoints to gather secrets
  • Attempt to create a new GitHub action with a data exiltration mechanism through webhook[.]site
  • Iterate the repositories on GitHub a user has access to, and make them public

Since our initial alert this morning we’ve confirmed the following additional behaviours and important details. For those that don't know, Shai Hulud is the name for the worm in the Dune franchise. A clear indication of the intent of the attackers.

all 11 comments
sorted by: hot top controversial new old
[–] SomethingBurger@jlai.lu 6 points 11 hours ago

"No way to prevent this", says only package manager to which this regularly happens

[–] Brkdncr@lemmy.world 9 points 18 hours ago

This is probably the biggest hack of the year. As of the writing it had infected 140+ packages including some from big names like CrowdStrike. npm is in a LOT of things, and this thing is a true worm.

[–] fxdave@lemmy.ml 7 points 19 hours ago* (last edited 19 hours ago) (2 children)

Keep your secrets:

alias npm="docker run -it --rm -v $(pwd):/app -w /app node:latest npm"

Not enough, but better than nothing.

[–] panda_abyss@lemmy.ca 3 points 7 hours ago* (last edited 7 hours ago) (1 children)

I thought I was crazy for doing this, but it’s good to know I’m not the only one.

This won’t protect your .env files though, right?

ETA: I’m surprised BSD jails haven’t gained more ground — at this point I’m running a ton of containers.

[–] socphoenix@midwest.social 2 points 4 hours ago* (last edited 4 hours ago)

I use bsd containers for everything but home assistant on my home server and love them! The downside for most people at the moment is having to set them up manually. I can export the thin jail and move the archive across computers as backups and the fine tuned control is beautiful. FreeBSD offers a way to check for security vulnerabilities in installed packages (pkg audit -F) that I run as a cron job and email myself daily to check for needed updates.

Problem is most people want a single docker install and it’s all set up, not something that needs manual configuration. Bastille has templates that can do this for bsd jails but there’s not a lot of services with templates.

Edit: also frustrating is a lot of new apps for home servers only offer a docker install so installing from source becomes a huge pita and makes bsd jails harder to use (looking at you gramps-web specifically).

[–] voronaam@lemmy.world 1 points 15 hours ago (1 children)

Good idea. I wonder if nx and pnpm could be ran like that as well

[–] fxdave@lemmy.ml 1 points 11 hours ago* (last edited 10 hours ago)

It's possible. For pnpm package cache you need to attach another volume, and another for globally installed packages.