Seiden Group
Modern Development & Open Source for IBM i
  • Link to LinkedIn
  • Link to Mail
  • Home
  • Seiden PHP+
    • Seiden PHP+
    • Install & Learn
    • SmartSupport
    • PHP Migrations & Upgrades
    • Success Stories
    • Free PHP Assessment
    • Documentation
    • What’s New (Changelog)
  • IBM i Services
    • Development
    • Training & Mentoring
    • Open Source Setup & Upgrades
    • SSL/TLS Install & Learn
    • Performance
  • Support
    • Open Source & PHP
    • VS Code for i
    • Developer Support
    • Support Success Stories
  • VS Code for i
    • Support
    • Training
    • Code for i Resource Guide
    • Getting Started Videos
    • Code for IBM i Fridays
  • Free Stuff
    • IBM i Strategy & Tips
    • PHP Upgrade Assessment
    • CNX Valence Assessment
    • VS Code for IBM i Resources
    • Code for IBM i Fridays
    • QCachegrind Download
    • PHP Toolkit for IBM i Resources
    • Qshell on i Library
  • Blog
  • About
    • About Our Team
    • About Alan Seiden
    • Speakers & Sessions
    • In the News
  • Contact
  • 201.447.2437
  • Search
  • Menu Menu

Seiden Group Blog

What the Shai-Hulud npm Worm Means for Node.js Developers

October 17, 2025/0 Comments/in Node.js, Open Source /by Alan Seiden

node.js ibm iThe Node.js ecosystem has been disrupted by self-replicating malware called Shai-Hulud.

In September 2025, researchers found that Shai-Hulud had infected more than 500 npm packages, including some from trusted maintainers. The worm did not just publish a few bad versions. It spread automatically, using stolen credentials to infect other packages owned by the same developer.


How the Attack Worked

When a developer or build system installed an infected package, Shai-Hulud searched for secrets such as npm tokens, GitHub access tokens, and cloud credentials. It then used those credentials to publish new malicious versions of other packages owned by that developer.

It also:

  • Added hidden GitHub Actions workflows that sent data to attacker-controlled servers.
  • Created public repositories named Shai-Hulud containing encoded files of stolen credentials.
  • Tried to make private repositories public under the name “Shai-Hulud Migration.”

This was the first time a self-spreading worm appeared in the npm ecosystem.

What Node.js Users Should Do

If your environment uses Node.js or npm, take these steps:

  1. Audit dependencies
    • Check your package-lock.json or yarn.lock files for known compromised packages (lists are available from Wiz, JFrog, and CISA).
    • Reinstall from trusted sources and lock versions.
  2. Rotate credentials
    • Treat npm and GitHub tokens as potentially exposed.
    • Reissue publication tokens, SSH keys, and API keys used in builds.
  3. Inspect repositories
    • Look for unfamiliar branches or workflows named shai-hulud.
    • Review GitHub audit logs for unexpected changes.
  4. Harden CI/CD pipelines
    • Use scoped, temporary credentials.
    • Avoid running builds with unnecessary write privileges.

If You Think Your System Might Be Affected

If your organization uses Node.js—on IBM i or elsewhere—and you’d like help assessing exposure or improving security, Seiden Group’s SmartSupport team can assist.

Contact Seiden Group to schedule a confidential review or plan a proactive security strategy.

Tags: ci/cd, malware, node.js, npm, security, worm
Share this entry
  • Share on Facebook
  • Share on X
  • Share on Pinterest
  • Share on LinkedIn
  • Share on Tumblr
  • Share on Reddit
  • Share by Mail
https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png 0 0 Alan Seiden https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png Alan Seiden2025-10-17 10:13:432025-10-17 10:13:43What the Shai-Hulud npm Worm Means for Node.js Developers
Alan Seiden

About Alan Seiden

Alan works to preserve your investment in IBM enterprise systems by designing and implementing modernization strategies that leverage your existing business logic.

With a passion ...Read More

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

SUBSCRIBE
Open Thinking
Monthly IBM i Strategy & Tips
  • This field is for validation purposes and should be left unchanged.

IBM i Development

  • RPG, COBOL, SQL, Node,
    PHP, Python, Valance, etc.
  • Modernization. Integration.
  • Web and API Solutions
  • Legacy Maintenance
    ...
LET'S GET IT DONE!

Recent Posts

  • PHP Security Updates for November 2026
  • Still Running Net.Data on IBM i? We Can Help
  • Mitigating the eMudhra Intermediate CA Compromise with IBM i
  • Critical php2shell Security Update Available in Seiden PHP+ Server
  • Moving to IBM i 7.6? An SDA Alternative with VS Code and IBM Bob
  • What’s New with Mapepire Database Connector for IBM i
  • Do You Need IBM i Observability?
  • PHP 8.6 is Coming Soon to IBM i
  • Safer npm installation is on the way for Node.js (and all JavaScript)
  • Protecting IBM i and Web Applications from Modern Threats

SEIDEN GROUP: Modern Development & Open Source for IBM i

Home   |   Seiden PHP+   |   IBM i Services  |   Support   |   VS Code for i   |   Free Stuff   |   Blog  |   Privacy Policy  |   Contact         201.447.2437

© 2026 Seiden Group, LLC
  • Link to LinkedIn
  • Link to Mail
Link to: Ransomware Lessons from Brussels Airport and IBM i Link to: Ransomware Lessons from Brussels Airport and IBM i Ransomware Lessons from Brussels Airport and IBM i Link to: Keep Your PHP Secure: Why Regular Updates Matter Link to: Keep Your PHP Secure: Why Regular Updates Matter Keep Your PHP Secure: Why Regular Updates Matter
Scroll to top Scroll to top Scroll to top