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

Archive for category: Node.js

Alan Seiden

Safer npm installation is on the way for Node.js (and all JavaScript)

June 30, 2026/0 Comments/in Node.js /by Alan Seiden

JavaScript’s package manager, npm, has been in the news lately for allowing supply-chain risks. By default, npm trusts a module’s install scripts, running them automatically. In a recent compromise of Red Hat npm packages, attackers used malicious install scripts to spread a credential-stealing worm.

Some packages do need to run installation scripts. The odbc module, for example, uses node-gyp during installation to compile the driver. On IBM i and other platforms, that compile step may be necessary.

npm’s response

Starting with npm 11.16.0, npm will warn about install scripts that have not been explicitly approved. In npm 12, unapproved scripts are expected to be blocked by default.

If you try to install a package with install scripts under npm 11.6.0, you will receive a warning such as this:

1
2
3
4
npm warn allow-scripts 1 package has install scripts not yet covered by allowScripts:
npm warn allow-scripts odbc@2.5.0 (install: node-gyp rebuild)
npm warn allow-scripts
npm warn allow-scripts Run `npm approve-scripts --allow-scripts-pending` to review, or `npm approve-scripts <pkg>` to allow.

For legitimate packages that need install scripts, the fix is to run npm approve-scripts. For example:

1
npm approve-scripts odbc

After approval, npm will remember that the package should be allowed to run its install script:

1
2
Approved odbc:
   added odbc@2.5.0

In our case, approving odbc is appropriate because its installation runs node-gyp, which is needed to compile the ODBC driver.

We suggest updating npm now and reviewing any warnings before npm 12 makes this behavior more strict.

To upgrade npm to the latest version:

1
2
npm install npm@latest -g
 

Thank you to IBM’s Korinne Adler for alerting us to this change.

For more open source support and security help

Contact us for professional open source support and security guidance.

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 Seiden2026-06-30 09:23:132026-06-30 09:23:13Safer npm installation is on the way for Node.js (and all JavaScript)
Alan Seiden

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.

Read more →

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
Richard Schoen

Integrate Python, Node, PHP, etc. with CL & RPG on IBM i – 2023 Update

March 10, 2023/0 Comments/in IBM i, Node.js, PHP, Python /by Richard Schoen

QSHONIA few years ago I introduced you to my QShell on i utility – QSHONI. QSHONI makes it easy for traditional CL, RPG, and COBOL programs to call Python utilities and other QShell/PASE utility programs (PHP, Node, Java, etc.) and directly use their output. QSHONI opened up a whole new world of integrations to open source apps from RPG, CL, and COBOL.

In this post I will update you on new features that have been added to the QSHONI utilities over the past 12 months.

Read more →

https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png 0 0 Richard Schoen https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png Richard Schoen2023-03-10 12:18:572023-03-14 09:24:16Integrate Python, Node, PHP, etc. with CL & RPG on IBM i – 2023 Update
Holly Lacher

Edit IFS Files Using Visual Studio Code for IBM i

January 4, 2023/0 Comments/in Node.js, PHP, Python, VS Code for i /by Holly Lacher

Code for IBM iVisual Studio Code (VS Code) is a lightweight source code editor that runs on multiple desktops, including Windows, Linux, and MacOS. It provides built-in support for PHP, Node.js, Python, and many other languages and runtimes.

Halcyon Tech’s Code for IBM i extension adds the ability to edit IBM i Integrated File System (IFS) files inside VS Code. It’s easy to get set up to access and edit IFS-based code using this popular editing tool.

In just seven quick steps, you can install VS Code and its Code for IBM i extension and begin working with IFS files stored on your IBM i.

Read more →

https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png 0 0 Holly Lacher https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png Holly Lacher2023-01-04 11:48:522023-01-08 10:35:26Edit IFS Files Using Visual Studio Code for IBM i
Alan Seiden

Install and Use Node.js iToolkit for IBM i

January 3, 2023/4 Comments/in Node.js /by Alan Seiden

node.js ibm iNode.js has joined other popular IBM i open-source technologies, such as PHP and Python, for web application and API development. A server-side runtime for JavaScript, Node.js can run both on IBM i and on other platforms such as Linux.

The Node.js iToolkit lets you leverage your company’s investment in RPG and COBOL business logic while developing front ends and APIs with Node.js. As with Node.js itself, iToolkit can run on your IBM i or can connect to IBM i from your PC or an external web server.

This post explains how to install Node.js and its iToolkit on your IBM i, then use iToolkit to call an RPG service program.

Read more →

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 Seiden2023-01-03 14:10:542023-03-02 23:08:07Install and Use Node.js iToolkit for IBM i
Alan Seiden

Tutorial: Integrate Node.js with RPG without a Connector

May 12, 2021/0 Comments/in Db2 for i, Node.js, RPG /by Alan Seiden

Node.js IBM iWe’ve been hearing from clients wondering whether they need commercial connectors to integrate open source technology with Db2, RPG, and COBOL data.

Liam Allan has shown the power of using open source tools that are available to everyone. He recommends accessing IBM i business logic and data using open source tools, without proprietary connectors.

Read more →

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 Seiden2021-05-12 12:12:342021-05-12 19:09:48Tutorial: Integrate Node.js with RPG without a Connector
Liam Barry Allan

Node.js and IBM i – Getting Started Guide

February 23, 2021/0 Comments/in APIs & Web Services, Node.js /by Liam Barry Allan

This guide will outline writing your first Node.js application. Node.js is a packaged version of the V8 Javascript engine, created by Google and shipped in Chromium. Although Node.js is cross-platform, specific tips for IBM i are given in section 8.

MORE
https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png 0 0 Liam Barry Allan https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png Liam Barry Allan2021-02-23 09:36:502024-06-19 09:50:43Node.js and IBM i – Getting Started Guide
Alan Seiden

Node.js Process Manager PM2 on IBM i

December 11, 2018/0 Comments/in IBM i, Node.js /by Alan Seiden

pm2 node.jsTo manage Node.js application processes in production on IBM i, we recommend PM2 Runtime. As stated in PM2’s official documentation, PM2 “…allows you to keep applications alive forever, to reload them without downtime and facilitate common DevOps tasks.”

Read more →

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 Seiden2018-12-11 08:04:102021-06-08 21:17:51Node.js Process Manager PM2 on IBM i
Alan Seiden

Node.js, Ruby and Seiden Group

October 31, 2018/0 Comments/in IBM i, Node.js, Open Source /by Alan Seiden

node.jsWith IBM’s delivery of open source capabilities on IBM i, Seiden Group has been there to apply the technology to application modernization initiatives. Starting with PHP and the PHP toolkit, then Python, and now Node.js and Ruby, we’ve worked with IBM and customers to flesh out the capabilities of the technology, teach best practices at conferences and directly with clients, and develop award-winning solutions.

Read more →

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 Seiden2018-10-31 11:16:092018-10-31 11:57:44Node.js, Ruby and Seiden Group
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

  • 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)
  • Access Modern Security for IBM i and Connected Web Environments
  • IBM i: A Natural Platform for Agentic AI
  • PHP on IBM i in 2026: The Modernization Engine
  • Your “AS/400” Is a Modern IBM i Platform
  • MCP + AI for IBM i Teams (with a MongoDB example)
  • GnuPG PHP Extension for IBM i: Now Included with Seiden Support
  • Getting Started with Code for IBM i: A Lunch & Learn Video

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
Scroll to top Scroll to top Scroll to top