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.

  • @panda_abyss@lemmy.ca
    link
    fedilink
    English
    4
    edit-2
    1 day ago

    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.

    • @fxdave@lemmy.ml
      link
      fedilink
      English
      216 hours ago

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

      Right, but my machine is safe at least.

    • @socphoenix@midwest.social
      link
      fedilink
      English
      2
      edit-2
      1 day 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).